/* Clemco Central Asia — дизайн-система, снятая с оригинала (Squarespace 7.1)
   Источник: buildclemcocav1.squarespace.com, шаблон 5c5a519771c10ba3470d8101 */

:root {
  /* ---------- Цвета ---------- */
  --c-white:        hsl(0, 0%, 98.04%);   /* #FAFAFA — фон сайта */
  --c-black:        hsl(0, 0%, 0%);
  --c-dark:         hsl(0, 0%, 10.98%);   /* #1C1C1C — darkAccent */
  --c-grey:         hsl(210, 3.64%, 78.43%); /* #C6C8CA — accent, фирменный серый */
  --c-light:        hsl(0, 0%, 100%);     /* lightAccent */

  --c-green:        hsl(141.63, 100%, 16.86%); /* #00561F — основной фирменный зелёный */
  --c-lime:         #8DC63F;              /* акцентный лайм (кнопки, выделения) */

  --c-bg:           var(--c-white);
  --c-text:         var(--c-black);
  --c-text-muted:   hsl(0, 0%, 10.98%);
  --c-border:       hsla(0, 0%, 10.98%, 0.25);

  /* ---------- Типографика ---------- */
  --font-body:      "Poppins", "Poppins Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-heading:   var(--font-body);
  /* Poppins не содержит кириллицы, поэтому русская версия набрана Noto Sans —
     переопределение ниже, на том же элементе <html>. */

  --fw-light:       300;  /* основной текст */
  --fw-regular:     400;  /* мета */
  --fw-medium:      500;  /* заголовки, кнопки */

  --h1:             4rem;
  --h2:             2.8rem;
  --h3:             2.2rem;
  --h4:             1.2rem;
  --body-size:      1rem;

  --lh-body:        1.8;
  --lh-heading:     1.4;
  --lh-tight:       1.2;
  --ls-body:        0em;
  --ls-button:      0.02em;

  /* ---------- Раскладка ---------- */
  --page-max:       1760px;
  --page-padding:   max(1.25rem, 4vw);
  --header-height:  111.66px;
  --logo-height:    80px;
  --logo-height-mobile: 35px;
  --header-pad-y:   1.1vw;
  --header-pad-y-mobile: 3vw;

  /* ---------- Кнопки ---------- */
  --btn-radius:     999px;   /* оригинал: border-radius 300px — таблетка */
  --btn-pad-x:      1.336em;
  --btn-pad-y:      0.8em;
  --btn-font-size:  1rem;
  --btn-font-size-sm: 0.9rem;
  --btn-font-size-lg: 1.1rem;
  --btn-weight:     500;
  --btn-stroke:     2px;

  /* ---------- Анимация ---------- */
  --anim-duration:  0.65s;
  --anim-easing:    cubic-bezier(0.2, 0.6, 0.2, 1);
}

/* Русская версия: Noto Sans. Селектор html[lang^="ru"] специфичнее :root,
   поэтому --font-heading (он ссылается на --font-body) тоже становится Noto Sans. */
html[lang^="ru"] {
  --font-body:    "Noto Sans", "Noto Sans Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fw-light:     300;
  --fw-regular:   400;
  --fw-medium:    500;
}

/* Мобильная типографика — оригинал масштабирует заголовки вниз */
@media (max-width: 767px) {
  :root {
    --h1: 2.4rem;
    --h2: 1.9rem;
    --h3: 1.5rem;
    --h4: 1.1rem;
  }
}

/* Шрифты подключены в <head> каждой страницы: английская версия грузит Poppins,
   русская — Noto Sans. Так ни одна версия не тянет лишний файл. */

/* ============================================================
   Clemco Central Asia — базовые стили
   Дизайн-система вынесена в tokens.css
   ============================================================ */

/* ---------- подменные шрифты на время загрузки ----------
   Пока Poppins (в русской версии — Noto Sans) едет с сервера, текст набран
   системным шрифтом. У него другие ширина букв и высота строки, поэтому
   в момент подмены вёрстка подпрыгивала: панель на главной съезжала на 84px.

   Ниже системный Arial «подогнан» под метрики веб-шрифта — отдельно для
   каждого начертания, потому что ширина у них разная. Подмена проходит
   без сдвига. На конечный вид это не влияет: как только настоящий шрифт
   загрузился, рисует его он.
   Диапазон ограничен латиницей, кириллицей и обычной пунктуацией: стрелки
   и прочие символы, которых в Poppins нет, должен по-прежнему рисовать
   системный шрифт, иначе они поменяли бы вид.
   Пересчитать значения: node src/font-metrics.mjs */

@font-face {
  font-family: "Poppins Fallback";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: local("Arial"), local("Helvetica"), local("Liberation Sans");
  size-adjust: 101.54%;
  ascent-override: 103.41%;
  descent-override: 34.47%;
  line-gap-override: 0%;
  unicode-range: U+0000-052F, U+1E00-1EFF, U+2000-2027, U+2030-205E, U+20A0-20BF;
}
@font-face {
  font-family: "Poppins Fallback";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local("Arial"), local("Helvetica"), local("Liberation Sans");
  size-adjust: 102.87%;
  ascent-override: 102.07%;
  descent-override: 34.02%;
  line-gap-override: 0%;
  unicode-range: U+0000-052F, U+1E00-1EFF, U+2000-2027, U+2030-205E, U+20A0-20BF;
}
@font-face {
  font-family: "Poppins Fallback";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: local("Arial"), local("Helvetica"), local("Liberation Sans");
  size-adjust: 104.32%;
  ascent-override: 100.65%;
  descent-override: 33.55%;
  line-gap-override: 0%;
  unicode-range: U+0000-052F, U+1E00-1EFF, U+2000-2027, U+2030-205E, U+20A0-20BF;
}
@font-face {
  font-family: "Poppins Fallback";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: local("Arial"), local("Helvetica"), local("Liberation Sans");
  size-adjust: 106.21%;
  ascent-override: 98.87%;
  descent-override: 32.96%;
  line-gap-override: 0%;
  unicode-range: U+0000-052F, U+1E00-1EFF, U+2000-2027, U+2030-205E, U+20A0-20BF;
}
@font-face {
  font-family: "Poppins Fallback";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local("Arial"), local("Helvetica"), local("Liberation Sans");
  size-adjust: 107.53%;
  ascent-override: 97.65%;
  descent-override: 32.55%;
  line-gap-override: 0%;
  unicode-range: U+0000-052F, U+1E00-1EFF, U+2000-2027, U+2030-205E, U+20A0-20BF;
}

@font-face {
  font-family: "Noto Sans Fallback";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: local("Arial"), local("Helvetica"), local("Liberation Sans");
  size-adjust: 99.27%;
  ascent-override: 107.79%;
  descent-override: 29.21%;
  line-gap-override: 0%;
  unicode-range: U+0000-052F, U+1E00-1EFF, U+2000-2027, U+2030-205E, U+20A0-20BF;
}
@font-face {
  font-family: "Noto Sans Fallback";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local("Arial"), local("Helvetica"), local("Liberation Sans");
  size-adjust: 102.47%;
  ascent-override: 104.42%;
  descent-override: 28.30%;
  line-gap-override: 0%;
  unicode-range: U+0000-052F, U+1E00-1EFF, U+2000-2027, U+2030-205E, U+20A0-20BF;
}
@font-face {
  font-family: "Noto Sans Fallback";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: local("Arial"), local("Helvetica"), local("Liberation Sans");
  size-adjust: 104.17%;
  ascent-override: 102.72%;
  descent-override: 27.84%;
  line-gap-override: 0%;
  unicode-range: U+0000-052F, U+1E00-1EFF, U+2000-2027, U+2030-205E, U+20A0-20BF;
}
@font-face {
  font-family: "Noto Sans Fallback";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: local("Arial"), local("Helvetica"), local("Liberation Sans");
  size-adjust: 106.03%;
  ascent-override: 100.91%;
  descent-override: 27.35%;
  line-gap-override: 0%;
  unicode-range: U+0000-052F, U+1E00-1EFF, U+2000-2027, U+2030-205E, U+20A0-20BF;
}
@font-face {
  font-family: "Noto Sans Fallback";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local("Arial"), local("Helvetica"), local("Liberation Sans");
  size-adjust: 108.20%;
  ascent-override: 98.89%;
  descent-override: 26.80%;
  line-gap-override: 0%;
  unicode-range: U+0000-052F, U+1E00-1EFF, U+2000-2027, U+2030-205E, U+20A0-20BF;
}

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

