/* Исправления вёрстки поверх Тильды */

/* Шапка: макет Zero-блока для 640–1199px в Тильде не доделан (меню обрезается,
   телефон и почта наезжают). На этих ширинах показываем бургер-меню, как на телефоне. */
@media screen and (max-width: 1199px) {
  #rec3303456103 { display: none !important; }
  #rec3335794903 { display: block !important; }
}

/* Zero-блоки: в Тильде полноценно свёрстаны только раскладки 1200 и 320, промежуточные
   (480/640/960) почти пустые — элементы вылезали за экран и наезжали друг на друга. Поэтому:
   от 960px — раскладка 1200 (до 1280px пропорционально уменьшается, в оригинале края обрезаны);
   ниже 960px — мобильная раскладка 320, увеличенная до 1,5 раза.
   Переменные --als-zoom-* выставляет скрипт в <head>, раскладку выбирает пропатченный tilda-zero. */
@media screen and (min-width: 960px) and (max-width: 1279px) {
  .t396__artboard { zoom: var(--als-zoom-desk, 1); }
}
@media screen and (max-width: 959px) {
  .t396__artboard { zoom: var(--als-zoom-tab, 1); }
}

/* EPC, «Почему доверить EPC-проект»: колонки стояли с шагом 376px, 4-я выходила за сетку 1200px.
   Выстраиваем по 12-колоночной сетке остальных блоков страницы (колонка 72.5, отступ 30):
   4 колонки по 3 = 277.5px, левые края 0 / 307.5 / 615 / 922.5. */
@media screen and (min-width: 960px) {
  #rec3667446203 .tn-elem[data-elem-id="1788782586196000010"] { left: calc(50% - 600px + 0px) !important; }
  #rec3667446203 .tn-elem[data-elem-id="1788782586196000011"] { left: calc(50% - 600px + 307.5px) !important; }
  #rec3667446203 .tn-elem[data-elem-id="1788782586196000012"] { left: calc(50% - 600px + 615px) !important; }
  #rec3667446203 .tn-elem[data-elem-id="1788782586196000013"] { left: calc(50% - 600px + 922.5px) !important; }
  #rec3667446203 .tn-elem[data-elem-id="1788782586196000020"] { left: calc(50% - 600px + 7px) !important; }
  #rec3667446203 .tn-elem[data-elem-id="1788782586196000021"] { left: calc(50% - 600px + 304.5px) !important; }
  #rec3667446203 .tn-elem[data-elem-id="1788782586197000022"] { left: calc(50% - 600px + 619px) !important; }
  #rec3667446203 .tn-elem[data-elem-id="1788782586197000023"] { left: calc(50% - 600px + 935.5px) !important; }
  #rec3667446203 .tn-elem[data-elem-id="1788782586196000014"] { left: calc(50% - 600px + 104px) !important; width: 204px !important; }
  #rec3667446203 .tn-elem[data-elem-id="1788782586196000015"] { left: calc(50% - 600px + 411.5px) !important; width: 204px !important; }
  #rec3667446203 .tn-elem[data-elem-id="1788782586196000016"] { left: calc(50% - 600px + 719px) !important; width: 204px !important; }
  #rec3667446203 .tn-elem[data-elem-id="1788782586196000017"] { left: calc(50% - 600px + 200.25px) !important; }
  #rec3667446203 .tn-elem[data-elem-id="1788782586196000018"] { left: calc(50% - 600px + 507.75px) !important; }
  #rec3667446203 .tn-elem[data-elem-id="1788782586196000019"] { left: calc(50% - 600px + 815.25px) !important; }
  #rec3667446203 .tn-elem[data-elem-id="1788782586196000001"] { left: calc(50% - 600px + 0px) !important; }
  #rec3667446203 .tn-elem[data-elem-id="1788782586196000002"] { left: calc(50% - 600px + 307.5px) !important; }
  #rec3667446203 .tn-elem[data-elem-id="1788782586196000003"] { left: calc(50% - 600px + 615px) !important; }
  #rec3667446203 .tn-elem[data-elem-id="1788782586196000004"] { left: calc(50% - 600px + 922.5px) !important; }
  #rec3667446203 .tn-elem[data-elem-id="1788782586196000009"] { left: calc(50% - 600px + 0px) !important; width: 260px !important; }
  #rec3667446203 .tn-elem[data-elem-id="1788782586196000008"] { left: calc(50% - 600px + 307.5px) !important; width: 260px !important; }
  #rec3667446203 .tn-elem[data-elem-id="1788782586196000007"] { left: calc(50% - 600px + 615px) !important; width: 260px !important; }
  #rec3667446203 .tn-elem[data-elem-id="1788782586196000006"] { left: calc(50% - 600px + 922.5px) !important; width: 260px !important; }
}

/* Контакты: iframe Яндекс.Карт фиксированной ширины 560px вылезал за экран на узких экранах */
.t396__elem[data-elem-type="html"] iframe[src*="map-widget"] { max-width: 100%; }

/* HAUS / Panam, первый экран на телефоне: декоративные точки наезжали на описание или
   вылезали за карточку (высота описания зависит от ширины) — на мобильных скрываем */
@media screen and (max-width: 959px) {
  #rec3684668403 .tn-elem[data-elem-id="1788765498015000017"],
  #rec3684816103 .tn-elem[data-elem-id="1788765498015000017"] { display: none !important; }
}

