/* Header/footer of the new design on old-template pages (.ecs blocks).
   Built by tools/server/build-bitrix.js from main.css + responsive.css: only the rules of the
   shell classes, every selector scoped to .ecs.ecs, rem -> --ecs-rem.
   rem can't be used here: the old template sets html { font-size: 0.52vw }. */
.ecs {
  --ecs-rem: 10px;
  font-family: var(--font-main);
  font-size: calc(2 * var(--ecs-rem));
  line-height: 1.2;
  color: var(--c-text);
  text-align: left;
  -webkit-font-smoothing: auto;
  /* inherited from the old html/body (letter-spacing -0.32px, word-break, cursor...) */
  font-style: normal; font-variant: normal; letter-spacing: normal; word-spacing: normal;
  word-break: normal; overflow-wrap: normal; text-transform: none; text-indent: 0;
  text-shadow: none; white-space: normal; cursor: auto; visibility: visible;
}
@media (min-width: 1280px) {
  .ecs { --ecs-rem: clamp(7.5px, 100vw / 192, 10px); }
}
/* Old CSS styles bare tags and common classes (header, footer, .btn, .burger, `body *`
   transition...). Everything inside the shell falls back to browser defaults first (0,2,0
   beats the old tag/class rules); the scoped rules below come later with the same or higher
   specificity. SVG and img are left alone: `revert` would also drop their width/height/fill
   attributes. */