/* Типографика тянется за шириной экрана, как в оригинале: на узком окне
   базовый размер 16px, на широком мониторе доходит до 26px. Всё остальное
   задано в rem, поэтому масштабируется вместе с ним. */
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  font-size: clamp(16px, 0.59vw + 8.9px, 26px);
}

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  font-weight: var(--fw-light);
  font-size: var(--body-size);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .5em;
  font-family: var(--font-heading);
  font-weight: var(--fw-medium);
  line-height: var(--lh-heading);
}

h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }
h4 { font-size: var(--h4); }

p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
/* height: auto — обязательная пара к width/height в разметке: без неё
   max-width сжимал бы картинку по ширине, оставляя высоту из атрибута.
   Блоки, где высота задана явно (карусель, карточки гонок, лента логотипов),
   перебивают это правило своей специфичностью. */
img, video { max-width: 100%; height: auto; display: block; }

/* Длинные слова переносятся, а не вылезают за экран: «Высокопроизводительное»
   на 320px шире колонки, а почтовый адрес целиком — шире любого телефона.
   break-word разрывает слово только тогда, когда иначе оно не помещается.
   Правило только для узких экранов: на десктопе места хватает, а крупные
   заголовки в узких колонках от переноса посреди слова выглядели бы рвано. */
@media (max-width: 900px) {
  body { overflow-wrap: break-word; }
  /* адреса почты рвём в любом месте — иначе они не разрываются вовсе */
  a[href^="mailto:"], .contact__links a, .footer__contact a { overflow-wrap: anywhere; }
}
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--page-padding);
}
/* Блок во всю ширину окна — в оригинале ширина задана не всему сайту,
   а каждому блоку отдельно, и часть из них шире общей колонки. */
.container--wide { max-width: none; }
/* тонкая линия над блоком — как в оригинале, когда два светлых блока идут подряд */
.container--rule > div { border-top: 1px solid #fff; padding-top: clamp(2.5rem, 5vw, 4.5rem); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------------- Кнопки ---------------- */

.btn {
  display: inline-block;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border-radius: var(--btn-radius);
  font-weight: var(--btn-weight);
  font-size: var(--btn-font-size);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-button);
  text-align: center;
  cursor: pointer;
  border: 0;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn:hover { text-decoration: none; }

.btn--primary { background: var(--c-green); color: #fff; }
.btn--primary:hover { background: #007a2c; }

.btn--secondary {
  background: transparent;
  color: var(--c-text);
  border: var(--btn-stroke) solid currentColor;
  font-size: var(--btn-font-size-lg);
}
.btn--secondary:hover { background: var(--c-text); color: var(--c-white); }

.btn--lime { background: var(--c-lime); color: #0b2a08; }
.btn--lime:hover { background: #7cb234; }

.btn--sm { font-size: var(--btn-font-size-sm); }

/* ---------------- Шапка ---------------- */

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 50;
  padding-block: var(--header-pad-y);
  color: #fff;
}
/* Прозрачная шапка лежит поверх видео на главной: на светлых кадрах белый
   логотип и меню сливались с фоном. Лёгкое затемнение сверху держит контраст. */
.site-header:not(.site-header--solid)::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: calc(100% + 2.5rem);
  background: linear-gradient(180deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, .22) 55%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
  z-index: -1;
}
.site-header:not(.site-header--solid) .site-logo img,
.site-header:not(.site-header--solid) .nav__link {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35));
}
.site-header--solid {
  position: sticky;
  top: 0;
  background: var(--c-bg);
  color: var(--c-text);
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: none;
  padding-inline: var(--page-padding);
}

.site-logo img { height: var(--logo-height); width: auto; }
/* Логотип белый; на светлой шапке переводим его в чёрный, иначе он пропадает */
.site-header--solid .site-logo img { filter: brightness(0); }

.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: 1rem;
  font-weight: var(--fw-light);
  line-height: var(--lh-body);
  white-space: nowrap;
}
.nav__link:hover { text-decoration: none; opacity: .75; }

.nav__caret { width: .55em; height: .55em; flex: none; }

.nav__submenu {
  position: absolute;
  top: calc(100% + .75rem);
  left: 50%;
  translate: -50% 0;
  min-width: 15rem;
  padding: .75rem 0;
  background: var(--c-white);
  color: var(--c-text);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0,0,0,.18);
  opacity: 0;
  visibility: hidden;
  translate: -50% .5rem;
  transition: opacity .2s ease, translate .2s ease, visibility .2s;
}
.nav__item:hover .nav__submenu,
.nav__item:focus-within .nav__submenu {
  opacity: 1; visibility: visible; translate: -50% 0;
}
.nav__submenu a {
  display: block;
  padding: .45rem 1.25rem;
  font-size: .95rem;
  white-space: nowrap;
}
.nav__submenu a:hover { background: rgba(0,0,0,.05); text-decoration: none; }

.header-actions { display: flex; align-items: center; gap: 1rem; }

.lang-switch { display: flex; gap: .35rem; font-size: .85rem; letter-spacing: .04em; }
.lang-switch a { opacity: .6; }
.lang-switch a[aria-current="true"] { opacity: 1; font-weight: var(--fw-medium); }

.nav-toggle {
  display: none;
  width: 2.5rem; height: 2.5rem;
  background: none; border: 0; padding: 0;
  cursor: pointer; color: inherit;
}
.nav-toggle span {
  display: block; height: 2px; margin: 6px 0;
  background: currentColor; border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}

/* ---------------- Секции ---------------- */

.section { position: relative; }
.section__inner { position: relative; z-index: 2; }

.section--pad { padding-block: clamp(3rem, 6vw, 6rem); }
.section--light { background: var(--c-white); }
.section--grey  { background: var(--c-grey); }
.section--dark  { background: var(--c-dark); color: var(--c-white); }
.section--green { background: var(--c-green); color: #fff; }

/* Герой */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img,
.hero__media video { width: 100%; height: 100%; object-fit: cover; }
/* Поверх видео только лёгкое затемнение сверху — под шапку.
   За читаемость текста отвечает полупрозрачная панель, а не общий градиент. */
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,0) 26%, rgba(0,0,0,.28) 100%);
}

/* Значок и текстовая панель стоят в один ряд, значок наезжает на панель слева.
   Отступы и размеры сняты с оригинала: до 1440px левый край тянется за шириной
   окна (10.35vw), выше — содержимое встаёт по центру, как у Clemco. */
.hero__inner {
  position: relative; z-index: 2;
  width: 100%;
  max-width: none;
  display: flex;
  align-items: center;
  padding-block: clamp(3rem, 7vw, 6rem);
  padding-left: calc((100vw - min(100vw, 1440px)) / 2 + min(10.35vw, 149px));
  padding-right: 0;
  --badge-size: clamp(120px, 15.3vw, 223px);
}
.hero__badge {
  flex: 0 0 auto;
  width: var(--badge-size, clamp(120px, 15.3vw, 223px));
  /* значок заходит на панель примерно на четверть своей ширины — как в оригинале */
  margin-right: calc(var(--badge-size, clamp(120px, 15.3vw, 223px)) * -0.27);
  z-index: 3;
  transition: transform .4s ease;
}
.hero__badge:hover { transform: rotate(-6deg) scale(1.04); }

