/* =========================================================
   Аристократ — стили сайта
   Брейкпоинты (как в оригинале на Elementor):
     ноутбук  ≤ 1366px
     планшет  ≤ 1024px
     телефон  ≤ 767px
   ========================================================= */

:root {
  --c-primary: #5B0A24;
  --c-secondary: #AF3561;
  --c-text: #000;
  --c-accent: #FFFFFF; /* был светло-розовый #FFF9FB — заменён на белый по всему сайту */
  --c-pink: #FA6890;
  --c-rose: #FD9DB7;
  --c-ruby: #AA0C3D;
  --c-blush: #EBDFE3;
  --c-mauve: #A07F8B;
  --c-wine: #350D1A;
  --c-footer-bottom: #22060F;
  --c-dropdown: #DECBD2;
  --c-dropdown-hover: #D4BCC5;

  --f-main: "atyp-kido-variable", "Segoe UI", Arial, sans-serif;
  --f-script: "lumios-marker", "atyp-kido-variable", cursive;
  --f-montserrat: "Montserrat", "Segoe UI", Arial, sans-serif;
  --f-poppins: "Poppins", "Segoe UI", Arial, sans-serif;

  --container: 1400px;
  /* боковое поле на телефоне (≤767px) — одно на весь сайт: 8% ширины экрана (30px на 375px), не меньше 24px и не больше 40px */
  --gutter: clamp(24px, 8vw, 40px);

  /* единая шкала скруглений: крупные блоки и фото — lg, поля ввода, меню, карта — md, мелочи — sm;
     кнопки — полностью круглые (999px), иконки — круги (50%) */
  --radius-lg: 32px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-main);
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  background: var(--c-accent);
  overflow-x: hidden;
  overflow-x: clip;
}
/* блоки, «въезжающие» сбоку (fadeInLeft/Right), во время анимации выходят за край экрана;
   на иврите (RTL) Chrome из-за этого сдвигал всю страницу вбок — обрезаем их внутри основной области */
