/* ==========================================================================
   UniComm — веб-направление. Дизайн-система сайта.
   Визуальный язык повторяет основной сайт группы (unicomm.pro): стальной серый
   фон, чёрная шапка, крупные заголовки капсом со ступенчатым сдвигом строк,
   фирменный синий, кнопки-«таблетки», арки и шар с металлическим кольцом.
   Все селекторы имеют префикс uw- — стили изолированы от Tilda и от сайта
   промышленного направления (префикс uc-).
   ========================================================================== */

.uw-page {
  --uw-black: #000000;
  --uw-ink: #111111;
  --uw-graphite: #222222;
  --uw-coal: #1E1E1E;
  --uw-smoke: #313131;
  --uw-steel: #B6B9BD;
  --uw-steel-line: rgba(17, 17, 17, .16);
  --uw-mist: #E8E8E8;
  --uw-paper: #F4F4F5;
  --uw-white: #FFFFFF;
  --uw-blue: #1D82FE;          /* фирменный синий: фигуры, акценты */
  --uw-blue-deep: #1570EA;     /* кнопки, синие секции, текст на светлом — контраст AA */
  --uw-blue-press: #0F5FCC;
  --uw-coral: #FF8562;
  --uw-green: #62C584;
  --uw-amber: #F6BE4F;
  --uw-red: #F95D51;
  --uw-muted: #3D4248;         /* вторичный текст на светлом и стальном */
  --uw-muted-dark: #A3A8AF;    /* вторичный текст на тёмном */
  --uw-line: #D9DBDE;
  --uw-line-dark: #2E2E2E;

  --uw-radius-s: 10px;
  --uw-radius-m: 18px;
  --uw-radius-l: 28px;
  --uw-radius-pill: 60px;
  --uw-container: 1240px;
  --uw-gap: 24px;

  --uw-ff: "TildaSans", "Roboto", "Helvetica Neue", Arial, sans-serif;
  --uw-ff-display: "Helvetica Neue", Arial, "Roboto", sans-serif;

  font-family: var(--uw-ff);
  font-size: 16px;
  line-height: 1.6;
  color: var(--uw-ink);
  background: var(--uw-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

.uw-page, .uw-page *, .uw-page *::before, .uw-page *::after { box-sizing: border-box; }
:where(.uw-page) :is(ul, ol) { margin: 0; padding: 0; list-style: none; }
:where(.uw-page) :is(h1, h2, h3, h4, p, figure, dl, dd) { margin: 0; }
:where(.uw-page) img { max-width: 100%; height: auto; display: block; }
:where(.uw-page) a { color: inherit; text-decoration: none; }
:where(.uw-page) button { font-family: inherit; cursor: pointer; }
:where(.uw-page) svg { display: block; max-width: 100%; }
.uw-page :focus-visible { outline: 2px solid var(--uw-blue); outline-offset: 3px; border-radius: 6px; }

@media (prefers-reduced-motion: reduce) {
  .uw-page *, .uw-page *::before, .uw-page *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

.uw-container { width: 100%; max-width: var(--uw-container); margin: 0 auto; padding: 0 32px; }
@media (max-width: 600px) { .uw-container { padding: 0 20px; } }

.uw-visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.uw-skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--uw-blue-deep); color: #fff; padding: 10px 16px; border-radius: var(--uw-radius-s);
  font-family: Arial, sans-serif; transition: top .2s ease;
}
.uw-skip-link:focus { top: 12px; }

/* ---------- Типографика ---------- */
.uw-display-xl, .uw-display, .uw-display-m {
  font-family: var(--uw-ff-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
  color: inherit;
}
.uw-display-xl, .uw-display, .uw-display-m { overflow-wrap: break-word; hyphens: manual; }
.uw-display-xl { font-size: clamp(44px, 8vw, 116px); }
.uw-display    { font-size: clamp(30px, 5.4vw, 70px); }
.uw-display-m  { font-size: clamp(28px, 3.6vw, 48px); line-height: 1.04; }
.uw-line { display: block; }
.uw-line--i1 { padding-left: .55em; }
.uw-line--i2 { padding-left: 1.1em; }
.uw-line--i3 { padding-left: 1.65em; }
@media (max-width: 760px) {
  .uw-line--i1 { padding-left: .3em; }
  .uw-line--i2 { padding-left: .6em; }
  .uw-line--i3 { padding-left: .9em; }
}
.uw-star { color: var(--uw-blue); }

.uw-eyebrow {
  display: inline-block;
  font-size: 15px; font-weight: 700; line-height: 1.4;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--uw-blue-deep);
  margin-bottom: 20px;
}
.uw-section--steel .uw-eyebrow, .uw-hero .uw-eyebrow, .uw-page-hero .uw-eyebrow { color: var(--uw-ink); }
.uw-section--black .uw-eyebrow, .uw-section--coal .uw-eyebrow { color: var(--uw-blue); }
.uw-section--blue .uw-eyebrow, .uw-form-section .uw-eyebrow { color: #fff; opacity: .85; }

.uw-h3 { font-size: 22px; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; }
.uw-h4 { font-size: 18px; line-height: 1.35; font-weight: 700; }
.uw-lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--uw-muted); max-width: 60ch; }
.uw-text { font-size: 16px; line-height: 1.65; color: var(--uw-muted); }
.uw-text + .uw-text { margin-top: 14px; }
.uw-text strong, .uw-lead strong { color: var(--uw-ink); font-weight: 700; }
.uw-footnote { font-size: 15px; line-height: 1.55; color: var(--uw-muted); max-width: 52ch; }
.uw-stack { font-size: 14.5px; line-height: 1.55; color: var(--uw-muted); }
.uw-stack b { color: var(--uw-ink); letter-spacing: .04em; }

.uw-section-head { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px 64px; align-items: end; margin-bottom: 56px; }
.uw-section-head > :only-child { grid-column: 1 / -1; }
.uw-section-head--stack { grid-template-columns: 1fr; gap: 24px; max-width: 900px; }
@media (max-width: 900px) { .uw-section-head { grid-template-columns: 1fr; margin-bottom: 40px; } }