.hero__panel {
  flex: 1 1 auto;
  min-width: 0;
  background: rgba(10,10,12,.46);
  padding: clamp(1.6rem, 3vw, 3rem) clamp(1.5rem, 3vw, 3.4rem);
  padding-left: calc(var(--badge-size, clamp(120px, 15.3vw, 223px)) * 0.29);
  /* панель уходит в правый край экрана, как в оригинале */
  margin-right: calc(50% - 50vw);
  padding-right: calc(50vw - 50% + clamp(1.5rem, 3vw, 3.4rem));
}
.hero__eyebrow {
  font-size: clamp(1rem, 1.5vw, 1.4rem);
  font-weight: var(--fw-light);
  letter-spacing: .04em;
  opacity: .9;
  margin-bottom: .5em;
}
/* Кегль, интерлиньяж и насыщенность — как в оригинале: на 1440px и шире
   70.4px, ниже уменьшается по прямой до 53px на 768px. Ограничение по ширине
   снято, иначе заголовок переносился на три строки вместо двух. */
.hero__title {
  font-size: clamp(23.7px, calc(2.56vw + 33.5px), 70.4px);
  line-height: 1.09;
  font-weight: 500;
  max-width: none;
  /* на телефоне .32em от мелкого кегля почти ноль — держим минимум */
  margin-bottom: max(.6rem, .32em);
}
.hero__text { max-width: none; font-size: 16px; line-height: 1.8; opacity: .94; }

/* На узких экранах значок уходит над панелью, иначе он съедает ширину текста. */
@media (max-width: 767px) {
  /* на телефоне оригинал резко уменьшает заголовок: 23.7px на 390px
     и 53px к 768px — та же прямая, что и выше, но своя */
  .hero__title { font-size: clamp(22px, calc(7.82vw - 6.78px), 53.2px); }
  .hero__inner { padding-left: clamp(1.25rem, 5vw, 3rem); }
  .hero__inner { flex-direction: column; align-items: flex-start; }
  .hero__badge { margin-right: 0; margin-bottom: -3rem; margin-left: .5rem; }
  .hero__panel { width: 100%; padding-left: clamp(1.5rem, 5vw, 2rem); padding-top: 3.6rem; }
}

/* Зелёная плашка с заголовком — общий элемент для блоков на главной */
.band {
  background: var(--c-green);
  color: #fff;
  padding-block: clamp(1.4rem, 3vw, 2.6rem);
}
.band__title {
  margin: 0;
  text-align: center;
  font-size: clamp(1.3rem, 2.4vw, 2.1rem);
  font-weight: var(--fw-medium);
  line-height: var(--lh-tight);
  text-wrap: balance;
  color: #fff;
}

/* Блок продуктов: лаймовая полоса, тёмно-зелёная плашка, под ними карусель */
.products__band {
  background: var(--c-green);
  color: #fff;
  padding-block: clamp(1.6rem, 3.4vw, 3rem);
}
.products__title {
  margin: 0;
  text-align: center;
  font-size: clamp(1.35rem, 2.6vw, 2.3rem);
  font-weight: var(--fw-medium);
  line-height: var(--lh-tight);
  text-wrap: balance;
}
.products__rule { height: clamp(10px, 1vw, 16px); background: var(--c-lime); }

/* Карусель продуктов */
.carousel { position: relative; }
.carousel__track {
  display: flex;
  gap: clamp(1rem, 2vw, 2rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-block: 1rem;
}
.carousel__track::-webkit-scrollbar { display: none; }
/* Колонка с прижатой вниз подписью: плашки стоят в одну линию
   независимо от того, в одну или две строки лёг заголовок. */
.carousel__item {
  flex: 0 0 auto;
  width: clamp(150px, 17.5vw, 250px);
  scroll-snap-align: center;
  text-align: center;
  display: flex;
  flex-direction: column;
}
.carousel__item img {
  height: clamp(110px, 13.5vw, 195px);
  width: auto;
  margin: auto auto 1.1rem;
  object-fit: contain;
}
.carousel__item .btn {
  width: 100%;
  min-height: 4.1em;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.25;
  border-radius: 999px;
  hyphens: auto;
}
.carousel__btn {
  position: absolute; top: 50%; translate: 0 -50%;
  width: 2.5rem; height: 2.5rem;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.2);
  background: #fff;
  cursor: pointer;
  z-index: 2;
}
.carousel__btn--prev { left: 0; }
.carousel__btn--next { right: 0; }

/* Полоса-разделитель */
.divider-strip { height: clamp(28px, 3vw, 46px); background: var(--c-green); }

/* Отраслевой блок на весь экран */
.industry {
  position: relative;
  display: block;
  min-height: clamp(380px, 46vw, 620px);
  overflow: hidden;
  color: #fff;
}
.industry img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s cubic-bezier(.2,.6,.2,1);
}
.industry:hover img { transform: scale(1.04); }
/* Название отрасли уже вшито в саму картинку, поэтому подпись поверх неё
   не выводится — она остаётся в разметке только для поиска и скринридеров. */
.industry__label {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.industry:hover { text-decoration: none; }

/* Баннер-заставка страницы */
.page-banner {
  position: relative;
  min-height: clamp(260px, 32vw, 460px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--c-dark);
}
/* У исходных баннеров название отрасли вшито в картинку. Чтобы заголовок
   можно было перевести и проиндексировать, он выводится текстом, а картинка
   приглушается и слегка размывается — вшитое слово перестаёт спорить с текстом. */
.page-banner img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.62) saturate(.95) blur(3px);
  transform: scale(1.03); /* чтобы размытие не оголяло края */
}
.page-banner::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.1) 40%, rgba(0,0,0,.6) 100%);
}
/* Вариант с вшитым переводом: картинку не трогаем, текстовый заголовок прячем.
   Пропорция равна пропорции исходника (1920×750) — иначе на широком экране
   обрезка по высоте съедает вшитое слово. */
@media (min-width: 600px) {
  /* min-height вместе с aspect-ratio заставляет браузер считать ширину
     от высоты — блок вылезает за экран, поэтому высоту здесь не задаём. */
  .page-banner--baked,
  .page-banner--baked.page-banner--wave { aspect-ratio: 1920 / 750; min-height: 0; }
}
.page-banner--baked img { filter: none; transform: none; }
.page-banner--baked::after { background: none; }
.page-banner--baked .page-banner__title {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Герой с волной по нижнему краю (страница «О компании») */
.page-banner--wave { min-height: clamp(320px, 42vw, 640px); }
.page-banner--wave::before {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px;
  z-index: 3;
  height: clamp(36px, 5vw, 86px);
  background: var(--c-bg);
  -webkit-mask-image: var(--wave); mask-image: var(--wave);
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
:root {
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0,30 C360,66 620,72 900,50 C1150,30 1260,8 1440,36 L1440,100 L0,100 Z' fill='%23fff'/%3E%3C/svg%3E");
}

.page-banner__title {
  position: relative; z-index: 2;
  color: #fff;
  margin: 0;
  padding-block: clamp(1.5rem, 4vw, 3.5rem);
  font-size: clamp(2.2rem, 5.6vw, 4.6rem);
  font-weight: 700;
  line-height: 1.05;
  text-transform: lowercase;
  text-shadow: 0 2px 28px rgba(0,0,0,.45);
}

/* Кейс */
.case__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}
.case__inner--flip .case__media { order: 2; }
/* Узкая колонка под фото — как в оригинале на странице истории.
   При перевороте узкой становится вторая колонка: порядок задаётся через
   order, а ширины треков — позицией, поэтому их нужно поменять отдельно. */
.case__inner--narrow { grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr); }
.case__inner--narrow.case__inner--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 0.55fr); }
.case__media img { width: 100%; border-radius: 10px; }
.case__body h3 { margin-bottom: 1.25rem; }
.case__body .btn { margin-top: 1.5rem; }

