/* ============================================================
   Delanic — фирменная система на светлом фоне (выбор Эмиля, 10.2026)
   Палитра и логотип — из стайлгайда клиента (resources/brand/BRAND.md):
   бирюзовый градиент (стр. 24–25). Акцент — тёмная бирюза фирменного
   градиента: яркий #00E6E6 на белом не проходит по контрасту. Разрез
   кабеля Bestowin остаётся тёмным — так выглядит настоящий кабель.
   Главный визуальный приём — хроматограмма в hero; всё остальное сдержанно.
   ============================================================ */

/* ---------- ШРИФТЫ (локальные, работают офлайн) ----------
   Роли: Rubik — заголовки (скруглённая геометрия рифмуется со
   скруглёнными окончаниями линий в знаке); Open Sans — текст (шрифт
   стайлгайда); IBM Plex Mono — техподписи. Все три покрывают казахский
   (Manrope/JetBrains Mono пришлось отклонить — нет Ә, Ғ, Қ, Ң, Ұ). */
@font-face{font-family:'Open Sans';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/opensans-400-cyrillic-ext.woff2') format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;}
@font-face{font-family:'Open Sans';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/opensans-400-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Open Sans';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/opensans-400-latin.woff2') format('woff2');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:'Open Sans';font-style:normal;font-weight:600;font-display:swap;src:url('fonts/opensans-600-cyrillic-ext.woff2') format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;}
@font-face{font-family:'Open Sans';font-style:normal;font-weight:600;font-display:swap;src:url('fonts/opensans-600-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Open Sans';font-style:normal;font-weight:600;font-display:swap;src:url('fonts/opensans-600-latin.woff2') format('woff2');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:'Rubik';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/rubik-700-cyrillic-ext.woff2') format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;}
@font-face{font-family:'Rubik';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/rubik-700-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Rubik';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/rubik-700-latin.woff2') format('woff2');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:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;src:url('fonts/plexmono-500-cyrillic-ext.woff2') format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;src:url('fonts/plexmono-500-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;src:url('fonts/plexmono-500-latin.woff2') format('woff2');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 {
  color-scheme: light;
  --canvas: #F3F6F6;
  --surface: #FFFFFF;
  --surface-2: #E9EFEF;
  --line: rgba(20,30,32,.10);
  --line-strong: rgba(20,30,32,.18);
  --text: #14181A;
  --muted: #525D61;
  --soft: #2F383B;         /* основной текст описаний — между text и muted */
  --faint: #5F696D;
  --cyan: #00736E;         /* акцент: на светлом фоне — тёмная бирюза градиента */
  --teal: #00A69F;
  --teal-dark: #00736E;
  --deep: #004340;         /* низ фирменного градиента */
  --wa: #25D366;
  --error: #B3261E;
  --display: 'Rubik', 'Open Sans', sans-serif;
  --body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --container: 1180px;
  --r: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }

body {
  font-family: var(--body);
  background: var(--canvas);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 3px; }

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

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.12; letter-spacing: -.015em; }
h2 { font-size: clamp(27px, 3.4vw, 40px); text-wrap: balance; }
h2 span { color: var(--cyan); }
.lead { color: var(--muted); font-size: 17px; max-width: 62ch; margin-top: 16px; }
.kicker { color: var(--cyan); font-weight: 600; font-size: 15px; margin-bottom: 12px; }

/* ---------- КНОПКИ ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 26px; border-radius: var(--r); border: 1px solid transparent;
  font-family: var(--body); font-weight: 600; font-size: 15px; line-height: 1.3; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
}
.btn--primary { background: var(--cyan); color: #FFFFFF; }
.btn--primary:hover { background: #005C58; box-shadow: 0 10px 30px -12px rgba(0,115,110,.55); }
.btn--primary:disabled { opacity: .6; cursor: progress; }
.btn--wa { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn--wa:hover { border-color: var(--wa); color: var(--wa); }
.btn__ico { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn--full { width: 100%; }

/* ---------- ВЕРХНЯЯ ПОЛОСА ---------- */
.topbar { border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 42px; flex-wrap: wrap; gap: 4px 18px; }
.topbar__contacts { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
a.topbar__item:hover { color: var(--cyan); }
.lang { display: flex; gap: 2px; font-family: var(--mono); }
.lang a { padding: 3px 8px; border-radius: 4px; font-size: 11.5px; font-weight: 500; }
.lang a:hover { color: var(--cyan); }
.lang .lang__active { background: var(--teal-dark); color: #fff; }

/* ---------- ШАПКА ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243,246,246,.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 24px; }

.logo { display: flex; align-items: center; gap: 11px; color: var(--text); flex: none; }
.logo__mark, .logo__word { display: block; fill: currentColor; }
.logo__mark { height: 38px; width: 26px; }
.logo__word { height: 19px; width: 74px; margin-top: 1px; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-size: 14.5px; font-weight: 600; color: var(--muted); transition: color .15s; white-space: nowrap; }
.nav a:hover, .nav a.nav__link--active { color: var(--text); }
.header__actions { display: flex; align-items: center; gap: 10px; flex: none; }
.header__phone {
  font-family: var(--display); font-weight: 700; font-size: 15px; white-space: nowrap;
  padding: 9px 14px; border: 1px solid var(--line-strong); border-radius: 8px; transition: border-color .15s, color .15s;
}
.header__phone:hover { border-color: var(--cyan); color: var(--cyan); }
.quick { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-strong); place-items: center; color: var(--text); }
.quick svg { width: 20px; height: 20px; fill: currentColor; }
.quick--wa { color: var(--wa); }
.nav__extra { display: none; }

.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.nav-burger span { width: 25px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s; }
.nav-burger--active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger--active span:nth-child(2) { opacity: 0; }
.nav-burger--active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before { /* бирюзовое свечение за хроматограммой — айдентика стайлгайда, стр. 25 */
  content: ""; position: absolute; right: -10%; top: 5%; width: 70%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(0,166,159,.12), transparent 62%);
  pointer-events: none;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%;
  opacity: .14; filter: grayscale(1) contrast(1.1);
  -webkit-mask-image: linear-gradient(90deg, transparent 15%, #000 70%);
  mask-image: linear-gradient(90deg, transparent 15%, #000 70%);
}
.hero__inner {
  position: relative;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px;
  align-items: center; padding-block: 80px 64px;
}
.hero h1 { font-size: clamp(28px, 3.1vw, 42px); margin-bottom: 22px; text-wrap: balance; }
.hero h1 span { display: block; color: var(--cyan); margin-top: .12em; }
.hero__sub { font-size: clamp(16px, 1.5vw, 18px); color: var(--muted); max-width: 540px; margin-bottom: 30px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.proof {
  position: relative; list-style: none;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong); margin-bottom: 8px;
}
.proof li { padding: 22px 24px 26px; border-left: 1px solid var(--line); display: grid; gap: 4px; align-content: start; }
.proof li:first-child { padding-left: 0; border-left: 0; }
.proof b { font-family: var(--display); font-weight: 700; font-size: 16px; line-height: 1.3; }
.proof span { color: var(--muted); font-size: 13.5px; line-height: 1.45; }
/* Логотипы партнёров — официальные, без перекраски, на белой плашке */
.proof .proof__logo {
  display: inline-flex; align-items: center; justify-self: start; margin-bottom: 8px;
  padding: 7px 11px; background: #FFFFFF; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line);
}
.proof__logo img { height: 16px; width: auto; }
.proof .proof__logo--spacer { visibility: hidden; width: 1px; height: 30px; padding: 0; }
/* На узких экранах полоса стоит прямо под хроматограммой — Siemens рядом с ней не показываем */
@media (max-width: 940px) { .proof .proof__logo { display: none; } }

/* ФИРМЕННЫЙ МОМЕНТ: хроматограмма прорисовывается один раз при загрузке,
   компоненты подписываются в момент выхода пика. */
.chrom {
  background: #FFFFFF;
  border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 14px 12px;
  box-shadow: 0 30px 70px -40px rgba(0,115,110,.35);
}
.chrom__svg { width: 100%; height: auto; overflow: visible; display: block; }
.chrom__axis { stroke: rgba(20,30,32,.28); stroke-width: 1; }
.chrom__tick { fill: var(--faint); font-family: var(--mono); font-size: 10px; text-anchor: middle; }
.chrom__line {
  fill: none; stroke: var(--teal); stroke-width: 1.7; stroke-linejoin: round;
  filter: drop-shadow(0 0 4px rgba(0,166,159,.35));
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: trace 2.6s cubic-bezier(.45,.05,.55,.95) .35s forwards;
}
.chrom__area { opacity: 0; animation: fadein 1s ease-out 2.7s forwards; }
.chrom__label {
  fill: #00605C; font-family: var(--mono); font-size: 11px; text-anchor: middle;
  opacity: 0; animation: fadein .45s ease-out var(--d) forwards;
}
.chrom__cap {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: 6px; padding: 10px 6px 0; border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--muted);
}
.chrom__unit { font-family: var(--mono); color: var(--faint); }
@keyframes trace { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }

/* ---------- СЕКЦИИ ---------- */
.section { padding-block: 96px; }
.section--alt { background: var(--surface); border-block: 1px solid var(--line); }
.section__head { max-width: 760px; margin-bottom: 52px; }

/* ---------- НАПРАВЛЕНИЯ ---------- */
.svc { border-top: 1px solid var(--line-strong); }
.svc__row {
  display: grid; grid-template-columns: 80px minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px 40px;
  padding-block: 36px; border-bottom: 1px solid var(--line-strong);
}
/* Обозначения как на схемах автоматизации (см. комментарий в index.html) */
.sym { width: 80px; height: 80px; overflow: visible; }
.sym__line { fill: rgba(0,230,230,.05); stroke: var(--cyan); stroke-width: 1.5; }
.sym__txt { fill: var(--cyan); font-family: var(--mono); font-weight: 500; text-anchor: middle; }
.sym__note { fill: var(--muted); font-family: var(--mono); font-weight: 500; text-anchor: middle; }
.sym__proc { stroke: var(--text); stroke-width: 2; }
.sym__trace { stroke: var(--cyan); stroke-width: 1.5; stroke-dasharray: 6 4; }
.svc__main h3 { font-size: 23px; margin-bottom: 10px; }
.svc__main > p { color: var(--soft); max-width: 64ch; }
.svc__side { padding-top: 4px; }
.svc__side .ticks li { color: var(--muted); font-size: 15px; }
.svc__links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 18px; }
.svc__more { display: inline-block; color: var(--cyan); font-weight: 600; font-size: 15px; border-bottom: 1px solid rgba(0,115,110,.35); }
.svc__more:hover { border-bottom-color: var(--cyan); }
.svc__more::after { content: "\00a0→"; }
.svc__more--quiet { color: var(--text); border-bottom-color: var(--line-strong); }
.svc__more--quiet::after { content: none; }


.ticks { list-style: none; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 22px; font-size: 15.5px; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: .62em; width: 10px; height: 2px; background: var(--teal);
}

/* ---------- BESTOWIN ---------- */
.bw h2 span { display: block; }
.bw__grid { display: grid; grid-template-columns: 380px 1fr; gap: 64px; align-items: start; }
.bundle { position: sticky; top: 110px; }
.bundle__svg { width: 100%; max-width: 380px; height: auto; margin: 0 auto; display: block; }
.bundle__jacket { fill: #0B0C0D; stroke: rgba(255,255,255,.28); stroke-width: 1.5; }
.bundle__ins { fill: #2A2E33; }
.bundle__wrap { fill: #3A3F45; stroke: rgba(255,255,255,.18); stroke-width: 1; stroke-dasharray: 3 3; }
.bundle__tube circle:first-child { fill: #B9C2C4; }
.bundle__bore { fill: #16181A; }
.bundle__heat { fill: var(--cyan); filter: drop-shadow(0 0 8px rgba(0,230,230,.7)); }
.bundle__lead polyline { fill: none; stroke: rgba(0,230,230,.55); stroke-width: 1; }
.bundle__num circle { fill: var(--canvas); stroke: var(--cyan); stroke-width: 1.5; }
.bundle__num text { fill: var(--cyan); font-family: var(--mono); font-size: 13px; text-anchor: middle; font-weight: 500; }
.bundle__legend { list-style: none; counter-reset: b; margin-top: 26px; display: grid; gap: 10px; }
.bundle__legend li { counter-increment: b; display: flex; gap: 12px; align-items: center; font-size: 15px; color: var(--muted); }
.bundle__legend li::before {
  content: counter(b); flex: none; width: 24px; height: 24px; border-radius: 50%;
  border: 1.5px solid var(--cyan); color: var(--cyan); display: grid; place-items: center;
  font-family: var(--mono); font-size: 12px; line-height: 1;
}
.bw__feats { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 36px; }
.bw__feats dt { font-family: var(--display); font-weight: 700; font-size: 18px; margin-bottom: 8px; }
.bw__feats dd { color: var(--muted); font-size: 15.5px; }
.bw__apps { margin-top: 44px; padding: 28px 30px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.bw__apps h3 { font-size: 18px; margin-bottom: 16px; }
.bw__cta { margin-top: 36px; display: flex; gap: 20px 28px; align-items: center; flex-wrap: wrap; }
.bw__cta p { color: var(--muted); font-size: 14.5px; max-width: 46ch; flex: 1 1 280px; }

/* ---------- ОТРАСЛИ ---------- */
.ind { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.ind__item h3 { font-size: 19px; margin-bottom: 8px; }
.ind__item p { color: var(--muted); font-size: 15px; }
.ind__item { border-top: 2px solid var(--teal); padding-top: 18px; }
.ind__item--wide { grid-column: 1 / -1; }
.ind--six { grid-template-columns: repeat(3, 1fr); gap: 32px 40px; }
.ind__item--wide p { max-width: 70ch; }

/* ---------- КАК РАБОТАЕМ: заголовок + фото ---------- */
.process__head { display: grid; grid-template-columns: 1fr 400px; gap: 48px; align-items: start; margin-bottom: 56px; }
.process__head .section__head { margin-bottom: 0; }
.process__img { aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.process__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) contrast(1.05) brightness(.9); }

/* ---------- УСЛУГИ: нумерация — реальная последовательность работ ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; position: relative; }
.step { counter-increment: s; position: relative; padding-top: 58px; }
.step::before {
  content: counter(s); position: absolute; top: 0; left: 0;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--cyan); background: var(--canvas); color: var(--cyan);
  font-family: var(--mono); font-weight: 500; font-size: 15px; z-index: 1;
}
.step::after { /* соединительная линия к следующему этапу */
  content: ""; position: absolute; top: 20px; left: 40px; right: -24px; height: 1px; background: var(--line-strong);
}
.step:last-child::after { display: none; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
@media (min-width: 1101px) { .step h3 { min-height: 2.5em; } }
.step p { color: var(--soft); font-size: 15px; margin-bottom: 14px; }
.step .ticks { gap: 6px; }
.step .ticks li { color: var(--muted); font-size: 14px; line-height: 1.5; }
.work__cta { margin-top: 44px; }

/* Услуги строками (как страница услуг GCS): номер и вертикальная линия слева,
   затем «описание → что входит → преимущества» */
.steps--rows { grid-template-columns: 1fr; gap: 0; }
.steps--rows .step {
  display: grid; grid-template-columns: 1.05fr 1fr 1fr; gap: 20px 40px;
  padding: 30px 0 34px 64px; border-top: 1px solid var(--line);
}
.steps--rows .step:last-child { border-bottom: 1px solid var(--line); }
.steps--rows .step::before { top: 28px; }
.steps--rows .step::after { top: 70px; bottom: -28px; left: 20px; right: auto; width: 1px; height: auto; }
.steps--rows .step h3 { font-size: 20px; min-height: 0; }
.steps--rows .step p { margin-bottom: 0; }
.step__col h4 { font-family: var(--body); font-size: 13.5px; font-weight: 600; color: var(--faint); margin-bottom: 10px; }

/* ---------- ПОЧЕМУ ВЫБИРАЮТ + ПАРТНЁРЫ ---------- */
.why__head { max-width: 760px; margin-bottom: 30px; }
.why__head h3 { font-size: 24px; margin-bottom: 10px; }
.why__head p { color: var(--muted); font-size: 16px; }
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 40px; }
.info .faq__item p { max-width: 72ch; }
.why dt { font-family: var(--display); font-weight: 700; font-size: 18px; margin-bottom: 8px; }
.why dd { color: var(--muted); font-size: 15.5px; }
.partners__title { font-size: 22px; margin: 64px 0 22px; }
.partners { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.partner {
  display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: center;
  padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
}
.partner__logo { display: grid; place-items: center; height: 96px; padding: 0 20px; background: #FFFFFF; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); }
.partner__logo img { max-width: 100%; max-height: 26px; width: auto; height: auto; }
.partner h4 { font-family: var(--display); font-size: 17px; margin-bottom: 6px; }
.partner p { color: var(--muted); font-size: 14.5px; }
.partner .svc__more { margin-top: 10px; font-size: 14.5px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-family: var(--display); font-weight: 700; font-size: 17.5px; line-height: 1.35;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-size: 22px; color: var(--cyan);
}
.faq__item[open] summary::after { content: "−"; }
.faq__item summary:hover { color: var(--cyan); }
.faq__item p { color: var(--muted); padding: 0 44px 24px 0; font-size: 15.5px; max-width: 70ch; }

/* ---------- КОНТАКТЫ ---------- */
.contacts { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.contacts__list { margin: 32px 0 28px; border-top: 1px solid var(--line); }
.contacts__list > div { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.contacts__list dt { color: var(--muted); font-size: 14px; }
.contacts__list a:hover { color: var(--cyan); }
.contacts__map { display: inline-block; margin-top: 4px; color: var(--cyan); font-size: 14.5px; font-weight: 600; border-bottom: 1px solid rgba(0,115,110,.35); }
.contacts__map:hover { border-bottom-color: var(--cyan); }
.contacts__big { font-family: var(--display); font-weight: 700; font-size: 22px; }

.kp { margin-top: 32px; padding: 26px 28px; border: 1px solid var(--line-strong); border-left: 3px solid var(--cyan); border-radius: var(--r); background: var(--surface); }
.kp h3 { font-size: 19px; margin-bottom: 14px; }
.kp .ticks li { color: var(--muted); font-size: 15px; }
.kp__mail { display: inline-block; margin-top: 18px; color: var(--cyan); font-weight: 600; border-bottom: 1px solid rgba(0,115,110,.35); }
.kp__mail:hover { border-bottom-color: var(--cyan); }
.form__actions { display: flex; gap: 12px 20px; flex-wrap: wrap; align-items: center; margin-top: 6px; }
.form__actions .btn--primary { flex: 1 1 220px; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 32px; }
.form__title { font-size: 22px; margin-bottom: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 7px; }
.field label i { color: var(--cyan); font-style: normal; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; background: var(--canvas);
  border: 1px solid var(--line-strong); border-radius: 8px;
  font-family: var(--body); font-size: 15px; color: var(--text); resize: vertical;
  transition: border-color .15s;
}
.field select {
  appearance: none; cursor: pointer; padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--cyan) 50%), linear-gradient(-45deg, transparent 50%, var(--cyan) 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%;
  background-size: 5px 5px; background-repeat: no-repeat;
}
.field select option { background: var(--surface); color: var(--text); }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--cyan); }
.field [aria-invalid], .field [aria-invalid]:focus { border-color: var(--error); }
.form__note {
  margin-top: 16px; padding: 14px 16px; border-radius: 8px;
  background: rgba(0,115,110,.07); border: 1px solid rgba(0,115,110,.3);
  color: var(--cyan); font-size: 14.5px;
}
.form__note--error { background: rgba(179,38,30,.06); border-color: rgba(179,38,30,.3); color: var(--error); }

/* ---------- ФУТЕР ---------- */
.footer { border-top: 1px solid var(--line); padding-top: 62px; color: var(--muted); }
.footer__inner { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr; gap: 40px; padding-bottom: 46px; }
.footer__col--brand p { margin-top: 18px; max-width: 340px; font-size: 14.5px; }
.footer__col h4 { font-family: var(--display); color: var(--text); font-size: 14px; margin-bottom: 16px; }
.footer__col a, .footer__col span { display: block; margin-bottom: 10px; font-size: 14.5px; transition: color .15s; }
.footer__col a:hover { color: var(--cyan); }
.footer__col a.logo { display: flex; margin-bottom: 0; }
.footer__bottom { border-top: 1px solid var(--line); padding-block: 22px; font-size: 13px; color: var(--faint); }
.footer__bottom span { display: inline; }
.footer__tm { margin-top: 8px; font-size: 12px; line-height: 1.5; max-width: 90ch; }

/* ---------- АДАПТИВ ---------- */
@media (max-width: 1100px) {
  .nav { gap: 18px; }
  .nav a { font-size: 14px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .step:nth-child(2)::after { display: none; }
  .partner { grid-template-columns: 1fr; }
  .steps--rows .step { grid-template-columns: 1fr 1fr; }
  .steps--rows .step__main { grid-column: 1 / -1; }
  .steps--rows .step:not(:last-child)::after { display: block; }
  .why, .ind--six { grid-template-columns: repeat(2, 1fr); }
  .ind { grid-template-columns: repeat(2, 1fr); }
  .header__phone { display: none; }
  .process__head { grid-template-columns: 1fr 320px; }
  .proof li { padding-inline: 18px; }
}

@media (max-width: 940px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; padding-block: 52px 64px; }
  .contacts { grid-template-columns: 1fr; gap: 36px; }
  .bw__grid { grid-template-columns: 1fr; gap: 40px; }
  .bundle { position: static; display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: center; }
  .bundle__legend { margin-top: 0; }
  .process__head { grid-template-columns: 1fr; gap: 28px; }
  .svc__row { grid-template-columns: 80px minmax(0, 1fr); gap: 20px 32px; }
  .svc__side { grid-column: 2; padding-top: 0; }
  .process__img { max-width: 560px; }
  .quick { display: grid; }
  .nav__extra { display: grid; gap: 0; padding: 8px 22px 18px; border-top: 1px solid var(--line); }
  .nav .nav__extra a { border: 0; padding: 10px 0; color: var(--text); }
  .nav__extra .lang { margin-top: 8px; }
  .nav .nav__extra .lang a { padding: 6px 12px; font-size: 13px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }

  .nav-burger { display: flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--canvas); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .3s ease; visibility: hidden;
  }
  .nav a { padding: 16px 22px; border-top: 1px solid var(--line); font-size: 15px; }
  .nav.nav--open { max-height: calc(100vh - 72px); overflow-y: auto; visibility: visible; }
}

@media (max-width: 620px) {
  .section { padding-block: 64px; }
  .section__head { margin-bottom: 36px; }
  .bw__feats, .ind, .form__row { grid-template-columns: 1fr; }
  .svc__row { grid-template-columns: 1fr; gap: 14px; padding-block: 32px; }
  .svc__side { grid-column: 1; }
  .svc__side .ticks { display: none; } /* на телефоне хватает описания — списки его дублируют */
  .svc__links { margin-top: 2px; }
  .proof li { padding: 14px 8px 14px 10px; }
  .proof li:first-child { padding-left: 0; }
  .proof li > span:not(.proof__logo) { display: none; }
  .proof b { font-size: 13.5px; }
  .proof .proof__logo { padding: 5px 7px; }
  .proof__logo img { height: 12px; }
  .proof .proof__logo--spacer { height: 22px; }
  .sym { width: 56px; height: 56px; }
  .kp { padding: 22px 20px; }
  .header__actions { gap: 8px; }
  .bundle { grid-template-columns: 1fr; }
  .bundle__svg { max-width: 300px; }
  .steps { grid-template-columns: 1fr; row-gap: 28px; }
  .step { padding: 0 0 0 58px; }
  .step::after { top: 40px; bottom: -28px; left: 20px; right: auto; width: 1px; height: auto; }
  .step:nth-child(2)::after { display: block; }
  .why, .partners, .ind--six { grid-template-columns: 1fr; }
  .steps--rows .step { grid-template-columns: 1fr; padding: 26px 0 28px 58px; gap: 16px; }
  .steps--rows .step::before { top: 24px; }
  .steps--rows .step::after { top: 66px; bottom: -24px; }
  .partners__title { margin-top: 48px; }
  .step:last-child::after { display: none; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .topbar__inner { justify-content: center; text-align: center; font-size: 12px; padding-block: 6px; }
  .contacts__list > div { grid-template-columns: 1fr; gap: 2px; }
  .hero__actions .btn { width: 100%; }
  .chrom__label { font-size: 17px; }
  .hero__bg img { -webkit-mask-image: linear-gradient(180deg, transparent 35%, #000 80%); mask-image: linear-gradient(180deg, transparent 35%, #000 80%); }
  .chrom__label--minor, .chrom__tick { display: none; }
  .form { padding: 24px 20px; }
  .bw__apps { padding: 22px 20px; }
}

/* ---------- ДВИЖЕНИЕ ПРИ ПРОКРУТКЕ ----------
   Базовые стили = конечное состояние. Скрыто только под html.motion (ставит app.js)
   и только без «уменьшить движение»: нет JS, reduce, печать — всё видно сразу.
   transition висит только на .is-in — прячем мгновенно, анимируем лишь появление. */
:root { --ease-out: cubic-bezier(.2, .7, .2, 1); --ease-trace: cubic-bezier(.45, .05, .55, .95); }
@media (prefers-reduced-motion: no-preference) {
  .motion [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(16px); }
  .motion [data-reveal].is-in {
    transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
    transition-delay: calc(var(--i, 0) * var(--stagger, 90ms));
  }
  .motion [data-reveal]:focus-within { opacity: 1; transform: none; }

  /* Услуги: шаг появился → линия идёт к следующему номеру */
  .steps { --stagger: 200ms; }
  .motion .step:not(.is-in)::after { transform: scaleX(0); transform-origin: 0 50%; }
  .motion .step.is-in::after {
    transform-origin: 0 50%;
    transition: transform .45s var(--ease-trace) calc(var(--i, 0) * var(--stagger) + .2s);
  }

  /* Обозначения приборов: обводка прорисовывается, затем появляются буквы */
  .motion .sym circle.sym__line { transform: rotate(-90deg); transform-box: fill-box; transform-origin: center; }
  .motion .sym :is(.sym__line, .sym__proc) { stroke-dasharray: var(--len) var(--len); }
  .motion .svc__row:not(.is-in) :is(.sym__line, .sym__proc) { stroke-dashoffset: var(--len); }
  .motion .svc__row:not(.is-in) :is(.sym text, .sym__trace) { opacity: 0; }
  .motion .svc__row.is-in :is(.sym__line, .sym__proc) {
    transition: stroke-dashoffset .8s var(--ease-trace) calc(var(--i, 0) * 90ms + var(--k, 0s) + .1s);
  }
  .motion .svc__row.is-in :is(.sym text, .sym__trace) {
    transition: opacity .4s ease-out calc(var(--i, 0) * 90ms + .6s);
  }

  /* Разрез Bestowin собирается изнутри наружу: трубки → кабель → обмотка → изоляция → оболочка */
  .motion .bundle[data-reveal] { opacity: 1; transform: none; }
  .bundle__part { transform-box: fill-box; transform-origin: center; }
  .motion .bundle:not(.is-in) .bundle__part { opacity: 0; transform: scale(.9); }
  .motion .bundle.is-in .bundle__part {
    transition: opacity .4s var(--ease-out) var(--t), transform .45s var(--ease-out) var(--t);
  }
  .motion .bundle:not(.is-in) .bundle__heat { fill: #59636A; filter: none; }
  .motion .bundle.is-in .bundle__heat {
    transition: opacity .25s var(--ease-out) var(--t), transform .25s var(--ease-out) var(--t),
                fill .8s var(--ease-trace) .6s, filter .8s var(--ease-trace) .6s;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .motion .steps--rows .step:not(.is-in)::after { transform: scaleY(0); transform-origin: 50% 0; }
  .motion .steps--rows .step.is-in::after { transform-origin: 50% 0; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 620px) {
  .motion .step:not(.is-in)::after { transform: scaleY(0); transform-origin: 50% 0; }
  .motion .step.is-in::after { transform-origin: 50% 0; }
}
@media print {
  .motion [data-reveal], .motion .bundle__part { opacity: 1 !important; transform: none !important; }
}

/* ---------- ДОСТУПНОСТЬ ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .001ms !important; }
  .chrom__line { stroke-dashoffset: 0; }
  .chrom__area, .chrom__label { opacity: 1; }
}
