/* ЭХО · reklama-xo.ru · токены и стили */

@font-face {
  font-family: "Unbounded";
  src: url("../fonts/unbounded-cyrillic-wght-normal.woff2") format("woff2-variations");
  font-weight: 200 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Unbounded";
  src: url("../fonts/unbounded-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 200 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Onest";
  src: url("../fonts/onest-cyrillic-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest";
  src: url("../fonts/onest-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --deep: #1B2890;
  --blue: #2A5BC2;
  --cyan: #1FB6E8;
  --sky: #7FD3F1;
  --ink: #101421;
  --slate: #5A6573;
  --line: #D5DEE7;
  --soft: #EAF4FB;
  --white: #FFFFFF;
  --error: #C62828;
  --brand-gradient: linear-gradient(120deg, #1B2890 0%, #2A5BC2 55%, #1FB6E8 100%);

  --font-display: "Unbounded", "Arial Black", sans-serif;
  --font-body: "Onest", "Helvetica Neue", Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 9vw, 128px);
  --radius: 14px;
  --focus: var(--blue);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .on-dark:focus-visible { --focus: var(--sky); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--white); color: var(--ink);
  border-radius: 8px; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue);
}
.on-dark .eyebrow { color: var(--sky); }

.section-title { font-size: clamp(1.7rem, 3.4vw, 2.7rem); line-height: 1.12; margin-top: 14px; }
.section-lead { margin-top: 16px; max-width: 46ch; color: var(--slate); font-size: 18px; }
.on-dark .section-lead { color: #C9D6EA; }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  font: 600 16px/1 var(--font-body); text-decoration: none; cursor: pointer;
  border: 2px solid transparent;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-signal { background: var(--cyan); color: var(--ink); }
.btn-signal:hover { background: var(--sky); }
.btn-ghost { border-color: rgba(255,255,255,.45); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-deep { background: var(--deep); color: var(--white); }
.btn-deep:hover { background: var(--blue); }

/* Шапка */
.header { position: sticky; top: 0; z-index: 50; background: var(--deep); color: var(--white); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.header-logo { display: block; flex: none; }
.header-logo img { width: 104px; height: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { font-size: 15px; font-weight: 500; text-decoration: none; color: #DCE6F7; padding: 8px 0; }
.nav a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--cyan); }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border-radius: 999px; background: rgba(255,255,255,.1); color: var(--white);
  font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
}
.header-phone:hover { background: rgba(255,255,255,.18); }
.header-phone svg { width: 16px; height: 16px; }

/* Hero: видео цеха под фирменным затемнением */
.hero {
  position: relative; overflow: hidden; isolation: isolate; display: flex;
  min-height: clamp(600px, calc(100vh - 68px), 860px);
  background: var(--deep); color: var(--white);
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media picture, .hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media video { opacity: 0; transition: opacity .6s ease; }
.hero.has-video .hero-media video { opacity: 1; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(27, 40, 144, .96) 0%, rgba(27, 40, 144, .88) 40%, rgba(27, 40, 144, .5) 72%, rgba(27, 40, 144, .2) 100%),
    linear-gradient(0deg, rgba(16, 20, 33, .55) 0%, rgba(16, 20, 33, 0) 35%);
}
.hero-inner { position: relative; display: flex; flex-direction: column; justify-content: center; padding-top: 64px; padding-bottom: 104px; }
.hero-copy { max-width: 900px; }
.hero h1 {
  margin-top: 22px;
  font-size: clamp(1.85rem, 3.6vw, 3.2rem); line-height: 1.08; font-weight: 700; letter-spacing: -0.02em;
}
.hero h1 .accent { display: block; color: var(--sky); }
.hero-sub { margin-top: 26px; max-width: 58ch; font-size: clamp(17px, 1.4vw, 19px); color: #E3EBF8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.video-toggle {
  position: absolute; right: var(--gutter); bottom: 32px;
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px 0 14px;
  border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; cursor: pointer;
  background: rgba(16, 20, 33, .55); backdrop-filter: blur(6px); color: var(--white);
  font: 600 14px/1 var(--font-body);
}
.video-toggle:hover { background: rgba(16, 20, 33, .75); border-color: var(--white); }
.video-toggle svg { width: 18px; height: 18px; }
.video-toggle .i-pause, .video-toggle[data-state="playing"] .i-play { display: none; }
.video-toggle[data-state="playing"] .i-pause { display: block; }
.video-toggle[hidden] { display: none; }

/* Производство */
.prod { padding: var(--section) 0; background: var(--white); }
.prod-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(32px, 6vw, 96px); align-items: end; }
.prod-text { color: var(--slate); font-size: 18px; }
.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 15vw, 230px); gap: 14px; margin-top: 48px; }
.shot { position: relative; margin: 0; border-radius: 12px; overflow: hidden; background: var(--ink); }
.shot-big { grid-column: span 2; grid-row: span 2; }
.shot picture, .shot img { width: 100%; height: 100%; object-fit: cover; }
.shot figcaption {
  position: absolute; left: 12px; bottom: 12px; padding: 7px 11px; border-radius: 8px;
  background: rgba(16, 20, 33, .78); color: var(--white); font-size: 14px; font-weight: 600; line-height: 1.2;
}
.equip { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 20px clamp(32px, 6vw, 96px); margin-top: 48px; align-items: start; }
.equip-title { font-size: 20px; line-height: 1.3; }
.equip-list { list-style: none; columns: 2; column-gap: 40px; border-top: 1px solid var(--line); }
.equip-list li { break-inside: avoid; position: relative; padding: 13px 0 13px 28px; border-bottom: 1px solid var(--line); }
.equip-list li::before {
  content: ""; position: absolute; left: 0; top: 20px; width: 11px; height: 11px; border-radius: 50%;
  border: 2px solid var(--cyan); box-shadow: 0 0 0 4px rgba(31, 182, 232, .14);
}
.equip .btn { grid-column: 2; justify-self: start; }

/* Где работаем: сигнал из Геническа доходит до четырёх регионов */
.regions { position: relative; overflow: hidden; padding: var(--section) 0; background: var(--deep); color: var(--white); }
.regions-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px clamp(32px, 6vw, 96px); align-items: end; }
.regions-head .section-title { margin-top: 0; }
.regions-head .section-lead { margin-top: 0; max-width: 56ch; }
.signal { position: relative; aspect-ratio: 1200 / 560; margin-top: clamp(24px, 4vw, 48px); }
.signal-rings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.signal-rings circle { vector-effect: non-scaling-stroke; transform-box: view-box; transform-origin: 300px 440px; }
.wave { fill: none; stroke: var(--sky); stroke-width: 1.5; stroke-opacity: calc(.6 - var(--i) * .11); }
.wave-far { stroke-dasharray: 4 8; }
.pulse { fill: none; stroke: var(--cyan); stroke-width: 2; opacity: 0; }
.base-label, .node { position: absolute; left: var(--x); top: var(--y); white-space: nowrap; }
.base-label { display: flex; flex-direction: column; align-items: center; gap: 10px; transform: translate(-50%, -11px); font-size: 14px; font-weight: 600; color: var(--sky); }
.base-label::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--cyan); border: 4px solid var(--white); box-shadow: 0 0 0 8px rgba(31, 182, 232, .28); }
.node { display: flex; align-items: center; gap: 10px; transform: translate(-8px, -50%); }
.node::before {
  content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%;
  background: var(--cyan); border: 3px solid var(--deep); box-shadow: 0 0 0 2px var(--sky), 0 0 0 9px rgba(127, 211, 241, .16);
}
.node-text { display: grid; gap: 2px; padding: 8px 14px 9px; border-radius: 12px; background: rgba(16, 20, 33, .55); line-height: 1.25; }
.node b { font-family: var(--font-display); font-size: 15px; font-weight: 600; }
.node small { font-size: 13.5px; color: #C9D6EA; }
/* На десктопе регионы подписаны на схеме, список остаётся для скринридеров */
.region-list { list-style: none; position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.region-list li { padding: 18px 20px; border: 1px solid rgba(127, 211, 241, .3); border-radius: 12px; background: rgba(16, 20, 33, .18); }
.region-list b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 16px; line-height: 1.3; }
.region-list span { display: block; margin-top: 6px; font-size: 15px; color: #C9D6EA; }

@media (prefers-reduced-motion: no-preference) {
  .js .signal .wave { opacity: 0; transform: scale(.2); }
  .js .signal .node { opacity: .3; }
  .js .signal.is-live .wave { animation: wave-in 1.2s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(var(--i) * 380ms); }
  .js .signal.is-live .node { animation: node-on .5s ease forwards; animation-delay: calc(var(--i) * 380ms + 650ms); }
  .js .signal.is-live .pulse { animation: pulse 6s cubic-bezier(.3, .5, .4, 1) 2.6s infinite; }
}
@keyframes wave-in { to { opacity: 1; transform: scale(1); } }
@keyframes node-on { to { opacity: 1; } }
@keyframes pulse { 0% { transform: scale(.02); opacity: .9; } 80% { opacity: .1; } 100% { transform: scale(1); opacity: 0; } }

/* Медиаэкран (короткий блок) */
.media { background: var(--ink); color: var(--white); padding: var(--section) 0; }
.media-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.media-photo { aspect-ratio: 4 / 5; max-width: 460px; border-radius: var(--radius); overflow: hidden; }
.media-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.media-text { margin-top: 20px; color: #C9D6EA; max-width: 54ch; }
.specs { list-style: none; margin-top: 26px; border-top: 1px solid rgba(213, 222, 231, .18); }
.specs li { padding: 13px 0 13px 30px; border-bottom: 1px solid rgba(213, 222, 231, .18); position: relative; color: #E7EEF8; }
.specs li::before {
  content: ""; position: absolute; left: 0; top: 20px; width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid var(--cyan); box-shadow: 0 0 0 4px rgba(31, 182, 232, .16);
}
.media-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; margin-top: 32px; }

/* Чертёж экрана 6×3 м, уменьшенный */
.screen-draw { position: relative; width: 250px; padding: 28px 30px 0 0; }
.screen-face {
  aspect-ratio: 2 / 1; border-radius: 3px; display: grid; place-items: center;
  background: var(--brand-gradient);
  box-shadow: 0 0 0 5px #1A1F30, 0 0 0 6px #2A3047, 0 18px 40px -16px rgba(31, 182, 232, .5);
}
.screen-size { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; line-height: 1; }
.dim { position: absolute; color: var(--sky); font-size: 13px; font-weight: 600; letter-spacing: .06em; line-height: 18px; }
.dim span { position: relative; background: var(--ink); }
.dim-w { left: 0; right: 30px; top: 0; text-align: center; }
.dim-w span { padding: 0 8px; }
.dim-w::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 1px; background: currentColor; opacity: .7; }
.dim-w::after { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 11px; border: 0 solid currentColor; border-left-width: 1px; border-right-width: 1px; opacity: .7; }
.dim-h { top: 28px; bottom: 0; right: 0; width: 18px; display: grid; place-items: center; }
.dim-h span { writing-mode: vertical-rl; padding: 6px 0; }
.dim-h::before { content: ""; position: absolute; top: 0; bottom: 0; left: 9px; width: 1px; background: currentColor; opacity: .7; }
.dim-h::after { content: ""; position: absolute; top: 0; bottom: 0; left: 4px; width: 11px; border: 0 solid currentColor; border-top-width: 1px; border-bottom-width: 1px; opacity: .7; }

/* Направления */
.services { padding: var(--section) 0; background: var(--white); }
.services-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; }
.cards { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.card {
  display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: var(--white); transition: border-color .2s ease, box-shadow .2s ease;
}
.card:hover { border-color: #B7C6D8; box-shadow: 0 18px 40px -28px rgba(27, 40, 144, .45); }
.card picture { aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); }
.card picture img { width: 100%; height: 100%; object-fit: cover; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 20px 20px 22px; }
.card h3 { font-size: 17px; line-height: 1.25; }
.card-lead { margin-top: 10px; font-size: 15px; line-height: 1.5; color: var(--slate); }
.card ul { list-style: none; margin-top: 14px; font-size: 14.5px; line-height: 1.45; }
.card li { position: relative; padding-left: 16px; margin-top: 7px; }
.card li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.card-cta {
  margin-top: auto; padding-top: 18px; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  background: none; border: 0; padding-left: 0; padding-right: 0; cursor: pointer;
  font: 600 15px/1 var(--font-body); color: var(--deep);
}
.card-cta svg { width: 16px; height: 16px; transition: transform .2s ease; }
.card-cta:hover { color: var(--blue); }
.card-cta:hover svg { transform: translateX(3px); }
.card-call {
  justify-content: space-between; padding: 26px 22px; border: 0;
  background: var(--brand-gradient); color: var(--white);
}
.card-call h3 { font-size: 20px; line-height: 1.25; }
.card-call p { margin-top: 12px; color: #E7EEF8; font-size: 15px; }
.card-call .btn { margin-top: 24px; width: 100%; }
.card-call a.tel { display: block; margin-top: 14px; text-align: center; color: var(--white); font-weight: 600; text-decoration: none; }
.card-call a.tel:hover { text-decoration: underline; }

.card-screen { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; background: var(--brand-gradient); color: var(--white); }
.card-screen svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.card-screen circle { fill: none; stroke: rgba(255, 255, 255, .25); }
.card-screen span { position: relative; font-family: var(--font-display); font-weight: 700; font-size: 34px; }

/* Портфолио */
.works { padding: var(--section) 0; background: var(--soft); }
.works-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 28px; margin-top: 48px; }
.work { margin: 0; }
.work picture { border-radius: var(--radius); overflow: hidden; background: var(--line); }
.work img { width: 100%; height: 100%; object-fit: cover; }
.work figcaption { margin-top: 18px; max-width: 60ch; }
.work h3 { font-size: 19px; line-height: 1.3; }
.work p { margin-top: 8px; font-size: 15.5px; color: var(--slate); }
/* Пропорции подобраны так, чтобы картинки в ряду были одной высоты */
.work-1 { grid-column: span 7; }
.work-1 picture { aspect-ratio: 4 / 3; }
.work-2 { grid-column: span 5; }
.work-2 picture { aspect-ratio: 20 / 21; }
.work-3 { grid-column: span 7; }
.work-3 picture { aspect-ratio: 2 / 1; }
.work-4 { grid-column: span 5; }
.work-4 picture { aspect-ratio: 10 / 7; }

/* Почему мы */
.why { padding: var(--section) 0; }
.why-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.why-list { list-style: none; border-top: 1px solid var(--line); }
.why-list li { display: grid; grid-template-columns: minmax(0, 15em) minmax(0, 1fr); gap: 8px 32px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.why-list b { font-family: var(--font-display); font-weight: 600; font-size: 17px; line-height: 1.35; color: var(--deep); }
.why-list span { color: var(--slate); }

/* Клиенты */
.clients { padding: 0 0 var(--section); }
.clients-box { border: 1px solid var(--line); border-radius: 20px; padding: clamp(28px, 4vw, 48px); }
.clients-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px; }
.clients-head .section-title { margin-top: 0; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.clients-head p { color: var(--slate); }
.logos { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
.logos li { display: grid; place-items: center; height: 112px; padding: 18px 24px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); }
.logos img { max-height: 48px; width: auto; max-width: min(100%, 170px); object-fit: contain; }
.logos .tall img { max-height: 72px; }
.logos .wide img { max-width: min(100%, 210px); }
.logos .gov img { max-height: 64px; max-width: 100%; }

/* Как работаем */
.process { padding: var(--section) 0; background: var(--deep); color: var(--white); position: relative; overflow: hidden; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; margin-top: 56px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 1px; background: rgba(127, 211, 241, .4); }
.step { position: relative; counter-increment: step; }
.step::before {
  content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--deep); border: 2px solid var(--cyan); color: var(--white);
  font: 700 16px/1 var(--font-display); position: relative;
}
.step h3 { margin-top: 22px; font-size: 18px; }
.step p { margin-top: 10px; color: #C9D6EA; font-size: 15.5px; }

/* Форма */
.contact { padding: var(--section) 0; background: var(--soft); position: relative; overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-direct { margin-top: 36px; display: grid; gap: 14px; }
.contact-direct a { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: 19px; text-decoration: none; color: var(--deep); min-height: 44px; }
.contact-direct a:hover { text-decoration: underline; text-underline-offset: 5px; }
.contact-direct svg { width: 20px; height: 20px; color: var(--blue); }
.form-card { background: var(--white); border-radius: 20px; padding: clamp(24px, 4vw, 44px); box-shadow: 0 30px 60px -40px rgba(27, 40, 144, .35); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 15px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 14px 16px; border: 1.5px solid #B9C6D6; border-radius: 10px;
  font: 400 16px/1.4 var(--font-body); color: var(--ink); background: var(--white);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A6573' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field input::placeholder, .field textarea::placeholder { color: #7D8896; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(42, 91, 194, .25); }
.field [aria-invalid="true"] { border-color: var(--error); }
.err { min-height: 0; font-size: 14px; color: var(--error); }
.err:empty { display: none; }
.consent { grid-column: 1 / -1; display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 14.5px; line-height: 1.5; color: var(--slate); }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--deep); cursor: pointer; }
.consent a { color: var(--deep); }
.consent .err { grid-column: 2; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-actions .btn { min-width: 220px; }
.btn[aria-disabled="true"] { background: #8E9AB8; cursor: not-allowed; }
.btn.is-loading { opacity: .75; cursor: progress; }
.form-status { grid-column: 1 / -1; font-size: 15px; }
.form-status:empty { display: none; }
.form-status.is-error { padding: 14px 16px; border-radius: 10px; background: #FDECEC; color: #8E1C1C; }
.form-status a { color: inherit; font-weight: 600; }
.form-done { text-align: left; }
.form-done h3 { font-size: 22px; margin-top: 18px; }
.form-done p { margin-top: 12px; color: var(--slate); }
.form-done a { color: var(--deep); font-weight: 600; }
.done-mark { width: 56px; height: 56px; color: var(--cyan); }

/* Подвал */
.footer { background: var(--ink); color: #C9D6EA; padding: 64px 0 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 1.4fr; gap: 40px; }
.footer-logo img { width: 120px; }
.footer-name { margin-top: 18px; }
.footer-name b { color: var(--white); }
.footer h2 { font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #93A2B8; margin-bottom: 14px; }
.footer p + p { margin-top: 8px; }
.footer a { color: var(--white); text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-contacts { display: grid; gap: 6px; }
.footer-contacts a { display: inline-block; padding: 4px 0; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(213, 222, 231, .14); color: #93A2B8; font-size: 14px; }
.footer-bottom a { color: #C9D6EA; text-decoration: underline; text-underline-offset: 3px; }

/* Политика */
.doc-hero { background: var(--deep); color: var(--white); padding: clamp(48px, 7vw, 88px) 0; position: relative; overflow: hidden; }
.doc-hero h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); line-height: 1.15; margin-top: 14px; max-width: 22ch; }
.doc-hero p { margin-top: 18px; max-width: 70ch; color: #DCE6F7; }
.doc { padding: clamp(48px, 7vw, 88px) 0; }
.doc article { max-width: 760px; }
.doc section + section { margin-top: 44px; }
.doc h2 { font-size: clamp(1.25rem, 2.4vw, 1.55rem); line-height: 1.3; color: var(--deep); }
.doc p, .doc ul { margin-top: 14px; }
.doc ul { padding-left: 22px; }
.doc li { margin-top: 8px; }
.doc li::marker { color: var(--cyan); }
.doc a { color: var(--deep); }
.doc .muted { color: var(--slate); font-size: 15.5px; }
.doc .note { margin-top: 48px; padding: 22px 24px; border-radius: var(--radius); background: var(--soft); color: var(--slate); font-size: 15.5px; }
.doc dl { margin: 14px 0 0; display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; }
.doc dt { color: var(--slate); }
.doc dd { margin: 0; }

/* Адаптив */
@media (max-width: 1180px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card-call { grid-column: span 2; }
}
@media (max-width: 1020px) {
  .nav { display: none; }
  .header-phone { margin-left: auto; }
  .prod-head, .regions-head, .equip, .media-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; }
  .equip .btn { grid-column: auto; }
  .media-photo { max-width: none; aspect-ratio: 4 / 3; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { left: 21px; right: auto; top: 22px; bottom: 22px; width: 1px; height: auto; }
  .step { display: grid; grid-template-columns: 44px 1fr; column-gap: 20px; padding-bottom: 28px; }
  .step::before { grid-row: span 2; }
  .step h3 { margin-top: 10px; }
  .step:last-child { padding-bottom: 0; }
  .works-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .work-1, .work-2, .work-3, .work-4 { grid-column: span 1; align-self: start; }
  .work-1 picture, .work-2 picture, .work-4 picture { aspect-ratio: 4 / 3; }
  .work-3 { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .card-call { grid-column: span 2; }
  .why-list li { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(120px, 30vw, 200px); gap: 10px; }
  .equip-list { columns: 1; }
  .signal { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); }
  .node { gap: 5px; transform: translate(-5px, -50%); }
  .node::before { width: 10px; height: 10px; border-width: 2px; box-shadow: 0 0 0 1.5px var(--sky), 0 0 0 5px rgba(127, 211, 241, .16); }
  .node-text { padding: 3px 8px; border-radius: 999px; }
  .node b { font-size: 11.5px; }
  .node small, .node .long { display: none; }
  .region-list { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
  .base-label { font-size: 12px; gap: 6px; transform: translate(-50%, -8px); }
  .base-label::before { width: 16px; height: 16px; border-width: 3px; box-shadow: 0 0 0 5px rgba(31, 182, 232, .28); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .header-inner { height: 60px; gap: 12px; }
  .header-logo img { width: 88px; }
  .header-phone { padding: 0 14px; font-size: 14px; }
  .hero { min-height: 0; }
  .hero-inner { padding-top: 44px; padding-bottom: 96px; }
  .hero-actions .btn { width: 100%; }
  .video-toggle { left: var(--gutter); right: auto; bottom: 28px; }
  .shot figcaption { left: 8px; bottom: 8px; font-size: 12.5px; padding: 5px 8px; }
  .region-list { grid-template-columns: 1fr; }
  .media-foot { flex-direction: column; align-items: stretch; }
  .media-foot .btn { width: 100%; }
  .cards { grid-template-columns: 1fr; }
  .card-call { grid-column: auto; }
  .works-grid { grid-template-columns: 1fr; }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; }
  .doc dl { grid-template-columns: 1fr; gap: 2px; }
  .doc dd { margin-bottom: 10px; }
}
@media (max-width: 380px) {
  .header-phone .num { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}