.acc { border-bottom: 1px solid var(--c-border); }
/* Одиночная раскрывашка внутри текстового блока — с линией и сверху */
.case__body > .acc:first-of-type,
.prose > .acc:first-of-type { border-top: 1px solid var(--c-border); margin-top: 1.5rem; }
.acc__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .95rem 0;
  font-weight: var(--fw-medium);
  cursor: pointer;
  list-style: none;
}
.acc__q::-webkit-details-marker { display: none; }
.acc__q::after {
  content: "+";
  font-size: 1.4em;
  font-weight: var(--fw-light);
  line-height: 1;
  transition: transform .25s ease;
}
.acc[open] .acc__q::after { content: "−"; }
.acc__a { padding-bottom: 1rem; font-size: .95rem; }
.acc__a p:last-child { margin-bottom: 0; }

.bullets { margin: 0 0 1em; padding-left: 1.1em; list-style: disc; }
.bullets li { margin-bottom: .4em; }

/* Чёрные секции средней части страницы hyak */
.section--black { background: #000; color: var(--c-white); }
.section--black .acc { border-bottom-color: rgba(255, 255, 255, .25); }
.section--black .prose > .link-list .acc:first-child,
.section--black .link-list .acc:first-child { border-top: 1px solid rgba(255, 255, 255, .25); }
.section--black .acc__a { color: rgba(255, 255, 255, .78); }
.section--black .download__title { color: var(--c-white); }
.callouts-acc .acc__q { font-size: 1.05rem; }
.callouts-acc__link { color: var(--c-lime); text-decoration: underline; }

.next-up { margin: 0; }
.next-up a { color: inherit; text-decoration: underline; text-underline-offset: .18em; }

/* Карусель отчётов с гонок */
.races {
  position: relative;
  isolation: isolate;
  background: #000;
  color: var(--c-white);
  overflow: hidden;
}
.races__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .5;
}
.races__title { text-align: center; margin-bottom: clamp(1.5rem, 3vw, 2.75rem); }
.races .carousel__btn {
  background: rgba(0, 0, 0, .55);
  border-color: rgba(255, 255, 255, .45);
  color: var(--c-white);
}
.race-card {
  width: clamp(230px, 20vw, 290px);
  scroll-snap-align: start;
  text-align: left;
  background: #d9dadb;
  color: var(--c-dark);
  border-radius: 2px;
  padding: clamp(.7rem, 1.2vw, 1rem);
  align-self: start;
}
.race-card .race-card__img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  margin: 0 0 clamp(.75rem, 1.4vw, 1.1rem);
  border-radius: 2px;
}
.race-card__title { margin: 0 0 .5rem; font-size: 1.05rem; line-height: 1.2; }
.race-card__meta { margin: 0 0 .9rem; font-size: .85rem; color: #4a4a4a; }
.race-card__text { margin: 0; font-size: .85rem; line-height: 1.5; }

/* Тёмный материал-репортаж (500-й старт) */
.feature {
  background: #000;
  color: var(--c-white);
  padding-bottom: 0;
}
.feature__logo {
  display: block;
  width: min(42%, 420px);
  margin: 0 auto clamp(1.5rem, 3vw, 2.75rem);
}
.feature__title {
  max-width: 24ch;
  margin: 0 0 .5rem;
  line-height: 1.12;
}
.feature__title strong { color: var(--c-lime); font-weight: inherit; }
.feature__acc { border-color: rgba(255, 255, 255, .22); }
.feature__acc.acc { border-top: 1px solid rgba(255, 255, 255, .22); margin-top: 1.5rem; }
.feature__acc .acc__q { font-weight: var(--fw-light); }
.feature__acc .acc__a { color: rgba(255, 255, 255, .78); }
.feature__photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.75rem, 1.6vw, 1.5rem);
  margin: clamp(1.75rem, 3.5vw, 3rem) 0 0;
  padding: 0;
  list-style: none;
}
.feature__photos img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 6px;
}
.feature__credit {
  margin: clamp(1.25rem, 2.5vw, 2rem) 0 0;
  text-align: center;
  font-size: .78rem;
  color: rgba(255, 255, 255, .6);
}
.feature__mark {
  display: block;
  width: min(18%, 190px);
  margin: clamp(1.5rem, 3vw, 2.75rem) auto clamp(1.5rem, 3vw, 2.75rem);
}
.feature__wide { display: block; width: 100%; height: auto; }

@media (max-width: 760px) {
  .feature__photos { grid-template-columns: minmax(0, 1fr); }
  .feature__logo { width: min(70%, 320px); }
  .feature__title { max-width: none; }
}

/* Брошюра */
.download { display: block; }
.download__title {
  margin: 0 0 clamp(1rem, 2vw, 1.6rem);
  font-size: clamp(1.5rem, 2.6vw, 2.4rem);
  line-height: var(--lh-tight);
}
.download img { width: 100%; display: block; }
.download__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: max-content;
  max-width: min(100%, 19rem);
  margin: clamp(1.6rem, 3vw, 2.8rem) auto 0;
  border-radius: 999px;
  padding: 1em 2.2em;
  line-height: 1.45;
}

/* Лента новостей */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: 2.5rem;
}
.news-card a { display: block; }
.news-card a:hover { text-decoration: none; }
.news-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
  transition: opacity .3s ease;
}
.news-card a:hover img { opacity: .85; }
.news-card time { font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; opacity: .55; }
.news-card h3 { font-size: 1.25rem; margin: .4rem 0 .5rem; }
.news-card p { font-size: .9rem; opacity: .8; margin: 0; }

/* Поиск */
.search { margin: 1.5rem 0 1rem; }
.search input {
  font: inherit;
  width: 100%;
  padding: .9rem 1.1rem;
  border: 2px solid var(--c-border);
  border-radius: 8px;
  background: #fff;
}
.search input:focus-visible { outline: 2px solid var(--c-green); outline-offset: 1px; border-color: transparent; }
.search__status { font-size: .85rem; opacity: .65; }
.search__results { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
.search__results li { padding-bottom: 1.25rem; border-bottom: 1px solid var(--c-border); }
.search__results a { font-size: 1.1rem; font-weight: var(--fw-medium); }
.search__results p { margin: .3rem 0 0; font-size: .9rem; opacity: .75; }

/* Кнопка-лупа в шапке */
.search-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem; height: 2.25rem;
  padding: 0;
  border: 0;
  background: none;
  color: currentColor;
  cursor: pointer;
  opacity: .8;
  transition: opacity .2s;
}
.search-open:hover { opacity: 1; }

/* Оверлей поиска: панель справа, страница под ней размывается */
.search-overlay { position: fixed; inset: 0; z-index: 120; }
/* Подложка прозрачная: в оригинале страница за панелью не затемняется,
   она просто перехватывает клик мимо панели. */
.search-overlay__backdrop {
  position: absolute; inset: 0;
  background: transparent;
  opacity: 0;
  transition: opacity .22s ease;
}
/* Панель — отдельная карточка со скруглением и отступом от краёв окна. */
.search-overlay__panel {
  position: absolute;
  top: clamp(.5rem, 1vw, .9rem);
  bottom: clamp(.5rem, 1vw, .9rem);
  right: clamp(.5rem, 1vw, .9rem);
  width: min(640px, calc(100% - 2 * clamp(.5rem, 1vw, .9rem)));
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 44px rgba(0, 0, 0, .22);
  padding: clamp(1rem, 2vw, 1.5rem) clamp(1rem, 2.4vw, 2rem) 0;
  transform: translateX(3%);
  opacity: 0;
  transition: transform .24s var(--anim-easing), opacity .24s ease;
}
.search-overlay.is-in .search-overlay__backdrop { opacity: 1; }
.search-overlay.is-in .search-overlay__panel { transform: none; opacity: 1; }