.ecs.ecs :where(:not(svg, svg *, img)),
.ecs.ecs :where(:not(svg, svg *, img))::before,
.ecs.ecs :where(:not(svg, svg *, img))::after {
  all: revert;
}
.ecs.ecs :where(svg, svg *, img) { transition: none; }
@font-face { font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: block;
  src: url('../fonts/montserrat-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: block;
  src: url('../fonts/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: block;
  src: url('../fonts/montserrat-ruble.woff2') format('woff2');
  unicode-range: U+20BD; }
@font-face { font-family: 'Montserrat Fallback';
  font-weight: 100 450;
  src: local('Arial'), local('Helvetica Neue'), local('Liberation Sans');
  size-adjust: 112.3%;
  ascent-override: 86.4%;
  descent-override: 22.3%;
  line-gap-override: 0%; }
@font-face { font-family: 'Montserrat Fallback';
  font-weight: 451 550;
  src: local('Arial'), local('Helvetica Neue'), local('Liberation Sans');
  size-adjust: 110.6%;
  ascent-override: 87.7%;
  descent-override: 22.6%;
  line-gap-override: 0%; }
@font-face { font-family: 'Montserrat Fallback';
  font-weight: 551 900;
  src: local('Arial'), local('Helvetica Neue'), local('Liberation Sans');
  size-adjust: 110%;
  ascent-override: 88.2%;
  descent-override: 22.7%;
  line-gap-override: 0%; }
.ecs { --c-accent: #E22C42; --c-dark: #181818; --c-dark-2: #1B1B1B; --c-text: #1C1C1C; --c-grey: #666666; --c-muted: #5C5C5C; --c-line: #DCDCDC; --c-line-light: #E7E7E7; --c-bg-light: #F8F8F8; --c-bg-soft: #F0F0F0; --c-white: #FFFFFF; --c-green: #2AFF00; --font-main: 'Montserrat', 'Montserrat Fallback', Arial, sans-serif; --container: calc(162 * var(--ecs-rem)) }
.ecs.ecs *,
.ecs.ecs *::before,
.ecs.ecs *::after { box-sizing: border-box; margin: 0; padding: 0; }
.ecs { font-family: var(--font-main); font-size: calc(2 * var(--ecs-rem)); line-height: 1.2; color: var(--c-text) }
.ecs.ecs img { display: block; max-width: 100%; height: auto; }
.ecs.ecs a { color: inherit; text-decoration: none; }
.ecs.ecs ul { list-style: none; }
.ecs.ecs button { font: inherit; border: 0; background: none; cursor: pointer; }
.ecs.ecs a,
.ecs.ecs button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.ecs.ecs .ecs-container { width: min(var(--container), 100% - calc(4.8 * var(--ecs-rem))); margin-inline: auto; }
.ecs.ecs .accent { color: var(--c-accent); font-weight: 500; }
.ecs.ecs b,
.ecs.ecs strong,
.ecs.ecs b.accent { font-weight: 600; }
.ecs.ecs .btn { display: inline-flex; align-items: center; justify-content: center; background: var(--c-accent); color: var(--c-white); font-weight: 500; font-size: calc(1.8 * var(--ecs-rem)); line-height: 1.2; border-radius: calc(6 * var(--ecs-rem)); padding: calc(1.8 * var(--ecs-rem)) calc(4.8 * var(--ecs-rem)); transition: background .2s ease; }
.ecs.ecs .btn:hover { background: #c92438; }
.ecs.ecs .header__row { display: flex; align-items: center; gap: calc(3 * var(--ecs-rem)); padding: calc(2 * var(--ecs-rem)) 0 calc(2.4 * var(--ecs-rem)); }
.ecs.ecs .header__logo { flex-shrink: 0; }
.ecs.ecs .header__logo img { height: calc(4.3 * var(--ecs-rem)); width: auto; }
.ecs.ecs .header__nav { margin-left: calc(3 * var(--ecs-rem)); }
.ecs.ecs .header__nav ul { display: flex; gap: calc(3.4 * var(--ecs-rem)); }
.ecs.ecs .header__nav a { font-size: calc(2 * var(--ecs-rem)); line-height: 1.2; white-space: nowrap; }
.ecs.ecs .header__nav a:hover { color: var(--c-accent); }
.ecs.ecs .header__contacts { margin-left: auto; text-align: left; }
.ecs.ecs .header__phone { font-weight: 500; font-size: calc(2.3 * var(--ecs-rem)); display: block; white-space: nowrap; }
.ecs.ecs .header__hours { display: inline-flex; align-items: center; gap: calc(0.6 * var(--ecs-rem)); font-size: calc(1.5 * var(--ecs-rem)); color: #CCCCCC; margin-top: calc(0.6 * var(--ecs-rem)); }
.ecs.ecs .header__hours::before { content: ''; width: calc(0.6 * var(--ecs-rem)); height: calc(0.6 * var(--ecs-rem)); border-radius: 50%; background: var(--c-green); }
.ecs.ecs .header__cta { flex-shrink: 0; }
.ecs.ecs .header__divider { border: 0; border-top: 1px solid rgba(255, 255, 255, .2); margin: 0; }
.ecs.ecs .modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; background: rgba(244, 244, 244, .70); padding: calc(2.4 * var(--ecs-rem)); overflow-y: auto; }
.ecs.ecs .modal[hidden] { display: none; }
.ecs.ecs .modal__box { position: relative; background: var(--c-white); border-radius: calc(2 * var(--ecs-rem)); box-shadow: 0 calc(2.4 * var(--ecs-rem)) calc(8 * var(--ecs-rem)) rgba(24, 24, 24, .18); width: min(calc(112 * var(--ecs-rem)), 100%); max-height: calc(100vh - calc(4.8 * var(--ecs-rem))); max-height: calc(100dvh - calc(4.8 * var(--ecs-rem))); overflow-y: auto; padding: calc(4.4 * var(--ecs-rem)) calc(10 * var(--ecs-rem)) calc(5.2 * var(--ecs-rem)) calc(3.7 * var(--ecs-rem)); animation: modal-in .3s ease; }
@media (prefers-reduced-motion: reduce) {
  .ecs.ecs .modal__box { animation: none; }
}
.ecs.ecs .modal__box--form { width: min(calc(56 * var(--ecs-rem)), 100%); padding: calc(4.4 * var(--ecs-rem)) calc(4 * var(--ecs-rem)); }
.ecs.ecs .modal__box--form .modal__close { top: calc(3 * var(--ecs-rem)); right: calc(3 * var(--ecs-rem)); }
.ecs.ecs .modal__box--form .modal__text { font-size: calc(2 * var(--ecs-rem)); line-height: calc(2.4 * var(--ecs-rem)); margin-top: calc(1.4 * var(--ecs-rem)); }
.ecs.ecs .callback__form { display: grid; gap: calc(1.6 * var(--ecs-rem)); margin-top: calc(2.8 * var(--ecs-rem)); }
.ecs.ecs .callback__form .consult__agree { margin-top: calc(0.4 * var(--ecs-rem)); font-size: calc(1.7 * var(--ecs-rem)); line-height: calc(2.2 * var(--ecs-rem)); align-items: flex-start; }
.ecs.ecs .callback__form .consult__checkbox { width: calc(2.2 * var(--ecs-rem)); height: calc(2.2 * var(--ecs-rem)); margin-top: calc(0.1 * var(--ecs-rem)); }
.ecs.ecs .callback__submit { height: calc(6.5 * var(--ecs-rem)); font-size: calc(2 * var(--ecs-rem)); margin-top: calc(0.8 * var(--ecs-rem)); }
.ecs.ecs .modal__close { position: absolute; top: calc(3.6 * var(--ecs-rem)); right: calc(4 * var(--ecs-rem)); color: var(--c-accent); transition: transform .25s ease; }
.ecs.ecs .modal__close:hover { transform: rotate(90deg); }
.ecs.ecs .modal__title { font-weight: 500; font-size: clamp(calc(2.6 * var(--ecs-rem)), 2.1vw, calc(4 * var(--ecs-rem))); line-height: 1.2; color: var(--c-dark-2); }
.ecs.ecs .modal__text { font-size: calc(2.3 * var(--ecs-rem)); line-height: calc(2.8 * var(--ecs-rem)); color: var(--c-text); margin-top: calc(2.4 * var(--ecs-rem)); }
.ecs.ecs .modal__text .accent { color: var(--c-accent); }
.ecs.ecs .consult__input { width: 100%; min-width: 0; height: calc(6.5 * var(--ecs-rem)); border: 1px solid var(--c-accent); border-radius: calc(6 * var(--ecs-rem)); background: transparent; font: inherit; color: var(--c-text); padding: 0 calc(2 * var(--ecs-rem)); transition: border-color .2s ease, background .2s ease; }
.ecs.ecs .consult__input::placeholder { color: #292929; }
.ecs.ecs .consult__input:focus { outline: none; background: var(--c-white); }
.ecs.ecs .consult__agree { display: inline-flex; align-items: center; gap: calc(1 * var(--ecs-rem)); font-size: calc(2 * var(--ecs-rem)); line-height: calc(2.4 * var(--ecs-rem)); color: #292929; margin-top: calc(2 * var(--ecs-rem)); cursor: pointer; }
.ecs.ecs .consult__agree { position: relative; }
.ecs.ecs .consult__agree input { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: calc(2.8 * var(--ecs-rem)); height: calc(2.8 * var(--ecs-rem)); margin: 0; opacity: 0; pointer-events: none; }
.ecs.ecs .callback__form .consult__agree input { top: calc(0.1 * var(--ecs-rem)); transform: none; width: calc(2.2 * var(--ecs-rem)); height: calc(2.2 * var(--ecs-rem)); }
.ecs.ecs .consult__agree a { color: inherit; text-decoration: underline; text-underline-offset: 0.2em; }
.ecs.ecs .consult__agree a:hover { color: var(--c-accent); }
.ecs.ecs .consult__agree.is-invalid { color: var(--c-accent); }
.ecs.ecs .consult__agree.is-invalid .consult__checkbox { box-shadow: 0 0 0 2px var(--c-accent); }
.ecs.ecs .consult__checkbox { width: calc(2.8 * var(--ecs-rem)); height: calc(2.8 * var(--ecs-rem)); flex-shrink: 0; border: 1px solid var(--c-accent); border-radius: calc(0.4 * var(--ecs-rem)); background: var(--c-white); display: inline-flex; align-items: center; justify-content: center; transition: background .2s ease; }
.ecs.ecs .consult__agree input:checked + .consult__checkbox { background: var(--c-accent); }
.ecs.ecs .consult__agree input:checked + .consult__checkbox::after { content: ''; width: calc(1.2 * var(--ecs-rem)); height: calc(0.7 * var(--ecs-rem)); border-left: 2px solid var(--c-white); border-bottom: 2px solid var(--c-white); transform: rotate(-45deg) translateY(-1px); }
.ecs.ecs .consult__agree input:focus-visible + .consult__checkbox { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.ecs.ecs .footer { background: var(--c-bg-light); color: var(--c-dark); padding-top: 1px; }
.ecs.ecs .footer a:hover { color: var(--c-accent); }
.ecs.ecs .footer hr { border: 0; border-top: 1px solid var(--c-line); margin: 0; }
.ecs.ecs .footer__contacts { display: grid; grid-template-columns: minmax(0, 331fr) minmax(0, 504fr) minmax(0, 546fr) minmax(0, 239fr); gap: calc(4 * var(--ecs-rem)) 0; padding: calc(5 * var(--ecs-rem)) 0; font-size: calc(2.5 * var(--ecs-rem)); line-height: 1.2; }
.ecs.ecs .footer__address { font-size: calc(2.2 * var(--ecs-rem)); line-height: calc(2.64 * var(--ecs-rem)); max-width: calc(46.6 * var(--ecs-rem)); }
.ecs.ecs .footer__emails li + li { margin-top: calc(2 * var(--ecs-rem)); }
.ecs.ecs .footer__emails .note { font-size: calc(2 * var(--ecs-rem)); color: var(--c-grey); }
.ecs.ecs .footer__cols { display: grid; grid-template-columns: minmax(0, 331fr) minmax(0, 504fr) minmax(0, 546fr) minmax(0, 239fr); gap: calc(4 * var(--ecs-rem)) 0; padding: calc(4.8 * var(--ecs-rem)) 0; }
.ecs.ecs .footer__logo img { height: calc(8.4 * var(--ecs-rem)); width: auto; }
.ecs.ecs .footer__col-title { font-weight: 500; font-size: calc(2.5 * var(--ecs-rem)); text-transform: uppercase; margin-bottom: calc(1.6 * var(--ecs-rem)); }
.ecs.ecs .footer__col ul { font-size: calc(2 * var(--ecs-rem)); line-height: 1.3; color: var(--c-grey); }
.ecs.ecs .footer__col li + li { margin-top: calc(1 * var(--ecs-rem)); }
.ecs.ecs .footer__bottom { display: flex; justify-content: space-between; gap: calc(4 * var(--ecs-rem)); padding: calc(3.6 * var(--ecs-rem)) 0 calc(4.2 * var(--ecs-rem)); font-size: calc(2 * var(--ecs-rem)); }
.ecs.ecs .header__nav-item.has-mega { position: relative; }
.ecs.ecs .mega { position: absolute; top: calc(100% + calc(1.4 * var(--ecs-rem))); left: 0; z-index: 20; display: flex; align-items: flex-start; opacity: 0; visibility: hidden; transform: translateY(calc(-0.6 * var(--ecs-rem))); transition: opacity .25s ease, transform .25s ease, visibility .25s; }
.ecs.ecs .has-mega:hover .mega,
.ecs.ecs .has-mega.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.ecs.ecs .mega__col { background: var(--c-bg-soft); border-radius: calc(0.8 * var(--ecs-rem)); box-shadow: 0 calc(1.2 * var(--ecs-rem)) calc(3.2 * var(--ecs-rem)) rgba(0, 0, 0, .25); padding: calc(1 * var(--ecs-rem)) calc(1.2 * var(--ecs-rem)); color: var(--c-text); }
.ecs.ecs .header__nav .mega ul { display: block; gap: 0; }
.ecs.ecs .mega__col--root { width: calc(35.1 * var(--ecs-rem)); }
.ecs.ecs .mega__col--sub { position: absolute; top: 0; left: calc(36 * var(--ecs-rem)); margin: 0; padding-block: calc(0.4 * var(--ecs-rem)); opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s; }
.ecs.ecs .mega__col--sub.is-shown { opacity: 1; visibility: visible; }
.ecs.ecs .mega__col--sub::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(-1.9 * var(--ecs-rem)); width: calc(1.9 * var(--ecs-rem)); }
.ecs.ecs .mega__col--sub { width: calc(37 * var(--ecs-rem)); padding-inline: calc(1 * var(--ecs-rem)); }
.ecs.ecs .mega__col--sub .mega__item a { padding-right: 0; }
.ecs.ecs .mega__item + .mega__item { border-top: 1px solid var(--c-line); }
.ecs.ecs .header__nav .mega__item a { display: block; position: relative; white-space: normal; font-size: calc(1.6 * var(--ecs-rem)); line-height: calc(1.9 * var(--ecs-rem)); padding: calc(1.25 * var(--ecs-rem)) calc(2.6 * var(--ecs-rem)) calc(1.25 * var(--ecs-rem)) 0; transition: color .2s ease; }
.ecs.ecs .mega__item a:hover,
.ecs.ecs .mega__item.is-active a { color: var(--c-accent); }
.ecs.ecs .mega__col--root .mega__item a::after { content: ''; position: absolute; right: calc(0.8 * var(--ecs-rem)); top: 50%; width: 0; height: 0; margin-top: calc(-0.6 * var(--ecs-rem)); border: calc(0.6 * var(--ecs-rem)) solid transparent; border-left: calc(1 * var(--ecs-rem)) solid var(--c-dark-2); transition: border-color .2s ease; }
.ecs.ecs .mega__col--root .mega__item--leaf a::after { content: none; }
.ecs.ecs .mega__col--root .mega__item a:hover::after,
.ecs.ecs .mega__col--root .mega__item.is-active a::after { border-left-color: var(--c-accent); }
.ecs.ecs .form__note { margin: calc(1.6 * var(--ecs-rem)) 0 0; font-size: calc(1.6 * var(--ecs-rem)); line-height: 1.4; color: var(--c-green); }
.ecs.ecs .form__note.is-error { color: var(--c-accent); }
.ecs.ecs .modal__box--thanks { max-width: calc(56 * var(--ecs-rem)); }
.ecs.ecs .modal__box--thanks .modal__text { margin-bottom: 0; }
.ecs.ecs .burger { display: none; position: relative; width: 44px; height: 44px; flex-shrink: 0; z-index: 101; }
.ecs.ecs .burger span { display: block; width: 26px; height: 2px; background: var(--c-white); margin: 5px auto; border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.ecs.ecs .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ecs.ecs .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.ecs.ecs .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.ecs.ecs .mobile-menu { position: fixed; inset: 0; z-index: 100; background: var(--c-dark); padding: calc(96px + env(safe-area-inset-top)) max(24px, env(safe-area-inset-left)) max(32px, env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.ecs.ecs .mobile-menu[hidden] { display: none; }
.ecs.ecs .mobile-menu__list li + li { margin-top: 4px; }
.ecs.ecs .mobile-menu__list a { display: block; color: var(--c-white); font-size: 24px; line-height: 1.2; padding: 12px 0; }
.ecs.ecs .mobile-menu__list a:active { color: var(--c-accent); }
.ecs.ecs .mobile-menu__contacts { display: grid; gap: 14px; justify-items: start; }
.ecs.ecs .mobile-menu__phone { color: var(--c-white); font-weight: 600; font-size: 24px; }
body.menu-open { overflow: hidden; }
@media (max-width: 1279px) {
  .ecs.ecs .header__nav,
  .ecs.ecs .header__contacts,
  .ecs.ecs .header__cta { display: none; }
  .ecs.ecs .burger { display: block; margin-left: auto; }
  .ecs.ecs .header__row { padding: 16px 0 18px; }
  .ecs.ecs .footer__cols { grid-template-columns: 1fr 1fr; }
  .ecs.ecs .footer__contacts { grid-template-columns: auto 1fr; }
}
@media (max-width: 1023px) {
  .ecs { font-size: 18px }
  .ecs.ecs .footer__contacts { font-size: 20px; gap: 24px 40px; padding: 36px 0; }
  .ecs.ecs .footer__address { font-size: 18px; }
  .ecs.ecs .footer__emails .note { font-size: 16px; }
  .ecs.ecs .modal__box { padding: 32px 64px 36px 28px; }
  .ecs.ecs .modal__close { top: 24px; right: 24px; }
  .ecs.ecs .modal__text { font-size: 19px; line-height: 1.3; }
}
@media (max-width: 767px) {
  .ecs { font-size: 17px }
  .ecs.ecs .ecs-container { width: min(var(--container), 100% - 32px); }
  .ecs.ecs .consult__agree { font-size: 16px; }
  .ecs.ecs .modal { padding: 16px; }
  .ecs.ecs .modal__box { padding: 24px 20px 28px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); }
  .ecs.ecs .modal__close { top: 16px; right: 16px; }
  .ecs.ecs .modal__close svg { width: 22px; height: 22px; }
  .ecs.ecs .modal__title { padding-right: 44px; }
  .ecs.ecs .modal__text { font-size: 17px; }
  .ecs.ecs .footer__contacts { grid-template-columns: 1fr; gap: 20px; }
  .ecs.ecs .footer__cols { grid-template-columns: 1fr; gap: 32px; padding: 32px 0; }
  .ecs.ecs .footer__logo img { height: 64px; }
  .ecs.ecs .footer__bottom { flex-direction: column; gap: 10px; padding: 24px 0 32px; }
}
@media (max-width: 479px) {
  .ecs.ecs .ecs-container { width: min(var(--container), 100% - 24px); }
  .ecs.ecs .btn { padding: 14px 24px; font-size: 16px; width: 100%; }
  .ecs.ecs .header__logo img { height: 36px; }
  .ecs.ecs .consult__input { height: 56px; }
  .ecs.ecs .mobile-menu__list a { font-size: 21px; }
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(calc(2.4 * var(--ecs-rem))); }
  to { opacity: 1; transform: none; }
}
/* On the new pages the header sits inside the hero; here it is a bar over the space the old
   page reserves for its old fixed header (#1B1B1B, z-index 102). It scrolls away like the
   header of the new pages (absolute, not fixed — agreed 25.11.2026). */
.ecs-top {
  position: absolute; top: 0; left: 0; right: 0; z-index: 102;
  background: var(--c-dark-2);
  color: var(--c-white);
}
/* old newstyles.css: `header { background: #1B1B1B !important }` — the bar colour is set on
   .ecs-top only (transparent over a photo banner, see below) */
.ecs.ecs header.header { background: transparent !important; }
/* old newstyles.css: `header .btn { max-width: 240px !important }` */
.ecs.ecs .header .btn { max-width: none !important; }
.ecs.ecs .modal { z-index: 1000; }
/* old app.min.css: `input, textarea, label span { font-size: var(--text-20px) !important }`
   (vw-based) — the reset can't beat !important, so back to the browser default / our inherit */
.ecs.ecs input, .ecs.ecs textarea, .ecs.ecs label span { font-size: revert !important; }
.ecs.ecs .consult__input { font-size: inherit !important; }
/* Old page content is offset for the old header: 6.458vw from 768px, 16vw below.
   With the burger the new row (78px) is taller at 1024-1222 and under 494px — shrink it
   to the old height so breadcrumbs stay visible (56px minimum for the 44px burger). */
@media (max-width: 1279px) {
  .ecs.ecs .header__row { padding-block: 0; height: clamp(56px, 6.458vw, 78px); }
  /* old app.min.css: `.burger { display: none !important }`, shown again only below 1024 */
  .ecs.ecs .burger { display: block !important; }
}
@media (max-width: 767px) {
  .ecs.ecs .header__row { height: clamp(56px, 16vw, 78px); }
}

/* Old pages that open with a photo banner (main.page > section.intro): the banner goes up under
   the bar, the bar turns transparent and the breadcrumbs sit on the photo, left-aligned, styled
   like .breadcrumbs of the new pages. Other old pages keep the black bar + centred crumbs strip.
   Variables live on :root: the old blocks are outside .ecs. --ecs-bar = height of .ecs-top,
   --ecs-z = bar + crumbs zone (the old .breadcrump box, its height fixed so the banner can be
   pulled up by exactly that much; the title keeps its old place). */
:root { --ecs-r: 10px; --ecs-bar: calc(clamp(56px, 6.458vw, 78px) + 1px); --ecs-z: calc(var(--ecs-bar) + 5.6 * var(--ecs-r)); }
@media (min-width: 1280px) { :root { --ecs-r: clamp(7.5px, 100vw / 192, 10px); --ecs-bar: calc(10.3 * var(--ecs-r)); } }
@media (max-width: 767px) { :root { --ecs-bar: calc(clamp(56px, 16vw, 78px) + 1px); --ecs-z: calc(var(--ecs-bar) + 36px); } }
body:has(main.page > section.intro:first-child) .ecs-top { background: transparent; }
body:has(main.page > section.intro:first-child) .breadcrump {
  position: relative; z-index: 101; box-sizing: border-box;
  height: var(--ecs-z); margin: 0 auto; padding: calc(var(--ecs-bar) + 3.8 * var(--ecs-r)) 0 0;
  width: min(162 * var(--ecs-r), 100% - 4.8 * var(--ecs-r));
  justify-content: flex-start; align-items: flex-start; flex-wrap: wrap; gap: 0 0.3em;
  font-family: 'Montserrat', Arial, sans-serif; font-size: calc(1.4 * var(--ecs-r)); line-height: 1.2;
  color: #5C5C5C;
  /* top shade over light banner photos (new pages have .hero__overlay); border-image outset
     paints full width without adding scrollable overflow */
  border-image: linear-gradient(rgba(24, 24, 24, .8), rgba(24, 24, 24, .5) 60%, rgba(24, 24, 24, 0)) fill 0 / 0 / 0 100vw calc(6 * var(--ecs-r));
}
body:has(main.page > section.intro:first-child) .breadcrump a,
body:has(main.page > section.intro:first-child) .breadcrump span {
  font: inherit; line-height: inherit; color: #5C5C5C; transition: color .2s ease;
}
body:has(main.page > section.intro:first-child) .breadcrump a:hover,
body:has(main.page > section.intro:first-child) .breadcrump span { color: #FFFFFF; }
body:has(main.page > section.intro:first-child) main.page > section.intro:first-child {
  margin-top: calc(-1 * var(--ecs-z)); padding-top: calc(var(--ecs-z) + 11.458vw);
  /* /works/, /documents/: inline `background:#000 url(...); center/cover no-repeat` — the stray
     `;` drops cover, the taller banner shows the gap */
  background-size: cover !important; background-position: center !important;
}
@media (max-width: 1279px) {
  body:has(main.page > section.intro:first-child) .breadcrump { width: calc(100% - 32px); }
}
@media (max-width: 770px) {
  body:has(main.page > section.intro:first-child) main.page > section.intro:first-child { padding-top: calc(var(--ecs-z) + 24vw); }
}
@media (max-width: 767px) {
  body:has(main.page > section.intro:first-child) .breadcrump { width: calc(100% - 24px); padding-top: calc(var(--ecs-bar) + 20px); font-size: 12px; }
}

/* /news/ opens with a light promo (main.page > .page-promo): the bar stays dark, the crumbs take the
   new-page place and size but dark colours (light text would vanish on the white promo) */
body:has(main.page > .page-promo:first-child) .breadcrump {
  box-sizing: border-box; margin: var(--ecs-bar) auto 0; padding: calc(3.8 * var(--ecs-r)) 0 0;
  width: min(162 * var(--ecs-r), 100% - 4.8 * var(--ecs-r));
  justify-content: flex-start; align-items: flex-start; flex-wrap: wrap; gap: 0 0.3em;
  font-family: 'Montserrat', Arial, sans-serif; font-size: calc(1.4 * var(--ecs-r)); line-height: 1.2;
  color: #5C5C5C;
}
body:has(main.page > .page-promo:first-child) .breadcrump a,
body:has(main.page > .page-promo:first-child) .breadcrump span {
  font: inherit; line-height: inherit; color: #5C5C5C; transition: color .2s ease;
}
body:has(main.page > .page-promo:first-child) .breadcrump a:hover,
body:has(main.page > .page-promo:first-child) .breadcrump span { color: #1B1B1B; }
@media (max-width: 1279px) {
  body:has(main.page > .page-promo:first-child) .breadcrump { width: calc(100% - 32px); }
}
@media (max-width: 767px) {
  body:has(main.page > .page-promo:first-child) .breadcrump { width: calc(100% - 24px); padding-top: 20px; font-size: 12px; }
}