#content { overflow-x: clip; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: inherit; line-height: 1.2; }
p { margin: 0 0 .9rem; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.nowrap { white-space: nowrap; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 10px; top: -60px; z-index: 100;
  background: var(--c-primary); color: #fff; padding: 10px 16px; border-radius: 999px;
}
.skip-link:focus { top: 10px; }
:focus-visible { outline: 2px solid var(--c-secondary); outline-offset: 3px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 10px;
}

/* ---------- Анимации появления (как в Elementor) ---------- */
html.js [data-anim] { opacity: 0; }
html.js [data-anim].is-in {
  opacity: 1;
  animation-duration: 1.25s;
  animation-fill-mode: both;
}
html.js [data-anim][data-anim-slow].is-in { animation-duration: 2s; }
html.js [data-anim="fadeIn"].is-in      { animation-name: fadeIn; }
html.js [data-anim="fadeInUp"].is-in    { animation-name: fadeInUp; }
html.js [data-anim="fadeInLeft"].is-in  { animation-name: fadeInLeft; }
html.js [data-anim="fadeInRight"].is-in { animation-name: fadeInRight; }
html.js [data-anim="zoomIn"].is-in      { animation-name: zoomIn; }
/* «выплывает» снизу; через свойство translate — не мешает зеркальному transform: scaleX(-1) у талисманов */
html.js [data-anim="riseUp"].is-in      { animation-name: riseUp; animation-timing-function: cubic-bezier(.2, .8, .3, 1); animation-duration: 1.4s; }
@keyframes riseUp { from { opacity: 0; translate: 0 22%; } to { opacity: 1; translate: 0 0; } }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translate3d(0, 100%, 0); } to { opacity: 1; transform: none; } }
@keyframes fadeInLeft { from { opacity: 0; transform: translate3d(-100%, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes fadeInRight { from { opacity: 0; transform: translate3d(100%, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes zoomIn { from { opacity: 0; transform: scale3d(.3, .3, .3); } 50% { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html.js [data-anim] { opacity: 1; }
  html.js [data-anim].is-in { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Общие заголовки ---------- */
.script-title {
  font-family: var(--f-script);
  font-weight: 100;
  font-size: 70px;
  line-height: 1;
  letter-spacing: 1.1px;
  color: var(--c-secondary);
  margin: 0 0 20px;
  text-align: center;
}
.script-title--white { color: #fff; }
.script-title--black { color: #000; }
.script-title--ruby { color: var(--c-ruby); }
.script-title--xl { font-size: 100px; color: #fff; margin: 0; }

.section-subtitle {
  font-size: 35px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 1.1px;
  color: var(--c-secondary);
  text-align: center;
  margin: -10px 0 45px;
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-main);
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 18px 60px;
  border: 2px solid currentColor;
  border-radius: 999px; /* полное скругление */
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background-color .3s, border-color .3s, color .3s;
}
.btn--ghost-light:hover, .btn--ghost-light:focus-visible {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
}
.btn--wide:hover, .btn--wide:focus-visible { background: var(--c-secondary); border-color: var(--c-secondary); }
.btn--wobble:hover { animation: wobbleX 1s ease-in-out 1; }
@keyframes wobbleX {
  16.65% { transform: translateX(8px); }
  33.3%  { transform: translateX(-6px); }
  49.95% { transform: translateX(4px); }
  66.6%  { transform: translateX(-2px); }
  83.25% { transform: translateX(1px); }
  100%   { transform: translateX(0); }
}

/* =========================================================
   ШАПКА
   ========================================================= */
.site-header {
  position: relative;
  z-index: 20;
  background: var(--c-accent);
}
.header-inner {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100px;
  padding: 0 50px;
}
.main-nav { flex: 0 1 40%; margin-top: 24px; min-width: 0; }
/* 5 пунктов меню должны стоять в одну строку: шрифт и промежутки плавно уменьшаются на экранах уже 1920px */
.nav-menu { display: flex; flex-wrap: wrap; gap: 0 clamp(20px, 1.6vw, 35px); }
.nav-menu a,
.nav-sub__toggle {
  position: relative;
  display: block;
  padding: 13px 0;
  font-size: clamp(15px, calc(1.15vw - 1px), 20px);
  line-height: 20px;
  color: #000;
}
.nav-menu a::after,
.nav-sub__toggle::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--c-secondary);
  opacity: 0;
  transform: scaleX(.2);
  transition: opacity .3s, transform .3s;
}
.nav-menu a:hover::after,
.nav-menu a:focus-visible::after,
.nav-menu a[aria-current="page"]::after,
.nav-sub__toggle:hover::after,
.nav-sub__toggle:focus-visible::after,
.nav-sub.open > .nav-sub__toggle::after,
.nav-sub:has([aria-current="page"]) > .nav-sub__toggle::after { opacity: 1; transform: none; }

/* Пункт «Продукция» с выпадающим списком страниц каталога */
.nav-sub { position: relative; }
.nav-sub__toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: none;
  font-family: inherit;
  font-weight: inherit;
  cursor: pointer;
}
.nav-sub__caret { width: 10px; height: 6px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.nav-sub.open .nav-sub__caret { transform: rotate(180deg); }
.nav-sub__list {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline-start: -14px;
  z-index: 30;
  display: none;
  flex-direction: column;
  min-width: 200px;
  padding: 6px;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 8px 24px rgba(91, 10, 36, .18);
}
.nav-sub__list::before { content: ""; position: absolute; inset-inline: 0; bottom: 100%; height: 8px; } /* «мостик», чтобы список не закрывался, пока курсор едет к нему */
.nav-sub.open .nav-sub__list { display: flex; }
@media (hover: hover) and (min-width: 1281px) {
  .nav-sub:hover .nav-sub__list { display: flex; }
}
.nav-menu .nav-sub__list a {
  padding: 8px 14px;
  font-size: 16px;
  line-height: 1.3;
  white-space: nowrap;
  border-radius: var(--radius-sm);
  transition: color .2s;
}
.nav-menu .nav-sub__list a::after { display: none; }
.nav-menu .nav-sub__list a:hover,
.nav-menu .nav-sub__list a:focus-visible,
.nav-menu .nav-sub__list a[aria-current="page"] { color: var(--c-secondary); }
.nav-menu .nav-sub__list a[aria-current="page"] { font-weight: 600; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--c-primary);
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; fill: currentColor; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

.header-logo {
  flex: 0 1 20%;
  display: flex;
  justify-content: center;
  margin-bottom: -87px;
  position: relative;
  z-index: 2;
}
.header-logo img { width: 330px; max-width: 100%; }

.header-contacts {
  flex: 0 1 40%;
  padding: 10px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 37px;
  margin-top: 24px;
  min-width: 0;
}
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: #000;
  font-family: var(--f-montserrat);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 1.5px;
  white-space: nowrap;
}
.header-phone__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 31px; height: 31px;
  border: 1px solid var(--c-secondary);
  border-radius: 50%;
}
.header-phone__icon svg { width: 15px; height: 15px; fill: var(--c-secondary); }

.socials { display: flex; flex-wrap: wrap; }
.socials a { display: inline-flex; align-items: center; justify-content: center; transition: color .3s, border-color .3s, background-color .3s; }
.socials svg { fill: currentColor; }

/* соцсети в шапке — залитые круги фирменного цвета с белой иконкой */
.socials--header { gap: 6px; flex-wrap: nowrap; }
.socials--header a {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--c-secondary);
  color: #fff;
}
.socials--header svg { width: 14px; height: 14px; }
.socials--header a:hover, .socials--header a:focus-visible { background: var(--c-primary); }

/* =========================================================
   ГЛАВНАЯ — первый экран
   ========================================================= */
.hero {
  position: relative;
  /* на весь экран: высота окна минус шапка (--header-h ставит main.js) */
  height: calc(100vh - var(--header-h, 90px));
  height: calc(100svh - var(--header-h, 90px));
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 10vw;
  overflow: hidden;
  background: #0d1214;
}
.hero__slides, .hero__slide { position: absolute; inset: 0; }
/* у каждого слайда 3 фото: компьютер (--bg-d), планшет стоя (--bg-t), телефон (--bg-m) — браузер грузит только нужное */
.hero__slide.is-ready { background-image: var(--bg-d); background-position: center 78%; } /* фото компьютера: упаковки чуть выше, ближе к середине экрана */
@media (max-aspect-ratio: 4/5) { .hero__slide.is-ready { background-image: var(--bg-t); background-position: center; } }
@media (max-aspect-ratio: 2/3) and (max-width: 767px) { .hero__slide.is-ready { background-image: var(--bg-m); background-position: center; } } /* фото телефона — только на телефонах; узкие высокие планшеты (Surface 960×1440) берут фото планшета */
.hero__slide {
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 2.5s ease;
}
.hero__slide.is-active { opacity: 1; }
/* текст — как в макете: слева (на иврите справа), 2 тонкие строки + жирные; кегль от ширины экрана */
.hero__title {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: start;
  color: #fff;
  font-size: clamp(30px, 2.65vw, 86px);
  line-height: 1.19;
}
.hero__line { display: block; }
.hero__line--light { font-weight: 300; }
.hero__line--bold { font-weight: 700; }
.hero__br { display: none; }
/* телефон: текст в 3 строки — «Вкусы бывают разные, / Аристократ есть только / один!» (переносы — <br class="hero__br">) */
@media (max-width: 767px) {
  .hero__title { display: block; }
  .hero__line { display: inline; }
  .hero__br { display: inline; }
  .hero .hero__title { font-size: min(6.1vw, 34px); text-align: center; }
  html[lang="he"] .hero .hero__title { font-size: min(8.2vw, 44px); }
  /* текст ниже от шапки (по фото с телефона пользователя): русский — больше, иврит — чуть меньше */
  section.hero { padding-top: 12.5vh; }
  html[lang="he"] section.hero { padding-top: 9.5vh; }
}
/* рисованное подчёркивание под «один!» / «אחד!» — рисуется линией по кругу */
/* --mark-dy опускает линию: у шрифтов разная высота строки, поэтому отступ от букв подобран для каждого языка */
.hero__mark { position: relative; display: inline-block; --mark-dy: .32em; }
html[lang="he"] .hero__mark { --mark-dy: .04em; }
.hero__mark svg {
  position: absolute;
  left: 50%; top: 50%;
  width: calc(100% + 16px);
  height: calc(100% + 16px);
  transform: translate(-50%, calc(-50% + var(--mark-dy)));
  overflow: visible;
  pointer-events: none;
}
/* анимация 1:1 как на старом сайте (Elementor «underline_zigzag»): линия рисуется 1.7s (ease),
   держится 1.5s, гаснет с размытием 0.4s (hide-highlight), пауза — и снова */
.hero__mark path {
  fill: none;
  stroke: #fff;
  stroke-width: 6;
  stroke-dasharray: 0 1500;
  opacity: 0;
}
.hero__line.is-in .hero__mark path { animation: drawMark 4.2s infinite; }
@keyframes drawMark {
  0%     { opacity: 1; stroke-dasharray: 0 1500; filter: none; animation-timing-function: ease; }
  40.48% { opacity: 1; stroke-dasharray: 1500 1500; filter: none; }
  76.19% { opacity: 1; stroke-dasharray: 1500 1500; filter: blur(0); animation-timing-function: ease; }
  85.71% { opacity: 0; stroke-dasharray: 1500 1500; filter: blur(10px); }
  100%   { opacity: 0; stroke-dasharray: 0 1500; filter: blur(10px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__mark path, .hero__line.is-in .hero__mark path { animation: none; opacity: 1; stroke-dasharray: 1500 1500; }
}
/* вертикальный экран (телефон, планшет стоя): текст сверху над упаковками, в кадре — упаковки */
@media (max-aspect-ratio: 4/5) {
  .hero { justify-content: flex-start; padding-top: 6vh; }
  .hero__title { font-size: clamp(24px, 7vw, 56px); }
}
/* ---------- Мы производим ---------- */
.products {
  position: relative;
  background: var(--c-accent);
  padding: 150px 10px 190px;
}
.products__list {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  padding: 10px 0;
}
/* «Мы производим натуральные полуфабрикаты» — одной строкой: кегль уменьшается с шириной экрана */
.products .script-title { font-size: clamp(38px, 5.2vw, 70px); margin-bottom: 40px; }
html[lang="he"] .products .script-title { font-size: clamp(32px, 4.3vw, 58px); }
.product { flex: 0 1 330px; text-align: center; }
.product img { width: 100%; filter: brightness(1.025); } /* у фото чуть розовый фон (255,250,252) — доводим его до белого */
.product h3 {
  font-size: 35px;
  font-weight: 400;
  line-height: 1;
  color: #000;
  margin-top: 5px;
}
.products__badge {
  position: absolute;
  inset-inline-end: 0;
  top: -83px;
  width: 300px;
  z-index: 3;
  display: flex;
  justify-content: center;
}
.products__badge img { width: 56%; transition: transform 1s ease; }
.products__badge:hover img { transform: rotate(360deg); }

/* ---------- Наше производство (видео) ---------- */
/* блок в формате самого ролика (2.34:1) — видео видно целиком, без чёрных полос */
.video-band {
  position: relative;
  aspect-ratio: 1280 / 547;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 10px;
  overflow: hidden;
  background: #1a0a10;
  text-align: center;
}
.video-band__bg { position: absolute; inset: 0; overflow: hidden; }
/* заставка и видео — кадр 16:9 с полосами внутри; размер задаёт скрипт, по центру блока полосы уходят за край */
.video-band__bg img, .video-band__bg video {
  position: absolute;
  top: 50%; left: 50%;
  width: 100%; height: auto;
  max-width: none;
  transform: translate(-50%, -50%);
}
.video-band__bg video { pointer-events: none; opacity: 0; transition: opacity .8s; }
.video-band__bg video.is-playing { opacity: 1; }
.video-band::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .48); }
.video-band > *:not(.video-band__bg) { position: relative; z-index: 1; }
.video-band .btn { margin-top: 10px; }

/* Окно с видео */
.video-modal {
  width: min(88vw, calc((100vh - 140px) * 1280 / 547)); /* крупное окно с отступами по бокам; не выше окна браузера */
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}
.video-modal::backdrop { background: rgba(20, 0, 8, .85); }
/* в файле картинка 2.34:1 и чёрные полосы внутри кадра 16:9 — окно в формате картинки,
   а само видео 16:9 выше окна, полосы уходят за край */
.video-modal__frame { position: relative; aspect-ratio: 1280 / 547; background: #000 center / cover no-repeat; /* + заставка (первый кадр фильма) из main.js */ border-radius: var(--radius-lg); overflow: hidden; }
.video-modal__player { position: absolute; left: -1.5%; right: -1.5%; top: 50%; aspect-ratio: 16 / 9; transform: translateY(-50%); pointer-events: none; opacity: 0; transition: opacity .25s; }
.video-modal__frame.is-ready .video-modal__player { opacity: 1; } /* видео проявляется поверх заставки, когда уже пошло */
.video-modal__player video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* вся площадь видео — кнопка паузы; значок по центру виден на паузе и при наведении */
.video-modal__toggle {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: background-color .3s, backdrop-filter .3s;
}
/* на паузе видео слегка затемняется и размывается, кнопка — плотный малиновый круг */
.video-modal__frame.is-paused .video-modal__toggle {
  background: rgba(20, 0, 8, .35);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.video-modal__big {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 92px; height: 92px;
  border-radius: 50%;
  background: rgba(20, 0, 8, .5);
  color: #fff;
  opacity: 0;
  transform: scale(.9);
  transition: opacity .25s, transform .25s, background-color .25s;
}
.video-modal__frame.is-paused .video-modal__big { background: var(--c-secondary); }
.video-modal__big svg { width: 36px; height: 36px; fill: currentColor; }
.video-modal__frame:hover .video-modal__big,
.video-modal__frame.is-paused .video-modal__big,
.video-modal__toggle:focus-visible .video-modal__big { opacity: 1; transform: none; }
.video-modal__sound {
  position: absolute;
  right: 18px; bottom: 18px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(20, 0, 8, .45);
  color: #fff;
  cursor: pointer;
  opacity: .85;
  transition: opacity .25s, background-color .25s;
}
.video-modal__sound:hover, .video-modal__sound:focus-visible { opacity: 1; background: var(--c-secondary); }
.video-modal__sound svg { width: 22px; height: 22px; fill: currentColor; }
.video-modal__close {
  position: absolute;
  top: -46px; right: 0;
  width: 40px; height: 40px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.video-modal__close svg { width: 24px; height: 24px; fill: currentColor; }

/* ---------- Каталог продукции: маскот-ведущий слева (на иврите справа) + 3 категории ---------- */
.catalog { position: relative; z-index: 2; background: var(--c-accent); padding: 10px 10px 180px; }
.catalog__inner {
  display: grid;
  grid-template-columns: minmax(0, 35fr) minmax(0, 65fr);
  grid-template-areas: "mascot title" "mascot list";
  grid-template-rows: auto 1fr;
  column-gap: 10px;
  max-width: 1680px;
}
.catalog__mascot { grid-area: mascot; min-width: 0; }
.catalog__mascot img { display: block; width: 100%; height: auto; }
html[lang="he"] .catalog__mascot img { transform: scaleX(-1); } /* на иврите показывает влево — на категории */
.catalog .script-title { grid-area: title; margin: 0 0 40px; padding-top: clamp(60px, 7.8vw, 150px); }
/* компьютер (экран лёжа): маскот цилиндром заходит на видео-полосу сверху */
@media (min-width: 1025px) and (orientation: landscape) {
  /* пропорции по макету заказчика (замерено на экране 2000px): всё в vw, чтобы масштаб был одинаковым на любом мониторе */
  .catalog__inner { width: 85.7vw; max-width: none; padding-inline: 0; margin-inline: 3.5vw auto; grid-template-columns: minmax(0, 28.3fr) minmax(0, 71.7fr); column-gap: 0; }
  .catalog__mascot { margin-top: -6vw; }
  .catalog__mascot img { width: 131.7%; max-width: none; } /* прозрачная правая часть картинки уходит под товары, рука почти касается пельменей */
  .catalog .script-title { line-height: 1.15; padding-top: 6.4vw; margin-bottom: 1.6vw; } /* кегль — как у заголовка блока ниже (70px) */
  .catalog .catalog__list { position: relative; gap: 0 1vw; padding-inline-start: 2.8vw; } /* отступ от руки маскота */
  .catalog__list .category__img { width: 100%; max-width: none; margin-inline: 0; }
  .catalog__list .category__name { margin-top: 1.4vw; font-size: 1.45vw; }
}
/* три категории: композиции на прозрачном фоне, название под фото чёрным */
.catalog__list { grid-area: list; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; padding: 10px 0; align-self: start; }
.category__link { display: block; color: #000; text-align: center; }
.category__img {
  display: block; width: 100%; height: auto; aspect-ratio: 1742 / 1302; object-fit: contain;
  transition: transform .4s ease;
}
.category__name { margin-top: 22px; font-size: clamp(20px, 1.5vw, 28px); font-weight: 700; line-height: 1.2; transition: color .2s; }
.category__link:hover .category__img, .category__link:focus-visible .category__img { transform: translateY(-6px); }
/* композиция из слоёв (пельмени): каждая пачка и каждый элемент — отдельная картинка;
   при наведении каждый сам по себе сжимается, подпрыгивает с растяжением и приземляется с «желейным» дрожанием.
   --d — задержка, --h — высота прыжка (cqw = % ширины композиции) */
.category__layers { position: relative; container-type: inline-size; }
.category__link:hover .category__layers, .category__link:focus-visible .category__layers { transform: none; }
.category__layers .ly { position: absolute; height: auto; max-width: none; transform-origin: 50% 50%; will-change: transform; }
.category__layers .ly--lie, .category__layers [class*="ly--pack"] { transform-origin: 50% 100%; }
@media (hover: hover) {
  .category__link:hover .ly { animation: squashHop .9s var(--d, 0ms) cubic-bezier(.3, .7, .4, 1) both; }
  .category__link:hover .ly--static { animation: none; } /* общая тень на «полу» остаётся на месте */
}
@keyframes squashHop {
  0%   { transform: translateY(0) scale(1, 1); }
  20%  { transform: translateY(0) scale(1.07, .89); }
  45%  { transform: translateY(calc(var(--h, 5cqw) * -1)) scale(.95, 1.07); }
  66%  { transform: translateY(0) scale(1.055, .93); }
  80%  { transform: translateY(0) scale(.98, 1.03); }
  92%  { transform: translateY(0) scale(1.01, .99); }
  100% { transform: translateY(0) scale(1, 1); }
}
.category__link:hover .category__name, .category__link:focus-visible .category__name { color: var(--c-secondary); }
.category__link:focus-visible { outline: 2px solid var(--c-secondary); outline-offset: 8px; border-radius: var(--radius-md); }
@media (prefers-reduced-motion: reduce) { .category__img { transition: none; } .category__link:hover .ly { animation: none !important; } }

/* ---------- Преимущества ---------- */
.advantages__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* было 4 пункта, «пробники» убраны */
  gap: 70px;
  padding: 10px 0;
}
.advantages__list li {
  display: flex;
  min-height: 216px;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.advantages__list img { width: 115px; height: 115px; }
.advantages__list h3 { font-size: 20px; font-weight: 600; line-height: 1.2; }

.advantages--photo {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  padding: 10px;
  background: #2a0f1a url("/assets/img/advantages-bg.webp?v=17d3e6ff") center / cover no-repeat; /* летящие чебуреки (Slider_BG_3); «О компании» оставляет пельмени price-bg */
}
.advantages--photo::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .53); }
.advantages--photo .container { position: relative; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.advantages--photo .script-title { margin: 0; }
.advantages--photo h3 { color: #fff; }
@media (min-width: 1367px) {
  .advantages--photo { background-attachment: fixed; }
}

.advantages--light { background: #fff; padding: 100px 10px 110px; }
.advantages--light .container { display: flex; flex-direction: column; align-items: center; gap: 30px; }
.advantages--light .script-title { margin: 0; }
.advantages--light h3 { color: #000; }

/* ---------- Блок прайс-листа с формой ---------- */
/* фото с пельменями — фон всей секции; текст слева прямо на фото, форма справа в белой карточке */
.price-section {
  position: relative;
  isolation: isolate;
  padding: 100px 10px 130px;
  background: #fff; /* белый блок, чёрный текст, форма с лёгкой тенью (как на «Партнёрам») */
}
.price-section > .container { padding-inline: 0; }
.price-section .script-title { margin-bottom: 31px; color: var(--c-ruby); }
.price-section .price-card__title, .price-section .price-card__lead { color: #000; }
.price-section .price-card .lead-form { box-shadow: 0 18px 50px rgba(91, 10, 36, .08); } /* = тень карточки на «Контактах» */
.price-section--partners { padding: 130px 10px; }
.price-section--partners::before { display: none; }
.price-card {
  display: flex;
  align-items: center;
  gap: 86px;
  padding: 20px 100px;
}
.price-card__text { flex: 45 1 0; display: flex; flex-direction: column; gap: 35px; padding: 10px; }
.price-card .lead-form {
  flex: 55 1 0;
  padding: 56px 56px 48px;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 24px 60px rgba(20, 0, 8, .28);
}
/* поля белой формы — тонкая серая линия */
.lead-form.lead-form--solid input, .lead-form.lead-form--solid textarea {
  border: 1px solid #D3CACE;
  border-radius: 10px; /* лёгкое скругление полей */
  color: #2b1a20;
  font-size: 15px;
  padding: 8px 18px;
  min-height: 48px;
}
.lead-form.lead-form--solid textarea { padding-top: 12px; }
.lead-form.lead-form--solid input:focus, .lead-form.lead-form--solid textarea:focus { border-color: var(--c-secondary); box-shadow: 0 0 0 3px rgba(175, 53, 97, .12); }
.lead-form.lead-form--solid input.is-invalid, .lead-form.lead-form--solid textarea.is-invalid { border-color: #e0254f; box-shadow: 0 0 0 3px rgba(224, 37, 79, .12); }
.lead-form.lead-form--solid ::placeholder { color: #9a8f94; }
.lead-form.lead-form--solid .btn--form { font-size: 16px; padding: 14px 34px; }
.lead-form.lead-form--solid .lead-form__status { color: var(--c-primary); }
.lead-form.lead-form--solid .lead-form__status.is-error { color: #c4103f; }
.price-card__title { font-size: 50px; font-weight: 600; line-height: 53px; color: #fff; }
.price-card__lead { font-size: 30px; line-height: 37px; color: #fff; margin: 0; }

/* ---------- Формы ---------- */
.lead-form { display: flex; flex-wrap: wrap; gap: 15px; }
.lead-form .field { flex: 0 0 100%; min-width: 0; }
.lead-form input, .lead-form textarea {
  display: block;
  width: 100%;
  font-family: var(--f-main);
  font-size: 13px;
  line-height: 1.4;
  color: var(--c-primary);
  background: #fff;
  border: 0;
  border-radius: var(--radius-md);
  padding: 5px 14px;
  min-height: 40px;
  outline: none;
  transition: box-shadow .2s, border-color .2s;
}
.lead-form textarea { resize: vertical; padding-top: 8px; }
.lead-form input:focus, .lead-form textarea:focus { box-shadow: 0 0 0 2px var(--c-secondary); }
.lead-form input.is-invalid, .lead-form textarea.is-invalid { box-shadow: 0 0 0 2px #e0254f; }
.lead-form ::placeholder { color: #8d7580; opacity: 1; }
.lead-form__actions { flex: 0 0 100%; display: flex; justify-content: flex-end; }
.btn--form {
  border: 0;
  border-radius: 999px;
  background: var(--c-secondary);
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  padding: 12px 24px;
}
.btn--form:hover, .btn--form:focus-visible { background: var(--c-primary); }
.btn--form[disabled] { opacity: .6; cursor: wait; }
.lead-form__status { flex: 0 0 100%; margin: 0; font-size: 15px; color: #fff; min-height: 0; }
.lead-form__status:empty { display: none; }
.lead-form__status.is-error { color: #ffd0dc; }
.lead-form__hp { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; opacity: 0; pointer-events: none; }

/* форма с линиями (Контакты) */
.lead-form--line { gap: 20px 30px; }
.lead-form--line .field--half { flex: 1 1 calc(50% - 15px); }
.lead-form--line input, .lead-form--line textarea {
  background: transparent;
  border-bottom: 1px solid var(--c-primary);
  border-radius: 0;
  font-size: 16px;
  font-weight: 500; /* было 200 — на русском было слишком тонко; теперь как на иврите */
  color: var(--c-primary);
  padding: 6px 16px;
  min-height: 47px;
}
.lead-form--line ::placeholder { color: #BE94A3; }
.lead-form--line input:focus, .lead-form--line textarea:focus { box-shadow: none; border-bottom-color: var(--c-secondary); border-bottom-width: 2px; }
.lead-form--line input.is-invalid, .lead-form--line textarea.is-invalid { box-shadow: none; border-bottom: 2px solid #e0254f; }
.btn--form-lg { font-size: 17px; padding: 18px 50px; }
.lead-form--line .lead-form__status { color: var(--c-primary); }
.lead-form--line .lead-form__status.is-error { color: #c4103f; }

/* ---------- Логотипы сетей (карусель) ---------- */
.retailers { background: #fff; padding: 0 10px 170px; }
.retailers .script-title { margin: 0 0 64px; padding-top: 120px; font-size: clamp(38px, 4.9vw, 70px); } /* одной строкой, кегль уменьшается с шириной экрана */
html[lang="he"] .retailers .script-title { font-size: clamp(32px, 4.3vw, 58px); }
.retailers .section-subtitle { margin: -14px 0 64px; }
/* бесконечно бегущая лента логотипов (без стрелок и точек) */
.logo-marquee {
  position: relative;
  margin: 10px 0;
  overflow: hidden;
  direction: ltr;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.logo-marquee__track {
  display: flex;
  width: max-content;
  animation: marquee var(--marquee-duration, 30s) linear infinite;
}
.logo-marquee:hover .logo-marquee__track, .logo-marquee:focus-within .logo-marquee__track { animation-play-state: paused; } /* стоит и при фокусе с клавиатуры */
.logo-marquee__item {
  flex: 0 0 auto;
  width: 280px;
  height: 143px;
  padding: 23px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-marquee__item img { width: 100%; height: 100%; object-fit: contain; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 767px) {
  .logo-marquee__item { width: 190px; height: 110px; padding: 18px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .logo-marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
}

/* =========================================================
   О КОМПАНИИ
   ========================================================= */
.about-intro {
  position: relative;
  isolation: isolate;
  min-height: 725px;
  display: flex;
  align-items: center;
  padding: 10px;
  background: #1b1412;
}
/* фото отражено зеркально: пельмени справа, текст слева на затемнённой стороне */
.about-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("/assets/img/price-bg.webp?v=ad7706f9") center / cover no-repeat; /* тот же фон, что в «Ключевых преимуществах» на главной, отражён зеркально */
  transform: scaleX(-1);
}
.about-intro::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, .53); /* затемнение как в «Ключевых преимуществах» */
}
.about-intro__inner { position: relative; display: flex; justify-content: flex-start; max-width: none; padding-inline: 0; }
/* текст по центру левой (тёмной) половины фото */
.about-intro__text { flex: 0 1 640px; padding: 10px; margin-inline-start: max(40px, calc(25% - 320px + 50px)); }
.about-intro__title {
  font-size: 30px;
  font-weight: 700;
  line-height: 35px;
  color: var(--c-rose);
  margin-bottom: 20px;
}
.about-intro__text p {
  font-size: 20px;
  line-height: 25px;
  letter-spacing: -.1px;
  word-spacing: 3px;
  color: var(--c-accent);
}

/* =========================================================
   ПАРТНЁРАМ
   ========================================================= */
/* шапка страницы и две карточки — один блок на общей фотографии */
.partners-top {
  position: relative;
  isolation: isolate;
  padding: 10px 10px 130px;
  background: var(--c-primary) url("/assets/img/partners-hero.webp?v=34e7edd3") center top / cover no-repeat;
}
.partners-top::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, .63); }
/* фото закреплено — при прокрутке стоит на месте (на телефонах и планшетах не поддерживается корректно, там прокручивается) */
@media (min-width: 1025px) and (hover: hover) {
  .partners-top { background-attachment: fixed; background-position: center; }
}
.partners-top .partners-hero__inner { padding-bottom: 110px; }
.partners-hero__inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.partners-hero__title {
  flex: 1 1 0;
  margin-top: 164px;
  padding: 10px;
  font-size: 60px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 1px;
  color: var(--c-accent);
}
.partners-hero__side {
  flex: 1 1 0;
  margin-top: 120px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.partners-hero__lead { font-size: 25px; font-weight: 600; line-height: 32px; color: #fff; margin: 0 0 10px; }

/* две карточки «Что мы предлагаем» и «Мы знаем, что важно…» — один общий блок со скруглёнными внешними углами */
.offer { display: flex; flex-direction: column; gap: 0; filter: drop-shadow(0 24px 30px rgba(20, 0, 8, .25)); }
.offer__row { display: flex; min-height: 440px; overflow: hidden; background: var(--c-accent); }
.offer__row:first-child { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.offer__row:last-child { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
/* внутренние углы фото — там, где две фотографии сходятся по диагонали */
@media (min-width: 768px) {
  .offer__row--first .offer__photo { border-end-start-radius: var(--radius-lg); }
  .offer__row--second .offer__photo { border-start-end-radius: var(--radius-lg); }
}
.offer__text {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 100px 127px;
}
.offer__text h2 { font-size: 31px; font-weight: 900; color: var(--c-secondary); }
.offer__text p, .offer__text li { font-size: 23px; line-height: 31px; color: #000; }
.offer__text ul { list-style: disc; padding-inline-start: 21px; }
.offer__photo { flex: 1 1 50%; min-height: 300px; background-size: cover; background-position: center; }
.price-section--partners .price-card__text { flex: 45 1 0; }

/* =========================================================
   КОНТАКТЫ и общий верхний баннер внутренних страниц
   ========================================================= */
.page-hero {
  position: relative;
  min-height: 312px;
  margin-top: -100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background-color: #FCF4F0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .45); mix-blend-mode: multiply; }
.page-hero--contacts { background-image: url("/assets/img/catalog/vareniki-hero.webp?v=5afd9c18"); } /* Vareniki_BG — то же фото, что в шапке каталога вареников */
.page-hero--production { background-image: url("/assets/img/production/Services_BG_3.jpg?v=339064b1"); }
.page-hero__title {
  position: relative;
  margin-top: 89px;
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .9px;
  word-spacing: 5px;
  color: var(--c-accent);
  text-align: center;
}

.contacts { background: var(--c-accent); padding: 30px 10px 100px; }
.contacts__inner { display: flex; padding-inline: 0; }
.contacts__form-col {
  flex: 0 0 70%;
  display: flex;
  flex-direction: column;
  gap: 70px;
  padding: 150px;
}
.contacts__intro { display: flex; align-items: center; gap: 19px; }
.contacts__intro img { flex: 0 0 64px; width: 64px; height: 64px; }
.contacts__intro h2 {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.1;
  word-spacing: .2em;
  color: #000;
}
/* маскот справа от формы (на иврите — слева); на русском отражён, чтобы конверт тянулся к форме */
.contacts__mascot {
  flex: 0 0 30%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
}
.contacts__mascot img { width: 100%; max-width: 380px; height: auto; }
/* планшет: форма уже, маскот крупнее */
@media (min-width: 768px) and (max-width: 1024px) {
  .contacts__form-col { flex: 0 0 60%; }
  .contacts__mascot { flex: 0 0 40%; min-width: 0; padding: 40px 0 40px 20px; }
  .contacts__mascot img { max-width: 400px; }
}
/* компьютер (экран лёжа): маскот крупнее и цилиндром заходит на фото-полосу сверху; на планшете стоя (iPad Pro) — без нахлёста */
@media (min-width: 1025px) and (orientation: landscape) {
  .contacts__mascot { position: relative; z-index: 2; align-items: flex-start; justify-content: flex-end; min-width: 0; padding: 0; margin-top: -110px; } /* лишняя ширина уходит в сторону формы, а не за край экрана */
  .contacts__mascot img { width: clamp(430px, 39vw, 630px); max-width: none; flex: none; margin-inline-end: max(-80px, min(0px, calc((1500px - 100vw) / 2))); } /* на широких экранах — чуть к краю, подальше от формы */
}

html[lang="ru"] .contacts__mascot img { transform: scaleX(-1); }
/* контакты одной строкой под формой: иконка в круге + текст, между пунктами тонкие разделители */
.contacts__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 0;
  padding-top: 40px;
  border-top: 1px solid rgba(175, 53, 97, .2);
}
.contact-line {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-inline: 34px;
  font-family: var(--f-poppins);
  font-size: 19px;
  line-height: 1.3;
  color: var(--c-primary);
  transition: color .2s;
}
.contact-line + .contact-line, .contacts__bar .socials--contacts { border-inline-start: 1px solid rgba(175, 53, 97, .3); }
.contact-line:hover, .contact-line:focus-visible { color: var(--c-secondary); }
.contact-line__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 46px;
  width: 46px; height: 46px;
  border: 1px solid var(--c-secondary);
  border-radius: 50%;
  transition: background-color .2s;
}
.contact-line__icon svg { width: 21px; height: 21px; fill: var(--c-secondary); transition: fill .2s; }
.contact-line:hover .contact-line__icon { background: var(--c-secondary); }
.contact-line:hover .contact-line__icon svg { fill: #fff; }
.contacts__bar .socials--contacts { margin: 0; padding-inline-start: 34px; }
/* соцсети на «Контактах» — как в шапке: залитые круги фирменного цвета с белой иконкой */
.socials--contacts { gap: 12px; justify-content: center; margin-top: 18px; } /* чуть дальше от телефона */
.socials--contacts a {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--c-secondary);
  color: #fff;
}
.socials--contacts svg { width: 21px; height: 21px; }
.socials--contacts a:hover, .socials--contacts a:focus-visible { background: var(--c-primary); color: #fff; }

/* =========================================================
   ПРОИЗВОДСТВО (черновик)
   ========================================================= */
.services { background: #fff; padding: 150px 10px 200px; }
.services .container { display: flex; flex-direction: column; gap: 20px; }
.service { display: flex; flex-direction: row-reverse; min-height: 370px; overflow: hidden; border-radius: var(--radius-lg); }
.service:nth-child(even) { flex-direction: row; }
.service__bg { flex: 1 1 50%; background-size: cover; background-position: center; transition: transform 1.5s; }
.service:hover .service__bg { transform: scale(1.05); }
.service__content {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
  padding: 0 11%;
  background: #f7f7f7;
  text-align: center;
  position: relative;
}
.service__content h2 { font-size: 31px; font-weight: 600; line-height: 36px; word-spacing: 3px; color: #A5948C; }
.service__content p { font-size: 23px; font-weight: 200; line-height: 30px; word-spacing: 4px; color: #000; }

/* =========================================================
   ПОДВАЛ
   ========================================================= */
.footer-main { background: var(--c-footer-bottom); padding: 3.65% 4%; }
/* футер — 4 колонки: о компании | продукция | быстрые ссылки | контакты (с адресом вместо карты) */
.footer-inner {
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 40px 60px;
}
.footer-about {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  max-width: 320px;
}
.footer-logo { width: 47%; max-width: 144px; min-width: 120px; }
.footer-about p { font-size: 16px; line-height: 24px; color: #fff; }
.footer-about strong { font-weight: 700; }
.socials--footer { gap: 20px; }
.socials--footer a { color: #fff; }
.socials--footer svg { width: 23px; height: 23px; }
.socials--footer a:hover, .socials--footer a:focus-visible { color: var(--c-pink); }

.footer-col { display: flex; flex-direction: column; gap: 24px; padding-top: 6px; }
.footer-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-pink);
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 16px;
  line-height: 1.5;
  color: #fff;
  transition: color .3s;
}
.footer-col a svg { width: 14px; height: 14px; margin-top: 5px; fill: #fff; transition: fill .3s; flex: 0 0 14px; }
.footer-col a:hover, .footer-col a:focus-visible, .footer-col a[aria-current="page"] { color: var(--c-pink); }
.footer-col a:hover svg { fill: var(--c-pink); }.footer-bottom {
  background: var(--c-footer-bottom);
  border-top: 1px solid rgba(255, 255, 255, .18); /* тонкая светлая линия-разделитель */
  min-height: 55px;
  padding: 15px 10px 16px;
  font-size: 16px;
  line-height: 24px;
  color: #fff;
  text-align: center;
}

/* =========================================================
   КАТАЛОГ ПРОДУКЦИИ (/pelmeni/, /vareniki/, /blinchiki/)
   Раскладка по макету каталога 1366px: поле 1104px, 5 колонок по ~198px с промежутком 29px.
   Компьютер — 5 колонок, планшет — 3, телефон — 2.
   ========================================================= */
/* верхняя малиновая полоса с названием; сверху — запас под логотип, который свисает из шапки */
.cat-hero {
  /* запас сверху = насколько логотип свисает из шапки (он растёт с шириной экрана до 330px) + 30px */
  padding: max(64px, calc(min(330px, 20vw - 20px) * .548 - 68px)) 10px 46px;
  background: var(--c-secondary);
  text-align: center;
}
.cat-hero__title { font-size: 53px; font-weight: 700; line-height: 1.15; color: #fff; }
/* шапка с фотографией: в полосе видна середина фото, сверху тёмный налёт, чтобы заголовок читался */
.cat-hero--photo { position: relative; isolation: isolate; overflow: hidden; background: #2a0f1a; }
/* фото — отдельным слоем: когда загрузится, плавно проявляется и чуть «отъезжает» (класс is-loaded ставит main.js) */
.cat-hero--photo::after {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: var(--hero-bg) center / cover no-repeat;
  opacity: 0; transform: scale(1.08);
  transition: opacity 1.6s ease, transform 2.4s cubic-bezier(.22, .61, .36, 1);
}
.cat-hero--photo.is-loaded::after { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .cat-hero--photo::after { transition: opacity .4s; transform: none; } }
.cat-hero--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, .4); }
.cat-hero--photo .cat-hero__title { text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.cat { padding: 110px 20px 110px; }
.cat__inner { max-width: 1380px; margin-inline: auto; } /* = ширина блоков на «Партнёрам» */

/* все разделы страницы — в одной сетке; раздел занимает свои колонки, товары встают в те же колонки */
.cat-row {
  --cols: 5;
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  column-gap: clamp(16px, 2.2vw, 29px);
  row-gap: 58px;
}
.cat-group { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-content: start; }
.cat-group--span2 { grid-column: span 2; }
.cat-group--span3 { grid-column: span 3; }
.cat-group--one { grid-column: span 1; }
.cat-group--rest { grid-column: 2 / -1; }

/* заголовок раздела: круглая иконка, название и линия с точкой на конце */
.cat-head { grid-column: 1 / -1; display: flex; align-items: center; gap: 22px; margin-bottom: 62px; }
.cat-head__icon { flex: 0 0 60px; width: 60px; height: 60px; color: var(--c-secondary); } /* круг иконки = color */
.cat-head__title {
  position: relative;
  flex: 1 1 auto;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--c-secondary);
}
.cat-head__title::after,
.cat-head__title::before { content: ""; position: absolute; background: currentColor; }
/* толщина линии --hair = целое число физических пикселей (2 при масштабе экрана 125–175%), задаётся в main.js —
   иначе 1px на таких экранах округляется то до 1, то до 2 пикселей, и на разных страницах линия разной толщины */
.cat-head__title::after { inset-inline: 0 2px; top: calc(100% + 7px); height: var(--hair, 1px); }
.cat-head__title::before { inset-inline-end: 0; top: calc(100% + 2px); width: 11px; height: 11px; border-radius: 50%; }

.cat-list { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; row-gap: 44px; }
.cat-item img {
  width: 100%;
  aspect-ratio: 824 / 923;
  object-fit: contain;
  object-position: center bottom;
}
/* текст встаёт по левому краю упаковки на фото (а не по краю картинки) */
.cat-item__name {
  margin-top: 14px;
  padding-inline-start: 7.2%;
  font-size: clamp(17px, 1.55vw, 21px);
  font-weight: 700;
  line-height: 1.05;
  color: #000;
}
.cat-item__meta {
  margin: 12px 0 0;
  padding-inline-start: 7.2%;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  color: #767676; /* было #919191 — контраст 3,15; теперь 4,54 по стандарту доступности */
}
html[dir="rtl"] .cat-item__name, html[dir="rtl"] .cat-item__meta { padding-inline-start: 3%; }

/* товар можно нажать — открывается окно с фото и текстами */
.cat-item { cursor: pointer; border-radius: var(--radius-md); outline-offset: 6px; }
.cat-item img { transition: transform .35s ease; }
.cat-item:hover img, .cat-item:focus-visible img { transform: scale(1.04); }
.cat-item:hover .cat-item__name { color: var(--c-secondary); }
.cat-item__name { transition: color .2s; }

.product-modal {
  width: min(880px, calc(100vw - 40px));
  max-height: calc(100dvh - 40px);
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 30px 80px rgba(20, 0, 8, .35);
  overflow: auto;
}
.product-modal[open] { display: flex; align-items: center; animation: productIn .25s ease; }
.product-modal::backdrop { background: rgba(34, 6, 15, .6); }
@keyframes productIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.product-modal__photo { flex: 0 0 52%; padding: 40px 10px 40px 40px; padding-inline: 40px 10px; }
.product-modal__photo img { width: 100%; aspect-ratio: 824 / 923; object-fit: contain; }
.product-modal__text { flex: 1 1 auto; padding: 40px; padding-inline-start: 20px; }
.product-modal__group { margin: 0 0 12px; font-size: 16px; font-weight: 700; color: var(--c-secondary); }
.product-modal__name { font-size: 34px; font-weight: 700; line-height: 1.1; color: #000; }
.product-modal__meta { margin: 20px 0 0; font-size: 18px; font-weight: 500; line-height: 1.5; color: #767676; } /* было #919191 — тот же текст в окне товара, тот же контраст */
.product-modal__close {
  position: absolute;
  top: 16px;
  inset-inline-end: 16px;
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--c-secondary);
  color: #fff;
  cursor: pointer;
  transition: background-color .2s;
}
.product-modal__close:hover, .product-modal__close:focus-visible { background: var(--c-primary); }
.product-modal__close svg { width: 16px; height: 16px; fill: currentColor; }
@media (max-width: 767px) {
  .product-modal { width: calc(100vw - 2 * var(--gutter)); }
  .product-modal[open] { flex-direction: column; align-items: stretch; }
  .product-modal__photo { flex: none; padding: 48px 28px 0; }
  .product-modal__photo img { max-height: 52dvh; }
  .product-modal__text { padding: 16px 28px 28px; }
  .product-modal__group { font-size: 14px; margin-bottom: 8px; }
  .product-modal__name { font-size: 24px; }
  .product-modal__meta { margin-top: 12px; font-size: 15px; }
  .product-modal__close { top: 10px; inset-inline-end: 10px; width: 36px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .product-modal[open] { animation: none; }
  .cat-item img { transition: none; }
}

@media (max-width: 1366px) {
  .cat-hero { padding-top: 70px; }
  .cat-hero__title { font-size: 48px; }
}
@media (max-width: 1024px) {
  .cat-hero { padding-top: 64px; padding-bottom: 40px; }
  .cat-hero__title { font-size: 42px; }
  .cat { padding: 84px 20px 90px; }
  .cat-row { --cols: 3; row-gap: 50px; }
  .cat-group--span2, .cat-group--span3 { grid-column: 1 / -1; }
  .cat-head { margin-bottom: 40px; }
}
@media (max-width: 767px) {
  .cat-hero { padding-top: 60px; padding-bottom: 28px; }
  .cat-hero__title { font-size: 30px; line-height: 1.15; }
  .cat { padding-block: 56px 60px; }
  .cat-row { --cols: 2; column-gap: 16px; row-gap: 44px; }
  .cat-head { gap: 14px; margin-bottom: 26px; }
  .cat-head__icon { flex-basis: 44px; width: 44px; height: 44px; }
  .cat-head__title { font-size: 22px; }
  .cat-head__title::after { top: calc(100% + 6px); }
  .cat-head__title::before { top: calc(100% + 2px); width: 9px; height: 9px; }
  .cat-list { row-gap: 30px; }
  .cat-item__name { margin-top: 8px; font-size: clamp(15px, 4.3vw, 17px); line-height: 1.1; }
  .cat-item__meta { margin-top: 6px; font-size: 13px; line-height: 1.4; }
}
html[lang="he"] .cat-hero__title, html[lang="he"] .cat-head__title, html[lang="he"] .cat-item__name { font-weight: 700; }
html[lang="he"] .cat-item__meta { font-weight: 500; }

/* =========================================================
   НОУТБУК ≤ 1366
   ========================================================= */
@media (max-width: 1366px) {
  .header-inner { min-height: 0; padding: 0 30px; }
  .main-nav { margin-top: 12px; }
  .nav-menu { gap: 0 16px; }
  .nav-menu a, .nav-sub__toggle { font-size: 15px; }
  .header-logo { margin-bottom: -34px; }
  .header-contacts { margin-top: 15px; }
  .header-phone { gap: 8px; font-size: 15px; }
  .header-phone__icon { width: 26px; height: 26px; }
  .header-phone__icon svg { width: 12px; height: 12px; }
  .socials--header a { width: 26px; height: 26px; }
  .socials--header svg { width: 12px; height: 12px; }

  .footer-logo { width: 133px; }
  .footer-about p { max-width: 236px; font-size: 15px; }
  .footer-inner { gap: 40px 36px; }
  .footer-title { font-size: 20px; }
  .footer-col a { font-size: 15px; }
  .footer-bottom { font-size: 15px; }
}

/* =========================================================
   МЕНЮ-«БУРГЕР» ≤ 1280
   (с пунктом «Продукция» в меню 5 пунктов — на экранах уже 1281px они не помещаются в одну строку)
   ========================================================= */
@media (max-width: 1280px) {
  .main-nav { position: static; display: flex; }
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    background: var(--c-dropdown);
    border: 18px solid var(--c-dropdown);
    border-top-width: 0;
    box-shadow: 0 12px 24px rgba(91, 10, 36, .12);
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height .3s ease, visibility 0s .3s, border-width .3s;
    border-width: 0 18px;
  }
  .nav-menu.is-open {
    max-height: 600px;
    visibility: visible;
    border-width: 18px;
    transition: max-height .3s ease, border-width .3s;
  }
  .nav-menu a,
  .nav-sub__toggle {
    padding: 12px 18px;
    font-size: 16px;
    color: var(--c-primary);
  }
  .nav-menu a::after, .nav-sub__toggle::after { display: none; }
  .nav-menu a:hover, .nav-menu a:focus-visible, .nav-menu a[aria-current="page"] {
    background: var(--c-dropdown-hover);
    color: #fff;
  }
  /* «Продукция» в бургер-меню — подпись, страницы каталога всегда раскрыты под ней */
  .nav-sub__toggle { width: 100%; cursor: default; }
  .nav-sub__caret { display: none; }
  .nav-sub__list,
  .nav-sub.open .nav-sub__list {
    position: static;
    display: flex;
    min-width: 0;
    padding: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }
  .nav-menu .nav-sub__list a { padding: 10px 18px; padding-inline-start: 36px; font-size: 15px; border-radius: 0; white-space: normal; }
  .nav-menu .nav-sub__list a:hover,
  .nav-menu .nav-sub__list a:focus-visible,
  .nav-menu .nav-sub__list a[aria-current="page"] { background: var(--c-dropdown-hover); color: #fff; }
  .site-header { position: relative; }
}

/* =========================================================
   ПЛАНШЕТ ≤ 1024
   ========================================================= */
/* шапка в режиме «бургер» (768–1280): бургер у левого края, логотип по центру и свисает на первый экран,
   справа телефон/язык/соцсети — всё по центру высоты шапки (как на телефоне, но с контактами) */
@media (min-width: 768px) and (max-width: 1280px) {
  .header-inner { position: relative; justify-content: space-between; align-items: center; min-height: 80px; padding: 0 30px; }
  .main-nav { flex: 0 0 auto; margin: 0; }
  .nav-toggle { width: 40px; height: 40px; margin: 0; margin-inline-start: -8px; }
  .nav-toggle svg { width: 26px; height: 26px; }
  .header-logo { position: absolute; top: 0; left: 50%; transform: translateX(-50%); margin: 0; }
  .header-logo img { width: clamp(240px, 24vw, 290px); }
  .header-contacts { flex: 0 0 auto; margin: 0; padding: 0; }
}
/* до 1100px номер телефона не помещается рядом с логотипом — оставляем только кнопку-трубку */
@media (min-width: 768px) and (max-width: 1100px) {
  .header-phone__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .header-phone__icon { width: 32px; height: 32px; }
  .header-phone__icon svg { width: 14px; height: 14px; }
  .header-contacts { gap: 16px; }
}
/* большой планшет / узкий ноутбук (1025–1366, напр. iPad Pro 13 стоя): «Ключевые преимущества» с полями по бокам */
@media (min-width: 1025px) and (max-width: 1366px) {
  .advantages--photo, .advantages--light { padding: 90px 70px 100px; }
  .advantages--photo .container, .advantages--light .container { gap: 50px; }
  .advantages__list { gap: 40px; width: 100%; max-width: 1060px; margin-inline: auto; padding: 0; }
  .advantages__list li { min-height: 0; gap: 20px; }
  .advantages__list img { width: 100px; height: 100px; }
  .advantages__list h3 { font-size: 18px; }
  /* «Мы производим»: тоже поля по бокам, тарелки чуть компактнее */
  .products { padding-inline: 70px; }
  .products__list { gap: 40px; max-width: 1060px; margin-inline: auto; justify-content: center; }
  .product h3 { font-size: 30px; }
}
@media (max-width: 1024px) {
  .header-contacts { gap: 20px; }

  .products__list { flex-wrap: wrap; justify-content: center; }
  .product { flex: 0 1 calc(50% - 10px); }

  .catalog__list { gap: 20px; }
  .category__name { margin-top: 16px; font-size: 22px; }

  /* планшет: поля вокруг, содержимое компактнее и собрано по центру */
  .advantages--photo { padding: 90px 60px 100px; }
  .advantages--light { padding: 90px 60px 100px; }
  .advantages--photo .container, .advantages--light .container { gap: 50px; }
  .advantages--photo .script-title, .advantages--light .script-title { font-size: 56px; }
  .advantages__list { grid-template-columns: repeat(3, 1fr); gap: 50px 40px; width: 100%; max-width: 760px; margin-inline: auto; padding: 0; }
  .advantages__list li { min-height: 0; gap: 20px; }
  .advantages__list img { width: 92px; height: 92px; }
  .advantages__list h3 { font-size: 17px; max-width: 260px; }

  .price-card { flex-direction: column; align-items: stretch; gap: 30px; padding: 20px 40px; }
  .price-card .lead-form { flex: none; }

  .about-intro__text { flex-basis: 60%; }

  .offer__text { padding: 50px; }

  .contacts__form-col { padding: 60px 40px; gap: 50px; }
  .contacts__mascot { padding: 40px 0; }
  .contacts__bar { gap: 22px 40px; }
  .contact-line, .contacts__bar .socials--contacts { padding-inline: 0; border: 0; }
  .contact-line + .contact-line, .contacts__bar .socials--contacts { border: 0; }

  .footer-main { padding: 8% 4%; }
  /* планшет: «о компании» — строкой сверху, под ней 3 колонки ссылок */
  .footer-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 30px; }
  .footer-about { grid-column: 1 / -1; max-width: none; gap: 20px; }
  .socials--footer svg { width: 18px; height: 18px; }
  .footer-col a { font-size: 14px; }
}

/* =========================================================
   ТЕЛЕФОН ≤ 767
   ========================================================= */
@media (max-width: 767px) {
  /* шапка в одну строку: бургер — логотип по центру — круглая кнопка звонка */
  .header-inner {
    position: relative;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    min-height: 56px;
    padding: 0 var(--gutter);
  }
  .main-nav { flex: 0 0 auto; margin: 0; }
  .nav-toggle { width: 40px; height: 40px; margin: 0; margin-inline-start: -8px; } /* зона нажатия 40px, а сама иконка (24px) встаёт ровно на боковое поле */
  .nav-toggle svg { width: 24px; height: 24px; }
  .header-logo {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
  }
  .header-logo img { width: 172px; } /* выступает за шапку вниз */
  .header-contacts { flex: 0 0 auto; margin: 0; padding: 0; gap: 0; }
  .header-phone__text, .header-contacts .socials, .header-contacts .langw { display: none; }
  .header-phone { gap: 0; }
  .header-phone__icon { width: 35px; height: 35px; border: 0; background: var(--c-secondary); transition: background-color .3s; }
  .header-phone__icon svg { width: 15px; height: 15px; fill: #fff; }
  .header-phone:hover .header-phone__icon, .header-phone:focus-visible .header-phone__icon { background: var(--c-primary); }

  /* меню на весь экран под шапкой — как на эскизе A: светлый фон, без плашек */
  .nav-menu,
  .nav-menu.is-open {
    top: 100%;
    gap: 14px;
    padding: 60px var(--gutter) 28px;
    border: 0;
    background: var(--c-accent);
    box-shadow: none;
  }
  .nav-menu { transition: max-height .3s ease, visibility 0s .3s; }
  .nav-menu.is-open { max-height: calc(100vh - 56px); min-height: calc(100vh - 56px); overflow-y: auto; transition: max-height .3s ease; }
  .nav-menu a,
  .nav-menu a:hover,
  .nav-menu a:focus-visible,
  .nav-sub__toggle { padding: 0; background: none; font-size: 20px; line-height: 1.3; color: var(--c-primary); }
  .nav-menu a:hover, .nav-menu a:focus-visible, .nav-menu a[aria-current="page"] { background: none; color: var(--c-secondary); }
  /* страницы каталога — под «Продукцией», с отступом и тонкой линией слева */
  .nav-sub { display: flex; flex-direction: column; gap: 10px; }
  .nav-sub__list,
  .nav-sub.open .nav-sub__list { gap: 8px; padding-inline-start: 16px; border-inline-start: 2px solid rgba(175, 53, 97, .25); }
  .nav-menu .nav-sub__list a,
  .nav-menu .nav-sub__list a:hover,
  .nav-menu .nav-sub__list a:focus-visible { padding: 0; font-size: 17px; background: none; color: var(--c-primary); }
  .nav-menu .nav-sub__list a:hover,
  .nav-menu .nav-sub__list a:focus-visible,
  .nav-menu .nav-sub__list a[aria-current="page"] { background: none; color: var(--c-secondary); }
  .nav-menu .nav-extra { display: flex; }
  .nav-menu .nav-phone { margin-top: 6px; padding-top: 18px; border-top: 1px solid rgba(91, 10, 36, .15); }
  .nav-menu .nav-phone a { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; }
  .nav-menu .nav-phone svg { width: 17px; height: 17px; fill: currentColor; }
  .nav-menu .nav-socials { gap: 10px; }
  .nav-menu .nav-socials a,
  .nav-menu .nav-socials a:hover {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; padding: 0;
    border-radius: 50%;
    background: var(--c-secondary);
    color: #fff;
  }
  .nav-menu .nav-socials a:hover, .nav-menu .nav-socials a:focus-visible { background: var(--c-primary); color: #fff; }
  .nav-menu .nav-socials svg { width: 17px; height: 17px; fill: currentColor; }

  .script-title { font-size: 38px; line-height: .9; letter-spacing: 0; }
  .script-title--xl { font-size: 38px; }
  .section-subtitle { font-size: 20px; margin: -6px auto 20px; max-width: 213px; line-height: 1.1; }


  .products { padding-block: 50px; }
  .products__list { flex-direction: column; align-items: center; gap: 36px; }
  .product { flex: none; width: 100%; max-width: 370px; }
  .product img { width: 71%; margin: 0 auto 6px; } /* тарелка не наезжает на подпись */
  .product h3 { font-size: 20px; margin-top: 4px; }
  .products__badge { left: 0; right: 0; margin: 0 auto; top: -40px; } /* на телефоне значок по центру */
  .products__badge img { width: 26%; }

  .video-band { aspect-ratio: auto; min-height: 297px; gap: 10px; } /* на телефоне блок выше формата ролика — видео заполняет его, обрезаясь по бокам */
  .video-modal { width: calc(100vw - 2 * var(--gutter)); }
  .video-band .btn { margin-top: 0; font-size: 15px; padding: 15px 30px; }

  .catalog { padding-block: 20px; }
  .catalog .script-title { padding-top: 18px; margin-bottom: 20px; }
  .catalog__list { grid-template-columns: minmax(0, 1fr); gap: 34px; max-width: 420px; margin-inline: auto; padding: 10px 0 30px; }
  .category__name { margin-top: 14px; font-size: 22px; }

  .advantages--photo { padding-block: 20px; min-height: 0; }
  .advantages--photo .script-title { margin-top: 18px; }
  .advantages__list { grid-template-columns: 1fr; gap: 36px; padding: 10px 0; }
  /* телефон: заголовок ближе к иконкам, больше воздуха сверху и снизу блока */
  .advantages--photo { padding-block: 44px 64px; }
  .advantages--photo .container { gap: 30px; } /* = расстоянию между пунктами (36px) с поправкой на межстрочный воздух заголовка */
  .advantages--photo .advantages__list { padding-top: 0; }
  .advantages__list li { min-height: 0; gap: 16px; }
  .advantages__list img { width: 80px; height: 80px; }
  .advantages__list h3 { font-size: 17px; }
  .advantages--light { padding-block: 30px; }
  .advantages--light .script-title { margin-top: 18px; }

  .price-section { padding-block: 40px 50px; }
  .price-section .script-title { margin: 15px 0 20px; }
  .price-section--partners { padding-block: 40px 50px; }
  .price-card { padding: 0; gap: 24px; }
  .price-card .lead-form { padding: 24px 20px; }
  .price-card__text { gap: 25px; padding-inline: 0; text-align: center; }
  .price-card__title { font-size: 23px; line-height: 1.2; } /* +15% */
  .price-card__lead { font-size: 17px; line-height: 1.2; }

  .retailers { padding-block: 20px 80px; }
  .retailers .script-title { padding-top: 15px; line-height: .9; margin-bottom: 30px; }
  .retailers .section-subtitle { margin: -6px auto 20px; }

  .about-intro { min-height: 0; padding-block: 20px; }
  
  .about-intro::after { background: rgba(0, 0, 0, .53); }
  .about-intro__text { flex-basis: 100%; margin-inline-start: 0; padding-inline: 0; }
  .about-intro__inner { padding-inline: 0; }
  .about-intro__title { font-size: 23px; line-height: 1.2; }
  .about-intro__text p { font-size: 17px; line-height: 1.3; }

  .partners-top { padding-block: 30px 50px; }
  .partners-top .partners-hero__inner { padding-bottom: 30px; }
  .partners-hero__inner { flex-direction: column; gap: 20px; }
  .partners-hero__title { margin-top: 20px; font-size: 30px; padding: 0; }
  .partners-hero__side { margin-top: 0; padding: 0 0 20px; gap: 20px; }
  .partners-hero__lead { font-size: 17px; line-height: 1.2; margin: 0; }
  .partners-top .btn { font-size: 14px; padding: 15px 30px; }

  .offer { padding: 0; gap: 0; }
  .offer__row { flex-direction: column; min-height: 0; }
  .offer__text { padding: 36px; gap: 16px; }
  .offer__text h2 { font-size: 23px; line-height: 1.2; }
  .offer__text p, .offer__text li { font-size: 17px; line-height: 1.3; }
  .offer__photo { min-height: 220px; }
  .offer__row--second .offer__photo { order: 2; }

  .page-hero { min-height: 238px; padding-block: 0; justify-content: flex-start; } /* видимая часть 212 → 138px (−35%); 100px блока под шапкой */
  .page-hero__title { font-size: 32px; margin-top: 164px; } /* по видимым буквам посередине между низом плашки логотипа и низом блока (у иврита буквы сидят низко в строке — поднято на 8px) */

  .contacts { padding-block: 20px 50px; }
  .contacts__inner { flex-direction: column; gap: 30px; }
  .contacts__form-col { flex: none; padding: 20px 0; gap: 30px; }
  .contacts__intro { flex-direction: column; text-align: center; }
  .contacts__intro h2 { font-size: 22px; }
  .lead-form--line .field--half { flex-basis: 100%; }
  .btn--form-lg { letter-spacing: 2px; font-size: 14px; }
  .contacts__mascot { flex: none; padding: 0; }
  .contacts__mascot img { max-width: 230px; }
  .contacts__bar { flex-direction: column; align-items: flex-start; width: fit-content; max-width: 100%; margin: 30px auto 0; gap: 16px; padding: 30px 0 0; }
  .contacts__bar .socials--contacts { align-self: center; margin-top: 8px; }
  .contact-line { font-size: 17px; }

  .services { padding-block: 40px 60px; }
  .service, .service:nth-child(even) { flex-direction: column; min-height: 0; }
  .service__bg { min-height: 220px; }
  .service__content { padding: 50px; }
  .service__content h2 { font-size: 23px; line-height: 1.3; }
  .service__content p { font-size: 17px; line-height: 1.3; }

  .footer-main { padding: 20% var(--gutter); }
  /* телефон: продукция и ссылки — в 2 колонки, контакты под ними, «о компании» — внизу по центру */
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 20px; }
  .footer-about { order: 3; grid-column: 1 / -1; align-items: center; text-align: center; max-width: none; padding: 10px 0; }
  .footer-contact { grid-column: 1 / -1; }
  .footer-logo { width: 143px; }
  .footer-about p { max-width: 236px; }
  .socials--footer { justify-content: center; }
  .footer-title { font-size: 18px; }
  .footer-col ul { gap: 8px; }
  .footer-bottom { padding-inline: var(--gutter); }

  /* ЕДИНОЕ БОКОВОЕ ПОЛЕ: каждый блок страницы — и любой, который появится потом, — отступает от краёв на --gutter.
     Фоны и фото блоков по-прежнему идут от края до края, а всё содержимое (текст, карточки, кнопки, формы) — внутри полей.
     Выше у блоков задаются только отступы сверху и снизу (padding-block). */
  #content > section { padding-inline: var(--gutter); }
  .container { padding-inline: 0; }
}

/* =========================================================
   ПЕРЕКЛЮЧАТЕЛЬ ЯЗЫКА
   ========================================================= */
/* Глобус в шапке открывает маленькое меню с языками (как на сайте Glemer).
   На телефоне глобуса нет — языки стоят внизу открытого меню-«бургера». */
.langw { position: relative; display: flex; align-items: center; }
.globe {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--c-secondary);
  cursor: pointer;
  transition: color .3s;
}
.globe svg {
  width: 24px; height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.globe:hover, .globe[aria-expanded="true"] { color: var(--c-primary); }
.globe:focus-visible { outline: 2px solid var(--c-secondary); outline-offset: 3px; border-radius: 50%; }
.langw .lang {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  z-index: 30;
  display: none;
  flex-direction: column;
  min-width: 132px;
  padding: 6px;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 8px 24px rgba(91, 10, 36, .18);
  transform: translateX(-50%);
}
.langw.open .lang { display: flex; }
.langw .lang a,
.nav-lang a {
  font-size: 16px;
  line-height: 1.4;
  color: #000;
  text-align: center;
  transition: color .2s, background-color .2s;
}
.langw .lang a { padding: 4px 12px; border-radius: var(--radius-sm); }
.langw .lang a:hover, .langw .lang a:focus-visible { background: var(--c-accent); color: var(--c-secondary); }
.langw .lang a[aria-current="true"], .nav-lang a[aria-current="true"] { color: var(--c-secondary); font-weight: 600; }
.langw .lang a:lang(ru), .nav-lang a:lang(ru) { font-family: "atyp-kido-variable", "Segoe UI", Arial, sans-serif; }
.langw .lang a:lang(he), .nav-lang a:lang(he) { font-family: "omnes-hebrew-full", "omnes-hebrew", "Segoe UI", Arial, sans-serif; font-weight: 500; }
.langw .lang a[aria-current="true"]:lang(he), .nav-lang a[aria-current="true"]:lang(he) { font-weight: 700; }
.nav-lang, .nav-extra { display: none; }
@media (max-width: 1366px) { .globe svg { width: 21px; height: 21px; } }
@media (max-width: 767px) {
  .langw { display: none; }
  .nav-menu .nav-lang { display: flex; align-items: baseline; gap: 0; padding-top: 2px; }
  .nav-menu .nav-lang a { font-size: 17px; color: var(--c-primary); }
  .nav-menu .nav-lang a:lang(ru) { order: 0; }
  .nav-menu .nav-lang a:lang(he) { order: 2; }
  .nav-menu .nav-lang::after { content: "·"; order: 1; margin-inline: 12px; font-size: 17px; color: rgba(91, 10, 36, .4); }
  .nav-menu .nav-lang a[aria-current="true"] { color: var(--c-secondary); }
}

/* =========================================================
   ИВРИТ (справа налево, шрифт Omnes Hebrew)
   ========================================================= */
/* Набор Adobe Fonts unn8jls (подключён в he.html) по умолчанию отдаёт только латиницу.
   Ниже — полная версия файлов шрифта (subset_id=1) с ивритскими буквами.
   После того как в Adobe Fonts → Web Projects → этот набор → Language Support
   будет выбрано All Characters, эти @font-face можно удалить. */
@font-face { font-family: "omnes-hebrew-full"; font-weight: 500; font-style: normal; font-display: swap;
  src: url("https://use.typekit.net/af/ac59b4/000000000000000077539bf2/31/l?subset_id=1&fvd=n5&v=3") format("woff2"), url("https://use.typekit.net/af/ac59b4/000000000000000077539bf2/31/d?subset_id=1&fvd=n5&v=3") format("woff"); }
@font-face { font-family: "omnes-hebrew-full"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("https://use.typekit.net/af/563fa7/000000000000000077539bf4/31/l?subset_id=1&fvd=n6&v=3") format("woff2"), url("https://use.typekit.net/af/563fa7/000000000000000077539bf4/31/d?subset_id=1&fvd=n6&v=3") format("woff"); }
@font-face { font-family: "omnes-hebrew-full"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("https://use.typekit.net/af/3a9653/000000000000000077539bf3/31/l?subset_id=1&fvd=n7&v=3") format("woff2"), url("https://use.typekit.net/af/3a9653/000000000000000077539bf3/31/d?subset_id=1&fvd=n7&v=3") format("woff"); }
@font-face { font-family: "omnes-hebrew-full"; font-weight: 900; font-style: normal; font-display: swap;
  src: url("https://use.typekit.net/af/281806/000000000000000077539bf1/31/l?subset_id=1&fvd=n9&v=3") format("woff2"), url("https://use.typekit.net/af/281806/000000000000000077539bf1/31/d?subset_id=1&fvd=n9&v=3") format("woff"); }

html[lang="he"] {
  --f-main: "omnes-hebrew-full", "omnes-hebrew", "Segoe UI", Arial, sans-serif;
  --f-script: "omnes-hebrew-full", "omnes-hebrew", "Segoe UI", Arial, sans-serif;
  --f-montserrat: "omnes-hebrew-full", "omnes-hebrew", "Segoe UI", Arial, sans-serif;
  --f-poppins: "omnes-hebrew-full", "omnes-hebrew", "Segoe UI", Arial, sans-serif;
}
/* у Omnes Hebrew начертания 500, 600, 700, 900 — обычный текст набран Medium */
html[lang="he"] body { font-weight: 500; }
html[lang="he"] .hero__line--light { font-weight: 500; }
html[lang="he"] .hero__line--bold { font-weight: 900; }
/* иврит в макете крупнее: «אריסטוקרט» = 16.5% ширины экрана */
html[lang="he"] .hero__title { font-size: clamp(36px, 3.48vw, 112px); line-height: 1.25; }
@media (max-aspect-ratio: 4/5) { html[lang="he"] .hero__title { font-size: clamp(30px, 8.6vw, 70px); } }
/* планшет стоя: текст поменьше, чтобы не заходил на упаковки */
@media (max-aspect-ratio: 4/5) and (min-width: 600px) {
  .hero__title { font-size: 5vw; }
  html[lang="he"] .hero__title { font-size: 6.2vw; }
}
/* «рукописные» заголовки в иврите — Omnes Bold чуть меньшего кегля */
html[lang="he"] .script-title { font-weight: 700; font-size: 58px; letter-spacing: 0; line-height: 1.1; }
html[lang="he"] .script-title--xl { font-size: 80px; }
html[lang="he"] .section-subtitle { letter-spacing: 0; }
html[lang="he"] .btn { letter-spacing: 0; }
html[lang="he"] .header-phone { letter-spacing: .5px; font-weight: 600; }
html[lang="he"] .nav-menu a, html[lang="he"] .nav-sub__toggle { font-weight: 500; }
html[lang="he"] .product h3 { font-weight: 500; }
/* «Партнёрам», текст над кнопкой: Medium, крупнее — в 2 строки */
@media (min-width: 768px) { html[lang="he"] .partners-hero__lead { font-size: 30px; font-weight: 500; line-height: 1.25; } }
html[lang="he"] .lead-form--line input, html[lang="he"] .lead-form--line textarea { font-weight: 500; }
/* поля email/телефон пишутся слева направо, но подсказка остаётся справа */
html[lang="he"] .lead-form input[dir="ltr"]::placeholder { text-align: right; }
html[lang="he"] .lead-form input[dir="ltr"]:placeholder-shown { direction: rtl; }

/* «О компании» на иврите — зеркально русской версии: фото как в оригинале, текст справа */
/* иврит: фон отражается вместе с талисманом — на русском оба отражены, на иврите оба в исходном виде */
html[dir="rtl"] .about-intro::before { transform: none; }

@media (max-width: 1366px) {
  html[lang="he"] .nav-menu a, html[lang="he"] .nav-sub__toggle { font-size: 16px; }
}
@media (max-width: 1280px) {
  html[lang="he"] .nav-menu .nav-sub__list a { font-size: 15px; }
}
@media (max-width: 767px) {
  html[lang="he"] .script-title { font-size: 32px; line-height: 1.1; }
  html[lang="he"] .script-title--xl { font-size: 34px; }
  html[lang="he"] .nav-menu a, html[lang="he"] .nav-sub__toggle { font-size: 20px; }
  html[lang="he"] .nav-menu .nav-phone a, html[lang="he"] .nav-menu .nav-lang a, html[lang="he"] .nav-menu .nav-sub__list a { font-size: 17px; }
}

/* Контакты, 768–1366: соцсети отдельной строкой по центру, без разделителя перед ними */
@media (min-width: 768px) and (max-width: 1366px) {
  .contacts__bar .socials--contacts { flex-basis: 100%; justify-content: center; border: 0; padding-inline-start: 0; }
}

/* Контакты, большой планшет стоя (iPad Pro): форма уже, маскот крупнее */
@media (min-width: 1025px) and (orientation: portrait) {
  .contacts__form-col { flex: 0 0 58%; padding-inline: 60px 30px; }
  html[lang="he"] .contacts__form-col { padding-inline: 60px 30px; }
  .contacts__mascot { flex: 0 0 42%; min-width: 0; padding: 40px 0; }
  .contacts__mascot img { max-width: 440px; }
}

/* Каталог на планшете стоя и телефоне: маскот сбоку от заголовка, категории ниже на всю ширину */
@media (max-width: 1024px), (orientation: portrait) {
  .catalog__inner { grid-template-columns: minmax(0, 30fr) minmax(0, 70fr); grid-template-areas: "mascot title" "list list"; grid-template-rows: auto auto; align-items: center; }
  .catalog .script-title { padding-top: 0; margin: 0; }
  .catalog__mascot { max-width: 300px; }
}
/* планшеты (и большие стоя): маскот и заголовок сдвинуты к центру друг к другу, поля по бокам, больше воздуха до продуктов */
@media (min-width: 768px) and (max-width: 1024px), (min-width: 768px) and (orientation: portrait) {
  .catalog__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 0; padding-inline: 6vw; }
  .catalog__mascot { justify-self: end; width: 100%; max-width: 330px; margin-inline-end: -20px; } /* +10%; у картинки прозрачные поля — подтянута к заголовку */
  .catalog .script-title { justify-self: start; text-align: start; }
  .catalog .catalog__list { margin-top: 70px; gap: 4vw; }
  .catalog { padding-top: 40px; }
}
@media (max-width: 767px) {
  /* телефон: маскот крупнее, заголовок прижат к нему, под маскотом воздух до первого продукта */
  .catalog__inner { grid-template-columns: minmax(0, 54fr) minmax(0, 46fr); column-gap: 0; }
  .catalog .script-title { font-size: 34px; justify-self: start; text-align: start; margin-inline-start: -4px; }
  .catalog .catalog__list { margin-top: 30px; }
  .catalog__mascot img { width: 115%; max-width: none; margin-inline: -7.5%; } /* маскот +15%, растёт поровну в обе стороны */
}

/* =========================================================
   HERO «сцена» (компьютер, ноутбук, планшет лёжа): фон 2:1 с продуктами, талисман отдельным слоем справа
   (ноги уходят за нижний край блока), текст в 2 строки внизу под продуктами.
   Размеры сняты с макета заказчика 2000×1000.
   ========================================================= */
.hero__mascot { display: none; }
@media (min-aspect-ratio: 4/5) and (min-width: 768px) {
  .hero__slide.is-ready { background-position: center 70%; } /* фон чуть ниже прижатого к низу: срезается в основном верх */
  .hero__mascot {
    display: block;
    position: absolute;
    z-index: 2;
    right: 5.5%;
    bottom: -18%;
    height: 98%;
    width: auto;
    max-width: none;
    pointer-events: none;
    animation: mascotRise 1.2s .4s cubic-bezier(.2, .8, .3, 1) both;
  }
  /* слоган — как раньше: слева, по левому краю (на иврите справа); талисман на иврите отражён и стоит слева */
  .hero { padding-inline: 8.5vw; padding-bottom: 9vh; } /* нижний отступ поднимает слоган выше центра */ /* пачки по центру — слоган ближе к краю, чтобы не заходить на левую пачку */
  .hero .hero__title { font-size: 2.35vw; text-shadow: 0 2px 18px rgba(0, 0, 0, .45); }
  html[lang="he"] .hero .hero__title { font-size: 2.9vw; }
  html[lang="he"] .hero__mascot { right: auto; left: 5.5%; transform: scaleX(-1); animation-name: mascotRiseFlip; }
}
@keyframes mascotRise {
  from { opacity: 0; transform: translateY(18%); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes mascotRiseFlip {
  from { opacity: 0; transform: scaleX(-1) translateY(18%); }
  to   { opacity: 1; transform: scaleX(-1) translateY(0); }
}
@media (prefers-reduced-motion: reduce) { .hero__mascot { animation: none; } }

/* значок «Сделано с любовью» — в левом углу (справа в hero стоит талисман), на обоих языках */
/* кружок напротив талисмана (RU слева, HE справа), крупнее прежнего */
@media (min-width: 768px) { .products__badge { inset-inline-end: auto; inset-inline-start: 0; width: 360px; top: -100px; } }
/* в «сцене» кружок стоит ровно по краю слогана (отступ слогана — 8.5vw) */
@media (min-aspect-ratio: 4/5) and (min-width: 768px) { .products__badge { inset-inline-start: 8.5vw; justify-content: flex-start; } }

/* ---------- Меню «Продукция»: карточки с фото, как блок «Каталог продукции» (только компьютер; в бургер-меню — прежний список текстом) ---------- */
.nav-sub__img { display: none; }
@media (min-width: 1281px) {
  .nav-sub__list {
    flex-direction: row;
    gap: 24px;
    min-width: 0;
    padding: 32px 34px 46px; /* снизу больше воздуха под названиями */
    inset-inline-start: -34px;
    top: calc(100% + 11px); /* на 5px ниже прежнего */
    border-radius: var(--radius-lg);
    box-shadow: 0 18px 50px rgba(91, 10, 36, .16);
  }
  .nav-menu .nav-sub__list a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: clamp(132px, 9.9vw, 220px); /* на широком экране меню не доходит до логотипа */
    padding: 0;
    white-space: normal;
    text-align: center;
  }
  .nav-sub__img { display: block; width: 100%; height: auto; }
  .nav-sub__name { font-size: 19px; font-weight: 700; line-height: 1.25; color: #000; transition: color .2s; }
  .nav-menu .nav-sub__list a:hover .nav-sub__name,
  .nav-menu .nav-sub__list a:focus-visible .nav-sub__name,
  .nav-menu .nav-sub__list a[aria-current="page"] .nav-sub__name { color: var(--c-secondary); }
}
@media (min-width: 1281px) { .nav-sub__list::before { height: 13px; } } /* «мостик» под увеличенный отступ — меню не закрывается по пути курсора */

/* «О компании»: талисман с воздушным поцелуем справа (на иврите слева), ноги уходят ниже блока на следующую секцию.
   На русском отражён — смотрит на текст. Размеры сняты с макета заказчика (экран 2000px). */
.about-intro__mascot { display: none; }
@media (min-width: 1025px) and (orientation: landscape) {
  .about-intro__mascot {
    display: block;
    position: absolute;
    z-index: 1;
    right: 16%;
    bottom: -23.6%;
    height: min(115%, 41vw); /* на ноутбуках меньше — не заходит на текст */
    width: auto;
    max-width: none;
    transform: scaleX(-1);
    pointer-events: none;
  }
  html[lang="he"] .about-intro__mascot { right: auto; left: 16%; transform: none; }
}

/* «О компании»: текст полностью белый и выровнен по левому краю колонок футера (контейнер 1380px) */
.about-intro .about-intro__title { color: #fff; }
@media (min-width: 1025px) {
  .about-intro__text { margin-inline-start: max(47px, calc((100vw - 1380px) / 2 - 10px)); }
}

/* «Мы стараемся для вас!» (О компании): иконки с подписями чуть ниже от заголовка, внизу больше воздуха */
.advantages.advantages--light { padding-bottom: 150px; }
.advantages--light .container { gap: 50px; }
@media (max-width: 1366px) { .advantages.advantages--light { padding-bottom: 135px; } .advantages--light .container { gap: 64px; } }
@media (max-width: 767px) { .advantages.advantages--light { padding-bottom: 50px; } .advantages--light .container { gap: 32px; } }

/* «О компании», телефон и планшет стоя: талисман под текстом по центру, ноги выходят в белый блок «Мы стараемся для вас!» */
@media (max-width: 1024px), (orientation: portrait) {
  .about-intro { flex-direction: column; align-items: stretch; padding-top: 50px; padding-bottom: 0; } /* воздух над текстом */
  section.about-intro { padding-top: 50px; }
  .about-intro__mascot {
    display: block;
    position: relative;
    z-index: 1;
    order: 2;
    width: min(72vw, 340px);
    left: -6vw; /* русский: чуть левее центра */
    height: auto;
    margin: 24px auto calc(min(72vw, 340px) * -.36); /* ноги уходят ниже блока (≈ от высоты самого талисмана) */
    transform: scaleX(-1);
    pointer-events: none;
  }
  html[lang="he"] .about-intro__mascot { transform: none; left: 6vw; } /* иврит: чуть правее центра */
  .about-intro + .advantages.advantages--light { padding-top: calc(min(72vw, 340px) * .36 + 36px); } /* место под ноги талисмана */
}
@media (max-width: 767px) {
  .about-intro__title { font-size: 26px; line-height: 1.2; margin-bottom: 18px; }
  .about-intro__text p { margin-bottom: 14px; }
}

/* hero на вертикальном экране (телефон, планшет стоя): вместо кружка «Сделано с любовью» — талисман-ведущий внизу,
   выходит из нижнего края блока и показывает рукой на пачки; на иврите отражён и стоит слева */
@media (max-aspect-ratio: 4/5) {
  .hero__mascot {
    display: block;
    position: absolute;
    z-index: 2;
    right: 2%;
    bottom: -10%;
    height: 46%; /* цилиндр не заходит на пачки */
    height: var(--mascot-h, 46%);
    width: auto;
    max-width: none;
    pointer-events: none;
    animation: mascotRise 1.2s .4s cubic-bezier(.2, .8, .3, 1) both;
  }
  html[lang="he"] .hero__mascot { right: auto; left: 2%; transform: scaleX(-1); animation-name: mascotRiseFlip; }
  .products__badge { display: none; }
}

/* телефон (фото hero-m-*): слоган ровно посередине между низом логотипа в шапке и верхом пачек.
   Фото 1080×2340, cover по центру: --R — высота фото на экране; верх пачек ≈ 35.5% высоты фото;
   логотип свисает из шапки на 38px. Талисман чуть крупнее. */
@media (max-aspect-ratio: 2/3) and (max-width: 767px) {
  .hero {
    --hh: calc(100svh - var(--header-h, 56px));
    --R: max(var(--hh), 216.67vw);
    --mascot-h: 52%;
  }
  .hero .hero__title {
    position: absolute;
    left: var(--gutter);
    right: var(--gutter);
    top: calc((38px + var(--hh) / 2 - .215 * var(--R)) / 2); /* поднято по скриншоту S20 (~28px) */
    transform: translateY(-50%);
  }
}

/* планшет стоя: слоган на иврите в 2 строки («טעמים יש בשפע,» / «אריסטוקרט יש רק אחד!»), фото прижато к низу — меньше пустоты сверху */
@media (min-width: 768px) and (max-aspect-ratio: 4/5) {
  html[lang="he"] .hero .hero__title { display: block; }
  html[lang="he"] .hero__line { display: inline; }
  html[lang="he"] .hero__br--1 { display: inline; }
  html[lang="he"] .hero__br--2 { display: none; }
  .hero__slide.is-ready { background-position: center bottom; }
}

/* высокие узкие планшеты (Surface 960×1440 и т.п.): фото чуть крупнее и прижато к низу, слоган ниже — меньше пустоты между текстом и пачками */
@media (min-width: 768px) and (max-aspect-ratio: 18/25) {
  .hero__slide.is-ready { background-size: auto 110%; background-position: center bottom; }
  .hero { padding-top: 11vh; }
}
/* =========================================================
   «ПАРТНЁРАМ» — первый экран (макет заказчика 1928px): фон #3b0012, мягкая подсветка #e44173 за маскотом и грузовиком,
   текст справа (на русском слева), справа/слева — «сцена»: грузовик за маскотом с договором.
   Сцена .ph__art — блок высотой во весь hero с пропорцией 910:525, всё внутри в %, поэтому композиция одинакова на любой ширине.
   ========================================================= */
.ph { --ph-h: clamp(420px, 27.2vw, 640px); position: relative; overflow: hidden; background: #3b0012; height: var(--ph-h); }
.ph__inner {
  position: relative;
  height: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding-inline: 20px;
  direction: ltr; /* на обоих языках: текст слева, сцена справа — рука маскота показывает на текст */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 35px;
}
.ph__text { flex: 0 1 auto; max-width: 480px; display: flex; flex-direction: column; align-items: flex-start; text-align: left; color: #fff; position: relative; z-index: 3; }
.ph__title { font-size: clamp(56px, 4.15vw, 96px); font-weight: 900; line-height: 1.1; margin: 0 0 .32em; }
.ph__lead { font-size: clamp(22px, 1.75vw, 38px); font-weight: 500; line-height: 1.4; margin: 0 0 1.1em; }
.ph__btn { font-size: clamp(18px, 1.15vw, 24px); padding: .85em 2.6em; letter-spacing: 0; text-transform: none; }
.ph__btn:hover, .ph__btn:focus-visible { background: var(--c-secondary); border-color: var(--c-secondary); color: #fff; } /* «Партнёрам»: при наведении малиновый */
.ph__art { position: relative; flex: 0 0 auto; height: 100%; aspect-ratio: 910 / 525; }
/* справа в сцене ~15% пустоты (тень грузовика) — убираем её из центровки, чтобы текст + маскот + грузовик стояли ровно по центру */
/* компьютер: маскот всегда ровно по центру страницы (под логотипом) на обоих языках — сцена стоит от центра, текст слева от неё вплотную (35px) */
@media (min-width: 1101px) {
  .ph__inner { display: block; --artw: calc(var(--ph-h) * 1.7333); --shift: min(6%, 50% - .625 * var(--artw) - 20px); } /* сдвиг группы вправо: 6% (было 10%, маскот с грузовиком −4%), но бампер грузовика не ближе 20px к краю */
  .ph__art { position: absolute; top: 0; left: calc(50% + var(--shift) - 2% - .22 * var(--artw)); } /* маскот с грузовиком ещё на 2% левее, текст на месте */
  .ph__text { position: absolute; top: 50%; right: calc(50% - var(--shift) + .22 * var(--artw) + 35px); transform: translateY(-50%); }
}
/* подсветка — за маскотом и грузовиком, ярче всего у низа под маскотом */
.ph__art::before {
  content: "";
  position: absolute;
  left: -53%; width: 150%; top: -17.5%; height: 225%; /* +25% и на 40% ниже: центр по ширине — за маскотом (22%), по высоте — у нижнего края сцены (95%) */
  background: radial-gradient(closest-side, rgba(228, 65, 115, .85) 0%, rgba(228, 65, 115, .72) 14%, rgba(228, 65, 115, .54) 28%, rgba(228, 65, 115, .36) 42%, rgba(228, 65, 115, .21) 56%, rgba(228, 65, 115, .1) 70%, rgba(228, 65, 115, .04) 82%, rgba(228, 65, 115, .01) 92%, rgba(228, 65, 115, 0) 100%);
  pointer-events: none;
}
.ph__truck { position: absolute; left: -14.6%; top: 21.7%; width: 125.4%; max-width: none; height: auto; z-index: 1; }
.ph__mascot { position: absolute; left: 1.1%; top: 11%; width: 41.8%; max-width: none; height: auto; z-index: 2; }
.ph__br { display: inline; }
html[lang="ru"] .ph__title { font-weight: 700; }

/* блоки под hero — пока как были, на белом */
.partners-offer { background: #fff; padding: 90px 20px 110px; }
.partners-offer .offer { margin-inline: auto; }

/* ---------- анимация первого экрана ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* грузовик быстро въезжает слева, резко тормозит и покачивается на «резине» */
  .ph__truck { transform-origin: 50% 88%; animation: phTruckIn 1.9s .15s both; }
  .ph__mascot { animation: phRiseUp 1.1s .75s cubic-bezier(.2, .9, .3, 1.15) both; }
  .ph__title { animation: phRiseUp .9s .3s cubic-bezier(.2, .8, .3, 1) both; }
  .ph__lead  { animation: phRiseUp .9s .45s cubic-bezier(.2, .8, .3, 1) both; }
  .ph__btn   { animation: phRiseUp .9s .6s cubic-bezier(.2, .8, .3, 1) both, phRubber 1s 2s both; }
  .ph__btn:hover { animation: phRubber 1s both; }
}
@keyframes phTruckIn { /* въезд слева; при торможении низ и колёса стоят на месте (точка опоры — низ колёс), качается только верх кузова */
  0%   { transform: translateX(-120vw) skewX(-10deg); animation-timing-function: cubic-bezier(.15, .6, .35, 1); }
  45%  { transform: translateX(0) skewX(-6deg); animation-timing-function: ease-out; }
  58%  { transform: skewX(6deg); }
  70%  { transform: skewX(-3.5deg); }
  81%  { transform: skewX(1.8deg); }
  91%  { transform: skewX(-.7deg); }
  100% { transform: none; }
}
@keyframes phRiseUp {
  from { opacity: 0; transform: translateY(40%); }
  to   { opacity: 1; transform: none; }
}
@keyframes phRubber {
  0%   { transform: scale3d(1, 1, 1); }
  30%  { transform: scale3d(1.22, .8, 1); }
  40%  { transform: scale3d(.8, 1.2, 1); }
  50%  { transform: scale3d(1.12, .9, 1); }
  65%  { transform: scale3d(.96, 1.04, 1); }
  75%  { transform: scale3d(1.03, .97, 1); }
  100% { transform: scale3d(1, 1, 1); }
}

/* планшет и телефон: текст по центру сверху, сцена под ним во всю ширину */
@media (max-width: 1100px) {
  .ph { height: auto; }
  .ph__inner { flex-direction: column; gap: 28px; padding: 70px 0 0; }
  .ph__text { flex: none; align-items: center; text-align: center; padding-inline: var(--gutter, 24px); }
  .ph__art { height: auto; width: min(100%, 760px); }
}
@media (max-width: 767px) {
  .ph__inner { padding-top: 64px; gap: 22px; }
  .ph__title { font-size: 44px; }
  .ph__lead { font-size: 19px; }
  .ph__br { display: none; }
  .ph__btn { font-size: 16px; }
  .partners-offer { padding: 50px var(--gutter) 60px; }
}
/* иврит: текст прижат вправо, к маскоту (как в макете) */
html[lang="he"] .ph__text { direction: rtl; }
@media (min-width: 1101px) { html[lang="he"] .ph__text { align-items: flex-start; text-align: right; } }
/* русский текст длиннее: без принудительного переноса, кегль чуть меньше, колонка шире */
html[lang="ru"] .ph__br { display: none; }
html[lang="ru"] .ph__text { max-width: 540px; }
html[lang="ru"] .ph__lead { font-size: clamp(20px, 1.45vw, 30px); font-weight: 400; }
/* телефон: сцена на всю ширину экрана и чуть крупнее (маскот + грузовик занимают ~84% ширины сцены) */
@media (max-width: 767px) {
  #content > section.ph { padding-inline: 0; }
  .ph__art { width: 116vw; align-self: flex-start; margin-left: -1vw; }
}
/* иврит: заголовок ближе к тексту, межстрочный текста −20% (1.4 → 1.12), кнопка выше */
html[lang="he"] .ph__title { margin-bottom: .12em; }
html[lang="he"] .ph__lead { line-height: 1.12; margin-bottom: .75em; }
/* текст не заходит за левый край на узких ноутбуках: ширина — не больше места слева от сцены (минус 20px поля) */
@media (min-width: 1101px) {
  .ph__text { max-width: min(480px, calc(50% + var(--shift) - .22 * var(--artw) - 55px)); }
  html[lang="ru"] .ph__text { max-width: min(540px, calc(50% + var(--shift) - .22 * var(--artw) - 55px)); }
}
html[lang="ru"] .ph__btn { padding-top: .75em; padding-bottom: .95em; } /* у шрифта atyp буквы сидят низко — текст поднят на ~2px к центру */
/* вся группа сдвинута на 10% вправо от центра (маскот стоит на 60% ширины); вторая строка иврита не переносится — «הארץ.» на той же строке */
@media (min-width: 1101px) { .ph__nw { white-space: nowrap; } }
/* текст с кнопкой: на иврите на 5% левее, на русском на 5% правее (от места рядом с маскотом) */
@media (min-width: 1101px) {
  html[lang="he"] .ph__text { right: calc(50% - var(--shift) + .22 * var(--artw) + 35px + 5%); max-width: min(480px, calc(50% + var(--shift) - .22 * var(--artw) - 55px - 5%)); }
  html[lang="ru"] .ph__text { right: calc(50% - var(--shift) + .22 * var(--artw) + 35px - 3%); max-width: min(540px, calc(50% + var(--shift) - .22 * var(--artw) - 55px + 3%)); } /* +3% вправо (было 5%, −2%) */
}
/* телефон: заголовок «Мы стараемся для вас!» / «אנחנו משתדלים בשבילכם!» на 20% меньше */
@media (max-width: 767px) {
  .advantages--light .script-title { font-size: 38px; }
  html[lang="he"] .advantages--light .script-title { font-size: 29px; }
}

/* значок «Сделано с любовью» — теперь в первом экране (компьютер/ноутбук/планшет лёжа): белый без фона,
   под слоганом у его края, по высоте ровно посередине между низом слогана и низом экрана.
   Расчёт: слоган (2 строки) стоит по центру области между отступами 10px сверху и 9vh снизу. */
.hero__badge { display: none; }
@media (min-aspect-ratio: 4/5) and (min-width: 768px) {
  .hero { --hh: calc(100svh - var(--header-h, 90px)); --ht: 5.6vw; --bs: clamp(110px, 9vw, 220px); }
  html[lang="he"] .hero { --ht: 7.25vw; }
  .hero__badge {
    display: block;
    position: absolute;
    z-index: 3;
    inset-inline-start: 8.5vw;
    width: var(--bs);
    top: calc((10px + (var(--hh) - 10px - 9vh) / 2 + var(--ht) / 2 + var(--hh)) / 2 - var(--bs) / 2);
  }
  .hero__badge img { display: block; width: 100%; height: auto; transition: transform 1s ease; }
  .hero__badge:hover img { transform: rotate(360deg); }
}
/* значок выкатывается из-под маскота (на иврите — слева, на русском — справа) и встаёт на место; --from/--rot ставит main.js */
@media (min-aspect-ratio: 4/5) and (min-width: 768px) {
  .hero__badge { z-index: 1; opacity: 0; } /* под маскотом (у маскота z-index 2) */
  .hero__badge.is-placed { opacity: 1; }
}
@media (min-aspect-ratio: 4/5) and (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  .hero__badge.is-placed { animation: badgeRoll 2.4s 1.3s cubic-bezier(.22, .75, .3, 1) both; }
}
@keyframes badgeRoll {
  from { opacity: 0; transform: translateX(var(--from, -300px)) rotate(var(--rot, -360deg)); } /* из полной прозрачности — к концу пути непрозрачный */
  to   { opacity: 1; transform: none; }
}
/* планшет стоя: тот же выкатывающийся значок — внизу, на свободной стороне напротив талисмана, по краю текста;
   по высоте — посередине видимой части талисмана (между его цилиндром и низом экрана). Положение ставит main.js */
@media (max-aspect-ratio: 4/5) and (min-width: 768px) {
  .hero__badge { display: block; position: absolute; z-index: 1; width: clamp(140px, 21vw, 280px); opacity: 0; }
  .hero__badge.is-placed { opacity: 1; }
  .hero__badge img { display: block; width: 100%; height: auto; transition: transform 1s ease; }
  .hero__badge:hover img { transform: rotate(360deg); }
}
@media (max-aspect-ratio: 4/5) and (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  .hero__badge.is-placed { animation: badgeRoll 2.4s 1.3s cubic-bezier(.22, .75, .3, 1) both; }
}
/* телефон: талисман ближе к краю экрана; выкатывающийся значок — маленький, на свободной стороне внизу (положение ставит main.js) */
@media (max-width: 767px) and (max-aspect-ratio: 4/5) {
  .hero__badge { display: block; position: absolute; z-index: 1; width: clamp(96px, 27vw, 132px); opacity: 0; }
  .hero__badge.is-placed { opacity: 1; }
  .hero__badge img { display: block; width: 100%; height: auto; }
}
@media (max-width: 767px) and (max-aspect-ratio: 4/5) and (prefers-reduced-motion: no-preference) {
  .hero__badge.is-placed { animation: badgeRoll 2.4s 1.3s cubic-bezier(.22, .75, .3, 1) both; }
}
/* преимущества (3 пункта): весь ряд колонок на 30% уже, по центру — на всех экранах */
.advantages__list { width: 77%; margin-inline: auto; } /* 70% +10% */
@media (min-width: 768px) { .advantages__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } } /* колонки одинаковой ширины */
@media (min-width: 768px) and (max-width: 1024px) { .advantages__list { column-gap: 24px; } }
/* «Партнёрам», список «Мы знаем, что важно потребителю»: воздух между пунктами */
.offer__text li + li { margin-top: 20px; }
@media (max-width: 767px) { .offer__text li + li { margin-top: 8px; } }
/* «Контакты», иврит: «מלאו את הטופס…» на 20% крупнее (24 → 29px, телефон 22 → 26px); русский без изменений */
html[lang="he"] .contacts__intro h2 { font-size: 29px; }
@media (max-width: 767px) { html[lang="he"] .contacts__intro h2 { font-size: 26px; } }
/* «Контакты», русский: +10% (24 → 26px, телефон 22 → 24px) */
html[lang="ru"] .contacts__intro h2 { font-size: 26px; }
@media (max-width: 767px) { html[lang="ru"] .contacts__intro h2 { font-size: 24px; } }

/* «О компании», первый блок — ЗЕРКАЛЬНО прежнему (по просьбе заказчика): фон, текст и талисман поменялись сторонами.
   Русский: текст справа, талисман слева (смотрит вправо, на текст). Иврит: текст слева, талисман справа. */
.about-intro::before { transform: none; }
html[dir="rtl"] .about-intro::before { transform: scaleX(-1); }
.about-intro__inner { justify-content: flex-end; }
.about-intro__text { margin-inline-start: 0; margin-inline-end: max(40px, calc(25% - 320px + 50px)); }
@media (min-width: 1025px) {
  .about-intro__text { margin-inline-start: 0; margin-inline-end: max(47px, calc((100vw - 1380px) / 2 - 10px)); }
}
@media (min-width: 1025px) and (orientation: landscape) {
  .about-intro__mascot { right: auto; left: 16%; transform: none; }
  html[lang="he"] .about-intro__mascot { left: auto; right: 16%; transform: scaleX(-1); }
}
@media (max-width: 1024px), (orientation: portrait) {
  .about-intro__mascot { left: 6vw; transform: none; }
  html[lang="he"] .about-intro__mascot { left: -6vw; transform: scaleX(-1); }
}
@media (max-width: 767px) { .about-intro__text { margin-inline-end: 0; } }
.about-intro::after { background: rgba(0, 0, 0, .68); } /* «О компании»: затемнение сильнее (.53 → .68), пельмени спокойнее */
/* все страницы каталога: по 4 продукта в ряд, каждый раздел — со своей строки */
@media (min-width: 1025px) { .cat-row--4 { --cols: 4; } }
/* главная, «Мы производим:»: название продукта жирным, под ним подпись «Натуральные полуфабрикаты» / «Готовые блюда» */
html[lang="ru"] .product h3 { font-weight: 700; }
.product__sub { margin: 8px 0 0; font-size: 20px; line-height: 1.25; color: #6b6b6b; text-align: center; }
@media (max-width: 1366px) { .product__sub { font-size: 18px; } }
@media (max-width: 767px) { .product__sub { font-size: 15px; margin-top: 4px; } }

/* ---------- «Мы производим»: 5 тарелок в ряд с одинаковыми промежутками;
   последние три (блинчики, чебуреки, сырники) — одна группа с общей подписью «Готовые блюда» ---------- */
.products .products__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: clamp(14px, 2.2vw, 40px);
  row-gap: 40px;
  max-width: 1500px;
  margin-inline: auto;
  align-items: start;
}
.products .product { flex: none; width: auto; max-width: none; }
.products .product img { width: 100%; margin: 0; }
.product--group { grid-column: span 3; display: grid; grid-template-columns: subgrid; }
.product__plates { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; }
.product--group h3, .product--group .product__sub { grid-column: 1 / -1; }
@media (max-width: 1366px) { .products .product h3 { font-size: 26px; } }
@media (max-width: 1024px) { .products .product h3 { font-size: 22px; } .product__sub { font-size: 16px; } }
/* телефон: пельмени и вареники по две в ряд, ниже группа из трёх тарелок поменьше с общей подписью */
@media (max-width: 767px) {
  .products .products__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; row-gap: 30px; }
  .product--group { grid-column: 1 / -1; display: block; }
  .product__plates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 10px; }
  .products .product h3 { font-size: 20px; }
}
.products .product__sub { font-size: clamp(15px, 1.2vw, 18px); } /* «Натуральные полуфабрикаты» — в одну строку на компьютере */
html[lang="he"] .products .product h3 { font-weight: 700; } /* иврит: названия продуктов жирным, как на русском */
/* «Мы производим»: пельмени и вареники — тоже одна группа (2 тарелки) с общей подписью */
.product--g2 { grid-column: span 2; }
@media (max-width: 767px) {
  .product--g2 { grid-column: 1 / -1; }
  .product--g2 .product__plates { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; }
}
/* «Мы производим»: подписи чуть ниже от тарелок */
.products .product h3 { margin-top: clamp(14px, 1.6vw, 26px); }
@media (max-width: 767px) { .products .product h3 { margin-top: 12px; } }
/* телефон, «Каталог продукции» на главной: категории (картинка + название) на 35% крупнее, внизу больше воздуха */
@media (max-width: 767px) {
  .catalog .catalog__list { width: 100%; justify-self: center; padding-bottom: 30px; }
  .catalog .category__img { width: 300px; max-width: 100%; margin-inline: auto; } /* было 230 (до того 170) */ /* название не ограничено шириной картинки — «מוכנים לאכילה» в одну строку */
  .catalog .category__name { font-size: 30px; }
  .catalog { padding-bottom: 70px; }
}
/* телефон: окно с квадратным фильмом (без чёрных полос, видео во всё окно) */
.video-modal--square { width: min(calc(100vw - 2 * var(--gutter)), calc(100vh - 140px)); }
.video-modal--square .video-modal__frame { aspect-ratio: 1 / 1; }
.video-modal--square .video-modal__player { inset: 0; aspect-ratio: auto; transform: none; }
/* окно фильма (широкая версия): видео чуть крупнее окна (по 3% с каждой стороны вместо 1,5%) —
   на части экранов (планшеты, дробный масштаб) у верхнего края проступала тёмная строка от полосы в файле */
.video-modal:not(.video-modal--square):not(.video-modal--169):not(.video-modal--43) .video-modal__player { left: -3%; right: -3%; }
/* окно фильма: компьютер — 16:9, планшет — 4:3 (файлы уже обрезаны, без полос — видео во всё окно) */
.video-modal--169 { width: min(88vw, calc((100vh - 140px) * 16 / 9)); }
.video-modal--169 .video-modal__frame { aspect-ratio: 16 / 9; }
.video-modal--43 { width: min(88vw, calc((100vh - 140px) * 4 / 3)); }
.video-modal--43 .video-modal__frame { aspect-ratio: 4 / 3; }
.video-modal--169 .video-modal__player, .video-modal--43 .video-modal__player { inset: 0; aspect-ratio: auto; transform: none; }
/* в самих файлах фильма верхние ~3 px кадра (из 720) тёмные — уводим их за верхний край рамки */
.video-modal__player video { top: -0.7%; height: 100.7%; object-fit: cover; }

/* =========================================================
   МЕНЮ-«БУРГЕР» на планшете / ноутбуке (768–1280): в стиле телефонного — белая панель на всю высоту под шапкой,
   без розовых плашек, страницы каталога с линией слева (телефон ≤767 — свои правила выше)
   ========================================================= */
@media (min-width: 768px) and (max-width: 1280px) {
  .nav-menu,
  .nav-menu.is-open {
    gap: 18px;
    padding: 90px 8vw 40px;
    border: 0;
    background: var(--c-accent);
    box-shadow: 0 18px 30px rgba(91, 10, 36, .08);
  }
  .nav-menu { transition: max-height .3s ease, visibility 0s .3s; }
  .nav-menu.is-open { max-height: calc(100vh - var(--header-h, 90px)); min-height: calc(100vh - var(--header-h, 90px)); overflow-y: auto; transition: max-height .3s ease; }
  .nav-menu a,
  .nav-menu a:hover,
  .nav-menu a:focus-visible,
  .nav-sub__toggle { padding: 0; background: none; font-size: 26px; line-height: 1.3; color: var(--c-primary); }
  .nav-menu a:hover, .nav-menu a:focus-visible, .nav-menu a[aria-current="page"] { background: none; color: var(--c-secondary); }
  .nav-sub { display: flex; flex-direction: column; gap: 12px; }
  .nav-sub__list,
  .nav-sub.open .nav-sub__list { gap: 10px; padding-inline-start: 20px; border-inline-start: 2px solid rgba(175, 53, 97, .25); }
  .nav-menu .nav-sub__list a,
  .nav-menu .nav-sub__list a:hover,
  .nav-menu .nav-sub__list a:focus-visible { padding: 0; font-size: 21px; background: none; color: var(--c-primary); }
  .nav-menu .nav-sub__list a:hover,
  .nav-menu .nav-sub__list a:focus-visible,
  .nav-menu .nav-sub__list a[aria-current="page"] { background: none; color: var(--c-secondary); }
}
@media (min-width: 768px) and (max-width: 1280px) {
  html[lang] .nav-menu a, html[lang] .nav-sub__toggle { font-size: 26px; }
  html[lang] .nav-menu .nav-sub__list a { font-size: 21px; }
}

/* ---------- «Мы производим»: две большие тарелки (студийные фото) — рядом на компьютере и планшете, друг под другом на телефоне ---------- */
.products .products__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(30px, 5vw, 90px); row-gap: 50px; max-width: 1400px; }
.products .product--plate { grid-column: auto; display: block; }
.products .product__plate { display: block; width: 100%; height: auto; filter: none; }
@media (max-width: 767px) {
  .products .products__list { grid-template-columns: minmax(0, 1fr); row-gap: 40px; max-width: 460px; }
}
/* «Мы производим»: тарелки (с тенями, белый фон) на 15% меньше */
.products .product__plate { width: 85%; margin-inline: auto; }
@media (max-width: 767px) { .products .product__plate { width: 92%; } }
.products .product__sub { font-size: clamp(19px, 1.5vw, 23px); } @media (max-width: 767px) { .products .product__sub { font-size: 19px; } } /* подписи под тарелками +25% */

/* «О компании», первый блок: вместо фото с пельменями — тёмно-вишнёвый фон как на «Партнёрам» (#3b0012)
   и такое же мягкое свечение #e44173 за маскотом (рисуется фоном самой картинки маскота — двигается вместе с ним) */
.about-intro { background: #3b0012; }
.about-intro::before, .about-intro::after { display: none; }
/* свечение — мягкая растяжка по всему фону блока, ярче со стороны маскота (RU — слева, HE — справа), плавно уходит в вишнёвый */
.about-intro {
  background:
    radial-gradient(ellipse 60% 85% at var(--glow-x, 30%) 72%, rgba(228,65,115,.55) 0%, rgba(228,65,115,.38) 25%, rgba(228,65,115,.2) 50%, rgba(228,65,115,.07) 75%, rgba(228,65,115,0) 100%),
    #3b0012;
}
html[dir="rtl"] .about-intro { --glow-x: 70%; }
@media (max-width: 1024px), (orientation: portrait) {
  .about-intro, html[dir="rtl"] .about-intro { --glow-x: 50%; }
  .about-intro { background:
    radial-gradient(ellipse 90% 55% at 50% 88%, rgba(228,65,115,.55) 0%, rgba(228,65,115,.35) 30%, rgba(228,65,115,.15) 60%, rgba(228,65,115,.04) 85%, rgba(228,65,115,0) 100%),
    #3b0012; }
}
/* «О компании», компьютер: маскот на 7px ниже и ближе к краю (RU — левее, HE — правее), текст шире при том же кегле */
@media (min-width: 1025px) and (orientation: landscape) {
  .about-intro__mascot { left: 12.5%; bottom: calc(-23.6% - 7px); }
  html[lang="he"] .about-intro__mascot { left: auto; right: 12.5%; }
  .about-intro__text { flex-basis: 740px; }
}
@media (min-width: 1025px) and (max-width: 1400px) and (orientation: landscape) { .about-intro__text { flex-basis: 640px; } } /* на ноутбуках текст прежней ширины — не заходит на маскота */
/* «О компании», блок «Мы стараемся для вас!»: +40px над заголовком */
.about-intro + .advantages.advantages--light { padding-top: 140px; }
@media (min-width: 1025px) and (max-width: 1366px) { .about-intro + .advantages.advantages--light { padding-top: 130px; } }
@media (max-width: 1024px), (orientation: portrait) { .about-intro + .advantages.advantages--light { padding-top: calc(min(72vw, 340px) * .36 + 76px); } }
/* «О компании»: маскот ещё на 40px ниже */
@media (min-width: 1025px) and (orientation: landscape) { .about-intro__mascot { bottom: calc(-23.6% - 47px); } }
@media (max-width: 1024px), (orientation: portrait) { .about-intro__mascot { top: 40px; } }
/* «О компании», телефон: маскот на 30% крупнее (72vw/340px → 93.6vw/442px, но не шире экрана); место под его ноги в следующем блоке — пропорционально */
@media (max-width: 767px) {
  .about-intro__mascot { --mw: min(90vw, 442px); width: var(--mw); max-width: none; left: -4vw; margin: 24px auto calc(var(--mw) * -.36); }
  html[lang="he"] .about-intro__mascot { left: 4vw; }
  .about-intro + .advantages.advantages--light { padding-top: calc(min(90vw, 442px) * .36 + 76px); }
}
/* «О компании», телефон: маскот немного правее и выше (меньше вишнёвого поля над ним) */
@media (max-width: 767px) {
  .about-intro__mascot { left: -1vw; top: 20px; margin-top: 4px; }
  html[lang="he"] .about-intro__mascot { left: 2vw; } /* зеркально русской версии */
}
/* шапка: значок WhatsApp без контурного кружка и крупнее (2026-11-19) */
.header-phone__icon { border: 0; }
.header-phone__icon svg { width: 26px; height: 26px; }
@media (max-width: 1366px) { .header-phone__icon svg { width: 22px; height: 22px; } }
@media (min-width: 768px) and (max-width: 1100px) { .header-phone__icon svg { width: 26px; height: 26px; } }
@media (max-width: 767px) { .header-phone__icon svg { width: 20px; height: 20px; } }

/* подпись студии в нижней строке футера (2026-11-19) */
.footer-bottom__inner { max-width: 1380px; margin-inline: auto; display: flex; justify-content: center; align-items: center; gap: 4px 48px; flex-wrap: wrap; }
.footer-credit { color: rgba(255, 255, 255, .55); text-decoration: none; transition: color .2s ease; }
.footer-credit:hover, .footer-credit:focus-visible { color: #fff; }
@media (max-width: 767px) { .footer-bottom__inner { flex-direction: column; justify-content: center; } }
/* v2026-11-19b */

/* индикатор слайдов: «капсула-таймер» — активная точка вытягивается и заполняется малиновым за время показа (2026-11-19) */
.hero__dots { position: absolute; left: 0; right: 0; bottom: clamp(14px, 3vh, 28px); z-index: 3; display: flex; justify-content: center; gap: 2px; }
.hero__dot { padding: 10px 4px; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.hero__dot span { display: block; position: relative; overflow: hidden; width: 9px; height: 9px; border-radius: 9px; background: rgba(255, 255, 255, .35); box-shadow: 0 1px 4px rgba(0, 0, 0, .25); transition: width .45s cubic-bezier(.2, .8, .2, 1), background-color .3s; }
.hero__dot span::after { content: ""; position: absolute; inset: 0; background: #fff; /* было малиновое #AF3561 */ transform: scaleX(0); transform-origin: left center; }
[dir="rtl"] .hero__dot span::after { transform-origin: right center; }
.hero__dot.is-on span { width: 38px; }
.hero__dot.is-on span::after { animation: heroDotFill var(--slide-ms, 4000ms) linear forwards; }
.hero__dot:hover span { background: rgba(255, 255, 255, .55); }
.hero__dot:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 12px; }
@keyframes heroDotFill { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .hero__dot.is-on span::after { animation: none; transform: scaleX(1); } .hero__dot span { transition: none; } }

/* =========================================================
   ПАНЕЛЬ ДОСТУПНОСТИ (assets/js/a11y.js) — 2026-11-19
   Кнопка слева внизу; эффекты — классы a11y-* на <html>, саму панель не трогают.
   ========================================================= */
.a11y { position: fixed; left: 16px; bottom: 16px; z-index: 9000; font-family: var(--f-main); direction: inherit; }
.a11y__btn { width: 52px; height: 52px; border-radius: 50%; border: 2px solid #fff; background: var(--c-secondary); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .28); transition: background-color .2s, transform .2s cubic-bezier(.2, .8, .2, 1); -webkit-tap-highlight-color: transparent; }
.a11y__btn svg { width: 30px; height: 30px; fill: currentColor; }
@media (hover: hover) { .a11y__btn:hover { background: var(--c-primary); } } /* на телефонах и планшетах после нажатия «залипал» тёмный цвет — там всегда малиновый */
.a11y__btn:active { transform: scale(.94); }
.a11y__btn:focus-visible, .a11y__panel :focus-visible { outline: 3px solid var(--c-secondary); outline-offset: 3px; }
.a11y__btn:focus-visible { outline-color: var(--c-primary); }
.a11y__panel { position: absolute; left: 0; bottom: 64px; width: min(340px, calc(100vw - 32px)); max-height: calc(100vh - 100px); max-height: calc(100svh - 100px); overflow: auto; background: #fff; color: #1d1d1d; border-radius: 16px; box-shadow: 0 12px 40px rgba(0, 0, 0, .25); padding: 16px; transform-origin: bottom left; animation: a11yIn .2s cubic-bezier(.2, .8, .2, 1); }
.a11y__panel[hidden] { display: none; }
@keyframes a11yIn { from { opacity: 0; transform: translateY(8px) scale(.97); } }
.a11y__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.a11y__title { margin: 0; font-size: 20px; font-weight: 700; color: var(--c-primary); }
.a11y__close { width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f3eaee; color: var(--c-primary); display: grid; place-items: center; cursor: pointer; }
.a11y__close svg { width: 20px; height: 20px; fill: currentColor; }
.a11y__close:hover { background: #e9d7df; }
.a11y__size { display: flex; align-items: center; gap: 8px; background: #f8f2f5; border-radius: 12px; padding: 8px 10px; margin-bottom: 10px; }
.a11y__size-label { flex: 1; font-size: 15px; font-weight: 600; }
.a11y__step { min-width: 44px; height: 40px; border: 1px solid #e3cfd8; border-radius: 10px; background: #fff; color: var(--c-primary); font: 700 16px/1 var(--f-main); cursor: pointer; }
.a11y__step:hover:not(:disabled) { border-color: var(--c-secondary); }
.a11y__step:disabled { opacity: .4; cursor: default; }
.a11y__size-val { min-width: 48px; text-align: center; font-size: 15px; font-weight: 600; direction: ltr; }
.a11y__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y__tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 84px; padding: 10px 6px; border: 1px solid #ecdde4; border-radius: 12px; background: #fff; color: #1d1d1d; font: 600 14px/1.25 var(--f-main); text-align: center; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.a11y__tile svg { width: 26px; height: 26px; fill: var(--c-secondary); }
.a11y__tile:hover { border-color: var(--c-secondary); }
.a11y__tile[aria-pressed="true"] { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.a11y__tile[aria-pressed="true"] svg { fill: #fff; }
.a11y__reset { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 10px; min-height: 44px; border: 0; border-radius: 12px; background: #f3eaee; color: var(--c-primary); font: 600 15px/1 var(--f-main); cursor: pointer; }
.a11y__reset svg { width: 20px; height: 20px; fill: currentColor; }
.a11y__reset:hover { background: #e9d7df; }
@media (max-width: 767px) { .a11y { left: 12px; bottom: 12px; } .a11y__btn { width: 46px; height: 46px; } .a11y__btn svg { width: 26px; height: 26px; } .a11y__panel { bottom: 56px; } }
@media (prefers-reduced-motion: reduce) { .a11y__panel { animation: none; } }

/* эффекты (на всё, кроме самой панели) */
html.a11y-size-1 body > :not(.a11y) { zoom: 1.1; }
html.a11y-size-2 body > :not(.a11y) { zoom: 1.2; }
html.a11y-size-3 body > :not(.a11y) { zoom: 1.3; }
html.a11y-size-4 body > :not(.a11y) { zoom: 1.4; }
html.a11y-contrast body > :not(.a11y) { filter: contrast(1.45); }
html.a11y-gray body > :not(.a11y) { filter: grayscale(1); }
html.a11y-contrast.a11y-gray body > :not(.a11y) { filter: grayscale(1) contrast(1.45); }
html.a11y-links body > :not(.a11y) a { text-decoration: underline !important; text-underline-offset: 3px; text-decoration-thickness: 2px !important; }
html.a11y-links body > :not(.a11y) a:not(.btn) { outline: 1px dashed currentColor; outline-offset: 2px; }
html.a11y-heads body > :not(.a11y) :is(h1, h2, h3, h4) { outline: 3px solid var(--c-secondary); outline-offset: 4px; }
html.a11y-noanim body > :not(.a11y) *, html.a11y-noanim body > :not(.a11y) *::before, html.a11y-noanim body > :not(.a11y) *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-noanim body > :not(.a11y) [data-anim] { opacity: 1 !important; transform: none !important; }
html.a11y-font body > :not(.a11y) *:not(svg):not(svg *) { font-family: Arial, "Arial Hebrew", Helvetica, sans-serif !important; letter-spacing: .01em !important; }
html.a11y-cursor, html.a11y-cursor * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 24 24'%3E%3Cpath d='M5 2l14 10.5-6.2.9 3.6 7.4-2.7 1.3-3.6-7.4L5 19z' fill='%23000' stroke='%23fff' stroke-width='1.3'/%3E%3C/svg%3E") 6 3, auto !important; }
/* иврит: кнопка доступности справа внизу (слева на планшете и телефоне заходила на маскота) */
[dir="rtl"] .a11y { left: auto; right: 16px; }
[dir="rtl"] .a11y__panel { left: auto; right: 0; transform-origin: bottom right; }
@media (max-width: 767px) { [dir="rtl"] .a11y { right: 12px; } }
.a11y__statement { display: block; margin-top: 10px; text-align: center; font-size: 14px; font-weight: 600; color: var(--c-primary); text-decoration: underline; text-underline-offset: 3px; }
.a11y__statement:hover { color: var(--c-secondary); }

/* страница «Заявление о доступности» (2026-11-19) */
.legal { padding: clamp(40px, 6vw, 90px) 0 clamp(56px, 7vw, 110px); background: #3b0012; } /* тёмно-вишнёвый, как блок «Партнёрам» с маскотом и грузовиком */
.legal__inner { max-width: 820px; background: #fff; border-radius: 18px; box-shadow: 0 18px 50px rgba(0, 0, 0, .28); padding: clamp(28px, 6vw, 72px) clamp(22px, 6vw, 76px); } /* «лист А4» */
@media (max-width: 767px) { .legal__inner { border-radius: 14px; } }
.legal__title { margin: 0 0 6px; font-size: clamp(30px, 4vw, 44px); line-height: 1.15; color: var(--c-primary); }
.legal__updated { margin: 0 0 28px; font-size: 15px; color: #6b6b6b; }
.legal h2 { margin: 34px 0 10px; font-size: clamp(21px, 2.2vw, 26px); color: var(--c-primary); }
.legal p, .legal li { font-size: 17px; line-height: 1.7; color: #1d1d1d; }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 12px; padding-inline-start: 1.3em; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--c-secondary); text-decoration: underline; text-underline-offset: 3px; }
.legal__contacts { list-style: none; padding-inline-start: 0 !important; }
@media (max-width: 767px) { .legal p, .legal li { font-size: 16px; } }
.legal ul:not(.legal__contacts) { list-style: disc; } .legal li::marker { color: var(--c-secondary); }
/* кнопка паузы слайдов рядом с точками (вариант на показ, 2026-11-19) */
.hero__pause { padding: 6px 6px; margin-inline-start: 6px; background: none; border: 0; cursor: pointer; display: grid; place-items: center; -webkit-tap-highlight-color: transparent; }
.hero__pause svg { width: 15px; height: 15px; color: rgba(255, 255, 255, .85); fill: currentColor; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35)); transition: color .2s; } /* без кружка, значок крупнее (было 11px внутри круга) */
@media (hover: hover) { .hero__pause:hover svg { color: #fff; } }
.hero__play-i { stroke: currentColor; stroke-width: 2.6; stroke-linejoin: round; } /* скруглённые углы треугольника */
.hero__pause:focus-visible { outline: 2px solid #fff; outline-offset: 1px; border-radius: 50%; }
.hero__play-i { display: none; }
.hero__pause[aria-pressed="true"] .hero__pause-i { display: none; }
.hero__pause[aria-pressed="true"] .hero__play-i { display: inline; }
.hero.is-paused .hero__dot.is-on span::after { animation-play-state: paused; }

/* «Партнёрам»: два блока в шахматном порядке без общей плашки и тени (2026-11-19).
   Текст стоит в невидимом блоке рядом с фото, с прежними полями; у каждой фотографии свои скруглённые углы. */
.offer { filter: none; gap: clamp(40px, 5vw, 72px); }
.offer__row, .offer__row:first-child, .offer__row:last-child { background: none; border-radius: 0; overflow: visible; }
.offer__photo, .offer__row--first .offer__photo, .offer__row--second .offer__photo { border-radius: var(--radius-lg); }
@media (max-width: 767px) {
  .offer { gap: 44px; }
  .offer__text { padding: 0 0 20px; }
  .offer__photo { min-height: 240px; }
}
/* «Партнёрам», блок 2: линейные иконки вместо точек (иконки из библиотеки пользователя, 2026-11-19) */
.offer__text ul.offer__list { list-style: none; padding-inline-start: 0; }
.offer__list li { display: flex; align-items: center; gap: 18px; }
.offer__list img { flex: none; width: 44px; height: 44px; }
@media (max-width: 767px) { .offer__list li { gap: 14px; } .offer__list img { width: 36px; height: 36px; } }
/* «Партнёрам», блок 1: три факта-«плашки» с линейными иконками (без кнопки; факты — из «Ключевых преимуществ» главной) */
.offer__text ul.offer__facts { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 12px; }
.offer__facts li { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 14px; border: 1px solid #ecdde4; border-radius: 999px; font-size: 17px; line-height: 1.2; color: var(--c-primary); font-weight: 600; }
.offer__text .offer__facts li { font-size: 17px; line-height: 1.2; color: var(--c-primary); }
.offer__text .offer__facts li + li { margin-top: 0; }
.offer__facts img { flex: none; width: 28px; height: 28px; }
@media (max-width: 767px) { .offer__text ul.offer__facts { gap: 8px; } .offer__text .offer__facts li { font-size: 15px; padding: 7px 14px 7px 10px; } .offer__facts img { width: 24px; height: 24px; } }
/* блок 1: факты без рамок, текст и иконки как во втором блоке, ровно по краю текста (2026-11-19) */
.offer__text ul.offer__facts { flex-direction: column; gap: 20px; margin-top: 10px; }
.offer__text .offer__facts li { border: 0; padding: 0; border-radius: 0; gap: 18px; font-size: 23px; line-height: 31px; font-weight: inherit; color: #000; }
.offer__facts img { width: 44px; height: 44px; }
@media (max-width: 767px) { .offer__text ul.offer__facts { gap: 8px; } .offer__text .offer__facts li { padding: 0; gap: 14px; font-size: 17px; line-height: 1.3; } .offer__facts img { width: 36px; height: 36px; } }
/* отступ иконка → текст чуть больше, одинаковый в обоих блоках (было 18/14) */
.offer__list li, .offer__text .offer__facts li { gap: 26px; }
@media (max-width: 767px) { .offer__list li, .offer__text .offer__facts li { gap: 18px; } }
/* заголовки блоков «Партнёрам»: крупнее и выше над текстом (было 31px / 23px на телефоне) */
.offer__text h2 { font-size: 38px; line-height: 1.15; margin-bottom: 14px; }
@media (max-width: 1100px) { .offer__text h2 { font-size: 32px; } }
@media (max-width: 767px) { .offer__text h2 { font-size: 27px; margin-bottom: 8px; } }
/* заголовки блоков «Партнёрам»: ещё дальше от текста (было 14px / 8px) */
.offer__text h2 { margin-bottom: 30px; }
@media (max-width: 767px) { .offer__text h2 { margin-bottom: 16px; } }
/* телефон: фото дальше от текста — как расстояние «абзац → строки с иконками» (40px), было 20px */
@media (max-width: 767px) { .offer__text { padding-bottom: 40px; } }
/* «Партнёрам» на планшетах (2026-11-19, вариант А).
   Стоя (768–1199, портрет): текст во всю ширину, под ним широкое фото 3:2.
   Лёжа (1024–1439): шахматка с узкими полями и ограниченной высотой фото. */
@media (min-width: 768px) and (max-width: 1199px) and (orientation: portrait) {
  .offer { gap: 64px; }
  .offer__row { flex-direction: column; min-height: 0; }
  .offer__text { padding: 0 0 40px; gap: 18px; }
  .offer__text h2 { font-size: 34px; margin-bottom: 20px; }
  .offer__text p, .offer__text li, .offer__text .offer__facts li { font-size: 21px; line-height: 1.45; }
  .offer__text ul.offer__facts { gap: 14px; }
  .offer__text li + li { margin-top: 14px; }
  .offer__list img, .offer__facts img { width: 40px; height: 40px; }
  .offer__photo { flex: none; width: 100%; min-height: 0; aspect-ratio: 3 / 2; }
  .offer__row--second .offer__photo { order: 2; }
}
@media (min-width: 1024px) and (max-width: 1439px) and (orientation: landscape) and (hover: none) { /* только планшеты, ноутбуки не трогаем */
  .offer__text { padding: 50px 64px; }
  .offer__row { align-items: center; min-height: 0; }
  .offer__photo { align-self: center; min-height: 0; aspect-ratio: 6 / 5; }
}
/* планшет стоя: текст уже фотографии — боковые поля у текстового блока */
@media (min-width: 768px) and (max-width: 1199px) and (orientation: portrait) { .offer__text { padding-inline: clamp(36px, 7vw, 80px); } }
@media (min-width: 768px) and (max-width: 1199px) and (orientation: portrait) { .offer__text { padding-inline: clamp(56px, 10vw, 110px); } } /* поля ещё шире (было 7vw) */
@media (min-width: 768px) and (max-width: 1199px) and (orientation: portrait) { .offer__text { padding-bottom: 70px; } } /* планшет стоя: фото дальше от текста (было 40px), пропорционально крупному тексту */
/* компьютер: текст шире за счёт внешнего поля; поле со стороны фото остаётся 127px (иврит зеркально — логические свойства) */
@media (min-width: 1101px) and (hover: hover) {
  .offer__row--first .offer__text { padding-inline: 90px 127px; }
  .offer__row--second .offer__text { padding-inline: 127px 90px; }
}

/* Панель доступности — дополнительные функции (2026-11-22, как на сайте Лилуш):
   высота строки, выравнивание, скрытие картинок, маска для чтения, рамка фокуса, структура страницы */
html.a11y-lineheight body > :not(.a11y) * { line-height: 1.9 !important; }
html.a11y-align-1 body > :not(.a11y) * { text-align: right !important; }
html.a11y-align-2 body > :not(.a11y) * { text-align: center !important; }
html.a11y-align-3 body > :not(.a11y) * { text-align: left !important; }
html.a11y-hideimg body > :not(.a11y) :is(img, video, iframe, picture) { visibility: hidden !important; }
html.a11y-hideimg body > :not(.a11y), html.a11y-hideimg body > :not(.a11y) * { background-image: none !important; }
html.a11y-focus :focus { outline: 3px solid #AF3561 !important; outline-offset: 3px !important; box-shadow: 0 0 0 6px rgba(255, 255, 255, .9), 0 0 0 9px rgba(91, 10, 36, .6) !important; }
.a11y-readmask { position: fixed; z-index: 8990; left: 0; width: 100%; background: rgba(0, 0, 0, .62); pointer-events: none; }
.a11y-readmask--top { top: 0; }
.a11y-readmask--bottom { bottom: 0; }
.a11y__grid[hidden], .a11y__struct[hidden] { display: none; }
.a11y__struct ul { margin: 10px 0 0; padding: 0; list-style: none; max-height: 46vh; overflow: auto; }
.a11y__struct-link { display: block; width: 100%; padding: 9px 10px; border: 0; border-bottom: 1px solid #ecdde4; background: none; color: #1d1d1d; font: 500 14px/1.35 var(--f-main); text-align: start; cursor: pointer; box-shadow: none; }
.a11y__struct-link:hover { background: #f8f2f5; color: #1d1d1d; }
.a11y__struct-link--h2 { padding-inline-start: 22px; }
.a11y__struct-link--h3 { padding-inline-start: 34px; }
.a11y__back { margin: 0; }