.search-overlay__bar {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex: none;
  padding: .55rem .6rem .55rem 1.1rem;
  border: 1px solid var(--c-border);
  border-radius: 10px;
}
.search-overlay__input {
  font: inherit;
  font-size: 1.15rem;
  flex: 1;
  min-width: 0;
  padding: .45rem 0;
  border: 0;
  background: none;
}
.search-overlay__input:focus { outline: none; }
.search-overlay__input::-webkit-search-cancel-button { display: none; }
.search-overlay__close {
  display: inline-flex;
  width: 2rem; height: 2rem;
  align-items: center; justify-content: center;
  flex: none;
  padding: 0; border: 0;
  background: none;
  color: var(--c-text);
  opacity: .5;
  cursor: pointer;
  transition: opacity .2s;
}
.search-overlay__close:hover { opacity: 1; }

/* В оригинале счётчика найденного нет — строка остаётся только для скринридеров. */
.search-overlay__status {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.search-overlay__results {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  margin: .9rem calc(-1 * clamp(1rem, 2.4vw, 2rem)) 0;
  padding: 0 clamp(1rem, 2.4vw, 2rem) clamp(1.5rem, 4vw, 3rem);
  list-style: none;
}
.search-hit {
  display: flex;
  gap: clamp(1rem, 2.2vw, 1.6rem);
  padding: clamp(1.1rem, 2.2vw, 1.7rem) 0;
  color: inherit;
}
.search-hit:hover { text-decoration: none; }
.search-hit:hover .search-hit__title { text-decoration: underline; }
/* Квадратная миниатюра с острыми углами — как в оригинале. */
.search-hit__thumb {
  flex: none;
  align-self: flex-start;   /* иначе растягивается по высоте карточки */
  width: clamp(104px, 13vw, 158px);
  aspect-ratio: 1;
  object-fit: cover;
  background: none;
}
.search-hit__body { min-width: 0; }
/* В оригинале текст в выдаче заметно крупнее основного текста страницы. */
.search-hit__title {
  display: block;
  font-size: clamp(1.15rem, 1.75vw, 1.5rem);
  font-weight: 700;
  line-height: 1.22;
}
.search-hit__descr {
  margin: .65rem 0 0;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.4;
}
.search-hit__snippet {
  margin: .7rem 0 0;
  font-size: clamp(.82rem, 1.05vw, .92rem);
  line-height: 1.5;
  opacity: .62;
}
/* Совпадения в оригинале не заливаются цветом, а подчёркиваются серой плашкой. */
.search-hit mark {
  background: rgba(0, 0, 0, .06);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .45);
  padding: 0 .05em;
  color: inherit;
}
body.is-search-open { overflow: hidden; }

@media (max-width: 600px) {
  .search-overlay__panel {
    inset: 0;
    width: 100%;
    border-radius: 0;
  }
  .search-hit__thumb { width: 72px; }
  /* В шапке уже тесно: на телефоне лупа убирается, поиск остаётся в меню */
  .search-open { display: none; }
}

/* Руководство */
.people {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
  margin-top: 2.5rem;
}
.person a { display: block; text-align: center; }
.person a:hover { text-decoration: none; }
.person img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
  transition: transform .4s ease;
}
.person a:hover img { transform: scale(1.03); }
.person__name { display: block; font-weight: var(--fw-medium); }
.person__role { display: block; font-size: .85rem; }
.person__org { display: block; font-size: .8rem; opacity: .6; }

/* Длинный текст */
.prose { max-width: 80ch; }
.prose__lead { font-size: 1.1rem; font-weight: var(--fw-regular); }
/* Подпись под блоком — курсивом, как в оригинале */
.prose__caption {
  margin-top: clamp(2rem, 5vw, 5rem);
  font-style: italic;
  line-height: 1.7;
}
.prose__caption--right { text-align: right; }
/* Заголовок-цитата — курсивом, как в оригинале */
.is-quote { font-style: italic; }

/* Разворот: крупный лаймовый заголовок, слева лид, справа основной текст */
.prose-split__title {
  color: var(--c-lime);
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 clamp(1.5rem, 3vw, 2.6rem);
}
.prose-split {
  display: grid;
  grid-template-columns: minmax(0, 0.46fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 4vw, 4rem);
  align-items: start;
}
.prose-split__lead {
  margin: 0;
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  font-weight: 600;
  line-height: 1.35;
}
.prose-split__body p { margin: 0 0 1.1em; }
.prose-split__body p:last-child { margin-bottom: 0; }
@media (max-width: 767px) {
  .prose-split { grid-template-columns: minmax(0, 1fr); }
}

/* Зелёный блок «Почему выбирают Clemco» */
.why {
  background: var(--c-green);
  color: #fff;
  padding-block: clamp(2.5rem, 5vw, 5rem);
  overflow: hidden;
}
.why__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.5fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(.5rem, 1.2vw, 1.5rem);
}
.why__lead { text-align: right; }
.why__title {
  margin: 0 0 1em;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
}
.why__text { margin: 0; font-size: .95rem; line-height: 1.7; opacity: .92; }
.why__stamp { width: 100%; height: auto; }
.why__listTitle { margin: 0 0 1.4em; font-size: .95rem; line-height: 1.6; opacity: .92; }
.why__list .bullets { margin: 0; padding-left: 1.2em; }
.why__list .bullets li {
  margin-bottom: .85em;
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  font-weight: 700;
}
.why__more {
  display: inline-block;
  margin-top: 1.6em;
  color: var(--c-lime);
  font-size: clamp(1.1rem, 1.7vw, 1.5rem);
  font-weight: 700;
}
.why__more:hover { text-decoration: underline; }
@media (max-width: 899px) {
  .why__inner { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .why__lead { text-align: center; }
  .why__stamp { max-width: 440px; }
  .why__list { text-align: left; }
}

/* Панель: фото во всю ширину, поверх — матовая карточка с текстом */
.photo-panel {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 6vw, 6rem);
}
/* Блоки липнут к верху экрана и наезжают друг на друга при прокрутке:
   следующая картинка закрывает предыдущую, как на главной. */
@media (min-width: 900px) and (min-height: 640px) and (prefers-reduced-motion: no-preference) {
  .photo-panel {
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding-block: clamp(1.5rem, 3vw, 3.5rem);
  }
  /* Липким блок становится, только когда подходит к экрану: каждый липкий
     элемент браузер держит отдельным слоем на видеокарте, а панелей два
     десятка. Класс навешивает app.js; без скриптов наложения просто нет. */
  .photo-panel.is-stick { position: sticky; top: 0; }
  .photo-panel__inner { width: 100%; }
  /* Липкие блоки — позиционированные, поэтому они перекрывали бы обычные
     секции под ними. Всё, что идёт после панелей, поднимаем над ними. */
  .photo-panel ~ :not(.photo-panel) { position: relative; z-index: 2; }
  /* страховка: если карточка всё же выше экрана, текст не обрезается */
  .photo-panel__card {
    max-height: calc(100svh - clamp(3rem, 6vw, 7rem));
    overflow-y: auto;
  }
}
/* На невысоких экранах ритм внутри карточки плотнее, чтобы она влезала целиком */
@media (min-width: 900px) and (max-height: 840px) {
  .photo-panel__card { padding: clamp(1.1rem, 2.2vw, 2rem); font-size: .94rem; }
  .photo-panel__card h2 { font-size: clamp(1.35rem, 2.2vw, 2rem); margin-bottom: .55em; }
  .photo-panel__card p { margin-bottom: .8em; }
  .photo-panel__card .bullets { margin-bottom: .8em; }
  .photo-panel__card .bullets li { margin-bottom: .4em; }
}
/* Фон отдельным слоем — чтобы его можно было медленно наезжать,
   как движется видео на первом экране главной. */