/* ---------- Секции ---------- */
.uw-section { padding: 104px 0; position: relative; }
.uw-section--tight { padding: 72px 0; }
.uw-section--flush-top { padding-top: 0; }
.uw-section--white { background: var(--uw-white); }
.uw-section--paper { background: var(--uw-paper); }
.uw-section--mist { background: var(--uw-mist); }
.uw-section--steel { background: var(--uw-steel); }
.uw-section--black { background: var(--uw-black); color: #fff; }
.uw-section--coal { background: var(--uw-coal); color: #fff; }
.uw-section--blue { background: var(--uw-blue-deep); color: #fff; }
.uw-section--black .uw-text, .uw-section--black .uw-lead, .uw-section--black .uw-footnote,
.uw-section--coal .uw-text, .uw-section--coal .uw-lead, .uw-section--coal .uw-footnote,
.uw-section--black .uw-stack, .uw-section--coal .uw-stack { color: var(--uw-muted-dark); }
.uw-section--black .uw-text strong, .uw-section--coal .uw-text strong,
.uw-section--black .uw-lead strong, .uw-section--coal .uw-lead strong,
.uw-section--black .uw-stack b, .uw-section--coal .uw-stack b { color: #fff; }
.uw-section--blue .uw-text, .uw-section--blue .uw-lead { color: rgba(255,255,255,.88); }
@media (max-width: 760px) { .uw-section { padding: 72px 0; } .uw-section--tight { padding: 56px 0; } }

.uw-grid { display: grid; gap: var(--uw-gap); }
.uw-grid--2 { grid-template-columns: repeat(2, 1fr); }
.uw-grid--3 { grid-template-columns: repeat(3, 1fr); }
.uw-grid--4 { grid-template-columns: repeat(4, 1fr); }
.uw-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 72px; align-items: center; }
.uw-split--top { align-items: start; }
.uw-split--wide-left { grid-template-columns: 1.2fr .8fr; }
.uw-split--wide-right { grid-template-columns: .8fr 1.2fr; }
@media (max-width: 1060px) { .uw-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .uw-grid--3, .uw-grid--2 { grid-template-columns: 1fr; }
  .uw-split, .uw-split--wide-left, .uw-split--wide-right { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 600px) { .uw-grid--4 { grid-template-columns: 1fr; } }

/* ---------- Кнопки ---------- */
.uw-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 16px 32px;
  border-radius: var(--uw-radius-pill);
  border: 1.6px solid transparent;
  font-family: var(--uw-ff-display);
  font-size: 15px; font-weight: 600; line-height: 1.2;
  letter-spacing: .04em; text-transform: uppercase;
  white-space: nowrap;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.uw-btn:hover { transform: translateY(-1px); }
.uw-btn:active { transform: translateY(0); }
.uw-btn--blue { background: var(--uw-blue-deep); color: #fff; }
.uw-btn--blue:hover { background: var(--uw-blue-press); }
.uw-btn--dark { background: var(--uw-smoke); color: #fff; }
.uw-btn--dark:hover { background: var(--uw-black); }
.uw-btn--white { background: #fff; color: var(--uw-ink); }
.uw-btn--white:hover { background: var(--uw-mist); }
.uw-btn--line { background: transparent; color: var(--uw-ink); border-color: var(--uw-ink); }
.uw-btn--line:hover { background: var(--uw-ink); color: #fff; }
.uw-btn--line-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.9); }
.uw-btn--line-light:hover { background: #fff; color: var(--uw-ink); }
.uw-btn--sm { min-height: 44px; padding: 10px 22px; font-size: 13.5px; }
.uw-btn--block { width: 100%; }
.uw-btn-arrow { width: 16px; height: 16px; flex: none; }
.uw-cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
@media (max-width: 480px) { .uw-cta-row .uw-btn { width: 100%; } }

.uw-link-more {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 700; letter-spacing: .02em;
  color: var(--uw-ink);
  border-bottom: 1.6px solid currentColor; padding-bottom: 2px;
  transition: color .15s ease, gap .15s ease;
}
.uw-link-more:hover { color: var(--uw-blue-deep); gap: 12px; }
.uw-section--black .uw-link-more, .uw-section--coal .uw-link-more { color: #fff; }
.uw-section--black .uw-link-more:hover, .uw-section--coal .uw-link-more:hover { color: var(--uw-blue); }

/* ---------- Шапка ---------- */
.uw-header { position: sticky; top: 0; z-index: 500; background: var(--uw-black); color: #fff; transition: box-shadow .25s ease; }
.uw-header.uw-is-scrolled { box-shadow: 0 10px 30px rgba(0,0,0,.28); }
.uw-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }

.uw-logo { display: flex; align-items: center; gap: 12px; color: #fff; flex: none; }
.uw-logo-mark { width: 30px; height: 34px; flex: none; }
.uw-logo-name { font-family: var(--uw-ff-display); font-size: 22px; font-weight: 700; letter-spacing: -0.01em; line-height: 1; }
.uw-logo-sub { display: block; margin-top: 4px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #8E949B; }

.uw-nav-list { display: flex; align-items: center; gap: 2px; }
.uw-nav-item { position: relative; }
.uw-nav-link {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 13px; border-radius: var(--uw-radius-pill);
  font-size: 15.5px; font-weight: 600; color: #fff;
  transition: color .15s ease, background-color .15s ease;
  background: none; border: 0;
}
.uw-nav-link:hover { color: #C9CDD2; }
.uw-nav-link[aria-current="page"] { color: var(--uw-blue); }
.uw-nav-caret { width: 10px; height: 10px; transition: transform .2s ease; }
.uw-nav-item.uw-is-open .uw-nav-caret { transform: rotate(180deg); }

.uw-dropdown {
  position: absolute; top: calc(100% + 14px); left: -12px; min-width: 340px;
  background: var(--uw-coal); border: 1px solid var(--uw-line-dark); border-radius: var(--uw-radius-m);
  padding: 10px; box-shadow: 0 24px 48px rgba(0,0,0,.45);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.uw-dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.uw-nav-item.uw-is-open .uw-dropdown,
.uw-nav-item:hover .uw-dropdown,
.uw-nav-item:focus-within .uw-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.uw-dropdown-link { display: block; padding: 12px 14px; border-radius: var(--uw-radius-s); font-size: 15px; font-weight: 600; color: #fff; }
.uw-dropdown-link span { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--uw-muted-dark); }
.uw-dropdown-link:hover, .uw-dropdown-link[aria-current="page"] { background: rgba(255,255,255,.07); color: var(--uw-blue); }
.uw-dropdown-all { display: block; margin-top: 6px; padding: 12px 14px; border-top: 1px solid var(--uw-line-dark); font-size: 13.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--uw-blue); }

.uw-header-cta { display: flex; align-items: center; gap: 12px; }
.uw-burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.6px solid rgba(255,255,255,.35); background: transparent; position: relative; }
.uw-burger span, .uw-burger::before, .uw-burger::after {
  content: ""; position: absolute; left: 13px; right: 13px; height: 2px; background: #fff;
  transition: transform .2s ease, opacity .2s ease;
}
.uw-burger::before { top: 16px; }
.uw-burger span { top: 21px; }
.uw-burger::after { top: 26px; }
.uw-burger[aria-expanded="true"]::before { transform: translateY(5px) rotate(45deg); }
.uw-burger[aria-expanded="true"]::after { transform: translateY(-5px) rotate(-45deg); }
.uw-burger[aria-expanded="true"] span { opacity: 0; }
.uw-nav-mobile-cta { display: none; }

@media (max-width: 1120px) {
  .uw-nav { position: fixed; inset: 0; z-index: 490; visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .2s ease, visibility .2s ease; }
  .uw-nav.uw-is-open { visibility: visible; opacity: 1; pointer-events: auto; }
  .uw-nav-scrim { position: absolute; inset: 0; background: rgba(0,0,0,.6); }
  .uw-nav-panel {
    position: absolute; top: 0; right: 0; height: 100%; width: min(380px, 90vw);
    background: var(--uw-black); padding: 96px 24px 32px; overflow-y: auto;
    transform: translateX(20px); transition: transform .22s ease;
  }
  .uw-nav.uw-is-open .uw-nav-panel { transform: translateX(0); }
  .uw-nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .uw-nav-link { width: 100%; padding: 15px 8px; font-size: 18px; justify-content: space-between; border-radius: 0; border-bottom: 1px solid var(--uw-line-dark); }
  .uw-dropdown { position: static; opacity: 1; visibility: visible; transform: none; min-width: 0; margin: 6px 0 10px; display: none; box-shadow: none; }
  .uw-dropdown::before { display: none; }
  .uw-nav-item.uw-is-open .uw-dropdown { display: block; }
  .uw-nav-item:hover .uw-dropdown { display: none; }
  .uw-nav-item.uw-is-open:hover .uw-dropdown { display: block; }
  .uw-header-cta .uw-btn { display: none; }
  .uw-burger { display: block; z-index: 495; }
  .uw-nav-mobile-cta { display: block; margin-top: 28px; }
}
@media (min-width: 1121px) { .uw-nav-scrim { display: none; } }

/* ---------- Первый экран главной ---------- */
.uw-hero { background: var(--uw-steel); color: var(--uw-ink); position: relative; overflow: hidden; padding: 72px 0 96px; }
.uw-hero-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 24px; align-items: center; position: relative; }
.uw-hero-copy { position: relative; z-index: 2; }
.uw-hero .uw-display-xl { margin-bottom: 36px; }
.uw-hero-bottom { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; margin-top: 8px; }
.uw-hero-visual { position: relative; z-index: 1; margin-right: -80px; }
.uw-hero-art { width: 100%; height: auto; }
.uw-scroll-cue {
  width: 132px; height: 132px; border-radius: 50%; background: #fff; color: var(--uw-ink);
  display: flex; align-items: center; justify-content: center; flex: none;
  transition: transform .25s ease, background-color .2s ease;
}
.uw-scroll-cue:hover { transform: translateY(4px); background: var(--uw-mist); }
.uw-scroll-cue svg { width: 22px; height: 22px; }
@media (max-width: 1020px) {
  .uw-hero-grid { grid-template-columns: 1fr; }
  .uw-hero-visual { position: absolute; right: -140px; top: -40px; width: 520px; opacity: .55; margin: 0; }
}
@media (max-width: 640px) {
  .uw-hero { padding: 48px 0 72px; }
  .uw-hero-bottom { grid-template-columns: 1fr; gap: 28px; }
  .uw-scroll-cue { width: 88px; height: 88px; }
  .uw-hero-visual { width: 380px; right: -150px; top: -20px; opacity: .45; }
}

/* ---------- Первый экран внутренних страниц ---------- */
.uw-page-hero { background: var(--uw-steel); color: var(--uw-ink); position: relative; overflow: hidden; padding: 56px 0 88px; }
.uw-page-hero .uw-container { position: relative; z-index: 2; }
.uw-page-hero .uw-display-xl { font-size: clamp(28px, 6vw, 84px); margin-bottom: 40px; }
.uw-page-hero-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 32px 64px; align-items: end; }
.uw-page-hero .uw-lead { color: var(--uw-ink); }
@media (max-width: 900px) { .uw-page-hero-grid { grid-template-columns: 1fr; } }

.uw-breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 14px; color: var(--uw-muted); margin-bottom: 40px; }
.uw-breadcrumbs a { color: var(--uw-ink); border-bottom: 1px solid rgba(17,17,17,.35); }
.uw-breadcrumbs a:hover { color: var(--uw-blue-deep); border-color: currentColor; }
.uw-breadcrumbs span[aria-hidden] { color: rgba(17,17,17,.4); }

/* Декоративные фигуры в стиле основного сайта */
.uw-shapes { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.uw-shape { position: absolute; }
.uw-shape--sphere { border-radius: 50%; background: radial-gradient(circle at 36% 30%, #9CCBFF 0%, #1D82FE 40%, #0848A8 100%); box-shadow: 0 30px 80px rgba(29,130,254,.35); }
.uw-shape--arch-blue { border-radius: 500px; background: var(--uw-blue); }
.uw-shape--arch-coal { border-radius: 500px; background: var(--uw-coal); }
.uw-shape--circle { border-radius: 50%; background: #fff; }
.uw-shape--ring {
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255,255,255,.0) 0deg 2deg, rgba(0,0,0,.18) 2deg 3deg), conic-gradient(from 200deg, #F2F2F2, #6A6D72, #E9E9EA, #4A4D52, #DADBDD, #7B7E83, #F2F2F2);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 46px), #000 calc(100% - 45px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 46px), #000 calc(100% - 45px));
}
.uw-shapes--a .uw-shape--sphere { width: 260px; height: 260px; right: 20px; top: 130px; }
.uw-shapes--a .uw-shape--ring { width: 420px; height: 420px; right: -60px; top: 50px; transform: rotate(-24deg) scaleY(.5); }
.uw-shapes--b .uw-shape--arch-blue { width: 240px; height: 430px; right: 40px; top: 60px; }
.uw-shapes--b .uw-shape--circle { width: 130px; height: 130px; right: -40px; top: 360px; }
.uw-shapes--c .uw-shape--arch-coal { width: 240px; height: 430px; right: 40px; top: 60px; }
.uw-shapes--c .uw-shape--sphere { width: 160px; height: 160px; right: -30px; top: 340px; }
.uw-shapes--d .uw-shape--circle { width: 340px; height: 340px; right: -80px; top: 60px; }
.uw-shapes--d .uw-shape--sphere { width: 140px; height: 140px; right: 210px; top: 310px; }
@media (max-width: 900px) { .uw-shapes { opacity: .3; } }
@media (max-width: 600px) { .uw-shapes { opacity: .18; } }

/* ---------- Арки (продуктовые блоки, как UnicChat / UnicNet на основном сайте) ---------- */
.uw-arch-row { display: grid; grid-template-columns: 400px 1fr; gap: 48px 96px; align-items: center; }
.uw-arch-row + .uw-arch-row { margin-top: 96px; }
.uw-arch-row--reverse { grid-template-columns: 1fr 400px; }
.uw-arch-row--reverse .uw-arch { order: 2; }
.uw-arch {
  position: relative; width: 100%; max-width: 400px; aspect-ratio: 4 / 7;
  border-radius: 500px; color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding: 0 40px 56px; text-align: center; overflow: hidden;
}
.uw-arch--blue { background: var(--uw-blue); }
.uw-arch--coal { background: var(--uw-coal); }
.uw-arch-kicker { font-size: 22px; font-weight: 500; line-height: 1.25; margin-bottom: 18px; }
.uw-arch-title { font-family: var(--uw-ff-display); font-size: 44px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; margin-bottom: 32px; }
.uw-arch-circle {
  width: 120px; height: 120px; border-radius: 50%; border: 1.6px solid rgba(255,255,255,.85);
  display: flex; align-items: center; justify-content: center; color: #fff;
  transition: background-color .2s ease, color .2s ease;
}
.uw-arch-circle:hover { background: #fff; color: var(--uw-ink); }
.uw-arch-circle svg { width: 26px; height: 26px; }
.uw-arch-art { position: absolute; top: 48px; left: 50%; transform: translateX(-50%); width: 78%; opacity: .95; }
.uw-arch-copy .uw-text { max-width: 58ch; }
.uw-arch-copy .uw-h3 { margin-bottom: 18px; }
.uw-arch-copy .uw-stack { margin-top: 24px; }
@media (max-width: 960px) {
  .uw-arch-row, .uw-arch-row--reverse { grid-template-columns: 1fr; }
  .uw-arch-row--reverse .uw-arch { order: 0; }
  .uw-arch { max-width: 360px; margin: 0 auto; }
}
@media (max-width: 420px) { .uw-arch { aspect-ratio: 4 / 6; padding: 0 28px 40px; } .uw-arch-title { font-size: 36px; } }

/* ---------- Строки услуг (крупное слово слева, текст справа) ---------- */
.uw-rows { border-top: 1px solid var(--uw-steel-line); }
.uw-row {
  display: grid; grid-template-columns: 5fr 7fr; gap: 24px 64px;
  padding: 48px 0; border-bottom: 1px solid var(--uw-steel-line); align-items: start;
}
.uw-row-title { font-family: var(--uw-ff-display); font-weight: 500; text-transform: uppercase; letter-spacing: -0.02em; line-height: 1.02; font-size: clamp(28px, 3.4vw, 46px); }
.uw-row-num { display: block; font-family: var(--uw-ff); font-size: 14px; font-weight: 700; letter-spacing: .1em; color: var(--uw-muted); margin-bottom: 14px; }
.uw-row-body .uw-text { color: var(--uw-ink); }
.uw-row-body .uw-check-list { margin-top: 20px; }
.uw-row-body .uw-link-more { margin-top: 24px; }
.uw-section--black .uw-rows, .uw-section--coal .uw-rows, .uw-section--black .uw-row, .uw-section--coal .uw-row { border-color: var(--uw-line-dark); }
.uw-section--black .uw-row-body .uw-text, .uw-section--coal .uw-row-body .uw-text { color: var(--uw-muted-dark); }
.uw-section--black .uw-row-num, .uw-section--coal .uw-row-num { color: var(--uw-blue); }
a.uw-row { transition: background-color .2s ease; }
a.uw-row:hover .uw-row-title { color: var(--uw-blue-deep); }
@media (max-width: 860px) { .uw-row { grid-template-columns: 1fr; padding: 36px 0; } }

/* ---------- Списки ---------- */
.uw-check-list { display: grid; gap: 12px; }
.uw-check-list--2col { grid-template-columns: repeat(2, 1fr); gap: 12px 32px; }
@media (max-width: 680px) { .uw-check-list--2col { grid-template-columns: 1fr; } }
.uw-check-item { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; line-height: 1.55; color: var(--uw-ink); }
.uw-check-item::before {
  content: ""; flex: none; width: 9px; height: 9px; margin-top: 8px; border-radius: 50%;
  background: var(--uw-blue);
}
.uw-section--black .uw-check-item, .uw-section--coal .uw-check-item { color: #E9EAEC; }
.uw-section--blue .uw-check-item { color: #fff; }
.uw-section--blue .uw-check-item::before { background: #fff; }

.uw-num-list { counter-reset: uwnum; display: grid; gap: 0; }
.uw-num-list > li { counter-increment: uwnum; display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--uw-steel-line); font-size: 16.5px; line-height: 1.55; }
.uw-num-list > li::before { content: counter(uwnum, decimal-leading-zero); font-family: var(--uw-ff-display); font-weight: 500; font-size: 22px; color: var(--uw-blue-deep); line-height: 1.2; }
.uw-num-list > li:first-child { border-top: 1px solid var(--uw-steel-line); }
.uw-section--black .uw-num-list > li, .uw-section--coal .uw-num-list > li { border-color: var(--uw-line-dark); color: #E9EAEC; }
.uw-section--black .uw-num-list > li::before, .uw-section--coal .uw-num-list > li::before { color: var(--uw-blue); }

/* ---------- Карточки ---------- */
.uw-card {
  background: var(--uw-white); border-radius: var(--uw-radius-l); padding: 36px 32px;
  display: flex; flex-direction: column; height: 100%;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.uw-card--line { border-color: var(--uw-line); }
.uw-card--paper { background: var(--uw-paper); }
.uw-card--dark { background: var(--uw-coal); color: #fff; border-color: var(--uw-line-dark); }
.uw-card--dark .uw-text { color: var(--uw-muted-dark); }
a.uw-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(0,0,0,.12); }
.uw-card-icon {
  width: 56px; height: 56px; border-radius: 50%; margin-bottom: 26px;
  display: flex; align-items: center; justify-content: center;
  background: var(--uw-blue); color: #fff; flex: none;
}
.uw-card-icon svg { width: 26px; height: 26px; }
.uw-card-icon--dark { background: var(--uw-ink); }
.uw-card-icon--white { background: #fff; color: var(--uw-ink); }
.uw-card .uw-h3 { margin-bottom: 14px; }
.uw-card .uw-text { flex: 1; }
.uw-card .uw-link-more { margin-top: 24px; align-self: flex-start; }
.uw-card-num { font-family: var(--uw-ff-display); font-size: 15px; font-weight: 600; letter-spacing: .1em; color: var(--uw-blue-deep); margin-bottom: 22px; }
.uw-card--dark .uw-card-num { color: var(--uw-blue); }
.uw-card-ref { margin-top: 20px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--uw-muted); }

/* ---------- Показатели ---------- */
.uw-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--uw-line-dark); }
.uw-stat { padding: 40px 28px 8px 0; border-right: 1px solid var(--uw-line-dark); }
.uw-stat + .uw-stat { padding-left: 28px; }
.uw-stat:last-child { border-right: 0; }
.uw-stat-value { font-family: var(--uw-ff-display); font-size: clamp(44px, 5vw, 72px); font-weight: 500; line-height: 1; letter-spacing: -0.03em; }
.uw-stat-label { margin-top: 14px; font-size: 16px; line-height: 1.45; color: var(--uw-muted-dark); }
.uw-section--steel .uw-stats, .uw-section--white .uw-stats, .uw-section--mist .uw-stats { border-color: var(--uw-steel-line); }
.uw-section--steel .uw-stat, .uw-section--white .uw-stat, .uw-section--mist .uw-stat { border-color: var(--uw-steel-line); }
.uw-section--steel .uw-stat-label, .uw-section--white .uw-stat-label, .uw-section--mist .uw-stat-label { color: var(--uw-muted); }
@media (max-width: 900px) {
  .uw-stats { grid-template-columns: repeat(2, 1fr); }
  .uw-stat { padding: 32px 20px 24px 0; }
  .uw-stat:nth-child(2n) { border-right: 0; padding-left: 20px; }
  .uw-stat:nth-child(2n+1) { padding-left: 0; }
}
@media (max-width: 460px) { .uw-stats { grid-template-columns: 1fr; } .uw-stat, .uw-stat:nth-child(2n) { border-right: 0; padding-left: 0; } }

/* ---------- Этапы и цепочки ---------- */
.uw-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--uw-gap); counter-reset: uwstep; }
.uw-steps--3 { grid-template-columns: repeat(3, 1fr); }
.uw-steps--5 { grid-template-columns: repeat(5, 1fr); }
.uw-step { counter-increment: uwstep; padding: 28px 24px 30px; border-radius: var(--uw-radius-m); background: var(--uw-white); position: relative; }
.uw-step::before { content: counter(uwstep, decimal-leading-zero); display: block; font-family: var(--uw-ff-display); font-size: 40px; font-weight: 500; line-height: 1; color: var(--uw-blue-deep); margin-bottom: 22px; letter-spacing: -0.02em; }
.uw-step-title { font-size: 17.5px; font-weight: 700; line-height: 1.35; margin-bottom: 8px; }
.uw-step-text { font-size: 15px; line-height: 1.55; color: var(--uw-muted); }
.uw-section--black .uw-step, .uw-section--coal .uw-step { background: #161616; border: 1px solid var(--uw-line-dark); }
.uw-section--black .uw-step::before, .uw-section--coal .uw-step::before { color: var(--uw-blue); }
.uw-section--black .uw-step-text, .uw-section--coal .uw-step-text { color: var(--uw-muted-dark); }
@media (max-width: 1060px) { .uw-steps--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .uw-steps, .uw-steps--3, .uw-steps--5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .uw-steps, .uw-steps--3, .uw-steps--5 { grid-template-columns: 1fr; } }

.uw-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.uw-flow-step { padding: 12px 22px; border-radius: var(--uw-radius-pill); border: 1.6px solid var(--uw-ink); font-size: 15px; font-weight: 700; }
.uw-flow-step--accent { background: var(--uw-blue-deep); border-color: var(--uw-blue-deep); color: #fff; }
.uw-flow-arrow { width: 22px; height: 12px; color: var(--uw-ink); flex: none; }
.uw-section--black .uw-flow-step, .uw-section--coal .uw-flow-step { border-color: rgba(255,255,255,.5); }
.uw-section--black .uw-flow-arrow, .uw-section--coal .uw-flow-arrow { color: var(--uw-blue); }

/* ---------- Окно браузера (макеты интерфейсов) ---------- */
.uw-window { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.18); color: var(--uw-ink); }
.uw-window-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; background: var(--uw-mist); }
.uw-window-dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.uw-window-dot--r { background: var(--uw-red); }
.uw-window-dot--a { background: var(--uw-amber); }
.uw-window-dot--g { background: var(--uw-green); }
.uw-window-url { margin-left: 14px; flex: 1; height: 28px; border-radius: 14px; background: #fff; font-size: 12.5px; color: var(--uw-muted); display: flex; align-items: center; padding: 0 14px; overflow: hidden; white-space: nowrap; }
.uw-window-body { padding: 26px; }
.uw-section--black .uw-window, .uw-section--coal .uw-window { box-shadow: 0 30px 70px rgba(0,0,0,.6); }

/* Макет мониторинга */
.uw-mon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.uw-mon { border-radius: 14px; background: var(--uw-paper); padding: 14px 16px; }
.uw-mon-label { font-size: 12px; color: var(--uw-muted); display: flex; align-items: center; gap: 8px; }
.uw-mon-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--uw-green); flex: none; }
.uw-mon--warn .uw-mon-label::before { background: var(--uw-amber); }
.uw-mon-value { font-family: var(--uw-ff-display); font-size: 22px; font-weight: 600; margin-top: 6px; letter-spacing: -0.01em; }
.uw-mon-bar { height: 6px; border-radius: 3px; background: #E2E3E5; margin-top: 10px; overflow: hidden; }
.uw-mon-bar span { display: block; height: 100%; border-radius: 3px; background: var(--uw-blue-deep); }
.uw-mon-log { margin-top: 16px; border-radius: 14px; background: var(--uw-ink); color: #D7DADF; padding: 14px 16px; font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 1.75; overflow-x: auto; white-space: nowrap; }
.uw-mon-log .ok { color: var(--uw-green); }
.uw-mon-log .warn { color: var(--uw-amber); }
.uw-mon-log .info { color: #7DB8FF; }
@media (max-width: 560px) { .uw-mon-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Таблицы (SLA и др.) ---------- */
.uw-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--uw-radius-m); background: #fff; }
.uw-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.uw-table th, .uw-table td { text-align: left; vertical-align: top; padding: 18px 20px; font-size: 15px; line-height: 1.5; border-bottom: 1px solid var(--uw-line); }
.uw-table th { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--uw-muted); background: var(--uw-paper); }
.uw-table tr:last-child td { border-bottom: 0; }
.uw-table td strong { display: block; font-size: 16px; }
.uw-table td span { color: var(--uw-muted); }
.uw-sev { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; white-space: nowrap; }
.uw-sev::before { content: ""; width: 10px; height: 10px; border-radius: 50%; }
.uw-sev--1::before { background: var(--uw-red); }
.uw-sev--2::before { background: var(--uw-amber); }
.uw-sev--3::before { background: var(--uw-green); }
.uw-sev--0::before { background: var(--uw-blue); }
.uw-table-note { margin-top: 18px; font-size: 14px; color: var(--uw-muted); max-width: 80ch; }
.uw-section--black .uw-table-note, .uw-section--coal .uw-table-note { color: var(--uw-muted-dark); }

/* ---------- Метки, теги ---------- */
.uw-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.uw-chip { font-size: 15px; font-weight: 600; padding: 10px 18px; border-radius: var(--uw-radius-pill); border: 1.4px solid rgba(17,17,17,.75); color: var(--uw-ink); white-space: nowrap; }
.uw-chip--fill { background: var(--uw-ink); border-color: var(--uw-ink); color: #fff; }
.uw-section--black .uw-chip, .uw-section--coal .uw-chip { border-color: rgba(255,255,255,.35); color: #fff; }
.uw-section--black .uw-chip--fill, .uw-section--coal .uw-chip--fill { background: var(--uw-blue-deep); border-color: var(--uw-blue-deep); }
.uw-badge { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 14px; background: var(--uw-paper); color: var(--uw-muted); }
.uw-badge--blue { background: rgba(29,130,254,.12); color: var(--uw-blue-deep); }

/* ---------- Мини-дизайн-система (страница «Дизайн и UX») ---------- */
.uw-ds { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; }
.uw-ds-panel { background: #fff; border-radius: var(--uw-radius-m); padding: 26px; }
.uw-ds-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--uw-muted); margin-bottom: 16px; }
.uw-swatches { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.uw-swatch { border-radius: 12px; aspect-ratio: 1 / 1.15; display: flex; align-items: flex-end; padding: 10px; font-size: 11px; font-weight: 600; line-height: 1.3; }
.uw-type-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--uw-line); }
.uw-type-row:last-child { border-bottom: 0; }
.uw-type-row small { font-size: 12px; color: var(--uw-muted); white-space: nowrap; }
.uw-ds-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.uw-ds-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; height: 84px; }
.uw-ds-grid span { background: rgba(29,130,254,.14); border-radius: 4px; }
.uw-ds-devices { display: flex; align-items: flex-end; gap: 14px; height: 120px; }
.uw-ds-device { border: 2px solid var(--uw-ink); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: var(--uw-muted); }
@media (max-width: 900px) { .uw-ds { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .uw-swatches { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Команда ---------- */
.uw-role { background: #fff; border-radius: var(--uw-radius-l); padding: 32px; height: 100%; display: flex; flex-direction: column; }
.uw-role-tag { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--uw-blue-deep); margin-bottom: 18px; }
.uw-role .uw-h3 { margin-bottom: 12px; }
.uw-role .uw-text { flex: 1; }
.uw-role-areas { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--uw-line); font-size: 13.5px; line-height: 1.55; color: var(--uw-muted); }
.uw-role-areas b { color: var(--uw-ink); }

/* ---------- Проекты ---------- */
.uw-project { background: #fff; border-radius: var(--uw-radius-l); overflow: hidden; display: flex; flex-direction: column; height: 100%; }
.uw-project-cover { aspect-ratio: 16 / 9; background: var(--uw-mist); position: relative; display: flex; align-items: center; justify-content: center; }
.uw-project-cover--steel { background: var(--uw-steel); }
.uw-project-cover--coal { background: var(--uw-coal); }
.uw-project-cover--blue { background: var(--uw-blue); }
.uw-project-cover span { font-family: var(--uw-ff-display); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(17,17,17,.55); }
.uw-project-cover--coal span, .uw-project-cover--blue span { color: rgba(255,255,255,.75); }
.uw-project-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.uw-project-type { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--uw-muted); margin-bottom: 10px; }
.uw-project .uw-h3 { margin-bottom: 12px; }
.uw-project .uw-text { flex: 1; }
.uw-project .uw-chips { margin-top: 18px; gap: 6px; }
.uw-project .uw-chip { font-size: 12.5px; padding: 6px 12px; border-width: 1px; }
.uw-project-link { margin-top: 20px; font-size: 14px; font-weight: 700; color: var(--uw-blue-deep); }
.uw-placeholder { outline: 2px dashed rgba(21,112,234,.55); outline-offset: -8px; }
.uw-placeholder-note { display: inline-block; margin-bottom: 14px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8A5A00; background: #FFF2DA; padding: 5px 10px; border-radius: 10px; }

/* ---------- Схемы и подписи ---------- */
.uw-figure { margin: 0; }
.uw-figure > svg { width: 100%; height: auto; }
.uw-figure-caption { margin-top: 18px; font-size: 14px; line-height: 1.55; color: var(--uw-muted); max-width: 72ch; }
.uw-section--black .uw-figure-caption, .uw-section--coal .uw-figure-caption { color: var(--uw-muted-dark); }
@media (max-width: 720px) {
  .uw-figure--wide { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 6px; }
  .uw-figure--wide > svg { min-width: 680px; }
}

/* ---------- Вопросы и ответы ---------- */
.uw-faq { border-top: 1px solid var(--uw-steel-line); }
.uw-faq details { border-bottom: 1px solid var(--uw-steel-line); }
.uw-faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; font-size: 19px; font-weight: 700; line-height: 1.4;
}
.uw-faq summary::-webkit-details-marker { display: none; }
.uw-faq summary::after {
  content: ""; flex: none; width: 40px; height: 40px; border-radius: 50%;
  border: 1.6px solid currentColor;
  background: linear-gradient(currentColor, currentColor) center / 14px 1.6px no-repeat, linear-gradient(currentColor, currentColor) center / 1.6px 14px no-repeat;
  transition: transform .2s ease;
}
.uw-faq details[open] summary::after { transform: rotate(45deg); }
.uw-faq-body { padding: 0 64px 28px 0; }
.uw-faq-body .uw-text { color: var(--uw-ink); }
.uw-section--black .uw-faq, .uw-section--black .uw-faq details, .uw-section--coal .uw-faq, .uw-section--coal .uw-faq details { border-color: var(--uw-line-dark); }
.uw-section--black .uw-faq-body .uw-text, .uw-section--coal .uw-faq-body .uw-text { color: var(--uw-muted-dark); }

/* ---------- Блок связи и форма ---------- */
.uw-form-section { background: var(--uw-blue-deep); color: #fff; padding: 104px 0 112px; position: relative; overflow: hidden; }
.uw-form-wrap { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px 72px; align-items: start; position: relative; z-index: 2; }
.uw-form-section .uw-display { color: #fff; margin-bottom: 32px; }
.uw-form-section .uw-lead { color: rgba(255,255,255,.9); }
.uw-form-contacts { margin-top: 40px; display: grid; gap: 14px; }
.uw-form-contacts a, .uw-form-contacts p { font-size: 19px; color: #fff; }
.uw-form-contacts a { border-bottom: 1px solid rgba(255,255,255,.4); width: fit-content; }
.uw-form-contacts a:hover { border-color: #fff; }
.uw-form-circle { position: absolute; width: 180px; height: 180px; border-radius: 50%; background: #fff; right: -50px; bottom: -60px; z-index: 1; opacity: .95; }
.uw-form-card { background: #fff; color: var(--uw-ink); border-radius: var(--uw-radius-l); padding: 40px; }
.uw-form-card .uw-h3 { margin-bottom: 8px; }
.uw-form-card > .uw-text { margin-bottom: 26px; font-size: 15px; }
.uw-field { margin-bottom: 16px; }
.uw-field label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 8px; }
.uw-field label .uw-req { color: var(--uw-blue-deep); }
.uw-field input, .uw-field select, .uw-field textarea {
  width: 100%; min-height: 52px; padding: 13px 20px;
  border-radius: 26px; border: 1.5px solid var(--uw-line); background: #fff;
  font-family: inherit; font-size: 16px; color: var(--uw-ink);
  transition: border-color .15s ease, box-shadow .15s ease;
  -webkit-appearance: none; appearance: none;
}
.uw-field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23111' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 20px center; padding-right: 44px; }
.uw-field textarea { min-height: 120px; border-radius: 20px; resize: vertical; }
.uw-field input:focus, .uw-field select:focus, .uw-field textarea:focus { outline: none; border-color: var(--uw-blue-deep); box-shadow: 0 0 0 3px rgba(21,112,234,.15); }
.uw-field.uw-is-invalid input, .uw-field.uw-is-invalid select, .uw-field.uw-is-invalid textarea { border-color: var(--uw-red); }
.uw-field-error { display: none; margin-top: 6px; font-size: 13px; color: #C7362B; }
.uw-field.uw-is-invalid .uw-field-error { display: block; }
.uw-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .uw-field-row { grid-template-columns: 1fr; gap: 0; } }
.uw-field-file { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 14px; border: 1.5px dashed var(--uw-line); border-radius: 26px; font-size: 14.5px; color: var(--uw-muted); text-align: center; cursor: pointer; transition: border-color .15s ease, color .15s ease; }
.uw-field-file:hover { border-color: var(--uw-blue-deep); color: var(--uw-blue-deep); }
.uw-field-file input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.uw-consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; color: var(--uw-muted); margin: 20px 0 24px; }
.uw-consent input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--uw-blue-deep); }
.uw-consent a { color: var(--uw-blue-deep); border-bottom: 1px solid currentColor; }
.uw-consent.uw-is-invalid { color: #C7362B; }
.uw-form-note { margin-top: 14px; font-size: 13px; color: var(--uw-muted); }
.uw-form-section--tilda .uw-form-wrap { grid-template-columns: 1fr; }
@media (max-width: 960px) { .uw-form-wrap { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .uw-form-card { padding: 28px 22px; } .uw-form-section { padding: 72px 0 88px; } }

/* ---------- Подвал ---------- */
.uw-footer { background: var(--uw-black); color: #fff; padding: 80px 0 32px; }
.uw-footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--uw-line-dark); }
.uw-footer-title { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--uw-muted-dark); margin-bottom: 20px; }
.uw-footer-links { display: grid; gap: 11px; }
.uw-footer-links a { font-size: 15.5px; color: #fff; transition: color .15s ease; }
.uw-footer-links a:hover { color: var(--uw-blue); }
.uw-footer-about { font-size: 15px; line-height: 1.6; color: var(--uw-muted-dark); margin-top: 20px; max-width: 34ch; }
.uw-footer-contacts { display: grid; gap: 10px; font-size: 16px; }
.uw-footer-contacts a { color: #fff; }
.uw-footer-contacts a:hover { color: var(--uw-blue); }
.uw-footer-contacts p { color: var(--uw-muted-dark); font-size: 14.5px; line-height: 1.55; }
.uw-footer-note { margin-top: 32px; font-size: 14px; line-height: 1.6; color: var(--uw-muted-dark); max-width: 90ch; }
.uw-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 28px; font-size: 13.5px; color: #7D8288; }
.uw-footer-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.uw-footer-legal a:hover { color: #fff; }
@media (max-width: 960px) { .uw-footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .uw-footer-top { grid-template-columns: 1fr; } }

/* ---------- Юридические тексты ---------- */
.uw-prose { max-width: 820px; }
.uw-prose h2 { font-size: 24px; line-height: 1.3; font-weight: 700; margin: 44px 0 14px; }
.uw-prose h2:first-child { margin-top: 0; }
.uw-prose p, .uw-prose li { font-size: 16.5px; line-height: 1.7; color: var(--uw-ink); }
.uw-prose p + p { margin-top: 12px; }
.uw-prose ul { margin: 12px 0; display: grid; gap: 8px; }
.uw-prose ul li { padding-left: 22px; position: relative; }
.uw-prose ul li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--uw-blue); }
.uw-prose-meta { font-size: 14px; color: var(--uw-muted); margin-bottom: 36px; }

/* ---------- Появление при прокрутке (умеренная анимация) ---------- */
.uw-js .uw-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.uw-js .uw-reveal.uw-is-visible { opacity: 1; transform: none; }

/* ---------- Утилиты ---------- */
.uw-mt-16 { margin-top: 16px; }
.uw-mt-24 { margin-top: 24px; }
.uw-mt-32 { margin-top: 32px; }
.uw-mt-48 { margin-top: 48px; }
.uw-mt-64 { margin-top: 64px; }
.uw-mb-24 { margin-bottom: 24px; }
.uw-center { text-align: center; }
.uw-maxw-60 { max-width: 60ch; }
.uw-divider { height: 1px; background: var(--uw-steel-line); margin: 64px 0; border: 0; }

/* ---------- Крупное утверждение (как «Наша миссия» на основном сайте) ---------- */
.uw-statement { font-size: clamp(24px, 2.8vw, 38px); line-height: 1.25; font-weight: 500; letter-spacing: -0.01em; max-width: 30ch; }
.uw-section--black .uw-statement, .uw-section--coal .uw-statement { color: #fff; }
.uw-stats--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .uw-stats--3 { grid-template-columns: 1fr; } .uw-stats--3 .uw-stat { border-right: 0; padding-left: 0 !important; } }

/* ---------- Защита от распирания сеток на узких экранах ---------- */
.uw-split > *, .uw-grid > *, .uw-page-hero-grid > *, .uw-form-wrap > *, .uw-hero-grid > *, .uw-section-head > *, .uw-row > *, .uw-arch-row > * { min-width: 0; }
@media (max-width: 480px) { .uw-btn { white-space: normal; text-align: center; } }
.uw-ds > * { min-width: 0; }
@media (max-width: 460px) { .uw-ds-panel { padding: 18px; } .uw-ds-devices { gap: 8px; } .uw-ds-device:first-child { width: 120px !important; } }

/* ---------- Мега-меню «Услуги» ---------- */
.uw-header-inner { position: relative; }
.uw-nav-item--mega { position: static; }
.uw-mega {
  position: absolute; left: 32px; right: 32px; top: calc(100% - 6px);
  background: var(--uw-coal); border: 1px solid var(--uw-line-dark); border-radius: var(--uw-radius-l);
  padding: 30px 30px 22px; box-shadow: 0 30px 60px rgba(0,0,0,.5);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.uw-mega::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.uw-nav-item--mega:hover .uw-mega,
.uw-nav-item--mega.uw-is-open .uw-mega,
.uw-nav-item--mega:focus-within .uw-mega { opacity: 1; visibility: visible; transform: translateY(0); }
.uw-mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 28px; }
.uw-mega-title { display: block; font-size: 15.5px; font-weight: 700; line-height: 1.35; color: #fff; padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px solid var(--uw-line-dark); transition: color .15s ease; }
.uw-mega-title:hover, .uw-mega-title[aria-current="page"] { color: var(--uw-blue); }
.uw-mega-list { display: grid; }
.uw-mega-list a { display: block; padding: 5px 0; font-size: 14px; line-height: 1.4; color: var(--uw-muted-dark); transition: color .15s ease, padding-left .15s ease; }
.uw-mega-list a:hover { color: #fff; padding-left: 4px; }
.uw-mega-urgent { background: var(--uw-blue-deep); border-radius: var(--uw-radius-m); padding: 22px 22px 20px; color: #fff; display: flex; flex-direction: column; gap: 8px; }
.uw-mega-urgent-title { font-family: var(--uw-ff-display); font-size: 22px; font-weight: 500; text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.05; }
.uw-mega-urgent-text { font-size: 13.5px; line-height: 1.45; color: rgba(255,255,255,.88); }
.uw-mega-urgent-phone { font-size: 19px; font-weight: 700; margin-top: 4px; }
.uw-mega-urgent-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; margin-top: auto; color: #fff; opacity: .9; }
.uw-mega-urgent-link:hover { opacity: 1; gap: 12px; }
.uw-mega-foot { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--uw-line-dark); }
.uw-mega-foot a { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--uw-blue); transition: gap .15s ease, color .15s ease; }
.uw-mega-foot a:hover { color: #fff; gap: 12px; }
@media (max-width: 1240px) and (min-width: 1121px) { .uw-mega { left: 16px; right: 16px; padding: 24px; } .uw-mega-grid { gap: 24px 20px; } }
@media (max-width: 1120px) {
  .uw-mega { position: static; opacity: 1; visibility: visible; transform: none; display: none; background: transparent; border: 0; box-shadow: none; padding: 2px 0 14px; border-radius: 0; }
  .uw-mega::before { display: none; }
  .uw-nav-item--mega.uw-is-open .uw-mega { display: block; }
  .uw-nav-item--mega:hover .uw-mega { display: none; }
  .uw-nav-item--mega.uw-is-open:hover .uw-mega { display: block; }
  .uw-mega-grid { grid-template-columns: 1fr; gap: 0; }
  .uw-mega-title { border: 0; margin: 0; padding: 11px 8px 11px 16px; font-size: 16px; font-weight: 600; }
  .uw-mega-list { display: none; }
  .uw-mega-urgent { margin: 12px 0 0; padding: 18px; }
  .uw-mega-urgent-title { font-size: 19px; }
  .uw-mega-foot { flex-direction: column; gap: 12px; margin-top: 16px; padding: 16px 8px 0 16px; }
}

/* ---------- Каталог услуг и якоря ---------- */
.uw-page [id] { scroll-margin-top: 96px; }
.uw-section--white .uw-rows, .uw-section--white .uw-row, .uw-section--paper .uw-rows, .uw-section--paper .uw-row { border-color: var(--uw-line); }
.uw-row-title a { transition: color .15s ease; }
.uw-row-title a:hover { color: var(--uw-blue-deep); }
.uw-sublinks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; margin-top: 22px; }
.uw-sublinks a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--uw-line); font-size: 15.5px; font-weight: 600; color: var(--uw-ink); transition: color .15s ease; }
.uw-sublinks a .uw-btn-arrow { color: var(--uw-blue-deep); flex: none; transition: transform .15s ease; }
.uw-sublinks a:hover { color: var(--uw-blue-deep); }
.uw-sublinks a:hover .uw-btn-arrow { transform: translateX(3px); }
.uw-section--steel .uw-sublinks a { border-color: var(--uw-steel-line); }
@media (max-width: 680px) { .uw-sublinks { grid-template-columns: 1fr; } }

/* ---------- Срочная помощь ---------- */
.uw-urgent-phone { display: inline-block; font-family: var(--uw-ff-display); font-size: clamp(30px, 4vw, 52px); font-weight: 500; letter-spacing: -0.02em; color: #fff; border-bottom: 2px solid rgba(255,255,255,.4); line-height: 1.15; }
.uw-urgent-phone:hover { border-color: #fff; }
.uw-card--urgent { background: var(--uw-blue-deep); color: #fff; }
.uw-card--urgent .uw-card-num { color: rgba(255,255,255,.8); }
.uw-card--urgent .uw-text { color: rgba(255,255,255,.88); }
.uw-card--urgent .uw-link-more { color: #fff; }
@media (max-width: 960px) {
  .uw-arch { aspect-ratio: auto; min-height: 520px; padding: 56px 28px 44px; justify-content: space-between; }
  .uw-arch-art { position: static; transform: none; width: 62%; margin: 0 auto 28px; }
  .uw-arch-circle { width: 96px; height: 96px; }
  .uw-arch-kicker { font-size: 19px; margin-bottom: 14px; }
  .uw-arch-title { font-size: 38px; margin-bottom: 24px; }
}

/* Скрытое поле-ловушка для спам-ботов в форме заявки */
.uw-hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
