/* ==========================================================================
   New Diamond Technology — стили сайта, концепция «От решётки к кристаллу»
   Айдентика: логотип, шрифт Lato, бирюзовый #3E93A1, графит #101417.
   Язык формы: белое пространство, тонкая бирюзовая линия, узлы-кольца
   (кристаллическая решётка), фотореалистичный кристалл и блики света.
   ========================================================================== */

/* ---------- Шрифт: Lato (фирменный, файлы с текущего сайта) ---------- */
@font-face { font-family: "Lato"; font-weight: 100; font-style: normal; font-display: swap; src: url("../fonts/LatoThin.woff") format("woff"); }
@font-face { font-family: "Lato"; font-weight: 300; font-style: normal; font-display: swap; src: url("../fonts/LatoLight.woff") format("woff"); }
@font-face { font-family: "Lato"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/LatoRegular.woff") format("woff"); }
@font-face { font-family: "Lato"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/LatoMedium.woff") format("woff"); }
@font-face { font-family: "Lato"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/LatoSemiBold.woff") format("woff"); }
@font-face { font-family: "Lato"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/LatoBold.woff") format("woff"); }
@font-face { font-family: "Lato"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/LatoHeavy.woff") format("woff"); }
@font-face { font-family: "Lato"; font-weight: 900; font-style: normal; font-display: swap; src: url("../fonts/LatoBlack.woff") format("woff"); }

/* ---------- Токены ---------- */
:root {
  --teal: #3e93a1;
  --teal-dark: #2a7380;
  --teal-light: #5fa6b1;
  --teal-tint: #e6f1f3;
  --ink: #101417;
  --text: #33393b;
  --muted: #6b7375;
  --line: #d5dfe1;
  --ice: #f2f7f8;
  --white: #fff;

  --font: "Lato", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px;
  --gut: clamp(20px, 4.4vw, 64px);
  --sec: clamp(72px, 10vw, 150px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --hdr-h: 88px;
  --node: 11px;
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body {
  margin: 0; background: var(--white); color: var(--text);
  font: 400 17px/1.65 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
::selection { background: var(--teal); color: #fff; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* узел решётки — кольцо */
.rh { display: inline-block; width: 9px; height: 9px; border: 1.5px solid var(--teal); border-radius: 50%; background: #fff; flex: none; }

/* ---------- «Хребет» страницы: линия решётки с узлами у заголовков ---------- */
main { position: relative; }
.spine-wrap { position: absolute; inset: 0; pointer-events: none; z-index: 3; display: none; }
.spine { position: absolute; top: 0; bottom: 0; left: calc(var(--gut) - 30px); width: 1px; background: rgba(62, 147, 161, .22); }
.spine::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: var(--spine, 0%); background: var(--teal); }
@media (min-width: 1100px) { .spine-wrap { display: block; } }

/* ---------- Заголовки ---------- */
.h-sec { position: relative; font-weight: 300; font-size: clamp(32px, 4.6vw, 60px); line-height: 1.08; letter-spacing: -.012em; color: var(--ink); }
.h-sec::before { /* узел на «хребте» */
  content: ""; position: absolute; left: calc(-30px - var(--node) / 2); top: calc(.54em - var(--node) / 2); width: var(--node); height: var(--node);
  border: 1.5px solid var(--teal); border-radius: 50%; background: #fff; z-index: 4;
}
.h-sec::after { content: ""; position: absolute; left: -24px; top: .54em; width: 14px; height: 1px; background: var(--teal); }
.h-sec--sm { font-size: clamp(26px, 3vw, 38px); }
.h-sec--light { color: #fff; }
@media (max-width: 1099px) { .h-sec::before, .h-sec::after { display: none; } }

.cap { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 12px; line-height: 1.3; letter-spacing: .22em; text-transform: uppercase; color: var(--teal-dark); }
.cap::before { content: ""; width: 26px; height: 1px; background: var(--teal); flex: none; }
.lead { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.6; color: var(--text); }
.muted { color: var(--muted); }

/* ---------- Кнопки ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: 54px; padding: 0 22px 0 26px; border: 1px solid var(--ink); background: transparent; color: var(--ink);
  font-weight: 700; font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; line-height: 1; white-space: nowrap;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn .chev { width: 34px; height: 12px; flex: none; overflow: visible; }
.btn .chev circle, .more .chev circle { transition: fill .3s, transform .4s var(--ease); transform-origin: 29px 6px; }
.btn:hover { background: var(--ink); color: #fff; }
.btn:hover .chev circle, .more:hover .chev circle, a:hover > .more .chev circle { fill: currentColor; transform: scale(1.25); }
.btn--solid { background: var(--teal); border-color: var(--teal); color: #fff; }
.btn--solid:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.btn--light { border-color: #fff; color: #fff; }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--sm { min-height: 44px; font-size: 12px; padding: 0 16px 0 20px; gap: 12px; }
.btn--sm .chev { width: 28px; }

.more { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--teal-dark); }
.more .chev { width: 34px; height: 12px; overflow: visible; }

/* ---------- Шапка ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid transparent; transition: border-color .3s; }
.hdr.is-compact { border-bottom-color: var(--line); }
.hdr__in { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 40px); height: var(--hdr-h); transition: height .3s var(--ease); }
.hdr.is-compact .hdr__in { height: 68px; }
.hdr__logo { flex: none; display: block; }
.hdr__logo img { width: 188px; height: auto; transition: width .3s var(--ease); }
.hdr.is-compact .hdr__logo img { width: 160px; }
.nav { display: flex; gap: clamp(14px, 2vw, 34px); margin-left: auto; }
.nav__a { position: relative; padding: 10px 0; font-size: 15.5px; color: var(--text); white-space: nowrap; transition: color .2s; }
.nav__a::after { /* узел под активным пунктом */
  content: ""; position: absolute; left: 50%; bottom: -3px; width: 7px; height: 7px; margin-left: -3.5px; border: 1.5px solid var(--teal); border-radius: 50%; background: #fff;
  transform: scale(0); transition: transform .3s var(--ease), background .3s;
}
.nav__a:hover { color: var(--teal-dark); }
.nav__a.is-active { color: var(--ink); font-weight: 700; }
.nav__a.is-active::after { transform: scale(1); background: var(--teal); }
.nav__a:hover::after { transform: scale(1); }
.hdr__tools { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 26px); }
.hdr__phone { font-weight: 600; font-size: 16.5px; color: var(--ink); white-space: nowrap; letter-spacing: .01em; }
.hdr__phone:hover { color: var(--teal-dark); }
/* выбор языка: код текущего языка, по нажатию — список из десяти языков */
.lang { position: relative; flex: none; font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.lang__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px; color: var(--ink); font-weight: inherit; letter-spacing: inherit; }
.lang__btn svg { width: 10px; height: 6px; color: var(--teal); transition: transform .3s var(--ease); }
.lang__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.lang__btn:hover { color: var(--teal-dark); }
.lang__list { position: absolute; right: -14px; top: calc(100% + 6px); z-index: 60; min-width: 236px; padding: 8px 0; background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--teal); box-shadow: 0 18px 40px -22px rgba(16, 20, 23, .35); }
.lang__list a { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: baseline; gap: 12px; padding: 9px 18px; font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--text); white-space: nowrap; }
.lang__list a b { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; color: var(--muted); }
.lang__list a:hover { background: var(--ice); color: var(--teal-dark); }
.lang__list a.is-active { color: var(--ink); font-weight: 700; }
.lang__list a.is-active b { color: var(--teal-dark); }

/* ромб-кнопка поиска — деталь прежнего сайта, перекликается с логотипом */
.rh-btn { position: relative; width: 44px; height: 44px; display: grid; place-items: center; flex: none; color: var(--teal-dark); }
.rh-btn::before { content: ""; position: absolute; inset: 9px; border: 1.5px solid var(--teal); transform: rotate(45deg); transition: background .25s, transform .35s var(--ease); }
.rh-btn svg { position: relative; width: 14px; height: 14px; }
.rh-btn:hover::before { background: var(--teal); transform: rotate(135deg); }
.rh-btn:hover { color: #fff; }

.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 9px; right: 9px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.hdr__search { border-top: 1px solid var(--line); background: #fff; }
.hdr__search .wrap { display: flex; align-items: center; gap: 16px; height: 72px; }
.hdr__search input[type=search] { flex: 1; border: 0; outline: 0; font-size: 20px; font-weight: 300; background: none; min-width: 0; }
.hdr__search input::placeholder { color: #9aa3a5; }

.nav__extra { display: none; }
@media (max-width: 1320px) { .hdr__phone { display: none; } }
@media (max-width: 1140px) {
  :root { --hdr-h: 72px; }
  .hdr { background: #fff; }
  .hdr__logo img, .hdr.is-compact .hdr__logo img { width: 150px; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: var(--hdr-h) 0 0 0; z-index: 49; margin: 0; padding: 28px var(--gut) 40px; gap: 0;
    flex-direction: column; background: #fff; overflow: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .3s var(--ease), visibility .3s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav__a { color: var(--ink); font-size: 28px; font-weight: 300; padding: 16px 0 16px 26px; border-bottom: 1px solid var(--line); white-space: normal; }
  .nav__a::after { left: 0; top: 50%; bottom: auto; margin: -4.5px 0 0 0; width: 9px; height: 9px; transform: none; }
  .nav__a.is-active { color: var(--teal-dark); font-weight: 300; }
  .nav__extra { display: block !important; margin-top: 28px; color: var(--ink); font-size: 20px; font-weight: 600; }
  .hdr__tools { margin-left: auto; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Ролики «решётка -> кристалл» ---------- */
.clip { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #fff; }
.clip video, .clip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* края ролика растворяются в белом фоне страницы */
.clip::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 46px 34px #fff; }
.clip--wide { aspect-ratio: 16 / 9; margin-bottom: 28px; }
.sec--ice .clip { background: var(--ice); }
.sec--ice .clip video, .sec--ice .clip img { mix-blend-mode: multiply; }
.sec--ice .clip::after { box-shadow: inset 0 0 46px 34px var(--ice); }

/* ---------- Первый экран ---------- */
.hero2 { position: relative; background: #fff; overflow: hidden; }
.hero2__media { position: absolute; inset: 0 0 auto 0; height: clamp(500px, 50vw, 980px); }
.clip--hero { position: absolute; inset: 0; aspect-ratio: auto; }
.clip--hero video, .clip--hero img { object-position: 100% 50%; }
.clip--hero::after { box-shadow: none; background: linear-gradient(90deg, rgba(255, 255, 255, .92) 0, rgba(255, 255, 255, .78) 26%, rgba(255, 255, 255, 0) 52%), linear-gradient(0deg, #fff 0, rgba(255, 255, 255, 0) 16%); }
.hero2__in { position: relative; display: flex; align-items: center; min-height: clamp(500px, 50vw, 980px); padding-block: 40px 60px; }
/* колонка шире самого длинного слова заголовка («Монокристаллические» ≈ 9.8em), иначе слово рвётся посередине */
.hero2__txt { max-width: min(620px, 49%); min-width: 0; }
.hero2__h { margin-top: 26px; font-weight: 300; font-size: clamp(32px, 3.9vw, 58px); line-height: 1.08; letter-spacing: -.015em; color: var(--ink); }
.hero2__h b { font-weight: 700; }
.hero2__p { margin-top: 26px; font-size: clamp(16.5px, 1.35vw, 19.5px); line-height: 1.62; color: var(--text); max-width: 500px; }
.hero2__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

/* указатель продукции: линия решётки с узлами */
.hidx { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding-bottom: clamp(40px, 5vw, 72px); }
.hidx::before { content: ""; position: absolute; left: var(--gut); right: var(--gut); top: 5px; height: 1px; background: var(--line); }
.hidx__i { position: relative; display: block; padding: 30px 24px 0 0; color: var(--text); }
.hidx__i i { position: absolute; left: 0; top: 0; width: var(--node); height: var(--node); border: 1.5px solid var(--teal); border-radius: 50%; background: #fff; transition: background .3s, transform .3s var(--ease); }
.hidx__i::before { content: ""; position: absolute; left: 0; top: 5px; width: 0; height: 1px; background: var(--teal); transition: width .5s var(--ease); }
.hidx__i:hover::before { width: 100%; }
.hidx__i:hover i { background: var(--teal); transform: scale(1.2); }
.hidx__i b { display: block; font-weight: 700; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.hidx__i span { display: block; margin-top: 8px; font-size: 15px; color: var(--muted); }
.hidx__i:hover b { color: var(--teal-dark); }

@media (max-width: 900px) {
  .hero2__media { position: relative; height: auto; aspect-ratio: 4 / 3; }
  .clip--hero video, .clip--hero img { object-position: 100% 50%; }
  .clip--hero::after { background: linear-gradient(0deg, #fff 0, rgba(255, 255, 255, 0) 22%); }
  .hero2__in { min-height: 0; padding-block: 8px 44px; }
  .hero2__txt { max-width: none; }
  .hero2__cta .btn { flex: 1 1 100%; }
  .hidx { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
  .hidx::before { display: none; }
  .hidx__i { padding: 0 12px 0 24px; }
  .hidx__i i { top: 4px; }
  .hidx__i::before { display: none; }
}

@media (max-width: 560px) { .hero2__media { aspect-ratio: 1 / 1; } }
/* на узких телефонах заголовок уменьшается вместе с экраном, чтобы длинное слово помещалось целиком */
@media (max-width: 400px) {
  .hero2__h, .h-sec:not(.h-sec--sm) { font-size: clamp(25px, 8.4vw, 32px); }
  /* кнопки: длинная надпись («Индивидуальные проекты») не должна выходить за край экрана */
  .btn { letter-spacing: .12em; padding: 0 18px 0 20px; gap: 12px; }
  .hero2__cta .btn { white-space: normal; line-height: 1.3; padding-block: 12px; }
}
/* самые узкие телефоны (320 px): шапка должна помещаться в экран */
@media (max-width: 350px) {
  .hdr__in { gap: 10px; }
  .hdr__logo img, .hdr.is-compact .hdr__logo img { width: 122px; }
  .hdr__tools { gap: 6px; }
}

/* ---------- Секции ---------- */
.sec { padding-block: var(--sec); position: relative; overflow-x: clip; }
.sec--ice { background: var(--ice); }
.sec--tight { padding-block: clamp(48px, 6vw, 84px); }
.sec > .wrap { position: relative; }
.sec__head { display: flex; align-items: end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 68px); }
.sec__head .cap { margin-bottom: 20px; }
.sec__head--split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
@media (max-width: 900px) { .split, .sec__head--split { grid-template-columns: minmax(0, 1fr); } }

/* линейный «кристалл» (декор) */
.wire { position: absolute; pointer-events: none; color: var(--teal); opacity: .5; }
.wire--tr { top: -40px; right: -30px; width: clamp(180px, 24vw, 340px); }
.wire--bl { bottom: -50px; left: -40px; width: clamp(160px, 20vw, 280px); }

/* ---------- Главы продукции ---------- */
.chaps { display: grid; gap: clamp(36px, 6vw, 96px); }
.chap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 84px); align-items: center; scroll-margin-top: calc(var(--hdr-h) + 24px); }
.chap--rev { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.chap--rev .chap__media { order: 2; }
.chap__media { display: block; }
.chap__media .clip { transition: transform .8s var(--ease); }
.chap__media:hover .clip { transform: scale(1.02); }
.chap__t { font-weight: 300; font-size: clamp(28px, 3.3vw, 46px); line-height: 1.1; color: var(--ink); letter-spacing: -.01em; }
.chap__t a:hover { color: var(--teal-dark); }
.chap__l { margin: 22px 0 0; border-top: 1px solid var(--line); }
.chap__l li { position: relative; padding: 12px 0 12px 24px; border-bottom: 1px solid var(--line); font-size: 16.5px; color: var(--ink); }
.chap__l li::before { content: ""; position: absolute; left: 0; top: 50%; margin-top: -4.5px; width: 9px; height: 9px; border: 1.5px solid var(--teal); border-radius: 50%; }
.chap__d { margin: 22px 0 30px; color: var(--muted); font-size: 16px; line-height: 1.65; }
@media (max-width: 900px) { .chap, .chap--rev { grid-template-columns: minmax(0, 1fr); gap: 8px; } .chap--rev .chap__media { order: 0; } }

/* ---------- Преимущества: узлы на линии ---------- */
.adv { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.adv__i { padding: 36px 24px 8px 0; position: relative; }
.adv__i::before { content: ""; position: absolute; top: calc(var(--node) / -2 - .5px); left: 0; width: var(--node); height: var(--node); border: 1.5px solid var(--teal); border-radius: 50%; background: #fff; }
.adv__ic { width: 50px; height: 50px; color: var(--teal); margin-bottom: 22px; }
.adv__t { font-weight: 700; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.adv__d { margin-top: 12px; font-size: 15.5px; line-height: 1.55; color: var(--muted); }
/* пять узких колонок: название («Ответственность») должно помещаться целиком */
@media (min-width: 1021px) and (max-width: 1180px) { .adv__i { padding-right: 16px; } .adv__t { font-size: 12px; letter-spacing: .12em; } }
@media (max-width: 1020px) { .adv { grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 0; } .adv__i { padding: 30px 20px 28px 0; border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .adv { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Сетка категорий (внутренние страницы) ---------- */
.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
.cat { position: relative; display: flex; flex-direction: column; background: #fff; color: var(--text); border: 1px solid var(--line); transition: border-color .3s; }
.cat__img { position: relative; display: block; aspect-ratio: 4 / 3; background: #fff; overflow: hidden; }
.cat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cat__img .wire { position: absolute; inset: 14% 22%; width: 56%; height: 72%; opacity: .9; }
.cat:hover .cat__img img { transform: scale(1.05); }
.cat__b { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; border-top: 1px solid var(--line); }
.cat__t { font-weight: 700; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.cat__l { margin: 12px 0 20px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.cat .more { margin-top: auto; }
.cat:hover { border-color: var(--teal); }
@media (max-width: 1100px) { .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .cats { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Сферы применения: ячейки решётки с узлами ---------- */
.apps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.app { position: relative; display: flex; flex-direction: column; padding: 34px 30px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; transition: background .3s; min-height: 260px; }
.app::before { content: ""; position: absolute; z-index: 1; top: calc(var(--node) / -2 - .5px); left: calc(var(--node) / -2 - .5px); width: var(--node); height: var(--node); border: 1.5px solid var(--teal); border-radius: 50%; background: #fff; transition: background .3s; }
.app:hover::before { background: var(--teal); }
.app__ic { display: block; width: 64px; height: 64px; margin: -4px 0 18px -4px; }
.app__ic img { width: 100%; height: 100%; }
.app-fig { display: block; width: min(240px, 60%); aspect-ratio: 1; }
.app-fig img { width: 100%; height: 100%; }
.app__t { font-weight: 700; font-size: 19px; line-height: 1.3; color: var(--ink); }
.app__d { margin: 10px 0 22px; font-size: 15.5px; line-height: 1.55; color: var(--muted); }
.app .more { margin-top: auto; opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s var(--ease); }
.app:hover { background: var(--teal-tint); }
.app:hover .more { opacity: 1; transform: none; }
@media (max-width: 900px) { .apps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .app .more { opacity: 1; transform: none; } }
@media (max-width: 560px) { .apps { grid-template-columns: minmax(0, 1fr); } .app { min-height: 0; } }

/* ---------- Световая полоса (индивидуальные проекты) ---------- */
.lightband { position: relative; overflow: hidden; background: #f4f5f5; min-height: clamp(440px, 46vw, 760px); display: flex; }
.lightband__v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; }
.lightband::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(246, 247, 247, .9) 0, rgba(246, 247, 247, .55) 34%, rgba(246, 247, 247, 0) 58%); pointer-events: none; }
.lightband__in { position: relative; z-index: 1; display: flex; align-items: flex-start; padding-block: clamp(56px, 7vw, 110px); }
.lightband__txt { max-width: 470px; }
.lightband__p { margin: 24px 0 34px; font-size: clamp(17px, 1.5vw, 20px); color: var(--text); }
@media (max-width: 760px) { .lightband { min-height: 0; flex-direction: column; } .lightband__v { position: relative; height: auto; aspect-ratio: 16 / 10; object-position: 82% 60%; } .lightband::after { display: none; } .lightband__in { padding-block: 34px 52px; } }

/* ---------- Новости: строки ---------- */
.nrows { border-top: 1px solid var(--line); }
.nrow { display: grid; grid-template-columns: 132px minmax(0, 1fr) 120px; gap: clamp(16px, 3vw, 44px); align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); position: relative; transition: background .25s, padding .35s var(--ease); }
.nrow__date { font-weight: 300; font-size: 26px; line-height: 1; color: var(--ink); white-space: nowrap; }
.nrow__date small { display: block; margin-top: 7px; font-weight: 700; font-size: 11.5px; letter-spacing: .18em; color: var(--teal-dark); }
.nrow__t { font-size: 18px; line-height: 1.45; color: var(--ink); }
.nrow__img { justify-self: end; width: 120px; height: 64px; object-fit: contain; object-position: right center; mix-blend-mode: multiply; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.nrow:hover { background: #fff; padding-inline: 18px; }
.nrow:hover .nrow__img { filter: none; opacity: 1; }
.nrow:hover .nrow__t { color: var(--teal-dark); }
.sec:not(.sec--ice) .nrow:hover { background: var(--ice); }
@media (max-width: 700px) { .nrow { grid-template-columns: 92px minmax(0, 1fr); } .nrow__img { display: none; } .nrow__date { font-size: 21px; } .nrow__t { font-size: 16.5px; } .nrow:hover { padding-inline: 0; background: none; } }

.nyear { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(20px, 4vw, 64px); margin-bottom: clamp(40px, 6vw, 72px); }
.nyear__y { position: sticky; top: calc(var(--hdr-h) + 24px); align-self: start; font-weight: 100; font-size: clamp(56px, 7vw, 96px); line-height: .9; color: var(--ink); letter-spacing: -.02em; }
.nyear .nrow__date small { display: none; }
.nyear .nrow { grid-template-columns: 92px minmax(0, 1fr) 120px; }
@media (max-width: 900px) { .nyear { grid-template-columns: minmax(0, 1fr); gap: 14px; } .nyear__y { position: static; font-size: 52px; } }
@media (max-width: 700px) { .nyear .nrow { grid-template-columns: 76px minmax(0, 1fr); } }

/* ---------- Подписка ---------- */
.sub { background: var(--teal); color: #fff; }
.sub__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 5vw, 72px); align-items: center; padding-block: clamp(36px, 4.5vw, 56px); }
.sub__t { font-weight: 300; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.2; }
.sub__t b { font-weight: 700; }
.sub__f { display: flex; gap: 0; align-items: stretch; max-width: 560px; }
.sub__f input { flex: 1; min-width: 0; height: 56px; padding: 0 20px; border: 1px solid #fff; border-right: 0; background: transparent; color: #fff; outline: 0; border-radius: 0; }
.sub__f input::placeholder { color: rgba(255, 255, 255, .78); }
.sub__f button { height: 56px; padding: 0 22px; background: #fff; color: var(--teal-dark); font-weight: 700; font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 14px; transition: background .25s, color .25s; }
.sub__f button:hover { background: var(--ink); color: #fff; }
.sub__f .chev { width: 30px; height: 12px; overflow: visible; }
.sub__note { margin-top: 10px; font-size: 13px; color: rgba(255, 255, 255, .88); min-height: 1.4em; }
@media (max-width: 900px) { .sub__in { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .sub__f { flex-wrap: wrap; gap: 10px; } .sub__f input { flex: 1 1 100%; border-right: 1px solid #fff; } .sub__f button { width: 100%; justify-content: space-between; } }

/* ---------- Подвал (светлый) ---------- */
.ftr { background: #fff; color: var(--muted); font-size: 15px; }
.ftr a:hover { color: var(--teal-dark); }
.ftr__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: clamp(24px, 4vw, 64px); padding-block: clamp(52px, 6vw, 88px); }
.ftr__logo { display: inline-block; }
.ftr__logo img { width: 190px; }
.ftr__about { margin-top: 22px; max-width: 300px; line-height: 1.6; }
.ftr__h { position: relative; font-weight: 700; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); margin-bottom: 18px; padding-left: 20px; }
.ftr__h::before { content: ""; position: absolute; left: 0; top: 50%; margin-top: -4.5px; width: 9px; height: 9px; border: 1.5px solid var(--teal); border-radius: 50%; }
.ftr__l, .ftr__c { padding-left: 20px; }
.ftr__l li + li { margin-top: 9px; }
.ftr__c li + li { margin-top: 12px; }
.ftr__c b { display: block; font-weight: 700; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 2px; }
.ftr__c a { color: var(--ink); }
.ftr__langs { display: flex; flex-wrap: wrap; gap: 6px 24px; padding-block: 18px; border-top: 1px solid var(--line); font-size: 14px; }
.ftr__langs a.is-active { color: var(--ink); font-weight: 700; }
.ftr__bot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; padding-block: 22px; border-top: 1px solid var(--line); font-size: 13.5px; }
@media (max-width: 900px) { .ftr__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .ftr__top { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Шапка внутренней страницы ---------- */
.phead { position: relative; background: var(--ice); overflow: hidden; }
.phead__in { position: relative; z-index: 1; padding-block: clamp(26px, 3.2vw, 42px) clamp(44px, 5.4vw, 76px); }
.phead .wire { top: -30px; right: 3%; width: clamp(170px, 22vw, 300px); opacity: .55; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 13.5px; color: var(--muted); margin-bottom: clamp(30px, 4.4vw, 60px); }
.crumbs a:hover { color: var(--teal-dark); }
.crumbs .rh { width: 6px; height: 6px; border-width: 1px; }
.crumbs [aria-current] { color: var(--ink); }
.phead__h { max-width: 900px; }
.phead__sub { margin-top: 22px; max-width: 720px; }
.phead--clip { background: #fff; }
.phead--clip .phead__in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(20px, 4vw, 64px); align-items: center; padding-bottom: clamp(20px, 3vw, 40px); }
.phead__l { margin-top: 28px; border-top: 1px solid var(--line); max-width: 460px; }
.phead__l li { position: relative; padding: 12px 0 12px 24px; border-bottom: 1px solid var(--line); font-size: 16.5px; color: var(--ink); }
.phead__l li::before { content: ""; position: absolute; left: 0; top: 50%; margin-top: -4.5px; width: 9px; height: 9px; border: 1.5px solid var(--teal); border-radius: 50%; }
@media (max-width: 900px) { .phead--clip .phead__in { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Навигация по категориям ---------- */
.catnav { border-block: 1px solid var(--line); background: #fff; position: sticky; top: 68px; z-index: 20; }
.catnav__in { display: flex; gap: clamp(18px, 3vw, 44px); overflow-x: auto; scrollbar-width: none; }
.catnav__in::-webkit-scrollbar { display: none; }
.catnav a { position: relative; display: flex; align-items: center; gap: 10px; padding: 20px 0; font-weight: 700; font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.catnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--teal); transform: scaleX(0); transition: transform .3s var(--ease); }
.catnav a:hover, .catnav a.is-active { color: var(--ink); }
.catnav a.is-active::after { transform: scaleX(1); }

/* ---------- Текстовый контент ---------- */
.prose { font-size: 17.5px; line-height: 1.75; color: var(--text); max-width: 760px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-weight: 300; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; color: var(--ink); margin-top: 1.8em; }
.prose h3 { font-weight: 700; font-size: 19px; color: var(--ink); margin-top: 1.6em; }
.prose strong { font-weight: 700; color: var(--ink); }
.prose a { color: var(--teal-dark); border-bottom: 1px solid rgba(62, 147, 161, .45); transition: border-color .2s; overflow-wrap: anywhere; }
.prose a:hover { border-bottom-color: var(--teal-dark); }
.prose ul li, .prose ol li { position: relative; padding-left: 26px; }
.prose ul li + li, .prose ol li + li { margin-top: .45em; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 9px; height: 9px; border: 1.5px solid var(--teal); border-radius: 50%; }
.prose ol { counter-reset: n; }
.prose ol li { counter-increment: n; }
.prose ol li::before { content: counter(n); position: absolute; left: 0; top: 0; font-weight: 700; color: var(--teal-dark); }
.prose img { margin-block: 1.6em; max-width: 100%; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose td { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose--wide { max-width: none; }
.prose--cols { max-width: none; columns: 2; column-gap: clamp(28px, 5vw, 72px); }
.prose--cols > * { break-inside: avoid; }
@media (max-width: 900px) { .prose--cols { columns: 1; } }

/* ---------- Факты ---------- */
.facts { border-top: 1px solid var(--ink); }
.facts div { display: grid; grid-template-columns: minmax(160px, 2fr) 3fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 560px) { .facts div { grid-template-columns: minmax(0, 1fr); gap: 4px; } }
.facts dt { font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.facts dd { color: var(--ink); font-size: 17px; }
.facts dd a { color: var(--teal-dark); }

/* ---------- Карточки товаров ---------- */
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
.pcard { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.pcard__img { position: relative; display: block; aspect-ratio: 4 / 3; background: #fff; overflow: hidden; border-bottom: 1px solid var(--line); }
.pcard__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: scale-down; padding: 18px; transition: transform .6s var(--ease); }
.pcard__img .wire { inset: 20% 30%; width: 40%; height: 60%; opacity: .5; }
.pcard:hover .pcard__img img { transform: scale(1.05); }
.pcard__b { display: flex; flex-direction: column; flex: 1; padding: 20px 20px 22px; }
.pcard__t { font-weight: 700; font-size: 18px; line-height: 1.3; color: var(--ink); }
.pcard__l { margin: 10px 0 20px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.pcard__f { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pcard:hover { border-color: var(--teal); box-shadow: 0 22px 44px -30px rgba(42, 115, 128, .55); }
.pcard::before { content: ""; position: absolute; z-index: 2; top: calc(var(--node) / -2 - .5px); left: calc(var(--node) / -2 - .5px); width: var(--node); height: var(--node); border: 1.5px solid var(--teal); border-radius: 50%; background: var(--teal); opacity: 0; transition: opacity .3s; }
.pcard:hover::before { opacity: 1; }
.pcard__link { position: absolute; inset: 0; z-index: 1; }
.pcard__f > * { position: relative; z-index: 2; }
@media (max-width: 1100px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .pgrid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Страница товара ---------- */
.prod { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.gal__main { position: relative; aspect-ratio: 4 / 3; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.gal__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: scale-down; padding: clamp(18px, 3vw, 40px); }
.gal__th { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gal__th button { width: 84px; aspect-ratio: 4 / 3; background: #fff; border: 1px solid var(--line); padding: 6px; transition: border-color .2s; }
.gal__th button img { width: 100%; height: 100%; object-fit: contain; }
.gal__th button.is-on, .gal__th button:hover { border-color: var(--teal); }
.prod__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); }
.prod__price { font-size: 14px; color: var(--muted); }
.prod__price b { display: block; font-weight: 300; font-size: 24px; color: var(--ink); }
@media (max-width: 900px) { .prod { grid-template-columns: minmax(0, 1fr); } }

.spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 5vw, 80px); border-top: 1px solid var(--ink); }
.spec__r { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec__k { color: var(--muted); font-size: 15.5px; }
.spec__v { font-weight: 700; color: var(--ink); text-align: right; font-size: 16.5px; }
@media (max-width: 760px) { .spec { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Этапы ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 1px; background: var(--line); }
.step { position: relative; padding: 0 28px 0 0; }
.step__n { position: relative; z-index: 1; width: 44px; height: 44px; display: grid; place-items: center; border: 1.5px solid var(--teal); border-radius: 50%; background: var(--ice); font-weight: 400; font-size: 17px; color: var(--teal-dark); text-transform: lowercase; }
.sec:not(.sec--ice) .step__n { background: #fff; }
.step__img { height: 86px; width: auto; margin: 26px 0 18px; object-fit: contain; object-position: left; }
.step__t { font-size: 17px; line-height: 1.5; color: var(--ink); max-width: 240px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; } .steps::before { display: none; } }
@media (max-width: 480px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Партнёры ---------- */
.logos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logo-t { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-height: 168px; padding: 22px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; text-align: center; }
.logo-t img { max-width: 150px; max-height: 64px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s; }
.logo-t span { font-size: 13.5px; line-height: 1.35; color: var(--muted); }
.logo-t:hover img { filter: none; opacity: 1; }
@media (max-width: 1020px) { .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); } .logo-t { min-height: 132px; } }

/* ---------- Формы ---------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.fld { display: block; position: relative; }
.fld__l { display: block; font-weight: 700; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.fld input, .fld textarea, .fld select {
  width: 100%; border: 1px solid var(--line); background: #fff; padding: 14px 16px; outline: 0; border-radius: 0; color: var(--ink);
  transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.fld textarea { min-height: 132px; resize: vertical; }
.fld select { background-image: linear-gradient(45deg, transparent 50%, var(--teal) 50%), linear-gradient(135deg, var(--teal) 50%, transparent 50%); background-position: calc(100% - 22px) 55%, calc(100% - 16px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.fld input:focus, .fld textarea:focus, .fld select:focus { border-color: var(--teal); box-shadow: inset 0 -2px 0 var(--teal); }
.form__agree { font-size: 13px; line-height: 1.5; color: var(--muted); }
.form__agree a { color: var(--teal-dark); border-bottom: 1px solid rgba(62, 147, 161, .4); }
.form__foot { display: flex; align-items: center; gap: 18px 28px; flex-wrap: wrap; }
.form__msg { font-size: 14.5px; color: var(--teal-dark); min-height: 1.4em; }
@media (max-width: 560px) { .form__row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Окно заявки ---------- */
.modal { width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-top: 3px solid var(--teal); background: #fff; color: var(--text); overflow: auto; }
.modal::backdrop { background: rgba(16, 20, 23, .5); backdrop-filter: blur(4px); }
.modal__in { padding: clamp(26px, 4vw, 44px); }
.modal__x { position: absolute; top: 18px; right: 20px; width: 36px; height: 36px; }
.modal__x::before, .modal__x::after { content: ""; position: absolute; left: 6px; right: 6px; top: 17px; height: 1.5px; background: var(--ink); transform: rotate(45deg); }
.modal__x::after { transform: rotate(-45deg); }
.modal__h { margin-bottom: 26px; }
.modal .h-sec::before, .modal .h-sec::after { display: none; }
.modal[open] { animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Контакты ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact__co { font-weight: 700; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); margin-bottom: 18px; }
.req { margin-top: 34px; border: 1px solid var(--line); }
.req summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; font-weight: 700; font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); list-style: none; }
.req summary::-webkit-details-marker { display: none; }
.req summary::after { content: ""; width: 9px; height: 9px; border-right: 1.5px solid var(--teal); border-bottom: 1.5px solid var(--teal); transform: rotate(45deg); transition: transform .3s; margin-right: 4px; }
.req[open] summary::after { transform: rotate(-135deg); }
.req__b { padding: 4px 22px 22px; font-size: 15px; line-height: 1.7; color: var(--text); overflow-wrap: anywhere; }
.req__b p + p { margin-top: 4px; }
.req__tools { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
@media (max-width: 900px) { .contact { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Статья ---------- */
.art { max-width: 800px; margin-inline: auto; }
.art__date { display: flex; align-items: center; gap: 12px; }
.art__h { font-weight: 300; font-size: clamp(30px, 4vw, 48px); line-height: 1.15; color: var(--ink); margin: 18px 0 clamp(26px, 4vw, 44px); letter-spacing: -.005em; }
.art__img { margin-bottom: clamp(26px, 4vw, 44px); background: #fff; border: 1px solid var(--line); display: grid; place-items: center; padding: clamp(16px, 3vw, 36px); }
.art__img img { max-height: 460px; width: auto; }
.art__nav { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: clamp(40px, 6vw, 72px); padding-top: 26px; border-top: 1px solid var(--line); }
.art__nav a { max-width: 46%; }
.art__nav small { display: block; font-weight: 700; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.art__nav span { color: var(--ink); font-size: 16px; line-height: 1.4; }
.art__nav a:hover span { color: var(--teal-dark); }
.art__nav a:last-child { text-align: right; margin-left: auto; }

/* ---------- Технология ---------- */
.tech { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.tech__list { border-top: 1px solid var(--ink); counter-reset: t; }
.tech__list li { counter-increment: t; display: grid; grid-template-columns: 44px 1fr; gap: 8px; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 17px; line-height: 1.45; }
.tech__list li::before { content: counter(t, lower-roman); font-weight: 300; font-size: 22px; color: var(--teal-dark); line-height: 1.2; }
.tech__list li.is-used { font-weight: 700; }
.tech__cap { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; font-weight: 700; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.tech__cap img { width: 56px; }
@media (max-width: 900px) { .tech { grid-template-columns: minmax(0, 1fr); } }

.quote { position: relative; padding: clamp(44px, 6vw, 90px) 0; background: var(--teal); color: #fff; overflow: hidden; }
.quote p { font-weight: 300; font-size: clamp(22px, 2.8vw, 36px); line-height: 1.35; max-width: 980px; }
.quote .wire { color: #fff; opacity: .4; }
.quote .wire g { fill: var(--teal); }

.docs { border-top: 1px solid var(--line); }
.docs li a { display: flex; gap: 14px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; line-height: 1.45; color: var(--text); }
.docs li a:hover { color: var(--teal-dark); }
.docs li a::before { content: "PDF"; flex: none; font-weight: 700; font-size: 10.5px; letter-spacing: .14em; color: var(--teal-dark); border: 1px solid var(--teal); padding: 3px 6px; line-height: 1; }

/* ---------- Поиск ---------- */
.sres { border-top: 1px solid var(--line); }
.sres a { display: block; padding: 20px 0; border-bottom: 1px solid var(--line); }
.sres b { display: block; font-weight: 700; font-size: 19px; color: var(--ink); }
.sres span { display: block; margin-top: 4px; font-size: 15px; color: var(--muted); }
.sres a:hover b { color: var(--teal-dark); }
.sbox { display: flex; max-width: 640px; margin-bottom: 36px; }
.sbox input { flex: 1; min-width: 0; height: 54px; padding: 0 18px; border: 1px solid var(--ink); border-right: 0; outline: 0; border-radius: 0; }

/* ---------- Появление при прокрутке ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0s); }
.rv.is-in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }

/* ---------- Языки с другой письменностью ----------
   Lato остаётся первым (латиница, цифры, единицы измерения); иероглифы, кану и хангыль
   берёт системный шрифт нужной страны — иначе браузер подставит начертания другого языка. */
:lang(zh-CN) { font-family: "Lato", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", "Source Han Sans SC", sans-serif; }
:lang(zh-HK) { font-family: "Lato", "PingFang HK", "Microsoft JhengHei", "Noto Sans CJK HK", "Noto Sans HK", "Source Han Sans HC", sans-serif; }
:lang(zh-TW) { font-family: "Lato", "PingFang TC", "Microsoft JhengHei", "Noto Sans CJK TC", "Noto Sans TC", "Source Han Sans TC", sans-serif; }
:lang(ja) { font-family: "Lato", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", "Noto Sans CJK JP", "Noto Sans JP", sans-serif; }
:lang(ko) { font-family: "Lato", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans CJK KR", "Noto Sans KR", sans-serif; }
html:lang(zh) body, html:lang(ja) body, html:lang(ko) body { line-height: 1.8; }
html:lang(zh), html:lang(ja) { line-break: strict; }
html:lang(ko) { word-break: keep-all; }
/* у иероглифов нет прописных: разрядку подписей и кнопок делаем спокойнее */
html:lang(zh) :is(.cap, .btn, .more, .crumbs), html:lang(ja) :is(.cap, .btn, .more, .crumbs), html:lang(ko) :is(.cap, .btn, .more, .crumbs) { letter-spacing: .1em; }
html:lang(zh) :is(.cap, .btn, .more), html:lang(ja) :is(.cap, .btn, .more), html:lang(ko) :is(.cap, .btn, .more) { font-size: 13.5px; }
/* длинные составные слова (немецкий) не должны распирать узкие колонки */
h1, h2, h3, dt, th { overflow-wrap: break-word; }
html:lang(de) :is(h1, h2, h3, dt, th, td, .lead) { hyphens: auto; }
html:lang(de) :is(h1, h2, h3) { hyphenate-limit-chars: 14 4 4; -webkit-hyphenate-limit-before: 4; -webkit-hyphenate-limit-after: 4; }
html:lang(de) .hero2__h { hyphens: manual; }

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

@media print {
  .hdr, .sub, .ftr, .wire, .catnav, .btn, .modal, .spine-wrap { display: none !important; }
  body { font-size: 12pt; }
}