.photo-panel__bg {
  position: absolute; inset: 0;
  z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.photo-panel--wave::before {
  content: "";
  position: absolute; top: -1px; left: 0; right: 0;
  z-index: 2;
  height: clamp(28px, 4vw, 72px);
  background: var(--c-bg);
  -webkit-mask-image: var(--wave-top); mask-image: var(--wave-top);
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.photo-panel__inner { position: relative; z-index: 1; display: flex; justify-content: flex-end; }
.photo-panel--left .photo-panel__inner { justify-content: flex-start; }
.photo-panel__card {
  width: min(53%, 760px);
  /* Без backdrop-filter: на странице два десятка таких карточек,
     и каждое размытие — отдельный слой, который пересчитывается при прокрутке. */
  background: rgba(255, 255, 255, .86);
  border-radius: clamp(16px, 2vw, 30px);
  padding: clamp(1.5rem, 3.2vw, 3.4rem);
}
.photo-panel__card h2 { margin: 0 0 .8em; font-weight: 700; }
.photo-panel__card p { margin: 0 0 1.1em; }
.photo-panel__card .bullets { margin-bottom: 1.1em; }
.photo-panel__card .bullets li { margin-bottom: .75em; }
.photo-panel__card .bullets li:last-child { margin-bottom: 0; }
.photo-panel__card > :last-child { margin-bottom: 0; }
.photo-panel__listTitle { margin-bottom: .7em; }
/* Панель без фотографии — пока её нет, карточка лежит на светлом фоне */
.photo-panel--plain { background: var(--c-white); }
.photo-panel--plain .photo-panel__card { background: hsl(0, 0%, 94%); }

/* Частые вопросы: слева заголовок и кнопка, справа аккордеон */
.faq-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}
.faq-split__title {
  margin: 0 0 .6em;
  font-size: clamp(1.7rem, 3.2vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
}
.faq-split__lead p { margin: 0; }
.faq-split__btn {
  margin-top: clamp(1.5rem, 3vw, 2.6rem);
  border-radius: 999px;
  padding: 1em 2.2em;
}
.faq-split__list .acc:first-child { border-top: 1px solid var(--c-border); }
@media (max-width: 899px) {
  .faq-split { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 899px) {
  .photo-panel__card { width: 100%; }
}

:root {
  --wave-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0,0 H1440 V18 C1250,80 1040,62 700,42 C420,26 220,14 0,22 Z' fill='%23fff'/%3E%3C/svg%3E");
}
.prose h2, .case__body h2 { margin-bottom: .6em; }

/* Видеогалерея */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
  margin-top: 1.5rem;
}
.video button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  cursor: pointer;
}
.video img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: opacity .3s ease; }
.video button:hover img { opacity: .75; }
.video__play {
  position: absolute; inset: 50% auto auto 50%; translate: -50% -50%;
  width: 56px; height: 40px;
  border-radius: 8px;
  background: rgba(0,0,0,.65);
}
.video__play::after {
  content: "";
  position: absolute; inset: 50% auto auto 50%; translate: -40% -50%;
  border-style: solid;
  border-width: 8px 0 8px 13px;
  border-color: transparent transparent transparent #fff;
}
.video button:hover .video__play { background: var(--c-green); }
.video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 8px; display: block; }

/* Галерея таблиц */
/* Справочные таблицы: по одной в ряд во всю ширину — иначе мелкий шрифт не читается */
.gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-top: 2rem;
}
.gallery figure { margin: 0; }
.gallery img { width: 100%; border: 1px solid var(--c-border); border-radius: 8px; }
.gallery figcaption { margin-top: .6rem; font-size: .85rem; font-weight: var(--fw-medium); }

/* Списки документов */
.link-list { margin-top: 2rem; }
.acc__count {
  margin-left: auto;
  margin-right: .75rem;
  font-size: .75rem;
  font-weight: var(--fw-regular);
  opacity: .55;
}
.doc-list { display: grid; gap: .5rem; padding-left: 0; }
.doc-list li { font-size: .9rem; line-height: 1.5; }
.doc-list a { text-decoration: underline; text-decoration-color: rgba(0,0,0,.25); text-underline-offset: 3px; }
.doc-list a:hover { text-decoration-color: currentColor; }

/* Сетка карточек */
/* Карточки партнёров: логотип на белом поле, описание, перечень линеек.
   Колонки подстраиваются под ширину: на телефоне одна, на мониторе до трёх. */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
  margin-top: clamp(1.75rem, 3.5vw, 3rem);
}
.partner-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  border: 1px solid var(--c-border);
  border-radius: 14px;
  background: var(--c-white);
}
.partner-card__logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 4.5rem;
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}
.partner-card__logo img { max-height: 4.5rem; width: auto; object-fit: contain; }
.partner-card__name { margin: 0 0 .35em; font-size: var(--h3); }
.partner-card__meta {
  margin: 0 0 1em;
  color: var(--c-text-muted);
  font-weight: var(--fw-regular);
}
.partner-card p { margin: 0 0 1em; }
.partner-card .bullets { margin-bottom: 1.25rem; }
/* кнопка прижата к низу, чтобы в ряду карточек они заканчивались ровно */
.partner-card__btn { margin-top: auto; align-self: flex-start; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
  margin-top: 2rem;
}
.card a {
  display: block;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: var(--c-dark);
}
.card a:hover { text-decoration: none; }
.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.6,.2,1), opacity .3s ease;
}
.card a:hover img { transform: scale(1.05); opacity: .8; }
.card__label {
  position: absolute;
  inset: auto 0 0;
  padding: 1rem;
  background: linear-gradient(0deg, rgba(0,0,0,.75), rgba(0,0,0,0));
  color: #fff;
  font-weight: var(--fw-medium);
}

/* Формы */
/* Страница контактов: слева текст и реквизиты, справа форма */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.contact__title { margin: 0 0 clamp(1.25rem, 2.5vw, 2rem); }
.contact__info p { line-height: 1.75; }
.contact__links { display: flex; flex-direction: column; gap: .2rem; }
.contact__links a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.contact__address { margin-top: 1.2rem; }
.contact__social {
  display: flex;
  gap: clamp(1rem, 2vw, 1.6rem);
  margin: clamp(2rem, 4vw, 3.5rem) 0 0;
  padding: 0;
  list-style: none;
}
.contact__social a { color: inherit; display: inline-flex; }
.social-icon { width: 1.5rem; height: 1.5rem; display: block; }

/* Поля — вытянутые «пилюли» с тонкой тёмной рамкой, как в оригинале */
.field { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1.1rem; min-width: 0; }
.field__label { font-size: .95rem; }
.field__req { color: rgba(0, 0, 0, .45); font-size: .92em; }
.field__input {
  font: inherit;
  width: 100%;
  padding: .8rem 1.1rem;
  border: 1px solid var(--c-text);
  border-radius: 999px;
  background: #fff;
  color: inherit;
  appearance: none;
}
.field__input--area {
  min-height: 7.5rem;
  border-radius: 18px;
  resize: vertical;
}
.field__input--select {
  /* место под стрелку справа */
  padding-right: 2.8rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  background-size: .8rem;
}
.field__input:focus-visible { outline: 2px solid var(--c-green); outline-offset: 1px; }

.field-group { border: 0; margin: 0 0 1.1rem; padding: 0; min-width: 0; }
.field-group__title { padding: 0; margin-bottom: .45rem; font-size: .95rem; }
.field-row { display: flex; gap: clamp(.6rem, 1.4vw, 1.1rem); }
.field-row > .field { flex: 1 1 0; }
.field-row > .field--full { flex: 1 1 100%; }

/* Список с кружками выбора */
.radio-list { margin: .3rem 0 0; padding: 0; list-style: none; }
.radio-list li { display: flex; align-items: center; gap: .8rem; padding: .45rem 0; }
.radio-list__input {
  appearance: none;
  flex: none;
  width: 1.4rem; height: 1.4rem;
  margin: 0;
  border: 1px solid var(--c-text);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}