/* Мобильное меню: телефон и почта */
.als-menu-contacts { display: flex !important; flex-direction: column !important; align-items: flex-start !important; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(0,0,0,.1); }
.als-menu-contacts .t-menu__link-item { color: #ac1318 !important; font-weight: 600; }
@media screen and (min-width: 961px) {
  /* горизонтальное меню на 961–1199px: места нет, контакты не показываем */
  .als-menu-contacts { display: none !important; }
}


/* Карусели карточек (js/als-carousel.js вместо мода NoLim): лента едет сдвигом карточек (--als-x), без нативной
   прокрутки — у артборда Тильды CSS zoom, и Safari на iPhone при прокрутке рисовал слои вразнобой (30.10) */
.t396__artboard.als-carousel { overflow: hidden !important; touch-action: pan-y; cursor: grab; }
.t396__artboard.als-carousel > .als-cmove { translate: var(--als-x, 0px) 0; }
.t396__artboard.als-carousel.als-slider_drag { cursor: grabbing; user-select: none; -webkit-user-select: none; }
.t396__artboard.als-carousel.als-slider_drag * { pointer-events: none; }
.als-carousel__arrow_hidden { opacity: .35 !important; pointer-events: none !important; }

/* Endress+Hauser, «Что мы поставляем»: картинки были расставлены только для десктопа —
   на телефоне пересчитываем от карточки (380×438 -> 320×407) с привязкой к низу */
@media screen and (max-width: 959px) {
  #rec3654942703 .tn-elem[data-elem-id="1790162739071000001"] { left: calc(50% - 160px + 118px) !important; top: 306px !important; width: 224px !important; }
  #rec3654942703 .tn-elem[data-elem-id="1790165184620000001"] { left: calc(50% - 160px + 134px) !important; top: 735px !important; width: 194px !important; }
  #rec3654942703 .tn-elem[data-elem-id="1790165231070000002"] { left: calc(50% - 160px + 123px) !important; top: 1165px !important; width: 213px !important; }
  #rec3654942703 .tn-elem[data-elem-id="1790165383802000003"] { left: calc(50% - 160px + 136px) !important; top: 1607px !important; width: 204px !important; }
  #rec3654942703 .tn-elem[data-elem-id="1790165427186000004"] { left: calc(50% - 160px + 68px) !important; top: 2043px !important; width: 269px !important; }
}

/* Endress+Hauser, «Почему Endress+Hauser»: красная подложка карточки «1200 семейств продукции»
   была только в десктопной раскладке — на телефоне ставим под карточку */
@media screen and (max-width: 959px) {
  #rec3654975803 .tn-elem[data-elem-id="1790163441320000001"] { left: calc(50% - 160px) !important; top: 217px !important; width: 320px !important; height: 257px !important; }
  /* высота числом, не 100%: в Safari 100% внутри элемента Тильды (display: table) не работает — картинка становилась
     высотой 1800 px и красная подложка закрывала карточки «Почему» (28.10, iPhone) */
  #rec3654975803 .tn-elem[data-elem-id="1790163441320000001"] .tn-atom,
  #rec3654975803 .tn-elem[data-elem-id="1790163441320000001"] .tn-atom__img { display: block; width: 100%; height: 257px !important; object-fit: cover; }
}

/* «Популярные модели»: на телефоне стрелки наезжали на заголовок — выравниваем как на Panam
   (заголовок с 28px, стрелки на 9px ниже последней строки) */
@media screen and (max-width: 959px) {
  /* Endress+Hauser: заголовок был опущен на 45px */
  #rec3680426303 .tn-elem[data-elem-id="1788811688031000003"] { top: 28px !important; }
  /* HAUS: заголовок в три строки — стрелки ниже на 26px, блок выше на 26px */
  #rec3684668903 .t396__artboard, #rec3684668903 .t396__carrier, #rec3684668903 .t396__filter { height: 176px !important; }
  #rec3684668903 .tn-elem[data-elem-id="1788811949057000006"], #rec3684668903 .tn-elem[data-elem-id="1788811949057000007"] { top: 112px !important; }
  #rec3684668903 .tn-elem[data-elem-id="1788811949057000008"], #rec3684668903 .tn-elem[data-elem-id="1788811949057000009"] { top: 127px !important; }
}

/* Endress+Hauser, «Популярные модели» на телефоне: картинки по центру карточек,
   Cerabar — до высоты остальных, логотип в «Все модели» крупнее и по центру */
@media screen and (max-width: 959px) {
  #rec3654963103 .tn-elem[data-elem-id="1788766910134000024"] { left: calc(50% - 160px + 392px) !important; }
  #rec3654963103 .tn-elem[data-elem-id="1788766910134000025"] { left: calc(50% - 160px + 752px) !important; }
  #rec3654963103 .tn-elem[data-elem-id="1788775725914000011"] { left: calc(50% - 160px + 1060px) !important; top: 90px !important; width: 185px !important; height: auto !important; }
  #rec3654963103 .tn-elem[data-elem-id="1788958480614000001"] { left: calc(50% - 160px + 1368px) !important; top: 182px !important; width: 230px !important; height: auto !important; }
}

/* Нижние блоки с кнопкой (HAUS «Подберём оборудование», АЛСЕНТ «Рассчитать проект», EPC «Обсудить проект»):
   на телефоне картинка наезжала на текст и кнопку. Делаем одинаковые отступы 28px
   «текст → картинка → кнопка» (по видимой части картинки), блок становится выше. */
@media screen and (max-width: 959px) {
  /* HAUS */
  #rec3684669603 .t396__artboard, #rec3684669603 .t396__carrier, #rec3684669603 .t396__filter { height: 751px !important; }
  #rec3684669603 .tn-elem[data-elem-id="1788767601852000001"] { height: 754px !important; }
  #rec3684669603 .tn-elem[data-elem-id="1788767601852000008"] { translate: 0 62px; }
  #rec3684669603 .tn-group[data-group-id="1788814751170000001"],
  #rec3684669603 .tn-elem[data-elem-id="1788767601852000009"], #rec3684669603 .tn-elem[data-elem-id="1788767601853000012"],
  #rec3684669603 .tn-elem[data-elem-id="1788767601852000004"], #rec3684669603 .tn-elem[data-elem-id="1788767601853000011"],
  #rec3684669603 .tn-elem[data-elem-id="1788767601852000007"] { translate: 0 41px; }

  /* АЛСЕНТ */
  #rec3667267703 .t396__artboard, #rec3667267703 .t396__carrier, #rec3667267703 .t396__filter { height: 535px !important; }
  #rec3667267703 .tn-elem[data-elem-id="1788781280788000001"] { height: 498px !important; }
  #rec3667267703 .tn-elem[data-elem-id="1788781280788000006"] { translate: 0 9px; }
  #rec3667267703 .tn-elem[data-elem-id="1788781280788000002"], #rec3667267703 .tn-elem[data-elem-id="1788781280788000003"] { translate: 0 55px; }

  /* EPC */
  #rec3667517203 .t396__artboard, #rec3667517203 .t396__carrier, #rec3667517203 .t396__filter { height: 617px !important; }
  #rec3667517203 .tn-elem[data-elem-id="1788783062030000001"] { height: 537px !important; }
  #rec3667517203 .tn-elem[data-elem-id="1788783062030000006"] { translate: 0 8px; }
  #rec3667517203 .tn-group[data-group-id="1788906706843000001"] { translate: 0 67px; }
}

/* Карточки (js/als-cards.js): наведение на любую часть увеличивает всю карточку целиком */
.als-card__part { transition: scale .4s cubic-bezier(.22, .61, .36, 1); }
.als-card__part_hover { scale: 1.035; }
.als-card__part_static.als-card__part_hover { scale: 1; }
/* Картинка прибора: обрезка по контуру карточки стоит на месте (без анимации clip-path — она перерисовывала
   картинку на каждом кадре и давала лаг на Windows, 20.11), увеличивается внутренний слой — только на видеокарте */
.als-card__part_img { clip-path: var(--clip-rest); }
.als-card__part_img.als-card__part_hover { scale: 1; }
/* !important: Тильда задаёт .tn-atom свой transition (цвет/тень) более сильным селектором — без него
   масштаб не анимировался, а прыгал сразу (20.11) */
.als-card__part_img > .tn-atom { transform-origin: var(--als-origin, 50% 85%); will-change: scale;
  transition: scale .45s cubic-bezier(.22, .61, .36, 1) !important; }
.als-card__part_img.als-card__part_hover > .tn-atom { scale: 1.08; }
@media (hover: none) { .als-card__part_hover, .als-card__part_img.als-card__part_hover > .tn-atom { scale: 1; } }

/* «Реализованные проекты» (rec3412885403 — О компании, E+H, HAUS, Panam): вместо картинки первого экрана —
   скруглённая бордовая карточка с градиентом в новой гамме (встреча 13.10, п. 12) */
#rec3412885403 .tn-atom.t-bgimg[data-original*="als-rosette-bg"] {
  background-image: radial-gradient(120% 90% at 100% 0%, rgba(255, 92, 92, .28) 0%, rgba(255, 92, 92, 0) 55%),
    linear-gradient(165deg, #ac1318 0%, #870407 52%, #4b0708 100%) !important;
  background-color: #870407 !important;
}

/* «Популярные модели» E+H: заголовок со стрелками внутри красного блока (встреча 13.10, п. 10) и новый фон
   (п. 9). build/components.py оборачивает заголовок (rec3680426303) и карусель (rec3654963103) в .als-pop */
.als-pop { position: relative; background: #4b0708 url(/images/als-net-bg.webp) 70% 50% / cover no-repeat; }
/* 20.10: прежний фон с розеткой «навевал зиму и Новый год» — теперь технологичная сетка из бренд-кита; тот же блок на HAUS и Panam */
.als-pop .t396__artboard, .als-pop .t396__carrier, .als-pop .t396__filter { background-color: transparent !important; background-image: none !important; }
.als-pop #rec3654963103 .tn-elem[data-elem-id="1790171806140000001"],
.als-pop #rec3684669003 .tn-elem[data-elem-id="1788766910133000001"],
.als-pop #rec3684816703 .tn-elem[data-elem-id="1788766910133000001"],
.als-pop #rec3684669003 .tn-elem[data-elem-id="1788766910133000002"],
.als-pop #rec3684816703 .tn-elem[data-elem-id="1788766910133000002"] { display: none !important; }   /* 28.10: старая звезда на HAUS и Panam */
.als-pop .tn-elem[data-elem-id="1788811688031000003"] .tn-atom { color: #fff !important; }
.als-pop .tn-elem[data-elem-id="1788811949057000006"] .tn-atom,
.als-pop .tn-elem[data-elem-id="1788811949057000007"] .tn-atom {
  background: rgba(255, 255, 255, .14) !important; border: 1px solid rgba(255, 255, 255, .55) !important; box-sizing: border-box; transition: background .2s; }
.als-pop .tn-elem[data-elem-id="1788811949057000006"]:hover .tn-atom,
.als-pop .tn-elem[data-elem-id="1788811949057000007"]:hover .tn-atom { background: rgba(255, 255, 255, .26) !important; }

/* «Подберём Endress+Hauser под ваш процесс»: своя сцена вместо повтора фото с первого экрана (встреча 13.10, п. 13) */
#rec3655002303 .t396__carrier { background-image: url(/images/als-eh-pick-banner.webp) !important; background-size: cover !important; background-position: right center !important; }
#rec3655002303 .tn-elem[data-elem-id="1788767601852000008"] { display: none !important; }
@media screen and (max-width: 959px) {
  /* на телефоне текст занимает всю ширину — приборы уводим вниз, левую часть картинки затемняем */
  #rec3655002303 .t396__carrier { background-image: linear-gradient(180deg, #4b0708 0%, rgba(75, 7, 8, .85) 55%, rgba(75, 7, 8, .1) 100%), url(/images/als-eh-pick-devices.webp) !important;
    background-size: 100% 100%, 100% auto !important; background-position: center, center bottom !important; background-repeat: no-repeat !important; background-color: #4b0708 !important; }
}

/* Новости (лента CMS t2823): карточки со скруглёнными углами и отступом текста от края (встреча 13.10, п. 27) */
.t2823__items .t-cms__card { background: #fff; border-radius: 20px !important; overflow: hidden; box-sizing: border-box;
  box-shadow: 0 2px 14px rgba(75, 7, 8, .06); transition: box-shadow .25s, transform .25s; }
.t2823__items .t-cms__card:hover { box-shadow: 0 10px 28px rgba(75, 7, 8, .14); transform: translateY(-3px); }
.t2823__items .t-cms__card__image, .t2823__items .t-cms__card__molecule_media, .t2823__items .t-cms__card__atom { border-radius: 0 !important; }
.t2823__items .t-cms__card__cell_txt { padding: 18px 22px 24px !important; box-sizing: border-box; }
@media screen and (max-width: 639px) { .t2823__items .t-cms__card__cell_txt { padding: 16px 18px 20px !important; } }

/* Promass Q 300: вертикальное фото вписываем в прежнюю рамку карточки */
#rec3654963103 .tn-elem[data-elem-id="1788766910133000011"] .tn-atom__img { width: 100%; height: 255px !important; object-fit: contain; mix-blend-mode: multiply; }
@media screen and (max-width: 959px) { #rec3654963103 .tn-elem[data-elem-id="1788766910133000011"] .tn-atom__img { height: 215px !important; margin-top: 30px; } }
@media screen and (min-width: 960px) {
  #rec3654963103 .tn-elem[data-elem-id="1788766910133000011"] { top: 88px !important; left: calc(50% - 600px + 70px) !important; width: 220px !important; }
}

/* Первый экран как у E+H (встреча 13.10, п. 15): новая розетка вместо старой звезды —
   главная, HAUS, Panam, EPC, АЛСЕНТ, О компании; 20.10 — и новости, контакты, документы */
#rec3467587503 .tn-elem[data-elem-id="1788174257572000001"] .tn-atom,
#rec3467744603 .tn-elem[data-elem-id="1788175701312000001"] .tn-atom,
#rec3476017103 .tn-elem[data-elem-id="1788184184330000001"] .tn-atom,
#rec3312028303 .tn-elem[data-elem-id="1787660355042000001"] .tn-atom,
#rec3684668403 .tn-elem[data-elem-id="1788765498013000001"] .tn-atom,
#rec3684816103 .tn-elem[data-elem-id="1788765498013000001"] .tn-atom,
#rec3667329703 .tn-elem[data-elem-id="1788781667020000001"] .tn-atom,
#rec3664042503 .tn-elem[data-elem-id="1788777017743000001"] .tn-atom,
#rec3412799103 .tn-elem[data-elem-id="1787926114945000001"] .tn-atom {
  background-image: url(/images/als-rosette-bg.webp) !important;
  background-size: cover !important; background-position: center !important; background-repeat: no-repeat !important; }
#rec3312028303 .tn-elem[data-elem-id="1787660355042000002"],
#rec3684668403 .tn-elem[data-elem-id="1788765498014000012"],
#rec3684816103 .tn-elem[data-elem-id="1788765498014000012"],
#rec3667329703 .tn-elem[data-elem-id="1788781667021000008"],
#rec3664042503 .tn-elem[data-elem-id="1788777017744000011"],
#rec3412799103 .tn-elem[data-elem-id="1787926212970000010"],
#rec3467587503 .tn-elem[data-elem-id="1788174257572000002"],
#rec3467744603 .tn-elem[data-elem-id="1788175701312000002"],
#rec3476017103 .tn-elem[data-elem-id="1788184184330000002"] { display: none !important; }

/* Видео на главной (вместо плеера Kinescope) */
/* видео лежит поверх ячейки целиком: в Safari высота 100% внутри элемента Тильды (display: table) не работает — видео
   вырастало по своим пропорциям и наезжало на цифры ниже (28.10, iPhone Даниила) */
.tn-atom:has(> video.als-video) { position: absolute !important; inset: 0; overflow: hidden; }
video.als-video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; background: #4b0708; }

/* HAUS «Подберём оборудование»: своя сцена вместо пустого места/штангенциркуля */
#rec3684669603 .t396__carrier { background-image: url(/images/als-haus-pick-banner.webp) !important; background-size: cover !important; background-position: right center !important; }
#rec3684669603 .tn-elem[data-elem-id="1788767601852000008"], #rec3684669603 .tn-elem[data-elem-id="1788767601852000001"] { display: none !important; }
@media screen and (max-width: 959px) {
  #rec3684669603 .t396__carrier { background-image: linear-gradient(180deg, #4b0708 0%, rgba(75,7,8,.85) 55%, rgba(75,7,8,.15) 100%), url(/images/als-haus-pick-banner.webp) !important;
    background-size: 100% 100%, 190% auto !important; background-position: center, 80% bottom !important; background-repeat: no-repeat !important; background-color: #4b0708 !important; }
}
/* линейные иконки вместо 3D: не растягивать, держать пропорции */
.tn-atom__img[src$=".svg"][src*="/images/icons/"] { object-fit: contain; }
/* единый размер линейных иконок в блоках */
#rec3312387703 .tn-atom__img[src*="/images/icons/"] { width: 112px !important; height: 112px !important; margin: 0 auto; display: block; }
#rec3315416103 .tn-atom__img[src*="/images/icons/"] { width: 150px !important; height: 150px !important; margin: 20px auto 0; display: block; }
@media screen and (max-width: 959px) {
  #rec3312387703 .tn-atom__img[src*="/images/icons/"] { width: 88px !important; height: 88px !important; }
  #rec3315416103 .tn-atom__img[src*="/images/icons/"] { width: 120px !important; height: 120px !important; }
}
/* «Новости» и «Вакансии» — только в мобильном (бургер) меню; на 961–1199 px меню строкой не должно переноситься */
@media screen and (min-width: 961px) { .t-menu-base__list-item.als-menu-extra { display: none !important; } }
/* элементы Zero-блоков при масштабировании и картинки, выходящие за карточку, не должны давать горизонтальную прокрутку */
#allrecords { overflow-x: clip; }

/* «Почему клиенты выбирают нас» (главная, О компании): иконки — фоном на месте 3D-рамок разного размера; единый размер по центру карточки */
#rec3312387703 .tn-atom.t-bgimg[data-original*="/images/icons/"] { background-size: contain !important; background-position: center !important; background-repeat: no-repeat !important; }
@media screen and (min-width: 960px) {
#rec3312387703 .tn-elem[data-elem-id="1787662479202000016"] { top:295px !important; left:calc(50% - 600px + 75px) !important; width:130px !important; height:130px !important; }
#rec3312387703 .tn-elem[data-elem-id="1787662917770000021"] { top:295px !important; left:calc(50% - 600px + 382px) !important; width:130px !important; height:130px !important; }
#rec3312387703 .tn-elem[data-elem-id="1787662479202000015"] { top:295px !important; left:calc(50% - 600px + 688px) !important; width:130px !important; height:130px !important; }
#rec3312387703 .tn-elem[data-elem-id="1787662479202000014"] { top:295px !important; left:calc(50% - 600px + 995px) !important; width:130px !important; height:130px !important; }
}
@media screen and (max-width: 959px) {
#rec3312387703 .tn-elem[data-elem-id="1787662479202000016"] { top:169px !important; left:calc(50% - 160px + 104px) !important; width:112px !important; height:112px !important; }
#rec3312387703 .tn-elem[data-elem-id="1787662917770000021"] { top:601px !important; left:calc(50% - 160px + 104px) !important; width:112px !important; height:112px !important; }
#rec3312387703 .tn-elem[data-elem-id="1787662479202000015"] { top:1059px !important; left:calc(50% - 160px + 104px) !important; width:112px !important; height:112px !important; }
#rec3312387703 .tn-elem[data-elem-id="1787662479202000014"] { top:1524px !important; left:calc(50% - 160px + 104px) !important; width:112px !important; height:112px !important; }
}

/* Шапка без прыжков при загрузке:
   1) меню для <1200 px (t-screenmax-1199px — класс из сборки, в CSS Тильды его нет) пряталось только скриптом — ~2 с было видно под шапкой;
   2) стрелки у пунктов с подменю Тильда дорисовывает скриптом (+16 px), и меню по центру сдвигалось — место под стрелку держим заранее. */
@media screen and (min-width: 1200px) { .t-screenmax-1199px { display: none !important; } }
@media screen and (min-width: 1200px) and (max-width: 1200px) { .t-screenmin-1200px { display: block !important; } }
.t-menu__link-wrapper[data-menu-submenu-hook^="link_sub"] { padding-right: 15.5px; }
.t-menu__link-wrapper[data-menu-submenu-hook^="link_sub"]:has(.t-menusub__arrow) { padding-right: 0; }

/* Попап заявки (встреча 20.10): скруглённые углы, как у блоков сайта; без плавного проявления — во время 0,3 с fade
   форма просвечивала серым прямоугольником поверх страницы («серый квадрат на мгновение») */
.t702 .t-popup, .t702 .t-popup__container-animated { transition: none !important; }
@media screen and (min-width: 641px) {
  .t702 .t-popup__container { border-radius: 24px; }
  .t702 .t-popup__container .t702__wrapper { border-radius: 24px; }
}

/* Стрелки слайдеров: значок лежит поверх круга, и при наведении на сам значок подсветка круга пропадала (встреча 20.10).
   Значок пропускает мышь к кругу; клик обрабатывает круг (у него тот же класс стрелки). */
.t396__elem[data-elem-type="image"][class*="eftArrow"], .t396__elem[data-elem-type="image"][class*="ightArrow"] { pointer-events: none; }

/* Картинки с пьедесталами в карточках «1200 / 1 600 м² / 100 %» — видны, когда js/als-cards.js поставил их по низу карточки
   (при перезагрузке картинка появлялась выше и «прыгала», 28.10); на случай сбоя скрипта — показываем через 4 с */
#rec3654975803 .tn-elem[data-elem-id="1788798841802000001"], #rec3684668703 .tn-elem[data-elem-id="1788798841802000001"],
#rec3684816403 .tn-elem[data-elem-id="1788798841802000001"] { opacity: 0; transition: opacity .3s ease; animation: als-podium-show 0s 4s forwards; }
#rec3654975803 .tn-elem.als-podium_ready, #rec3684668703 .tn-elem.als-podium_ready, #rec3684816403 .tn-elem.als-podium_ready { opacity: 1; animation: none; }
@keyframes als-podium-show { to { opacity: 1; } }

/* E+H «1200 семейств»: картинка Даниила (21.10) — приборы с маркировкой, пьедесталы выходят из низа карточки
   и целиком в карточке по бокам; левый край — правее текста карточки */
@media screen and (min-width: 960px) {
  #rec3654975803 .tn-elem[data-elem-id="1788798841802000001"] { left: calc(50% - 600px + 782px) !important; width: 412px !important; }
}

/* Panam «100 %» (28.10): раскладка как у HAUS — текст выше и компактнее, картинка крупнее справа;
   низ пьедестала — по низу карточки (js/als-cards.js podiums()) */
@media screen and (min-width: 960px) {
  #rec3684816403 .tn-elem[data-elem-id="1788767121114000026"] { top: 58px !important; }
  #rec3684816403 .tn-elem[data-elem-id="1788767220611000031"] { top: 160px !important; }
  #rec3684816403 .tn-elem[data-elem-id="1788774201798000002"], #rec3684816403 .tn-elem[data-elem-id="1788774239465000003"] { top: 236px !important; }
  #rec3684816403 .tn-elem[data-elem-id="1788767255829000032"] { top: 256px !important; width: 224px !important; }
  #rec3684816403 .tn-elem[data-elem-id="1788767255829000032"] .tn-atom { font-size: 16px !important; line-height: 21px !important; }
  #rec3684816403 .tn-elem[data-elem-id="1788798841802000001"] { left: calc(50% - 600px + 818px) !important; width: 370px !important; }
  /* черта под «Почему PANAM ENGINEERS» — вплотную к заголовку, как на E+H */
  #rec3684816403 .tn-elem[data-elem-id="1788774155232000001"] { top: 105px !important; }
}

/* HAUS «1 600 м²» (28.10, Даниил: «текст почти вылазит за блок, картинку — как на E+H»): всё выше, абзац мельче и уже,
   картинка крупнее, справа; низ пьедестала — по низу карточки (js/als-cards.js podiums()) */
@media screen and (min-width: 960px) {
  #rec3684668703 .tn-elem[data-elem-id="1788767121114000026"] { top: 58px !important; }
  #rec3684668703 .tn-elem[data-elem-id="1788767220611000031"] { top: 160px !important; width: 250px !important; }
  #rec3684668703 .tn-elem[data-elem-id="1788774201798000002"], #rec3684668703 .tn-elem[data-elem-id="1788774239465000003"] { top: 236px !important; }
  #rec3684668703 .tn-elem[data-elem-id="1788774239465000003"] { left: calc(50% - 600px + 620px) !important; }
  #rec3684668703 .tn-elem[data-elem-id="1788767255829000032"] { top: 252px !important; width: 206px !important; }
  #rec3684668703 .tn-elem[data-elem-id="1788767255829000032"] .tn-atom { font-size: 15px !important; line-height: 20px !important; }
  #rec3684668703 .tn-elem[data-elem-id="1788798841802000001"] { left: calc(50% - 600px + 784px) !important; width: 404px !important; }
}

/* Черты как на E+H (там их намеренно сделали тоньше, 28.10): под заголовком «Почему …» — 6 px, в красной карточке — две по 45×5,
   вторая с нахлёстом на 5 px */
#rec3684668703 .tn-elem[data-elem-id="1788774155232000001"], #rec3684816403 .tn-elem[data-elem-id="1788774155232000001"] { height: 6px !important; }
#rec3684668703 .tn-elem[data-elem-id="1788774201798000002"], #rec3684668703 .tn-elem[data-elem-id="1788774239465000003"],
#rec3684816403 .tn-elem[data-elem-id="1788774201798000002"], #rec3684816403 .tn-elem[data-elem-id="1788774239465000003"] { width: 45px !important; height: 5px !important; }
@media screen and (min-width: 960px) {
  #rec3684816403 .tn-elem[data-elem-id="1788774239465000003"] { left: calc(50% - 600px + 620px) !important; }
}

/* Меню «Продукция»: подразделы E+H и HAUS при наведении (встреча 20.10) */
.t794__list_item.als-has-sub2 { position: relative; }
/* стрелка › — у правого края пункта, у всех пунктов на одной вертикали (29.10: у «Endress+Hauser» текст длиннее и стрелка
   выталкивалась вправо) */
.t794__list_item.als-has-sub2 > a { display: block !important; position: relative; padding-right: 22px !important; box-sizing: border-box; }
/* место под стрелку — сама плашка шире (у Тильды max-width 160 px), список её не перерастает */
.t794__tooltip-menu:has(.als-has-sub2) { max-width: 190px !important; }
.t794__list_item.als-has-sub2 > a::after { content: ''; position: absolute; right: 2px; top: 50%; width: 6px; height: 6px; margin-top: -4px;
  border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6; }
/* 29.10: подменю отсчитывается от пункта, а у выпадающего списка поля 20 px — подменю заезжало на список. Ставим его за правый край
   списка (+20 px поля + 6 px зазор), верх — вровень с верхом списка */
.als-sub2 { position: absolute; left: calc(100% + 26px); top: -18px; margin: 0; padding: 10px 0; list-style: none; min-width: 230px; background: #fff; border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.14); opacity: 0; visibility: hidden; transform: translateX(-4px); transition: opacity .15s, transform .15s, visibility 0s .15s; z-index: 5; }
/* «мостик» слева, чтобы курсор не терял наведение по пути к подменю */
.als-sub2::before { content: ''; position: absolute; left: -28px; top: 0; bottom: 0; width: 28px; }
.t794__list_item.als-has-sub2:hover > .als-sub2, .t794__list_item.als-has-sub2:focus-within > .als-sub2 { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.als-sub2 a { display: block; padding: 8px 20px; font-size: 15px; font-weight: 500; color: #1b1b1b !important; text-decoration: none; white-space: nowrap; }
.als-sub2 a:hover { color: #ac1318 !important; background: #fdf3f3; }
/* пустое место между пунктом шапки и выпадающим списком не сбрасывает наведение */
.t794__tooltip-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -22px; height: 22px; }
.t794__tooltip-menu:has(.als-has-sub2) .t794__content { overflow: visible !important; }

/* «1 600 м²» (HAUS) и «100 %» (Panam): фон карточки — та же бордовая сетка с бликами, что у «1200 семейств» E+H (21.10) */
#rec3684668703 .tn-elem[data-elem-id="1788767121113000023"] .tn-atom,
#rec3684816403 .tn-elem[data-elem-id="1788767121113000023"] .tn-atom {
  background-image: url(/images/als-net-bg.webp) !important;
  background-size: cover !important; background-position: center !important; background-repeat: no-repeat !important; background-color: #8a0409 !important; }

/* h1 первого экрана (build.py, apply_h1): без отступов браузера, начертание — из стилей элемента Тильды */
h1.tn-atom { margin: 0; }


/* Главная, блок премии: Даниил выбрал исходный вариант без статуэтки (22.10) */
#rec3312496203 .tn-elem[data-elem-id="1787663425635000005"] { display: none !important; }

/* Видео на главной: кнопка «Смотреть видео» и просмотр поверх страницы (js/als-video.js, 22.10) */
.als-video__open { position: absolute; right: 16px; bottom: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 0; border-radius: 24px;
  background: rgba(255,255,255,.92); color: #ac1318; font: 600 14px/1 var(--t-text-font, 'Muller', Arial, sans-serif); cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,.18); transition: transform .2s ease, background .2s ease; }
.als-video__open:hover { transform: translateY(-2px); background: #fff; }
.als-video__open svg { width: 14px; height: 14px; }
.als-vbox { position: fixed; inset: 0; z-index: 99999; background: rgba(15, 4, 5, .86); display: flex; align-items: center; justify-content: center; padding: 24px; box-sizing: border-box; }
.als-vbox__in { position: relative; max-width: min(92vw, 1100px); }
.als-vbox video { display: block; max-width: 100%; max-height: 88vh; border-radius: 16px; background: #000; }
/* кружок закрытия — строго круг (28.10: был овалом — у кнопки внутренние отступы браузера), крестик — своей картинкой по центру */
.als-vbox__close { position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; min-width: 0; padding: 0; margin: 0; box-sizing: border-box;
  display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; border: 0; background: #fff; color: #ac1318; line-height: 0;
  cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.3); transition: transform .3s cubic-bezier(.2, .7, .3, 1); }
.als-vbox__close svg { width: 14px; height: 14px; display: block; }
@media (hover: hover) { .als-vbox__close:hover { transform: rotate(90deg); } }
html.als-vbox-open, html.als-vbox-open body { overflow: hidden; }
@media (max-width: 639px) { .als-video__open { right: 10px; bottom: 10px; padding: 8px 12px; font-size: 13px; } .als-vbox { padding: 12px; } .als-vbox__close { top: -10px; right: -6px; } }

/* ===== Ховеры кнопок (26.10).
   Кнопки со стрелкой: кнопка стоит на месте (без подъёма и тени), фон меняется как раньше, а стрелка ↗ плавно
   поворачивается вокруг своего центра в горизонталь →. Кнопки без стрелки — аккуратный подъём на 2 px с мягкой тенью.
   Только для устройств с мышью. ===== */
.als-btn, .als-pbtn, .als-rq__btn, .als-mod2__btn, .als-pick__btn, .als-req__btn, .als-cta__btn, .als-news-all__btn, .als-res__cta,
.als-hero__btn, .als-inds__all, .als-off__tab, .als-brands__chip, .als-upload__button, .als-docs__group summary, .als-vac__more summary {
  transition: transform .3s cubic-bezier(.2, .7, .3, 1), box-shadow .3s ease, background-color .3s ease, border-color .3s ease, color .3s ease; }
/* кнопки, которые поднимаются: всегда на своём слое — иначе в начале и в конце сдвига браузер меняет сглаживание текста
   и надпись дёргается (26.10) */
.als-pick__btn, .als-req__btn, .als-cta__btn, .als-btn, .als-rq__btn, .als-mod2__btn, .als-upload__button, .als-brands__chip, .als-off__tab {
  transform: translate3d(0, 0, 0); will-change: transform; backface-visibility: hidden; -webkit-font-smoothing: antialiased; }
/* стрелки: поворот вокруг центра (стрелка в SVG нарисована по центру квадрата 10×10) */
.als-btn svg, .als-pbtn svg, .als-rq__btn svg, .als-pick__btn svg, .als-req__btn svg, .als-cta__btn svg, .als-news-all__btn svg,
.als-res__cta svg, .als-hero__btn svg, .als-inds__all svg {
  transform-origin: 50% 50%; transform-box: fill-box; transition: transform .55s cubic-bezier(.45, 0, .2, 1);
  will-change: transform; backface-visibility: hidden; }
@media (hover: hover) {
  .als-btn:has(svg):hover, .als-pbtn:has(svg):hover, .als-rq__btn:has(svg):hover, .als-pick__btn:has(svg):hover, .als-req__btn:has(svg):hover,
  .als-cta__btn:has(svg):hover, .als-news-all__btn:has(svg):hover, .als-res__cta:has(svg):hover, .als-hero__btn:has(svg):hover, .als-inds__all:has(svg):hover {
    transform: none !important; box-shadow: none !important; }
  /* белые кнопки на красном фоне («Подберём», «Оставьте заявку», «Открыть конфигуратор»): ещё и чуть поднимаются (26.10) */
  .als-pick__btn:not(.als-pick__btn_ghost):has(svg):hover, .als-req__btn:not(.als-req__btn_ghost):has(svg):hover, .als-cta__btn:has(svg):hover {
    transform: translate3d(0, -2px, 0) !important; box-shadow: 0 10px 22px rgba(40, 0, 2, .3) !important; }
  .als-btn:hover svg, .als-pbtn:hover svg, .als-rq__btn:hover svg, .als-pick__btn:hover svg, .als-req__btn:hover svg, .als-cta__btn:hover svg,
  .als-news-all__btn:hover svg, .als-res__cta:hover svg, .als-hero__btn:hover svg, .als-inds__all:hover svg { transform: rotate(45deg); }

  /* без стрелки */
  .als-btn:not(:has(svg)):not(.als-btn_ghost):hover, .als-rq__btn:not(:has(svg)):not(.als-rq__btn_ghost):hover, .als-mod2__btn:hover, .als-upload__button:hover {
    transform: translateY(-2px); box-shadow: 0 8px 18px rgba(172, 19, 24, .24); }
  .als-btn_ghost:not(:has(svg)):hover, .als-brands__chip:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(172, 19, 24, .12); }
  .als-pick__btn_ghost:hover, .als-req__btn_ghost:not(:has(svg)):hover { transform: translateY(-2px); background: rgba(255, 255, 255, .12); border-color: #fff; }
  .als-cfg__actions .als-btn_ghost:hover { box-shadow: none; }

  /* вкладки офисов, раскрывающиеся списки */
  .als-off__tab:hover { transform: translateY(-1px); }
  .als-docs__group summary:hover { background: rgba(255, 255, 255, .08); }
  .als-docs__group summary:hover i { transform: rotate(90deg); }
  .als-docs__group summary i { transition: transform .25s ease; }
  .als-vac__more summary:hover { color: #7d0b0f; text-decoration: underline; text-underline-offset: 4px; }
}

/* Кнопки Тильды из нескольких элементов (js/als-actions.js): подложка, текст, кружок, стрелка поднимаются вместе,
   стрелка (скрипт заменяет её на свою, ровно 45° по центру) поворачивается в горизонталь.
   28.10 (Даниил: «подлагивает текст при подъёме»): подъём — отдельным свойством translate с быстрым ease-out, поворот — свойством
   rotate со своей длительностью; все части кнопки постоянно на своих слоях — иначе текст сдвигается рывками по целым пикселям,
   а подложка плавно, и надпись «догоняет» кнопку.
   !important: у Тильды для каждого элемента своё правило transition с id блока — оно сильнее */
.als-zbtn { cursor: pointer; }
.als-zbtn > .tn-atom, .t396__elem[data-elem-type="button"] .tn-atom {
  transform: translate3d(0, 0, 0); will-change: transform, translate; backface-visibility: hidden; -webkit-font-smoothing: antialiased;
  transition: translate .3s cubic-bezier(.2, .7, .3, 1), rotate .55s cubic-bezier(.45, 0, .2, 1), box-shadow .3s ease,
    background-color .3s ease, color .3s ease, border-color .3s ease !important; }
/* своя стрелка ровно 45° — поворот, заданный в Тильде картинке-стрелке (АЛСЕНТ на телефоне: −34°), сбрасываем (28.10) */
.als-zbtn[data-als-arrow] > .tn-atom { transform-origin: 50% 50%; will-change: transform, translate, rotate; transform: translate3d(0, 0, 0) !important; }
@media (hover: hover) {
  .als-zbtn_hover > .tn-atom, .t396__elem[data-elem-type="button"]:not(.als-zbtn):not([class*="myButton1"]) .tn-atom:hover { translate: 0 -2px; }
  .als-zbtn_pill.als-zbtn_hover > .tn-atom, .t396__elem[data-elem-type="button"]:not(.als-zbtn):not([class*="myButton1"]) .tn-atom:hover {
    box-shadow: 0 8px 18px rgba(120, 8, 12, .18); }
  .als-zbtn_hover[data-als-arrow] > .tn-atom { rotate: 45deg; }
}
/* при подъёме на 2 px курсор у нижнего края выпадал из кнопки — наведение снималось и кнопка «дрожала»;
   невидимая полоска под кнопкой держит наведение (26.10) */
.als-pick__btn, .als-req__btn, .als-cta__btn, .als-btn, .als-rq__btn, .als-mod2__btn, .als-upload__button, .als-brands__chip, .als-off__tab { position: relative; }
.als-pick__btn::after, .als-req__btn::after, .als-cta__btn::after, .als-btn::after, .als-rq__btn::after, .als-mod2__btn::after,
.als-upload__button::after, .als-brands__chip::after, .als-off__tab::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 6px; }

/* Попап заявки компактнее (26.10): был выше окна (1136 px при окне 860) — меньше заголовок, поля и отступы;
   на невысоких экранах прокручивается внутри, а не уезжает за край */
.t702 .t702__wrapper { padding: 30px 36px 28px !important; }
.t702 .t702__title { font-size: 24px !important; line-height: 1.25 !important; margin-bottom: 4px !important; }
.t702 .t-input-group { margin-bottom: 12px !important; }
.t702 .t-input:not(textarea) { height: 50px !important; font-size: 15px !important; }
.t702 textarea.t-input { height: 84px !important; min-height: 84px; font-size: 15px !important; padding-top: 13px !important; }
.t702 .t-input-title { font-size: 15px !important; line-height: 1.35 !important; padding-bottom: 2px !important; }
.t702 .t-input-subtitle { font-size: 13px !important; line-height: 1.4 !important; padding-bottom: 8px !important; }
.t702 .als-upload { margin-bottom: 4px; }
.t702 .t-checkbox__control, .t702 .t-checkbox__labeltext { font-size: 13px !important; line-height: 1.4 !important; }
.t702 .t-form__submit { margin-top: 2px; }
.t702 .t-submit { height: 52px !important; padding-top: 0 !important; padding-bottom: 0 !important; }
@media screen and (min-width: 641px) {
  .t702 .t-popup__container { max-height: calc(100vh - 32px); overflow-y: auto; overscroll-behavior: contain; }
}
@media screen and (max-width: 640px) {
  .t702 .t702__wrapper { padding: 24px 20px 22px !important; }
  .t702 .t702__title { font-size: 20px !important; }
}

/* Свой попап заявки на страницах без попапа Тильды (build.add_request_modal, 26.10) */
.als-modal { --red: #ac1318; --red-dark: #870407; --wine: #4b0708; --ink: #1b1b1b; --muted: #5d5d5d; --line: #ececec; --card-line: #e2d6d6;
  position: fixed; inset: 0; z-index: 99998; background: rgba(15, 4, 5, .72); display: flex; align-items: center; justify-content: center; padding: 16px; box-sizing: border-box; }
.als-modal[hidden] { display: none; }
.als-modal__box { position: relative; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; overscroll-behavior: contain; background: #fff; border-radius: 24px;
  padding: 30px 32px 26px; box-sizing: border-box; font-family: var(--t-text-font, 'Muller', Arial, sans-serif); color: #1b1b1b; }
.als-modal__title { margin: 0 36px 6px 0; font-size: 24px; line-height: 1.25; font-weight: 800; }
.als-modal__text { margin: 0 0 16px; font-size: 15px; line-height: 1.45; color: #5a5a5a; }
/* все размеры попапа — с рамкой и отступами внутри (поле «Комментарий» было шире остальных и вылезало за край, 29.10) */
.als-modal *, .als-modal *::before, .als-modal *::after { box-sizing: border-box; }
/* крестик — ровный круг 36×36 (Safari добавлял кнопке внутренние отступы, и круг становился овалом), крестик рисуется линиями */
.als-modal__close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; min-width: 0; padding: 0; margin: 0; border: 0; border-radius: 50%;
  -webkit-appearance: none; appearance: none; display: block; background: #f3eeee; color: #ac1318; font-size: 0; line-height: 0; cursor: pointer;
  transition: background-color .25s ease, transform .3s cubic-bezier(.2, .7, .3, 1); }
/* линии крестика — от центра круга абсолютным положением (сетка внутри кнопки в Safari центровала неточно, 29.10) */
.als-modal__close::before, .als-modal__close::after { content: ''; position: absolute; left: 50%; top: 50%; width: 15px; height: 2px; margin: -1px 0 0 -7.5px;
  border-radius: 2px; background: currentColor; transform: rotate(45deg); }
.als-modal__close::after { transform: rotate(-45deg); }
@media (hover: hover) { .als-modal__close:hover { background: #fde4e4; transform: rotate(90deg); } }
.als-modal .als-field input, .als-modal .als-field textarea { width: 100%; max-width: 100%; }
@media (max-width: 639px) {
  .als-modal { padding: 10px; }
  .als-modal__box { padding: 24px 20px 20px; border-radius: 20px; max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); }
  .als-modal__title { font-size: 22px; margin-right: 44px; }
}
.als-modal .als-form { grid-template-columns: 1fr !important; gap: 12px !important; padding: 0 !important; border-radius: 0; }
.als-modal .als-field input { height: 50px; box-sizing: border-box; }
.als-modal .als-field textarea { min-height: 84px; }
html.als-modal-open, html.als-modal-open body { overflow: hidden; }

/* EPC, первый экран: «Обсудить ваш проект» — как кнопка первого экрана главной (белая плашка, красный кружок со стрелкой), 26.10 */
#rec3667329703 .tn-elem[data-elem-id="1788781667021000005"] .tn-atom { background-color: #fff !important; border-radius: 40px !important; position: relative; }
#rec3667329703 .tn-elem[data-elem-id="1788781667021000005"] .tn-atom::after { content: ''; position: absolute; right: 9px; top: 50%; width: 51px; height: 51px; margin-top: -25.5px;
  border-radius: 50%; background: #ac1318 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 8 8 2M3.5 2H8v4.5' fill='none' stroke='%23fff' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px 15px no-repeat;
  transition: transform .55s cubic-bezier(.45, 0, .2, 1); }
#rec3667329703 .tn-elem[data-elem-id="1788781667021000006"] .tn-atom { color: #ac1318 !important; }
#rec3667329703 .tn-elem[data-elem-id="1788781667021000006"] { translate: -36px 0; }
@media (hover: hover) { #rec3667329703 .tn-elem[data-elem-id="1788781667021000005"].als-zbtn_hover .tn-atom::after { transform: rotate(45deg); } }
@media screen and (max-width: 959px) {
  #rec3667329703 .tn-elem[data-elem-id="1788781667021000005"] .tn-atom::after { width: 38px; height: 38px; margin-top: -19px; right: 6px; background-size: 12px 12px; }
  #rec3667329703 .tn-elem[data-elem-id="1788781667021000006"] { translate: -24px 0; }
}

/* Вкладки EPC «Комплекс работ в рамках проекта» (js/als-tabs.js): активная — красная с белым текстом, остальные — белые,
   при наведении лёгкая подсветка (у Тильды при наведении текст становился красным на красном) */
[class*="myButton1"] .tn-atom { transition: background-color .3s ease, color .3s ease, border-color .3s ease !important; transform: none !important; box-shadow: none !important; }
[class*="myButton1"]:not(.als-tab_active) .tn-atom, [class*="myButton1"]:not(.als-tab_active) .tn-atom * { background-color: #fff !important; color: #ac1318 !important; }
[class*="myButton1"]:not(.als-tab_active) .tn-atom * { background-color: transparent !important; }
@media (hover: hover) {
  [class*="myButton1"]:not(.als-tab_active) .tn-atom:hover { background-color: #fdf0f0 !important; }
}
[class*="myButton1"].als-tab_active .tn-atom { background-color: #ac1318 !important; color: #fff !important; }
[class*="myButton1"].als-tab_active .tn-atom * { color: #fff !important; background-color: transparent !important; }

/* Zero-блоки: элементы и группы показываем, когда Тильда их расставила (класс rendered на артборде) — иначе при загрузке
   кнопка в первом экране главной на долю секунды стояла не там (группы Тильда двигает только скриптом). Страховка:
   html.als-zero-ready через 3 с (js/als-actions.js), если класс так и не появился (26.10) */
/* только блоки с группами (прыгают именно они); шапку не трогаем — она не должна мигать */
html:not(.als-zero-ready) .t-rec:not(#rec3303456103):not(#rec3335794903) .t396__artboard:not(.rendered):has(.t396__group) .t396__elem,
html:not(.als-zero-ready) .t-rec:not(#rec3303456103):not(#rec3335794903) .t396__artboard:not(.rendered):has(.t396__group) .t396__group { visibility: hidden; }

/* Уведомление о cookie (js/als-actions.js, 28.10) */
.als-cookie { position: fixed; left: 20px; bottom: 20px; z-index: 99990; max-width: 520px; display: flex; align-items: center; gap: 18px;
  padding: 16px 18px 16px 22px; background: #fff; color: #222; border-radius: 18px; box-shadow: 0 12px 40px rgba(40, 0, 2, .18);
  font: 400 14px/1.45 var(--t-text-font, Arial, sans-serif); transition: opacity .3s ease, transform .3s ease; }
.als-cookie p { margin: 0; }
.als-cookie a { color: #ac1318; text-decoration: underline; text-underline-offset: 3px; }
.als-cookie__ok { flex: 0 0 auto; border: 0; border-radius: 22px; background: #ac1318; color: #fff; font: 500 14px/1 inherit; font-family: inherit;
  padding: 12px 20px; cursor: pointer; transition: background-color .25s ease; }
.als-cookie__ok:hover { background: #870407; }
.als-cookie_hide { opacity: 0; transform: translateY(10px); }
@media (max-width: 639px) { .als-cookie { left: 8px; right: 8px; bottom: 8px; max-width: none; gap: 12px; padding: 12px 12px 12px 16px; font-size: 12px; line-height: 1.4; border-radius: 14px; }
  .als-cookie__ok { padding: 10px 14px; font-size: 13px; } }


/* Курсор-«лапка» на всём, что кликается (28.10): стрелки слайдеров Тильды (моды NoLim leftArrow/rightArrow), вкладки,
   точки слайдеров, раскрывающиеся списки, кнопки и подписи чекбоксов */
.t396__elem[class*="eftArrow"], .t396__elem[class*="ightArrow"], .t396__elem[class*="eftArrow"] .tn-atom, .t396__elem[class*="ightArrow"] .tn-atom,
.t396__elem[class*="myButton"], .t396__elem[class*="myButton"] .tn-atom, .t396__elem a, .t396__elem a .tn-atom,
.t-slds__arrow, .t-slds__arrow_wrapper, .t-slds__bullet, .t-slds__thumbsbullet, .t-carousel__arrow, .t-slds__item[data-slide-index] a,
a[href], button:not(:disabled), [role="button"], summary, label[for], .t-checkbox__control, .t-radio__control, select,
.als-check, .als-check input, input[type="checkbox"], input[type="radio"], input[type="file"], .t-popup__close, .t-popup__close-wrapper, .t-menuburger, .t-menu-burger, .t450__burger, [data-request], [data-tooltip-hook] { cursor: pointer; }
.t396__elem.als-carousel__arrow_hidden, .t396__elem.als-carousel__arrow_hidden .tn-atom, button:disabled { cursor: default; }

/* ===== Мобильная версия, общие правила (28.10, разбор мобильной версии) =====
   1) Поля: блоки Тильды на телефоне — сетка 320 px, увеличенная до ширины экрана (zoom = ширина / 375, ZERO_ZOOM_SCRIPT),
      то есть поле 27,5 px на 375 = 7,33vw. Свои блоки стояли в 16 px — левый край «прыгал». Теперь у всех одно поле.
   2) Текст не мельче 12 px. 3) Кнопки своих блоков — на всю ширину, одной высоты. */
@media (max-width: 639px) {
  :root { --als-m: 7.333vw; }
  .als-wrap, .als-p-wrap, .als-why, .als-inds, .als-disc, .als-req, .als-sec, .als-news-all, .als-pick__inner, .als-awtag__in,
  .als-footer__top, .als-footer__bottom, .als-page .als-form-section { padding-left: var(--als-m) !important; padding-right: var(--als-m) !important; }
  .als-cta { margin-left: var(--als-m) !important; margin-right: var(--als-m) !important; }
  .als-footer { padding-left: 0 !important; padding-right: 0 !important; }
  .als-mod2__track { --edge: var(--als-m); }
  .als-hero2__stat span, .als-hero2__stat small { font-size: 12px !important; }
  /* кнопки своих блоков */
  .als-pbtn, .als-req__btn, .als-pick__btn, .als-cta__btn, .als-btn, .als-hero__btn, .als-news-all__btn, .als-res__cta {
    width: 100%; justify-content: space-between; box-sizing: border-box; min-height: 52px; }
  .als-pbtn:not(:has(svg)), .als-req__btn:not(:has(svg)), .als-pick__btn:not(:has(svg)), .als-btn:not(:has(svg)) { justify-content: center; }
  .als-mod2__btn { align-self: stretch; text-align: center; padding-top: 13px; padding-bottom: 13px; font-size: 15px; }
}

/* EPC «Комплекс работ в рамках проекта» на телефоне: неактивные вкладки были просто красным текстом на белом и читались как
   сломанное меню — теперь все вкладки кнопками с рамкой, между ними зазор, активная залита (28.10) */
@media (max-width: 639px) {
  #rec3715700503 .t396__elem[class*="myButton1"] { height: 54px !important; }
  #rec3715700503 .t396__elem[class*="myButton1"] .tn-atom { height: 54px !important; box-sizing: border-box; border: 1.5px solid #ac1318 !important; border-radius: 16px !important; }
}

/* Стрелки слайдеров Тильды — одного размера на всех страницах (28.10): на EPC «Почему доверить» на телефоне были 40 px
   при 60 px на остальных; наведение — темнее, как у кнопок */
@media screen and (max-width: 479px) {
  /* блок стрелок — 140 px высотой: стрелки подняты, иначе низ кругов обрезался */
  #rec3715400903 .tn-elem[data-elem-id="1788898897613000002"] { left: calc(50% - 160px + 260px) !important; top: 66px !important; width: 60px !important; height: 60px !important; }
  #rec3715400903 .tn-elem[data-elem-id="1788898897613000003"] { left: calc(50% - 160px + 194px) !important; top: 66px !important; width: 60px !important; height: 60px !important; }
  #rec3715400903 .tn-elem[data-elem-id="1788898897613000002"] .tn-atom, #rec3715400903 .tn-elem[data-elem-id="1788898897613000003"] .tn-atom { width: 60px; height: 60px !important; }
  #rec3715400903 .tn-elem[data-elem-id="1788898897613000004"] { left: calc(50% - 160px + 213.5px) !important; top: 85.5px !important; width: 21px !important; }
  #rec3715400903 .tn-elem[data-elem-id="1788898897613000005"] { left: calc(50% - 160px + 279.5px) !important; top: 85.5px !important; width: 21px !important; }
}
@media (hover: hover) {
  .t396__elem[data-elem-type="shape"][class*="ightArrow"]:not(.als-carousel__arrow_hidden):hover .tn-atom,
  .t396__elem[data-elem-type="shape"][class*="eftArrow"]:not(.als-carousel__arrow_hidden):hover .tn-atom { background-color: #870407 !important; transition: background-color .25s ease; }
}

/* АЛСЕНТ «Варианты исполнения»: красная полоса слева была отдельной фигурой со своим скруглением — между ней и рамкой
   плашки оставался белый просвет. Полоса теперь — внутренняя тень самой плашки, повторяет её скругление (28.10) */
#rec3665277003 .tn-elem[data-elem-id="1788780653131000014"], #rec3665277003 .tn-elem[data-elem-id="1788780653131000015"],
#rec3665277003 .tn-elem[data-elem-id="1788780653131000016"], #rec3665277003 .tn-elem[data-elem-id="1788780653131000017"] { display: none !important; }
#rec3665277003 .tn-elem[data-elem-id="1788780653130000002"] .tn-atom, #rec3665277003 .tn-elem[data-elem-id="1788780653130000003"] .tn-atom,
#rec3665277003 .tn-elem[data-elem-id="1788780653130000004"] .tn-atom, #rec3665277003 .tn-elem[data-elem-id="1788780653130000005"] .tn-atom {
  box-shadow: inset 15px 0 0 #ac1318 !important; }

/* Мобильное меню: разделы Endress+Hauser и HAUS раскрываются под брендом (29.10). Стрелка — маленькая, без подложки и вне потока:
   высота строк у всех пунктов одинаковая */
.t-menusub__innermenu-item:has(.als-msub) .t-menusub__link-wrapper { position: relative; }
.als-msub__toggle { position: absolute; right: 0; top: 50%; translate: 0 -50%; width: 32px; height: 32px; border: 0; background: none;
  color: #ac1318; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.als-msub__toggle svg { width: 12px; height: 12px; transition: transform .25s ease; }
.als-msub__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.als-msub { list-style: none; margin: 2px 0 8px; padding: 0 0 0 14px; border-left: 2px solid #ac1318; display: none; }
.als-msub.is-open { display: block; }
.als-msub li { margin: 0; }
.als-msub a { display: block; padding: 6px 0; font-size: 15px; font-weight: 400 !important; line-height: 1.3; color: #1b1b1b !important; text-decoration: none; }
.als-msub a:hover { color: #ac1318 !important; }
.als-msub__toggle:focus { outline: none; }
.als-msub__toggle:focus-visible { outline: 2px solid #ac1318; outline-offset: 2px; border-radius: 8px; }

/* Главная, первый экран на телефоне (до 639 px — раскладка Тильды 320, увеличенная до ширины экрана): заголовок крупнее —
   был 15 px, наравне с подзаголовком (29.10). 19 px — самый крупный размер, при котором «высокотехнологичного» помещается
   в строку целиком, без переноса. Подзаголовок опущен на освободившееся место; кнопка, карточка и всё ниже — на прежних местах */
@media screen and (max-width: 639px) {
  #rec3312028303 .tn-elem[data-elem-id="1787660355042000003"] { width: 282px !important; }
  #rec3312028303 .tn-elem[data-elem-id="1787660355042000003"] .tn-atom { font-size: 19px !important; line-height: 1.15 !important; hyphens: none; -webkit-hyphens: none; }
  #rec3312028303 .tn-elem[data-elem-id="1787660355042000004"] { top: 210px !important; }
}
}

/* Плашки Тильды с картинкой-фоном и прозрачной рамкой 1 px: картинка ложилась внутрь рамки, а в самой рамке проступал
   тёмный цвет подложки — по краю плашки шёл тёмный контур (29.10). Картинка — под рамкой тоже */
.t396__elem .tn-atom { background-origin: border-box; }
/* копия картинки внутри плашки (js/als-cards.js podiums) — проявляется, когда загрузилась */
img.als-podium-in { opacity: 0; transition: opacity .3s ease; }
img.als-podium-in.is-ready { opacity: 1; }

/* Появление при прокрутке (js/als-actions.js): opacity + transform; конечное состояние — собственные стили элемента */
.als-rv:not(.als-rv-in) { opacity: 0; }
.als-rv-in { animation: als-rv .75s cubic-bezier(.22, .61, .36, 1) var(--rv-d, 0s) both; }
@keyframes als-rv { from { opacity: 0; transform: translate3d(0, 26px, 0); } }
@media (prefers-reduced-motion: reduce) { .als-rv:not(.als-rv-in) { opacity: 1; } .als-rv-in { animation: none; } }