.radio-list__input:checked { border-width: .42rem; }
.radio-list__input:focus-visible { outline: 2px solid var(--c-green); outline-offset: 2px; }
.radio-list__label { cursor: pointer; }

.contact__actions { margin: clamp(1.25rem, 2.5vw, 2rem) 0 0; text-align: center; }
/* На странице поддержки кнопка во всю ширину формы, как в оригинале. */
.contact__actions--wide .btn { display: block; width: 100%; }

@media (max-width: 860px) {
  .contact { grid-template-columns: minmax(0, 1fr); }
  .field-row { flex-wrap: wrap; }
  .field-row > .field { flex: 1 1 10rem; }
}

/* Логотипы клиентов: лента едет сама, набор продублирован,
   поэтому на стыке копий шва не видно. */
.logo-wall {
  overflow: hidden;
  /* подложка в самих файлах логотипов — чисто белая; делаем полосу такой же,
     иначе каждый логотип читается как белая плашка на светло-сером фоне */
  background: #fff;
  padding-block: clamp(1rem, 2vw, 1.75rem);
  /* полоса идёт от края до края экрана, как в оригинале */
  margin-inline: calc(50% - 50vw);
  /* края растворяются, чтобы логотипы не обрубались на границе */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.logo-wall__track {
  display: flex;
  align-items: center;
  gap: clamp(2.5rem, 5.5vw, 6rem);
  width: max-content;
  padding-inline: clamp(1.25rem, 2.75vw, 3rem);
  animation: logo-wall 60s linear infinite;
}
.logo-wall:hover .logo-wall__track { animation-play-state: paused; }
@keyframes logo-wall { to { transform: translateX(calc(-50% - clamp(1.25rem, 2.75vw, 3rem))); } }
@media (prefers-reduced-motion: reduce) {
  .logo-wall__track { animation: none; }
  .logo-wall { overflow-x: auto; scrollbar-width: none; }
}
.logo-wall__track img {
  height: clamp(92px, 8.6vw, 132px);
  width: auto;
  flex: none;
  object-fit: contain;
  /* у логотипов белая подложка в самом файле; умножение убирает её,
     иначе на светлом фоне они выглядят как белые плашки */
  mix-blend-mode: multiply;
  filter: grayscale(1);
  opacity: .85;
  transition: filter .3s ease, opacity .3s ease;
}
.logo-wall__track img:hover { filter: none; opacity: 1; }

/* Бегущая строка */
/* Бегущая строка светлая, как в оригинале: тёмный текст на фоне страницы,
   отделена сверху и снизу тонкими линиями. */
.marquee {
  background: var(--c-green);
  color: #fff;
  overflow: hidden;
  padding-block: 1.05rem;
}
/* Светлый вариант — на первом экране главной */
.marquee--light {
  background: var(--c-bg);
  color: var(--c-text);
  border-block: 1px solid var(--c-border);
}
.marquee--light .marquee__track { font-weight: var(--fw-medium); }
.marquee__track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: marquee 48s linear infinite;
  font-size: clamp(.95rem, 1.3vw, 1.2rem);
  font-weight: 700;
  white-space: nowrap;
}
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* Финальный баннер */
.brand-banner {
  position: relative;
  min-height: clamp(320px, 44vw, 820px);
  display: grid;
  place-items: end center;
  padding-bottom: clamp(1.5rem, 4vw, 3.5rem);
  overflow: hidden;
  text-align: center;
}
.brand-banner img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Не ровная заливка поверх всей фотографии, а затемнение только снизу —
   кадр остаётся светлым, а логотип внизу читается. */
.brand-banner::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(0,0,0,0) 42%, rgba(0,0,0,.45) 74%, rgba(0,0,0,.82) 100%);
}
.brand-banner__logo { position: relative; z-index: 2; width: min(25%, 520px); min-width: 180px; }

/* ---------------- Подвал ---------------- */

.site-footer {
  background: #0d0d0d;
  color: #e8e8e8;
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
  font-size: .85rem;
}
.footer__top { text-align: center; margin-bottom: 2.5rem; }
.footer__top a { font-size: .85rem; opacity: .7; }

.footer__grid {
  display: grid;
  grid-template-columns: auto repeat(4, minmax(0, 1fr)) auto;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
}
.footer__badge img { width: clamp(90px, 9vw, 125px); }
.footer__col h4 {
  font-size: .85rem;
  font-weight: var(--fw-medium);
  margin-bottom: .9rem;
  color: #fff;
}
.footer__col li { margin-bottom: .4rem; }
.footer__col a { opacity: .75; }
.footer__col a:hover { opacity: 1; }

.footer__company { text-align: right; line-height: 1.9; }
.footer__company strong { display: block; font-weight: var(--fw-medium); color: #fff; }
.footer__company a { color: var(--c-lime); }

.footer__contact { text-align: center; margin: 2.5rem 0 1.5rem; }
.footer__contact a { color: var(--c-lime); }

.footer__legal {
  font-size: .7rem;
  line-height: 1.8;
  opacity: .6;
  text-align: center;
  max-width: 92ch;
  margin-inline: auto;
}
.footer__copy { text-align: center; font-size: .72rem; opacity: .75; margin-top: 1.5rem; }

/* ---------------- Адаптив ---------------- */

@media (max-width: 1100px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer__badge, .footer__company { grid-column: 1 / -1; text-align: center; }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 6rem var(--page-padding) 3rem;
    background: var(--c-dark);
    color: #fff;
    overflow-y: auto;
    translate: 100% 0;
    transition: translate .35s cubic-bezier(.2,.6,.2,1);
    z-index: 60;
  }
  body.nav-open .nav { translate: 0 0; }
  body.nav-open { overflow: hidden; }
  /* Панель меню лежит внутри шапки и выше кнопки, поэтому закрыть её тем же
     нажатием было нельзя — палец попадал в панель. Поднимаем кнопку над
     панелью: сверху у панели для этого и оставлено 6rem пустого поля. */
  body.nav-open .nav-toggle { position: relative; z-index: 61; }
  /* и сама кнопка становится крестиком, чтобы было понятно, что она закроет.
     Первый span — скрытая подпись «Меню», полоски идут со второго. */
  body.nav-open .nav-toggle span:nth-of-type(2) { transform: translateY(8px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-of-type(3) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-of-type(4) { transform: translateY(-8px) rotate(-45deg); }
  /* display: flex вместо inline-flex — пункт занимает всю ширину панели,
     поэтому разделительная черта идёт до края, а не обрывается по тексту,
     и нажимается вся строка, а не только надпись */
  .nav__link { display: flex; padding: .85rem 0; font-size: 1.15rem; border-bottom: 1px solid rgba(255,255,255,.12); justify-content: space-between; }
  .nav__submenu {
    position: static;
    translate: none;
    opacity: 1;
    visibility: visible;
    background: none;
    box-shadow: none;
    color: inherit;
    display: none;
    padding: .25rem 0 .75rem 1rem;
    min-width: 0;
  }
  .nav__item.is-open .nav__submenu { display: block; }
  .site-logo img { height: var(--logo-height-mobile); }
  .site-header { padding-block: var(--header-pad-y-mobile); }
  /* Логотип — гибкий элемент строки шапки и на узком экране сплющивался:
     на 390px он выходил 79px вместо 121, на 320px — 9px, то есть полоской.
     Запрещаем сжимать его и поджимаем всё остальное, чтобы строка влезла. */
  .site-logo { flex: 0 0 auto; }
  .site-logo img { flex: none; width: auto; max-width: none; }
  .site-header__inner { gap: .75rem; }
  .header-actions { gap: .6rem; }
  .header-actions .btn { padding: .55rem 1rem; font-size: .9rem; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); text-align: center; }
  /* На телефоне ссылки футера идут сплошным списком и по высоте были 19px —
     пальцем в такую попасть трудно. Разводим строки до 40px, не трогая
     размер шрифта: на вид список просто дышит свободнее. */
  .footer__col li { margin-bottom: 0; }
  .footer__col li a { display: inline-block; padding-block: .55rem; }
  /* мелкий шрифт сносок на узком экране поднимаем до читаемого минимума */
  .footer__legal { font-size: .78rem; }
  .footer__copy { font-size: .8rem; }
  /* Переключатель языка, почта в подвале и значки соцсетей по высоте были
     19–24px — для пальца мало. Расширяем область нажатия невидимой рамкой:
     вид не меняется, промахнуться стало труднее. */
  .lang-switch a,
  .footer__contact a,
  .contact__social a,
  .footer__col li a { position: relative; }
  .lang-switch a::after,
  .footer__contact a::after,
  .contact__social a::after {
    content: "";
    position: absolute;
    inset: -11px -8px;
  }
  /* .case__inner--narrow.case__inner--flip весомее одиночного класса,
     поэтому на телефоне его нужно перекрыть явно */
  .case__inner,
  .case__inner--narrow,
  .case__inner--narrow.case__inner--flip { grid-template-columns: minmax(0, 1fr); }
  .case__inner--flip .case__media { order: 0; }
}

/* На экранах уже 380px строка шапки впритык: логотип чуть уменьшаем */
@media (max-width: 379px) {
  .site-logo img { height: 28px; }
  .header-actions .btn { padding: .5rem .7rem; font-size: .8rem; }
  .lang-switch { font-size: .75rem; gap: .2rem; }
  /* на 320px русская строка («Связаться» длиннее «Contact») не помещалась
     и растягивала страницу на 10px — ужимаем поля и просветы */
  .site-header__inner { padding-inline: 14px; gap: .5rem; }
  .header-actions { gap: .4rem; }
}

/* На узком экране значок уходит из-под текста наверх, в поток */
@media (max-width: 700px) {
  .hero__badge {
    position: static;
    width: 96px;
    margin-bottom: 1.25rem;
    order: -1;
  }
  .hero { flex-direction: column; justify-content: flex-end; align-items: flex-start; }
  .hero__inner { order: 1; }
  .hero:has(.hero__badge) .hero__inner { padding-left: 0; }
  .hero__badge { margin-left: var(--page-padding); }
}

/* ---------------- Появление при скролле ---------------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--anim-duration) var(--anim-easing),
              transform var(--anim-duration) var(--anim-easing);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Список документов на странице «Условия» — ссылка плюс описание */
.doc-list--docs { gap: 1.5rem; margin-top: 1.5rem; }
.doc-list--docs li { font-size: 1rem; }
.doc-list--docs > li > a { font-weight: 600; }
.doc-list--docs p { margin: .35rem 0 0; opacity: .72; font-size: .95rem; }

/* Две карточки со ссылкой (страница Hyak) */
.callouts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
}
.callout {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: hsl(0, 0%, 96%);
  border-radius: clamp(14px, 1.4vw, 22px);
  padding: clamp(1.5rem, 2.8vw, 2.8rem);
}
.callout__title { margin: 0 0 .7em; font-size: clamp(1.3rem, 2vw, 1.9rem); line-height: var(--lh-tight); }
.callout__text { margin: 0 0 1.6em; }
.callout__btn { margin-top: auto; border-radius: 999px; padding: .9em 2em; }

/* Логотип внутри карточки-панели (Clemco University) */
.photo-panel__logo {
  float: right;
  width: clamp(110px, 16%, 190px);
  margin: 0 0 1rem 1.5rem;
  shape-outside: margin-box;
}
@media (max-width: 599px) {
  .photo-panel__logo { float: none; display: block; margin: 0 auto 1rem; }
}

/* Блок с видео */
.video-block__title { margin-bottom: clamp(1rem, 2vw, 1.75rem); }
.video-block__player {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 2px;
}
.prose__listTitle { margin: clamp(1.25rem, 2.5vw, 2rem) 0 .75rem; font-size: 1.05rem; }

/* Встроенная листалка каталога */
.embed-block { padding: 0 0 clamp(1.5rem, 3vw, 2.5rem); background: #fff; }
.embed-block__wrap { position: relative; }
.embed-block__frame {
  display: block;
  width: 100%;
  height: clamp(420px, 56vw, 820px);
  border: 0;
}
/* Прозрачный щит: ловит колесо мыши, пока листалку не активировали щелчком */
.embed-block__shield {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: end center;
  padding: 0 0 clamp(1rem, 2vw, 1.75rem);
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.embed-block__wrap.is-live .embed-block__shield { display: none; }
.embed-block__hint {
  padding: .5rem 1.1rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, .68);
  color: #fff;
  font-size: .85rem;
  opacity: .85;
  transition: opacity .2s;
}
.embed-block__shield:hover .embed-block__hint { opacity: 1; }
.embed-block__link { margin: clamp(1rem, 2vw, 1.5rem) 0 0; text-align: center; }

/* Одноколоночная форма (гарантия): заголовок сверху, под ним поля */
.contact--single { display: block; max-width: 1120px; }
/* font-size задаём явно: в разметке тут h2 (h1 занят баннером), а размер
   должен остаться прежним, крупным */
.contact__title--page { max-width: 8ch; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); font-size: var(--h1); }

.field-note { margin: clamp(1.5rem, 3vw, 2.5rem) 0 1rem; }
.field-note__title { margin: 0 0 .5rem; font-size: 1.05rem; font-weight: var(--fw-medium); }
.field-note p { margin: 0; color: rgba(0, 0, 0, .66); }

/* Строка оценки: пять вариантов в ряд под чертой */
.likert { margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.likert .field-group__title { margin-bottom: .75rem; font-size: 1.05rem; }
.likert__row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .5rem;
  margin: 0;
  padding: .9rem 0 0;
  border-top: 1px solid var(--c-text);
  list-style: none;
}
.likert__row li { display: flex; flex-direction: column; gap: .5rem; align-items: start; }
.likert__row label { font-size: .85rem; line-height: 1.3; cursor: pointer; }

@media (max-width: 700px) {
  .likert__row { grid-template-columns: minmax(0, 1fr); gap: .1rem; }
  .likert__row li { flex-direction: row; align-items: center; gap: .8rem; padding: .35rem 0; }
  .contact__title--page { max-width: none; }
}

/* Короткое поле (дата покупки) */
.field--narrow .field__input { max-width: 16rem; }

/* Подпись под фотографией в двухколоночном блоке */
.case__caption { margin-top: .75rem; }

/* fitHeight: фотография подстраивается под высоту текста, а не растягивает ряд.
   Картинка выведена из потока, поэтому высоту ряда задаёт только текстовая колонка. */
@media (min-width: 901px) {
  .case__inner:has(.case__media--fit) { align-items: stretch; }
  .case__media--fit { display: flex; flex-direction: column; min-height: 100%; }
  .case__media--fit .case__frame {
    position: relative;
    flex: 1 1 auto;
    min-height: 14rem;
  }
  .case__media--fit .case__frame img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

/* На узком экране колонки встают друг под друга: вертикальное фото
   ограничиваем по высоте, иначе оно занимает весь экран. */
@media (max-width: 900px) {
  .case__media--fit .case__frame img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 60svh;
    margin-inline: auto;
  }
}

/* ===================== Odoo integration ===================== */
/* Pictures with text baked in: one <img> per language, show the matching one. */
html:not([lang^="ru"]) .l10n-ru,
html:not([lang^="et"]) .l10n-et,
html[lang^="ru"] .l10n-en,
html[lang^="et"] .l10n-en { display: none !important; }
/* Editor: no reveal animation, show everything. */
body.editor_enable .reveal { opacity: 1; transform: none; transition: none; }
/* Bootstrap resets that leak into the design */
#wrapwrap { overflow: visible; }
.site-header .nav { flex-wrap: nowrap; margin-bottom: 0; } /* padding comes from the design */
#wrap.clemco-page { min-height: 0; }
