/* Уфимский вентиляторный завод. Стиль: реальное фото в скруглённой рамке (50) + строгий каталог (30). */
:root {
  --white: #FFFFFF;
  --steel: #EEF2F6;
  --steel-2: #E1E7EE;
  --line: #D5DDE5;
  --blue: #0057A8;
  --blue-hover: #00488C;
  --ink: #0E2238;
  --ink-2: #1A3350;
  --metal: #5B6876;
  --signal: #F2C230;

  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 10px;

  --wrap: 1320px;
  --gutter: clamp(16px, 3vw, 32px);
  /* Шкала отступов: секция, заголовок секции, блок внутри секции, подзаголовок, низ секции */
  --sp-section: clamp(56px, 6.5vw, 96px);
  --sp-inner: clamp(48px, 5vw, 72px);
  --sp-head: clamp(32px, 4vw, 56px);
  --sp-block: clamp(32px, 4vw, 48px);
  --sp-sub: 24px;
  --sp-foot: 36px;
  /* Внутренние поля: большая панель, карточка, плитка */
  --pad-panel: clamp(24px, 3.4vw, 48px);
  --pad-card: clamp(20px, 2.6vw, 32px);
  --pad-tile: clamp(16px, 2vw, 20px);
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  overflow-wrap: anywhere;
  font-family: var(--font); font-size: 16px; line-height: 1.6; font-weight: 400;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
h2 { font-size: clamp(28px, 3.4vw, 44px); }
h3 { font-size: 20px; letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0; }
.lead { font-size: 18px; color: var(--metal); max-width: 62ch; }

/* ---------- Кнопки: таблетка с кругом-стрелкой ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px; min-height: 52px;
  padding: 6px 6px 6px 24px; border-radius: 999px; border: 0;
  font-weight: 600; font-size: 16px; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.btn .dot {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  transition: transform .25s var(--ease);
}
.btn:hover .dot { transform: rotate(45deg); }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--blue:hover { background: var(--blue-hover); }
.btn--blue .dot { background: var(--white); color: var(--blue); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink .dot { background: var(--signal); color: var(--ink); }
.btn--ink:hover { background: var(--ink-2); }
.btn--white { background: var(--white); color: var(--ink); }
.btn--white .dot { background: var(--ink); color: var(--white); }
.btn--glass { background: rgba(255,255,255,.16); color: var(--white); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.btn--glass:hover { background: rgba(255,255,255,.26); }
.btn--glass .dot { background: rgba(255,255,255,.2); color: var(--white); }
.btn--glass:hover .dot { background: var(--white); color: var(--ink); }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--line .dot { background: var(--steel); color: var(--ink); }
.btn--line:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }

.link {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--blue);
}
.link .dot { width: 32px; height: 32px; border-radius: 50%; background: var(--steel); display: grid; place-items: center; transition: background-color .2s, color .2s; }
.link:hover .dot { background: var(--blue); color: var(--white); }

/* ---------- Шапка ---------- */
.header { position: absolute; inset: 0 0 auto 0; z-index: 20; }
.header__bar {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding: 22px clamp(20px, 3vw, 40px);
}
.brand { display: flex; align-items: center; gap: 12px; justify-self: start; }
.brand img { width: 46px; height: 46px; }
.brand__text { line-height: 1.15; font-weight: 700; font-size: 15px; max-width: 13ch; }
.menu { display: flex; gap: 4px; justify-self: center; padding: 6px; border-radius: 999px; }
.menu a { padding: 10px 16px; border-radius: 999px; font-weight: 500; font-size: 15px; white-space: nowrap; transition: background-color .2s; }
.header__side { display: flex; align-items: center; gap: 14px; justify-self: end; }
.phone { display: flex; flex-direction: column; line-height: 1.2; text-align: right; }
.phone b { font-weight: 700; font-size: 17px; white-space: nowrap; }
.phone small { font-size: 13px; opacity: .8; }
.phone__mail small { font-size: 14px; }
.phone__mail:hover small { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.burger { display: none; width: 48px; height: 48px; border-radius: 50%; border: 0; place-items: center; }

/* Шапка поверх фото (главная) */
.header--photo { color: var(--white); position: absolute; top: 27px; left: 12px; right: 12px; }
.header__bar, .sticky .header__bar { padding-inline: max(clamp(20px, 3vw, 40px), calc((100% - var(--wrap)) / 2 + var(--gutter))); }
.header--photo .menu { background: rgba(14,34,56,.28); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.header--photo .menu a:hover, .header--photo .menu a[aria-current] { background: rgba(255,255,255,.18); }
.header--photo .burger { background: rgba(255,255,255,.2); color: var(--white); }
/* Шапка на светлом фоне (внутренние страницы) */
.header--plain { position: static; background: var(--white); border-bottom: 1px solid var(--line); }
.header--plain .menu { background: var(--steel); }
.header--plain .menu a:hover, .header--plain .menu a[aria-current] { background: var(--white); color: var(--blue); }
.header--plain .burger { background: var(--steel); }

/* Закреплённая шапка при прокрутке */
.sticky {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40; background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
  transform: translateY(-100%); transition: transform .3s var(--ease);
}
.sticky.is-on { transform: none; }
.sticky .header__bar { padding-top: 10px; padding-bottom: 10px; }
.sticky .brand img { width: 38px; height: 38px; }
.sticky .menu { background: var(--steel); }
.sticky .menu a:hover { background: var(--white); color: var(--blue); }
.sticky .btn { min-height: 44px; }
.sticky .btn .dot { width: 32px; height: 32px; }
.sticky .burger { background: var(--steel); }

/* Мобильное меню */
.drawer { position: fixed; inset: 0; z-index: 60; background: var(--ink); color: var(--white); padding: 20px var(--gutter) 32px; display: none; flex-direction: column; gap: 24px; overflow-y: auto; }
.drawer.is-open { display: flex; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; }
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a { font-size: 26px; font-weight: 600; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.drawer .close { width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: var(--white); display: grid; place-items: center; }

/* ---------- Первый экран ---------- */
.hero-shell { padding: 12px; background: linear-gradient(180deg, #DCE6F0, var(--white)); }
.hero {
  position: relative; min-height: min(900px, calc(100svh - 24px)); border-radius: var(--r-xl);
  padding: 12px; background: rgba(255,255,255,.45);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.8), 0 30px 60px -30px rgba(14,34,56,.35);
}
.hero__photo {
  position: relative; min-height: inherit; border-radius: var(--r-lg); overflow: hidden;
  background: #3E86C9 url('../img/photo/hero.jpg') 22% 70% / cover no-repeat;
  display: flex; flex-direction: column; justify-content: flex-end; color: var(--white);
}
.hero__photo::before { /* затемнение под текст и меню */
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(14,34,56,.78) 0%, rgba(14,34,56,.62) 48%, rgba(14,34,56,.12) 100%),
    linear-gradient(180deg, rgba(14,34,56,.4) 0%, rgba(14,34,56,0) 30%),
    linear-gradient(0deg, rgba(14,34,56,.82) 0%, rgba(14,34,56,.35) 38%, rgba(14,34,56,0) 62%);
}
.hero__aside { display: flex; flex-direction: column; align-items: flex-end; gap: 32px; min-width: 0; }
.hero__mark {
  display: block; font-weight: 200; letter-spacing: -0.04em;
  font-size: clamp(100px, 15vw, 220px); line-height: 1; color: rgba(255,255,255,.34);
  pointer-events: none; user-select: none;
}
.hero__content {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 32px; align-items: end;
  padding: 140px clamp(20px, 3.4vw, 48px) clamp(32px, 5.8vw, 84px);
  /* на широких экранах текст и карточка стоят в колонке сайта, как и остальные блоки */
  padding-inline: max(clamp(20px, 3.4vw, 48px), calc((100% - var(--wrap)) / 2 + var(--gutter)));
}
.hero__brand { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 15px; font-weight: 500; color: rgba(255,255,255,.9); }
.hero__brand::before { content: ''; width: 28px; height: 1.5px; background: currentColor; }
.hero h1 { font-size: clamp(40px, 5.4vw, 80px); font-weight: 700; letter-spacing: -0.035em; line-height: .98; max-width: 13ch; }
.hero__sub { margin-top: 18px; font-size: clamp(19px, 1.8vw, 26px); font-weight: 300; letter-spacing: -0.01em; line-height: 1.25; max-width: 30ch; }
.hero__text { margin-top: 18px; max-width: 56ch; font-size: 16px; color: var(--white); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__card {
  justify-self: end; max-width: 340px; padding: var(--pad-tile); border-radius: var(--r-md);
  background: rgba(255,255,255,.14); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.32);
}
.hero__card b { display: block; font-size: 20px; font-weight: 600; line-height: 1.2; }
.hero__card p { margin-top: 8px; font-size: 14px; color: rgba(255,255,255,.85); }
.hero__card ul { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.hero__card li { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.18); }

/* ---------- Секции ---------- */
.section { padding: var(--sp-section) 0; }
.section--steel { background: var(--steel); }
/* Два белых блока подряд: одинарный отступ между ними, а не сумма двух */
.section:not(.section--steel) + .section:not(.section--steel) { padding-top: 0; }
.section--same { padding-top: var(--sp-inner); }
.section__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: var(--sp-head); }
.section__head .lead { justify-self: end; }
.section__head--link { grid-template-columns: minmax(0, 1fr) auto; }
.section__head--link .lead { justify-self: start; margin-top: 16px; }
.section__head--link > .link { justify-self: end; white-space: nowrap; }
.home-search { position: relative; justify-self: end; align-self: end; width: 420px; max-width: 100%; }
.home-search .picker__field input { border-color: var(--line); box-shadow: none; }
.home-search .picker__field input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,87,168,.12); }
.section__foot { margin-top: var(--sp-foot); display: flex; justify-content: center; }

/* ---------- Каталог на главной ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cat-card {
  position: relative; display: flex; flex-direction: column; border-radius: var(--r-md); background: var(--steel);
  overflow: hidden; transition: background-color .25s var(--ease);
}
.cat-card__img { aspect-ratio: 4 / 3; overflow: hidden; }
.cat-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.cat-card:hover .cat-card__img img { transform: scale(1.04); }
.cat-card__body { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: var(--pad-tile); flex: 1; }
.cat-card__body p { font-size: 14px; color: var(--metal); margin-top: 4px; }
.cat-card .dot { flex: none; align-self: flex-end; width: 40px; height: 40px; border-radius: 50%; background: var(--white); display: grid; place-items: center; transition: background-color .2s, color .2s; }
.cat-card:hover .dot { background: var(--blue); color: var(--white); }

.fans__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: var(--sp-sub); }
.fans__head h3, .smoke__head h3 { font-size: clamp(22px, 2.2vw, 30px); }
.smoke__head p { margin-top: 8px; }
.link--light { color: var(--white); }
.link--light .dot { background: rgba(255,255,255,.12); }
.link--light:hover .dot { background: var(--signal); color: var(--ink); }
.smoke { margin-top: var(--sp-block); }
.smoke__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: var(--sp-sub); }
.smoke__head h3 { font-size: clamp(22px, 2.2vw, 30px); }
.smoke__head p { color: rgba(255,255,255,.7); max-width: 46ch; }

/* ---------- О заводе ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.about__text p + p { margin-top: 16px; }
.about__text .lead { color: var(--ink); font-size: 19px; }
.about__photo { margin-top: 32px; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 10; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); margin-top: 32px; }
.fact { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--line); }
.fact:nth-child(odd) { border-right: 1px solid var(--line); }
.fact:nth-child(even) { padding-left: 24px; padding-right: 0; }
.fact b { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; line-height: 1.25; }
.fact b::before { content: ''; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--signal); }
.fact p { margin-top: 8px; color: var(--metal); font-size: 15px; }

/* ---------- Производство: асимметричная фотосетка ---------- */
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 150px; gap: 12px; }
.gallery button { position: relative; border: 0; padding: 0; border-radius: var(--r-md); overflow: hidden; background: var(--steel-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery button:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; left: 12px; bottom: 12px; right: 12px; text-align: left;
  font-size: 14px; font-weight: 600; color: var(--white);
}
.gallery figcaption span { display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(14,34,56,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.gallery figure { margin: 0; height: 100%; }
.g0 { grid-column: 1 / 8; grid-row: span 4; }
.g1 { grid-column: 8 / 13; grid-row: span 2; }
.g2 { grid-column: 8 / 10; grid-row: span 2; }
.g3 { grid-column: 10 / 13; grid-row: span 2; }
.g4 { grid-column: 1 / 5; grid-row: span 2; }
.g5 { grid-column: 5 / 9; grid-row: span 2; }
.g6 { grid-column: 9 / 13; grid-row: span 2; }

.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(8,18,30,.94); display: none; place-items: center; padding: 64px 16px; }
.lightbox.is-open { display: grid; }
.lightbox figure { margin: 0; max-width: min(1200px, 100%); }
.lightbox img { max-height: 76vh; width: auto; margin: 0 auto; border-radius: var(--r-md); }
.lightbox figcaption { color: var(--white); text-align: center; margin-top: 16px; font-weight: 500; }
.lightbox__btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: var(--white); display: grid; place-items: center; }
.lightbox__btn:hover { background: rgba(255,255,255,.24); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; top: 28px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-size: 14px; }

/* ---------- Новости ---------- */
.news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.news-card { display: flex; flex-direction: column; border-radius: var(--r-md); background: var(--white); overflow: hidden; }
.news-card__img { aspect-ratio: 16 / 10; overflow: hidden; }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.news-card:hover .news-card__img img { transform: scale(1.04); }
.news-card__body { padding: var(--pad-tile); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-card time { font-size: 14px; color: var(--metal); }
.news-card p { color: var(--metal); font-size: 15px; }
.news-card .link { margin-top: auto; padding-top: 8px; }

/* ---------- Проекты: один крупный кейс ---------- */
.project { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px; }
.project__photo { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 10; background: var(--steel-2); }
.project__photo img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s var(--ease); }
.project__info { border-radius: var(--r-lg); background: var(--steel); padding: var(--pad-card); display: flex; flex-direction: column; gap: 22px; }
.project__region { color: var(--metal); margin-top: 6px; }
.project__info h3 { font-size: clamp(22px, 2vw, 28px); }
.project__row b { display: block; font-size: 14px; color: var(--metal); font-weight: 600; margin-bottom: 4px; }
.project__row p { font-size: 16px; }
.project__info .link { margin-top: auto; }
.project__nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; }
.thumbs { display: flex; flex-wrap: wrap; gap: 10px; padding: 4px; }
.thumbs button { flex: none; width: 112px; height: 72px; border-radius: 12px; overflow: hidden; border: 0; padding: 0; opacity: .55; outline-offset: 2px; transition: opacity .2s; }
.thumbs button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 3px var(--blue); }
.thumbs button:hover { opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.arrows { display: flex; align-items: center; gap: 12px; flex: none; }
.arrows output { font-variant-numeric: tabular-nums; font-weight: 600; min-width: 64px; text-align: center; }
.round { width: 52px; height: 52px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--steel); color: var(--ink); transition: background-color .2s, color .2s; }
.round:hover { background: var(--ink); color: var(--white); }

/* ---------- С нами работают ---------- */
.clients { padding: var(--sp-section) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.clients__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: var(--sp-head); }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: clamp(40px, 6vw, 88px); width: max-content; animation: run 40s linear infinite; }
.marquee.is-paused .marquee__track, .marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
@keyframes run { to { transform: translateX(-50%); } }
.logo-slot { position: relative; display: flex; align-items: center; gap: 12px; color: #8C98A5; font-weight: 700; font-size: 18px; white-space: nowrap; transition: color .2s; }
.logo-slot:hover { color: var(--ink); }
.logo-slot svg { width: 40px; height: 40px; }
.logo-slot[data-tip]:hover::after {
  content: attr(data-tip); position: absolute; bottom: calc(100% + 8px); left: 0; padding: 6px 10px; border-radius: 8px;
  background: var(--ink); color: var(--white); font-size: 13px; font-weight: 500;
}

/* ---------- Отзывы ---------- */
.reviews { position: relative; }
.reviews__viewport { overflow: hidden; }
.reviews__track { display: flex; gap: 20px; transition: transform .45s var(--ease); }
.letter { flex: 0 0 calc((100% - 20px) / 2); min-width: 0; border-radius: var(--r-lg); background: var(--white); padding: var(--pad-card); display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 28px; align-items: start; }
.letter__body { display: flex; flex-direction: column; gap: 8px; min-height: 100%; }
.letter__body time { color: var(--metal); font-size: 14px; }
.letter__body h3 { margin: 0; font-size: 20px; font-weight: 600; line-height: 1.3; }
.letter__body small { color: var(--metal); font-size: 14px; }
.letter__body p { margin: 8px 0 16px; line-height: 1.55; }
.letter__body .link { margin-top: auto; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; align-self: flex-start; }
/* Лист письма: пропорции A4 */
.sheet { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 6px; background: #fff; overflow: hidden; box-shadow: 0 1px 0 var(--steel-2), 0 10px 24px -14px rgba(14,34,56,.35); }
.letter__sheet { aspect-ratio: 210 / 297; cursor: zoom-in; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.letter__sheet:hover { transform: translateY(-3px); box-shadow: 0 1px 0 var(--steel-2), 0 16px 30px -14px rgba(14,34,56,.45); }
.letter__sheet:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.sheet img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.sheet__paper { padding: 10% 9%; color: var(--ink); text-align: left; font-size: 6px; line-height: 1.5; }
.sheet__top { display: flex; justify-content: space-between; gap: 8px; padding-bottom: 6%; margin-bottom: 8%; border-bottom: 1px solid var(--ink); }
.sheet__top b { font-weight: 700; }
.sheet__to { margin-left: 45%; margin-bottom: 10%; }
.sheet__title { text-align: center; font-weight: 700; font-size: 1.35em; margin-bottom: 8%; }
.sheet__paper p { margin: 0 0 5%; text-indent: 2em; }
.sheet__sign { display: flex; align-items: flex-end; gap: 8px; margin-top: 14%; }
.sheet__sign i { flex: 1; border-bottom: 1px solid var(--metal); height: 1.2em; }
.sheet__sign time { color: var(--metal); }
.letter-view { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; border: 0; padding: 72px 84px 56px; background: rgba(8,18,30,.97); display: none; place-items: center; overscroll-behavior: contain; }
.letter-view[open] { display: grid; }
.letter-view::backdrop { background: transparent; }
.letter-view__sheet { width: min(640px, 100%); max-height: 100%; overflow: auto; border-radius: 8px; }
.sheet--full .sheet__paper { font-size: 15px; padding: 56px 60px 64px; }
.sheet--full img { height: auto; object-fit: contain; }

/* ---------- Заявка ---------- */
.request-shell { width: calc(100% - 24px); max-width: none; margin-inline: 12px; border-radius: var(--r-xl); background: var(--ink); position: relative; overflow: hidden; }
.request { color: var(--white); padding-block: var(--pad-panel); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); position: relative; overflow: hidden; }
.request-shell::after { content: ''; position: absolute; width: 520px; height: 520px; right: -160px; bottom: -260px; border-radius: 50%; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 0 0 60px rgba(255,255,255,.02), 0 0 0 120px rgba(255,255,255,.02); pointer-events: none; }
.request h2 { max-width: 24ch; font-size: clamp(26px, 3.1vw, 42px); hyphens: manual; overflow-wrap: normal; text-wrap: balance; }
.request__lead { margin-top: 16px; color: rgba(255,255,255,.75); max-width: 46ch; }
.request__contacts { margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; }
.request__contacts a, .request__contacts div { display: flex; flex-direction: column; }
.request__contacts small { color: rgba(255,255,255,.6); font-size: 14px; }
.request__contacts b { font-size: 17px; font-weight: 600; }
.form { display: grid; gap: 14px; position: relative; z-index: 1; align-content: start; align-self: start; padding-top: 6px; }
.form__fields { display: grid; gap: 18px; align-content: start; }
.form__fields > .btn { margin-top: 14px; }
.form .btn { min-height: 48px; padding: 4px 4px 4px 20px; font-size: 15px; gap: 12px; }
.form .btn .dot { width: 36px; height: 36px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; color: rgba(255,255,255,.75); }
.field input, .field textarea, .field select {
  width: 100%; height: 48px; min-height: 48px; border-radius: 12px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06);
  color: var(--white); padding: 0 16px; font: inherit; font-size: 16px;
}
.field textarea { height: auto; min-height: 110px; padding: 14px 16px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--signal); background: rgba(255,255,255,.1); }
.field .err { color: #FFB4A8; font-size: 13px; min-height: 0; }
.field.is-bad input { border-color: #FF8A78; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form small.note { color: rgba(255,255,255,.55); font-size: 13px; }
.form small.note a { color: rgba(255,255,255,.85); text-decoration: underline; text-underline-offset: 2px; }
.form small.note a:hover { color: var(--white); }
.form__done { display: none; padding: 20px; border-radius: 14px; background: rgba(255,255,255,.08); }
.form.is-sent .form__done { display: block; }
.form.is-sent .form__fields { display: none; }

/* ---------- Подвал ---------- */
.footer { background: var(--steel); padding: 64px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.footer h4 { margin: 0 0 14px; font-size: 15px; color: var(--metal); font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a:hover { color: var(--blue); }
.footer__brand p { margin-top: 14px; color: var(--metal); max-width: 34ch; font-size: 15px; }
.footer__big { margin: 40px 0 0; padding-bottom: 12px; font-size: clamp(96px, 24vw, 340px); line-height: 1.15; font-weight: 200; letter-spacing: -0.05em; color: var(--steel-2); user-select: none; overflow: hidden; white-space: nowrap; }
.footer__legal { margin-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 20px; color: var(--metal); font-size: 14px; }

.footer__docs { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* ---------- Внутренние страницы ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--metal); padding: 24px 0 0; }
.crumbs a:hover { color: var(--blue); }
.crumbs span[aria-hidden] { opacity: .5; }
.page-head { padding: 24px 0 var(--sp-block); display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.page-head h1 { font-size: clamp(32px, 4vw, 52px); }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 0; background: var(--steel); font-weight: 500; font-size: 15px; transition: background-color .2s, color .2s; }
.pill:hover { background: var(--steel-2); }
.pill[aria-pressed="true"], .pill[aria-current="page"] { background: var(--ink); color: var(--white); }
a.pill { display: inline-flex; align-items: center; }

/* Каталог */
.catalog { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 32px; align-items: start; padding-bottom: 40px; }
.filters { position: sticky; top: 88px; border-radius: var(--r-lg); background: var(--steel); padding: var(--pad-card); display: grid; gap: 4px; max-height: calc(100vh - 110px); overflow-y: auto; }
.filters__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.filters__head h2 { font-size: 20px; }
.filters fieldset { border: 0; padding: 18px 0; margin: 0; border-top: 1px solid var(--line); }
.filters legend { font-weight: 700; font-size: 15px; padding: 0; margin-bottom: 12px; }
.check { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font-size: 15px; }
.check input { width: 20px; height: 20px; accent-color: var(--blue); flex: none; }
.check small { margin-left: auto; color: var(--metal); }
.range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.range label { display: grid; gap: 4px; font-size: 13px; color: var(--metal); }
.range input { min-height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); padding: 8px 12px; font: inherit; color: var(--ink); width: 100%; }
.range input:focus { outline: 2px solid var(--blue); outline-offset: 0; }
.sizes-filter { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { min-width: 52px; min-height: 40px; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--white); font-weight: 600; font-size: 14px; transition: background-color .15s, color .15s, border-color .15s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: var(--white); }
.reset { border: 0; background: none; color: var(--blue); font-weight: 600; padding: 8px 0; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.toolbar__count { color: var(--metal); }
.toolbar select { min-height: 44px; border-radius: 999px; border: 1px solid var(--line); padding: 0 40px 0 18px; font: inherit; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%230E2238' stroke-width='1.8'/%3E%3C/svg%3E") right 16px center no-repeat; appearance: none; color: var(--ink); }
.filters-open { display: none; }
.active-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.active-tags:empty { display: none; }
.active-tags button { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 4px 12px; border-radius: 999px; border: 0; background: var(--steel); font-size: 14px; }
.active-tags button:hover { background: var(--steel-2); }

.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.product-card { display: flex; flex-direction: column; border-radius: var(--r-md); border: 1px solid var(--line); overflow: hidden; background: var(--white); transition: border-color .2s; }
.product-card:hover { border-color: var(--ink); }
.product-card__img { position: relative; aspect-ratio: 4 / 3; background: var(--steel); overflow: hidden; }
.product-card__img .badge { position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--ink); font-size: 12px; font-weight: 600; }
.product-card__img img { width: 100%; height: 100%; object-fit: cover; }
.product-card__body { padding: var(--pad-tile); display: flex; flex-direction: column; gap: 12px; flex: 1; }
.product-card__cat { font-size: 14px; color: var(--metal); }
.product-card h3 { font-size: 19px; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; font-size: 14px; margin: 0; }
.specs dt { color: var(--metal); }
.specs dd { margin: 0; font-weight: 600; }
.product-card__sizes { display: flex; flex-wrap: wrap; gap: 4px; }
.product-card__sizes span, .product-card__sizes a { font-size: 13px; padding: 2px 8px; border-radius: 6px; background: var(--steel); }
.product-card__sizes a { min-width: 30px; text-align: center; transition: background-color .15s, color .15s; }
.product-card__sizes a:hover { background: var(--steel-2); }
.product-card__sizes a.is-on { background: var(--blue); color: var(--white); }

/* ---------- Поиск в каталоге ---------- */
.cat-search { position: relative; margin-bottom: 16px; }
.cat-search > span { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--metal); display: grid; }
.cat-search input { width: 100%; min-height: 56px; padding: 0 20px 0 52px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font: inherit; font-size: 16px; color: var(--ink); }
.cat-search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,87,168,.12); }

/* ---------- Подбор оборудования ---------- */
.picker { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 3vw, 48px); padding: var(--pad-panel); border-radius: var(--r-xl); background: var(--steel); }
.picker__intro h2 { font-size: clamp(30px, 3.4vw, 48px); }
.picker__intro > p { margin-top: 16px; color: var(--metal); max-width: 46ch; }
.picker__search { position: relative; margin-top: 28px; }
.picker__search label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.picker__field { position: relative; display: flex; align-items: center; }
.picker__field > svg { position: absolute; left: 20px; color: var(--metal); pointer-events: none; }
.picker__field input { width: 100%; min-height: 60px; padding: 0 56px 0 52px; border-radius: 999px; border: 1.5px solid transparent; background: var(--white); font: inherit; font-size: 17px; color: var(--ink); box-shadow: 0 1px 2px rgba(14,34,56,.06); }
.picker__field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,87,168,.12); }
.picker__clear { position: absolute; right: 8px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--steel); color: var(--ink); display: grid; place-items: center; }
.picker__clear:hover { background: var(--steel-2); }
.picker__clear[hidden] { display: none; }
.picker__list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none; max-height: 340px; overflow: auto; border-radius: var(--r-md); background: var(--white); box-shadow: 0 18px 40px rgba(14,34,56,.16); }
.picker__list [role=option] { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 10px; border-radius: 12px; cursor: pointer; }
.picker__list [role=option][aria-selected="true"] { background: var(--steel); }
.picker__list img { width: 40px; height: 40px; border-radius: 10px; background: var(--steel); object-fit: cover; flex: none; }
.picker__list b { display: block; font-weight: 700; }
.picker__list small { display: block; font-size: 13px; color: var(--metal); }
.picker__none { padding: 14px; color: var(--metal); font-size: 15px; }
.picker__none a { color: var(--blue); font-weight: 600; text-decoration: underline; }
.picker__quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.picker__quick span { font-size: 14px; color: var(--metal); margin-right: 4px; }
.picker__quick .pill { background: var(--white); min-height: 40px; padding: 6px 16px; font-size: 14px; }
.picker__quick .pill:hover { background: var(--ink); color: var(--white); }
.picker__result { border-radius: var(--r-lg); background: var(--white); padding: var(--pad-card); min-height: 100%; }
.picker__empty { height: 100%; min-height: 280px; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; color: var(--metal); }
.picker__empty img { width: 150px; opacity: .45; filter: grayscale(1); }
.picker__empty p { max-width: 32ch; }
.picker__model { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 20px; align-items: center; }
.picker__img { aspect-ratio: 1; border-radius: var(--r-md); background: var(--steel); display: grid; place-items: center; overflow: hidden; }
.picker__img img { width: 88%; }
.picker__img.is-photo img { width: 100%; height: 100%; object-fit: cover; }
.picker__model h3 { font-size: clamp(20px, 1.8vw, 24px); margin-top: 4px; }
.picker__model .pdp__tags { margin-top: 12px; }
.picker__result h4 { margin: 24px 0 10px; font-size: 15px; font-weight: 600; }
.picker__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.product-card .link { margin-top: auto; }
.empty { grid-column: 1 / -1; padding: 48px; border-radius: var(--r-lg); background: var(--steel); text-align: center; display: grid; gap: 12px; justify-items: center; }

/* Карточка товара */
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; padding-bottom: 32px; }
.pdp__main { border-radius: var(--r-lg); background: var(--steel); aspect-ratio: 4 / 3; overflow: hidden; }
.pdp__main img { width: 100%; height: 100%; object-fit: cover; }
.pdp__thumbs { display: flex; gap: 10px; margin-top: 10px; }
.pdp__thumbs button { width: 96px; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; border: 0; padding: 0; background: var(--steel); opacity: .6; }
.pdp__thumbs button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 3px var(--blue); }
.pdp__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp h1 { font-size: clamp(28px, 3vw, 42px); }
.pdp__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.pdp__tags span { font-size: 14px; padding: 4px 12px; border-radius: 999px; background: var(--steel); }
.pdp__info { margin-top: 28px; }
.pdp__info h2, .pdp__sizes h2 { font-size: 18px; margin-bottom: 12px; }
.pdp__info ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.pdp__info li { display: flex; gap: 12px; }
.pdp__info li::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); margin-top: 9px; }
.pdp__sizes { margin-top: 28px; border-radius: var(--r-lg); background: var(--steel); padding: var(--pad-card); }
.pdp__sizes .chip { min-width: 64px; min-height: 48px; font-size: 16px; }
.pdp__sizes .sizes-filter { gap: 8px; }
.size-table { margin-top: 20px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; border-radius: 14px; overflow: hidden; background: var(--line); }
.size-table div { background: var(--white); padding: 14px; }
.size-table small { display: block; font-size: 13px; color: var(--metal); line-height: 1.3; margin-bottom: 4px; overflow-wrap: anywhere; hyphens: auto; }
.size-table .unit { font-size: 14px; color: var(--metal); white-space: nowrap; }
.nw { white-space: nowrap; }
.size-table b { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.downloads { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.pdp__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 150%); background: var(--ink); color: var(--white); padding: 14px 20px; border-radius: 14px; z-index: 90; transition: transform .3s var(--ease); max-width: calc(100% - 32px); }
.toast.is-on { transform: translate(-50%, 0); }

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

/* ---------- Документация ---------- */
.docs__bar { display: grid; gap: 14px; margin-bottom: var(--sp-sub); }
.docs__tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.docs__search { flex: 1 1 300px; margin: 0; }
.docs__search input { min-height: 48px; }
.segment { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--steel); }
.segment button { min-height: 40px; padding: 6px 16px; border: 0; border-radius: 999px; background: transparent; font-weight: 500; font-size: 15px; color: var(--metal); transition: background-color .2s, color .2s; }
.segment button[aria-pressed="true"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 3px rgba(14,34,56,.12); }
.docs__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.doc { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto auto; gap: 20px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.doc__format { width: 56px; height: 64px; border-radius: 10px 18px 10px 10px; display: grid; place-items: center; font-size: 12px; font-weight: 700; letter-spacing: .02em; background: var(--steel); color: var(--blue); }
.doc__format--docx { color: var(--ink); background: #E6EEF7; }
.doc__format--rfa, .doc__format--dwg { color: var(--ink); background: #FBF0CC; }
.doc__text b { display: block; font-weight: 600; font-size: 17px; line-height: 1.3; }
.doc__text small { display: block; margin-top: 4px; color: var(--metal); font-size: 14px; }
.doc__size { color: var(--metal); font-size: 14px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.doc__get .dot { width: 34px; height: 34px; }
.doc--none { display: block; color: var(--metal); padding: 28px 0; }
.doc--none a { color: var(--blue); font-weight: 600; text-decoration: underline; }
.docs__more { display: flex; justify-content: center; margin-top: var(--sp-foot); }
.docs__more [hidden] { display: none; }

/* ---------- Доставка и оплата ---------- */
.sub-title { font-size: clamp(20px, 1.8vw, 24px); margin-bottom: var(--sp-sub); }
.steps { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; counter-reset: none; }
.step { position: relative; border-radius: var(--r-md); background: var(--steel); padding: var(--pad-tile); display: flex; flex-direction: column; gap: 8px; }
.step__n { font-size: 14px; font-weight: 700; color: var(--blue); font-variant-numeric: tabular-nums; }
.step b { font-size: 18px; font-weight: 600; line-height: 1.2; }
.step p { color: var(--metal); font-size: 14px; line-height: 1.45; }
.step:not(:last-child)::after { content: ''; position: absolute; top: 28px; right: -9px; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); }
.terms { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px; margin-top: var(--sp-block); }
.terms__card { border-radius: var(--r-lg); background: var(--white); padding: var(--pad-card); display: flex; flex-direction: column; gap: 20px; }
.terms__card h3 { font-size: clamp(22px, 2vw, 28px); }
.terms__card--ink { background: var(--ink); color: var(--white); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs [role=tab] { min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font-weight: 600; font-size: 15px; color: var(--ink); transition: background-color .2s, color .2s, border-color .2s; }
.tabs [role=tab]:hover { border-color: var(--ink); }
.tabs [role=tab][aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: var(--white); }
.tabs__panel { border-radius: var(--r-md); background: var(--steel); padding: var(--pad-tile); }
.tabs__panel p { font-size: 17px; }
.tabs__panel ul, .ship-docs ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.tabs__panel li, .ship-docs li { position: relative; padding-left: 20px; color: var(--metal); }
.tabs__panel li::before, .ship-docs li::before { content: ''; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); }
.ship-docs { border-top: 1px solid var(--line); padding-top: 18px; }
.ship-docs ul { grid-template-columns: 1fr 1fr; }
.pay { display: grid; gap: 0; }
.pay__item { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.pay__item:first-child { padding-top: 0; }
.pay__item b { font-size: 18px; font-weight: 600; }
.pay__item p { margin-top: 6px; color: rgba(255,255,255,.7); font-size: 15px; }
.terms__card--ink .btn { margin-top: auto; align-self: start; }
.faq { margin-top: var(--sp-block); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__item h4 { margin: 0; }
.faq__item button { width: 100%; min-height: 64px; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border: 0; background: none; text-align: left; font: inherit; font-size: 17px; font-weight: 600; color: var(--ink); }
.faq__item button:hover { color: var(--blue); }
.faq__icon { flex: none; position: relative; width: 36px; height: 36px; border-radius: 50%; background: var(--white); }
.faq__icon::before, .faq__icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.8px; margin: -0.9px 0 0 -6px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item button[aria-expanded="true"] .faq__icon { background: var(--blue); color: var(--white); }
.faq__item button[aria-expanded="true"] .faq__icon::after { transform: rotate(0deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 52px 18px 0; color: var(--metal); }
.faq__item button[aria-expanded="true"] + .faq__a, h4:has(button[aria-expanded="true"]) + .faq__a { grid-template-rows: 1fr; }


/* ---------- Источник данных и варианты исполнения ---------- */
.source { margin-top: 14px; font-size: 14px; line-height: 1.5; color: var(--metal); }
.source::before { content: ''; display: inline-block; vertical-align: middle; width: 8px; height: 8px; margin: -2px 8px 0 0; border-radius: 50%; background: var(--blue); }
.source__link { margin-left: 8px; }
.source--armavent::before { background: var(--blue); }
.source--request::before { background: var(--metal); }
.source__link { border: 0; background: none; padding: 0; font: inherit; font-weight: 600; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.pdp__none { color: var(--metal); margin-bottom: 4px; }
.variants { margin-top: var(--sp-inner); }
.variants h2, .section__head--sub h2 { font-size: clamp(22px, 2.2vw, 30px); }
.variants h2 { margin-bottom: var(--sp-sub); }
.section__head.section__head--sub { margin-bottom: var(--sp-sub); }
.variants__scroll { overflow-x: auto; border-radius: var(--r-md); border: 1px solid var(--line); }
.variants__scroll:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
.variants__table { width: 100%; min-width: 680px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.variants__table th { text-align: left; font-size: 13px; font-weight: 600; color: var(--metal); background: var(--steel); padding: 12px 16px; white-space: nowrap; }
.variants__table td { padding: 12px 16px; border-top: 1px solid var(--line); white-space: nowrap; }
.variants__table tbody tr:hover td { background: #F7F9FB; }
.variants__table .na { color: var(--metal); font-size: 13px; }

/* ---------- Карточка товара: подробные разделы ---------- */
.pdp-switch { margin-top: var(--sp-inner); }
.pdp-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 4px; }
.pdp-tabs button { appearance: none; font: inherit; font-weight: 500; font-size: 15px; line-height: 1.3; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 12px 18px; cursor: pointer; }
.pdp-tabs button:hover { border-color: var(--ink); }
.pdp-tabs button[aria-selected="true"] { background: var(--steel-2); border-color: var(--steel-2); }
.pdp-tabs button:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.pdp-model { margin: 28px 0 12px; font-size: clamp(22px, 2vw, 28px); font-weight: 500; letter-spacing: -0.02em; }
.pdp-panel h3 { font-size: 18px; margin: 22px 0 10px; }
.pdp-panel p { color: var(--ink-2); line-height: 1.6; max-width: 78ch; }
.pdp-panel p + p { margin-top: 12px; }
.pdp-panel .pdp-sec { border: 0; padding: 0; background: transparent; margin-top: 8px; }
.pdp-empty { color: var(--metal); }
.pdp-nav { display: flex; gap: 6px; margin-top: var(--sp-inner); padding: 6px; border-radius: 999px; background: var(--steel); overflow-x: auto; scrollbar-width: none; }
.pdp-nav a { flex: none; padding: 10px 18px; border-radius: 999px; font-weight: 500; font-size: 15px; white-space: nowrap; transition: background-color .2s, color .2s; }
.pdp-nav a:hover { background: var(--white); color: var(--blue); }
.pdp-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: var(--sp-block); }
.pdp-sec { border-radius: var(--r-lg); border: 1px solid var(--line); padding: var(--pad-card); scroll-margin-top: 150px; }
.pdp-sec h2 { font-size: clamp(20px, 1.8vw, 24px); margin-bottom: 16px; }
.pdp-sec p { color: var(--ink-2); line-height: 1.6; max-width: 72ch; }
.pdp-sec p + p { margin-top: 12px; }
.pdp-sec--lead, .pdp-sec--wide { grid-column: 1 / -1; }
.pdp-sec--lead { border: 0; background: var(--steel); }
.pdp-sec--lead h2 { font-size: clamp(24px, 2.4vw, 32px); }
.pdp-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.pdp-facts span { padding: 8px 14px; border-radius: 999px; background: var(--white); font-weight: 600; font-size: 14px; }
.ticks { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding-left: 22px; line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.exec-table { min-width: 0; }
.exec-table td { white-space: normal; }
.exec-table td:first-child { width: 120px; white-space: nowrap; }
.pdp-note { border: 0; background: var(--ink); color: var(--white); display: flex; flex-direction: column; align-items: start; gap: 16px; }
.pdp-note h2 { margin-bottom: 0; }
.pdp-note p { color: rgba(255,255,255,.82); }
.pdp-range { margin-top: var(--sp-inner); scroll-margin-top: 150px; }
.pdp-range h2 { font-size: clamp(22px, 2.2vw, 30px); margin-bottom: var(--sp-sub); }
.range-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.range-card { border-radius: var(--r-lg); border: 1px solid var(--line); padding: 16px 16px 20px; display: flex; flex-direction: column; gap: 12px; }
.range-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; border-radius: var(--r-md); background: var(--steel); padding: 12px; }
.range-card img.is-photo { object-fit: cover; padding: 0; }
.range-card h3 { font-size: 18px; }
.range-card ul { display: grid; gap: 6px; font-size: 14px; flex: 1; list-style: none; margin: 0; padding: 0; }
.range-card li small { display: block; color: var(--metal); font-size: 12px; }
.range-card li b { font-variant-numeric: tabular-nums; }
.range-card .btn { justify-content: center; }
.pdp-install { margin-top: var(--sp-inner); scroll-margin-top: 150px; }
.pdp-install .ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.pdp-install__note { margin-top: 16px; font-size: 14px; color: var(--metal) !important; }
.variants { scroll-margin-top: 150px; }
@media (max-width: 1100px) { .range-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 960px) {
  .pdp-more { grid-template-columns: minmax(0, 1fr); }
  .range-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pdp-install .ticks { grid-template-columns: minmax(0, 1fr); }
  .pdp-nav { border-radius: 0; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
}
@media (max-width: 560px) { .request__contacts { grid-template-columns: minmax(0, 1fr); } .form .row { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .range-grid { gap: 10px; } .range-card { padding: 12px 12px 16px; } .range-card h3 { font-size: 16px; } }
.factory { border: 0; padding: 0; border-radius: var(--r-lg); max-width: min(920px, 94vw); max-height: 90vh; overflow: auto; background: var(--white); }
.factory::backdrop { background: rgba(14,34,56,.6); }
.factory img { display: block; width: 100%; height: auto; }
.factory__close { position: sticky; top: 10px; float: right; margin: 10px; z-index: 1; background: var(--white); box-shadow: 0 2px 8px rgba(14,34,56,.2); }

/* ---------- Внутренние разделы: общие ---------- */
.page-head__lead { margin-top: 16px; }
.page-gap { margin-top: var(--sp-section); }
.page-cta { margin-top: var(--sp-block); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; padding: var(--pad-panel); border-radius: var(--r-lg); background: var(--steel); }
.page-cta h2 { font-size: clamp(22px, 2.2vw, 30px); }
.page-cta p { margin-top: 10px; color: var(--metal); max-width: 60ch; }
.page-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.page-cta__actions .btn--line:not(:has(.dot)) { padding-right: 24px; }

/* О заводе */
.about--page { align-items: stretch; }
.about__photo--top { margin-top: 0; aspect-ratio: auto; min-height: 420px; }
.about__lead { margin-bottom: 24px; color: var(--ink); }
.about--page .about__text p { font-size: 17px; color: var(--ink-2); }
.about--page .about__text p + p { margin-top: 16px; }
.versions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.version { border-radius: var(--r-lg); background: var(--white); padding: var(--pad-card); display: flex; flex-direction: column; gap: 12px; }
.version::before { content: ""; width: 36px; height: 4px; border-radius: 2px; background: var(--signal); }
.version p { color: var(--metal); font-size: 15px; }
.spec-list { margin: 0; border-top: 1px solid var(--line); }
.spec-list div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.spec-list dt { font-weight: 600; }
.spec-list dd { margin: 0; color: var(--ink-2); }

/* Адреса */
.branches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.branch { border-radius: var(--r-lg); background: var(--steel); padding: var(--pad-card); display: flex; flex-direction: column; gap: 6px; }
.branch small { color: var(--metal); font-size: 14px; }
.branch b { font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.branch p { color: var(--ink-2); }
.branch .link { margin-top: auto; padding-top: 20px; }
.branch--main { background: var(--blue); color: var(--white); }
.branch--main small, .branch--main p { color: rgba(255,255,255,.8); }

/* Контакты */
.contacts { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; align-items: stretch; }
.contacts__info { border-radius: var(--r-lg); background: var(--steel); padding: var(--pad-card); display: grid; gap: var(--sp-sub); align-content: start; }
.contact-group h2 { font-size: 20px; margin-bottom: 8px; }
.contact-row { display: grid; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.contact-group .contact-row:last-child { border-bottom: 0; }
.contact-row small { color: var(--metal); font-size: 14px; }
.contact-row div { display: flex; flex-wrap: wrap; gap: 4px 20px; font-weight: 600; }
.contact-row span { font-weight: 500; }
.contact-row a:hover { color: var(--blue); }
.contacts__map { position: relative; min-height: 460px; border-radius: var(--r-lg); overflow: hidden; background: var(--steel-2) url('../img/photo/ceh.jpg') center / cover; }
.contacts__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.contacts__map-link { position: absolute; left: 16px; bottom: 16px; z-index: 1; display: inline-flex; align-items: center; gap: 12px; padding: 6px 6px 6px 18px; border-radius: 999px; background: var(--white); font-weight: 600; box-shadow: 0 4px 16px rgba(14,34,56,.18); }
.contacts__map-link .dot { width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: var(--white); display: grid; place-items: center; }

/* Статьи */
.news--page { padding-bottom: 0; }
.news--page .news-card { background: var(--steel); }
.news-card__title { font-size: 20px; letter-spacing: -0.01em; line-height: 1.25; }
.news-card h3 a:hover, .news-card__title a:hover { color: var(--blue); }
.article__head { padding: 24px 0 var(--sp-block); max-width: 900px; }
.article__head time { color: var(--metal); font-size: 15px; }
.article__head h1 { margin-top: 12px; font-size: clamp(32px, 4vw, 52px); }
.article__head .lead { margin-top: 20px; max-width: 70ch; }
.article__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--sp-head); align-items: start; }
.article__body { max-width: 76ch; }
.article__body h2 { font-size: clamp(24px, 2.4vw, 32px); margin: var(--sp-block) 0 16px; }
.article__body > h2:first-child { margin-top: 0; }
.article__body h3 { font-size: 19px; margin: 28px 0 8px; }
.article__body p, .article__body li { color: var(--ink-2); font-size: 17px; line-height: 1.7; }
.article__body p + p { margin-top: 14px; }
.article__body ul, .article__body ol { margin: 14px 0; padding-left: 0; list-style: none; display: grid; gap: 10px; counter-reset: li; }
.article__body ul li { position: relative; padding-left: 24px; }
.article__body ul li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 8px; height: 8px; border-radius: 2px; background: var(--signal); }
.article__body ol li { position: relative; padding-left: 40px; counter-increment: li; }
.article__body ol li::before { content: counter(li); position: absolute; left: 0; top: 2px; width: 28px; height: 28px; border-radius: 50%; background: var(--steel); color: var(--blue); font-weight: 700; font-size: 14px; display: grid; place-items: center; }
.article__body a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.article__body figure { margin: 28px 0; }
.article__body figure img { width: 100%; max-height: 520px; object-fit: contain; border-radius: var(--r-lg); background: var(--steel); }
.article__body figcaption { margin-top: 10px; font-size: 14px; color: var(--metal); }
.article__table { margin: 20px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); }
.article__table table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15px; }
.article__table th, .article__table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.article__table tr:last-child > * { border-bottom: 0; }
.article__table thead th { background: var(--ink); color: var(--white); font-weight: 600; }
.article__table tbody th { font-weight: 600; background: var(--steel); width: 30%; }
.article__side { position: sticky; top: 24px; display: grid; gap: 16px; }
.article__cta { border-radius: var(--r-lg); background: var(--ink); color: var(--white); padding: var(--pad-card); display: grid; gap: 12px; justify-items: start; }
.article__cta b { font-size: 20px; line-height: 1.25; }
.article__cta p { color: rgba(255,255,255,.75); font-size: 15px; }
.article__phone { font-weight: 600; }
.article__phone:hover { color: var(--signal); }
.article__more { border-radius: var(--r-lg); background: var(--steel); padding: var(--pad-card); display: grid; gap: 4px; }
.article__more b { margin-bottom: 8px; }
.article__more a { display: grid; gap: 2px; padding: 10px 0; border-top: 1px solid var(--line); }
.article__more time { font-size: 13px; color: var(--metal); }
.article__more a:hover span { color: var(--blue); }

@media (max-width: 1180px) {
  .versions { grid-template-columns: 1fr 1fr; }
  .article__grid { grid-template-columns: minmax(0, 1fr); }
  .article__side { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .page-cta, .contacts { grid-template-columns: minmax(0, 1fr); }
  .branches { grid-template-columns: minmax(0, 1fr); }
  .about__photo--top { min-height: 0; aspect-ratio: 16 / 10; }
  .spec-list div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .contacts__map { min-height: 340px; }
}
@media (max-width: 720px) {
  .versions { grid-template-columns: minmax(0, 1fr); }
  .article__side { grid-template-columns: minmax(0, 1fr); }
  .article__body p, .article__body li { font-size: 16px; }
}

/* Вентиляционное оборудование */
.eq-strip { margin-top: var(--sp-block); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 32px; align-items: center; padding: var(--pad-card); border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--white); transition: border-color .2s; }
.eq-strip:hover { border-color: var(--ink); }
.eq-strip b { font-size: clamp(20px, 2vw, 26px); font-weight: 600; letter-spacing: -0.01em; }
.eq-strip p { margin-top: 6px; color: var(--metal); max-width: 70ch; }
.eq-strip__more { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; color: var(--blue); }
.eq-strip__more .dot { width: 40px; height: 40px; border-radius: 50%; background: var(--steel); display: grid; place-items: center; transition: background-color .2s, color .2s; }
.eq-strip:hover .dot { background: var(--blue); color: var(--white); }
.catalog .eq-strip { margin-top: var(--sp-block); }
.eq-group + .eq-group { margin-top: var(--sp-section); }
.eq-group__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; align-items: end; margin-bottom: var(--sp-sub); }
.eq-group__head h2 { font-size: clamp(24px, 2.6vw, 34px); }
.eq-group__head p { grid-row: 2; color: var(--metal); max-width: 70ch; }
.eq-group__head span { grid-row: 1 / 3; grid-column: 2; color: var(--metal); font-size: 15px; white-space: nowrap; }
.eq-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.eq-card .product-card__img.is-photo img, .eq-pdp .pdp__main.is-photo img { object-fit: contain; background: var(--white); }
.eq-card .product-card__img:not(.is-photo) img { object-fit: contain; padding: 12%; opacity: .5; }
.eq-card h3 { font-size: 17px; }
.eq-card h3 a:hover { color: var(--blue); }
.eq-pdp { padding-top: 24px; }
.eq-pdp .pdp__main { border: 1px solid var(--line); background: var(--white); }
.eq-pdp .product-card__cat { margin-bottom: 8px; }
.eq-pdp__lead { margin-top: 20px; font-size: 17px; color: var(--ink-2); line-height: 1.7; max-width: 62ch; }
.eq-section { margin-top: var(--sp-section); }
.eq-section > h2 { font-size: clamp(24px, 2.6vw, 34px); margin-bottom: var(--sp-sub); }
.eq-section .article__body { max-width: 80ch; }
.eq-schemes { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: var(--sp-sub); }
.eq-schemes img { max-width: min(100%, 420px); height: auto; padding: 16px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--white); }
.eq-table { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); }
.eq-table + .eq-table { margin-top: 16px; }
.eq-table table { border-collapse: collapse; min-width: 100%; font-size: 15px; font-variant-numeric: tabular-nums; }
.eq-table th, .eq-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); text-align: center; white-space: nowrap; }
.eq-table th { background: var(--steel); font-weight: 600; white-space: normal; min-width: 90px; }
.eq-table tr:last-child > * { border-bottom: 0; }
.eq-table tr > *:last-child { border-right: 0; }
.eq-table tbody tr:hover td { background: #F7F9FB; }
.eq-notes { margin-top: 16px; display: grid; gap: 6px; color: var(--metal); font-size: 15px; }

/* Услуга */
.service { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--sp-head); align-items: center; padding: var(--pad-panel); border-radius: var(--r-lg); background: var(--ink); color: var(--white); }
.service .lead { margin-top: 16px; color: rgba(255,255,255,.8); }
.service__facts { margin: 0; display: grid; gap: 0; }
.service__facts div { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.service__facts div:first-child { padding-top: 0; }
.service__facts div:last-child { border-bottom: 0; padding-bottom: 0; }
.service__facts dt { font-size: 14px; color: rgba(255,255,255,.65); }
.service__facts dd { margin: 4px 0 0; font-size: 20px; font-weight: 600; }
.service__facts a:hover { color: var(--signal); }

@media (max-width: 1180px) { .eq-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 960px) {
  .eq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eq-strip, .service { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .eq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .eq-card h3 { font-size: 15px; }
  .eq-card .product-card__cat { display: none; }
  .eq-group__head { grid-template-columns: minmax(0, 1fr); }
  .eq-group__head span { grid-row: auto; grid-column: auto; }
}


/* ---------- Правовые документы ---------- */
.legal__lead { margin-top: 16px; }
.legal { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: var(--sp-head); align-items: start; padding-bottom: var(--sp-section); }
.legal__toc { position: sticky; top: 24px; }
.legal__toc details { border-radius: var(--r-lg); background: var(--steel); padding: var(--pad-card); max-height: calc(100vh - 48px); overflow-y: auto; }
.legal__toc summary { list-style: none; font-weight: 600; font-size: 15px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.legal__toc summary::-webkit-details-marker { display: none; }
.legal__toc ol { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 2px; }
.legal__toc a { display: grid; grid-template-columns: 28px minmax(0, 1fr); padding: 8px 10px; border-radius: var(--r-sm); font-size: 14px; line-height: 1.4; color: var(--metal); transition: background-color .2s, color .2s; }
.legal__toc a span { color: var(--blue); font-weight: 600; }
.legal__toc a:hover { background: var(--white); color: var(--ink); }
.legal__toc a[aria-current] { background: var(--white); color: var(--ink); font-weight: 500; }
.legal__body { max-width: 76ch; }
.legal__sub { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; padding-bottom: var(--sp-sub); border-bottom: 1px solid var(--line); }
.legal__body section { padding-top: var(--sp-block); scroll-margin-top: 16px; }
.legal__body h2 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; display: grid; grid-template-columns: 2.2em minmax(0, 1fr); margin-bottom: var(--sp-sub); }
.legal__body h2 span { color: var(--blue); }
.legal__body p, .legal__body li { color: var(--ink-2); }
.legal__body p + p, .legal__body ul + p, .legal__body p + ul, .legal__body dl + p { margin-top: 12px; }
.legal__body ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.legal__body li { position: relative; padding-left: 22px; }
.legal__body li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 7px; height: 7px; border-radius: 2px; background: var(--signal); }
.legal__body a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.legal__table { margin: 0; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.legal__table div { display: grid; grid-template-columns: 220px minmax(0, 1fr); }
.legal__table div + div { border-top: 1px solid var(--line); }
.legal__table dt { background: var(--steel); padding: 14px 18px; font-weight: 600; font-size: 15px; }
.legal__table dd { margin: 0; padding: 14px 18px; color: var(--ink-2); }
.legal__note { margin-top: var(--sp-block); padding: var(--pad-card); border-radius: var(--r-lg); background: var(--steel); }
@media (max-width: 960px) {
  .legal { grid-template-columns: minmax(0, 1fr); gap: var(--sp-sub); }
  .legal__toc { position: static; }
  .legal__toc details { padding: var(--pad-tile); }
  .legal__toc summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s; }
  .legal__toc details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
}
@media (max-width: 720px) {
  .legal__table div { grid-template-columns: minmax(0, 1fr); }
  .legal__table dt { padding-bottom: 6px; }
  .legal__table dd { background: var(--steel); padding-top: 0; }
}

@media (min-width: 1181px) {
  .cat-grid[data-n="6"], .cat-grid[data-n="3"], .cat-grid[data-n="5"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cat-grid[data-n="2"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cat-grid[data-n="2"] .cat-card__img { aspect-ratio: 16 / 10; background: linear-gradient(180deg, #F3F6F9, #E3E9EF); }
  .cat-grid[data-n="2"] .cat-card__img img { object-fit: contain; }
  .cat-grid[data-n="6"] .cat-card__img, .cat-grid[data-n="3"] .cat-card__img { aspect-ratio: 16 / 10; background: linear-gradient(180deg, #F3F6F9, #E3E9EF); }
  .cat-grid[data-n="6"] .cat-card__img img, .cat-grid[data-n="3"] .cat-card__img img { object-fit: contain; }
}
/* Почта в шапке: на узких ноутбуках уплотняем меню, чтобы название завода не обрезалось */
@media (max-width: 1440px) {
  .menu a { padding: 10px 11px; }
  .header__side { gap: 12px; }
}

@media (min-width: 1181px) and (max-width: 1320px) { .brand__text { display: none; } }
@media (max-width: 1180px) {
  .menu { display: none; }
  .burger { display: grid; }
  .header__bar { grid-template-columns: 1fr auto; }
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .request { padding-block: 40px 48px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .step:nth-child(3)::after { display: none; }
  .terms, .faq { grid-template-columns: minmax(0, 1fr); }
  .faq { gap: 0; }
  .picker { grid-template-columns: minmax(0, 1fr); }
  .picker__empty { min-height: 180px; }
  .hero__content { grid-template-columns: minmax(0, 1fr); }
  .hero__card { justify-self: start; }
  .hero__aside { align-items: flex-start; }
  .hero__mark { display: none; }
  .section__head, .about, .request, .pdp { grid-template-columns: minmax(0, 1fr); }
  .section__head .lead { justify-self: start; }
  .project { grid-template-columns: minmax(0, 1fr); }
  .news { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .catalog { grid-template-columns: minmax(0, 1fr); }
  .filters { position: fixed; inset: 0; z-index: 70; border-radius: 0; max-height: none; display: none; padding: 20px var(--gutter) 100px; }
  .filters.is-open { display: grid; align-content: start; }
  .filters-open { display: inline-flex; }
  .filters__apply { position: fixed; left: var(--gutter); right: var(--gutter); bottom: 16px; justify-content: center; }
  .smoke__head { flex-direction: column; align-items: start; }
}
@media (min-width: 961px) { .filters__close, .filters__apply { display: none !important; } }
@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .step::after { display: none; }
  .doc { grid-template-columns: 44px minmax(0, 1fr); gap: 8px 14px; }
  .doc__format { width: 44px; height: 52px; font-size: 11px; }
  .doc__size { grid-column: 2; }
  .doc__get { grid-column: 2; justify-self: start; }
  .segment { width: 100%; }
  .segment button { flex: 1; padding: 6px 8px; font-size: 14px; }
  .ship-docs ul { grid-template-columns: minmax(0, 1fr); }
  .docs__bar .pills { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .docs__bar .pill { flex: none; }
  .section__head--link { grid-template-columns: minmax(0, 1fr); }
  .section__head--link > .link { justify-self: start; }
  .home-search { justify-self: stretch; width: 100%; }
  .fans__head, .smoke__head { flex-direction: column; align-items: start; gap: 12px; }
  .picker { border-radius: var(--r-lg); }
  .picker__model { grid-template-columns: 88px minmax(0, 1fr); gap: 14px; }
  .picker__actions .btn { width: 100%; justify-content: space-between; }
  .request { padding: 32px 24px 48px; gap: 36px; }
  .form__fields > .btn { margin-top: 18px; }
  .phone small, .header__side .btn { display: none; }
  .phone b { font-size: 15px; }
  .brand__text { display: none; }
  .hero { min-height: 0; }
  .hero__photo { min-height: 0; padding-top: 104px; background-position: 30% 70%; }
  .hero__card p { display: none; }
  .hero__photo::before { background: linear-gradient(180deg, rgba(14,34,56,.6) 0%, rgba(14,34,56,.66) 18%, rgba(14,34,56,.74) 40%, rgba(14,34,56,.88) 100%); }
  .hero__text { font-size: 15px; }
  .hero h1 { font-size: clamp(32px, 9.4vw, 40px); }
  .hero__content { padding-top: 24px; }
  .hero__actions { display: grid; grid-template-columns: minmax(0, 1fr); }
  .hero__actions .btn { width: 100%; justify-content: space-between; }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat-card__body p { display: none; }
  .cat-card h3 { font-size: 16px; }
  .cat-card .dot { width: 32px; height: 32px; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .fact:nth-child(odd) { border-right: 0; }
  .fact:nth-child(even) { padding-left: 0; }
  /* галерея становится лентой со свайпом */
  .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); gap: 10px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); scrollbar-width: none; }
  .gallery button { flex: 0 0 82%; height: 300px; scroll-snap-align: start; }
  .news { grid-template-columns: minmax(0, 1fr); }
  .letter { flex-basis: 100%; }
  .project__nav { flex-direction: column-reverse; align-items: stretch; }
  .thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
  .thumbs button { width: 100%; height: auto; aspect-ratio: 112 / 72; border-radius: 8px; }
  .arrows { justify-content: space-between; }
  .form .row { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .products { grid-template-columns: minmax(0, 1fr); }
  .size-table { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee__track [aria-hidden="true"] { display: none; }
}

/* Узкие экраны 320-400 px */
h1, h2 { overflow-wrap: break-word; hyphens: auto; }
.cat-card__body > div { min-width: 0; }
@media (max-width: 400px) {
  .btn { white-space: normal; text-align: left; }
  .pdp__cta .btn, .downloads .btn, .page-cta__actions .btn { width: 100%; justify-content: space-between; }
  .hero h1 { font-size: clamp(28px, 8.8vw, 34px); }
  .cat-card__body { padding: 12px; gap: 8px; }
  .cat-card h3 { font-size: 15px; }
  .cat-card .dot { display: none; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .tabs [role=tab] { padding: 8px 14px; font-size: 14px; }
  .page-head h1 { font-size: clamp(28px, 8.4vw, 34px); }
  .toolbar label { flex: 1 1 100%; }
  .toolbar select { width: 100%; }
}

@media (max-width: 1100px) { .letter { grid-template-columns: minmax(0, 150px) minmax(0, 1fr); gap: 20px; } }
@media (max-width: 560px) {
  .letter { grid-template-columns: minmax(0, 1fr); }
  .letter__sheet { width: 62%; }
  .letter-view { padding: 64px 12px 72px; }
  .letter-view .lightbox__prev, .letter-view .lightbox__next { top: auto; bottom: 12px; transform: none; }
  .sheet--full .sheet__paper { font-size: 13px; padding: 28px 22px 36px; }
}

/* Технические данные типоразмера: все таблицы со страницы типоразмера */
.det h3 { font-size: 17px; font-weight: 600; margin: 28px 0 12px; max-width: 80ch; }
.det h3:first-child { margin-top: 0; }
.det .variants__scroll + .variants__scroll { margin-top: 12px; }
.det__table { min-width: 0; }
@media (max-width: 900px) { .det__table { min-width: 640px; } }
.det__table th, .det__table td { text-align: center; vertical-align: middle; padding: 10px 12px; font-size: 14px; }
.det__table th { white-space: normal; border-top: 1px solid var(--line); border-left: 1px solid var(--line); line-height: 1.3; }
.det__table td { border-left: 1px solid var(--line); }
.det__table th:first-child, .det__table td:first-child { border-left: 0; }
.det__table tr:first-child th { border-top: 0; }
.det__table .det__group th { background: #EEF2F6; color: var(--ink); text-align: left; }
.det__notes { margin-top: 8px; font-size: 13px; color: var(--metal); line-height: 1.5; }

/* Схема углов разворота корпуса */
.ang { display: block; width: 100%; max-width: 760px; height: auto; margin: 16px 0 4px; }
.ang__case { fill: #EEF2F6; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.ang__wheel { fill: #fff; stroke: var(--metal); stroke-width: 1.2; }
.ang__hub { fill: var(--metal); }
.ang__dir { fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ang__lbl { font-size: 14px; font-weight: 600; text-anchor: middle; fill: var(--ink); }
.ang-scroll { overflow-x: auto; }
@media (max-width: 640px) { .ang { min-width: 560px; } }
.det__info { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 16px 32px; margin: 0 0 28px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-md); }
.det__info h3 { margin: 0 0 10px; }
.det__info .ticks li { font-size: 15px; }
.det__wheel { grid-column: 1 / -1; padding: 18px 20px; background: #EEF2F6; border-radius: var(--r-md); scroll-margin-top: 150px; }
.pdp-series h3 { font-size: 17px; font-weight: 600; margin: 24px 0 12px; }
.pdp-series .det__info { margin-top: 8px; }
.pdp-install h3 { font-size: 17px; font-weight: 600; margin: 20px 0 10px; }

.det__drawings { display: grid; gap: 14px; margin-top: 4px; }
.det__drawings a { display: block; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.det__drawings img { display: block; width: 100%; height: auto; }
.det__drawings a:hover { border-color: var(--blue); }


/* Согласие перед отправкой заявки */
.consent { display: flex; align-items: flex-start; gap: 12px; font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.9); cursor: pointer; }
.consent input { appearance: none; -webkit-appearance: none; flex: 0 0 20px; width: 20px; height: 20px; margin: 1px 0 0; border: 1.5px solid rgba(255,255,255,.7); border-radius: 6px; background: transparent; display: grid; place-content: center; cursor: pointer; }
.consent input::before { content: ''; width: 5px; height: 9px; border: solid var(--white); border-width: 0 1.5px 1.5px 0; transform: translateY(-1px) rotate(45deg); opacity: 0; }
.consent input:checked { border-color: var(--white); background: var(--white); }
.consent input:checked::before { border-color: var(--blue); }
.consent:hover input:not(:checked) { border-color: var(--white); background: rgba(255,255,255,.1); }
.consent input:checked::before { opacity: 1; }
.consent input:focus-visible { outline: 2px solid var(--white); outline-offset: 4px; }
.consent input[aria-invalid="true"] { border-color: #FFB4A8; }
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.form__consent .err { display: block; color: #FFB4A8; font-size: 13px; }
.form__consent .err:not(:empty) { margin-top: 8px; }
.product-card__sizes-label { flex-basis: 100%; margin-bottom: 4px; font-size: 13px; font-weight: 500; color: var(--metal); }
.btn:not(:has(.dot)) { padding-inline: 24px; }

@media (min-width: 721px) and (max-width: 960px) {
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.form__send-error { color: #ffb4a8; font-size: 13px; }
.form button[aria-busy="true"] { cursor: wait; opacity: .7; }

/* Подписи к оригинальным схемам производителя */
.diagram { margin: 0; min-width: 0; }
.diagram figcaption { padding: 12px 2px 20px; font-size: 14px; color: var(--metal); line-height: 1.5; }
.det__drawings .diagram__source { display: inline; border: 0; border-radius: 0; background: none; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

/* Контент из редактора растягивает блоки и переносится в доступной колонке. */
:is(main, header, footer, .hero, .drawer) :is(div, section, article, aside, nav, form) {
  min-width: 0;
}
.hero__content > *, .section__head > *, .header__bar > *,
.footer__grid > *, .article__grid > *, .pdp > * { min-width: 0; }
:is(.hero, main, footer, .drawer) :is(h1, h2, h3, p, a, li, b, span) {
  overflow-wrap: anywhere;
}
.btn { max-width: 100%; white-space: normal; }
.btn .dot, .link .dot, .brand img, .burger, .drawer .close { flex-shrink: 0; }
.header__side { width: max-content; }
.header__side :is(.phone, .btn) { flex: none; max-width: none; white-space: nowrap; }
.header__side :is(.phone a, .phone b, .phone small, .btn) {
  overflow-wrap: normal;
  word-break: normal;
}
.header__bar { grid-template-columns: auto minmax(0, 1fr) auto; }
.hero__content { padding-top: max(140px, calc(var(--header-height, 100px) + 40px)); }
@media (max-width: 1180px) {
  .header__bar { grid-template-columns: minmax(0, 1fr) minmax(0, auto); }
}
@media (max-width: 720px) {
  .hero__photo { padding-top: 0; }
  .hero__content { padding-top: max(128px, calc(var(--header-height, 88px) + 24px)); }
  .header__bar { gap: 12px; padding-inline: 16px; }
  .header__side { gap: 10px; }
}

/* Широкий фон формы, содержимое по основной сетке. */
.request { width: min(var(--wrap), 100vw); max-width: none; margin-inline: calc((100% - min(var(--wrap), 100vw)) / 2); padding-inline: var(--gutter); }
.request :is(h2, p) { hyphens: none; overflow-wrap: normal; word-break: normal; }
@media (max-width: 960px) { .request-shell { width: 100%; margin-inline: 0; border-radius: 24px; } }

@media (min-width: 721px) and (max-width: 1180px) {
  .header--photo { top: 32px; }
  .hero__content { padding-bottom: calc(clamp(32px, 5.8vw, 84px) + 40px); }
}

/* Компактнее декоративная надпись в планшетном футере. */
@media (min-width: 721px) and (max-width: 1180px) {
 .footer__big { margin-top: 24px; font-size: clamp(120px, 16vw, 190px); line-height: 1; padding-bottom: 0; }
}

.cms-rich { overflow-wrap: anywhere; }
.cms-rich > * + * { margin-top: 24px; }
.cms-rich img { display: block; max-width: 100%; height: auto; border-radius: var(--r-md); }
.cms-rich figure { margin: 24px 0; }
.cms-rich figcaption { color: var(--metal); font-size: 14px; margin-top: 10px; }
.cms-rich ul,.cms-rich ol { padding-left: 24px; }
.cms-rich a { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.cms-table { overflow-x: auto; max-width: 100%; }
.cms-table table { border-collapse: collapse; min-width: 100%; }
.cms-table td,.cms-table th { padding: 12px 16px; border: 1px solid var(--line); text-align: left; min-width: 110px; }
.cms-table th { background: var(--steel); }
.cms-documents { display: grid; gap: 16px; }

/* Mobile header spacing and single-line hero actions. */
@media (max-width: 720px) {
  .header__bar { grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; }
  .header__side { gap: 12px; }
  .hero__actions .btn { white-space: nowrap; overflow-wrap: normal; word-break: normal; }
}
@media (max-width: 400px) {
  .header .brand img { width: 36px; height: 36px; }
  .header .burger { width: 40px; height: 40px; }
  .header .phone b { font-size: 14px; }
  .hero__actions .btn { font-size: 14px; gap: 8px; padding: 6px 6px 6px 16px; }
  .hero__actions .btn .dot { width: 36px; height: 36px; }
}
@media (max-width: 340px) {
  .hero__actions .btn { padding-left: 12px; gap: 6px; }
  .hero__actions .btn .dot { width: 32px; height: 32px; }
}

/* Keep mobile contact spacing independent of font loading and grid shrinkage. */
@media (max-width: 720px) {
  .header .header__bar { grid-template-columns: 36px minmax(0, 1fr); gap: 16px; }
  .header .brand, .header .brand img { width: 36px; min-width: 36px; }
  .header .brand img { height: 36px; }
  .header .header__side { width: 100%; min-width: 0; gap: 12px; justify-content: flex-end; }
  .header .header__side .phone { flex: 1 1 auto; min-width: 0; text-align: center; }
  .header .phone b { font-size: clamp(12px, 3.4vw, 15px); }
  .header .burger { width: 40px; height: 40px; flex: 0 0 40px; }
}
.header--photo { top: 42px; }
@media (min-width: 721px) and (max-width: 1180px) { .header--photo { top: 47px; } }

/* Responsive spacing: compact header and usable content on narrow phones. */
@media (max-width: 720px) {
  .header--plain .header__bar { padding-block: 12px; }
  .hero__content { padding-inline: 16px; }
  .hero h1 { hyphens: none; overflow-wrap: normal; max-width: none; font-size: clamp(25px, 8.5vw, 40px); line-height: 1.06; }
  .hero__text { line-height: 1.55; }
}
@media (max-width: 359px) {
  .hero-shell { padding: 6px; }
  .hero { padding: 6px; border-radius: 24px; }
  .hero__photo { border-radius: 20px; }
  .hero__content { padding-inline: 12px; }
  .hero__brand { font-size: 12px; gap: 6px; }
  .hero__brand::before { width: 16px; flex-shrink: 0; }
  .hero__actions .btn { font-size: 13px; padding-inline: 10px 6px; gap: 4px; }
  .hero__actions .btn .dot { width: 28px; height: 28px; }
  .header--photo { left: 12px; right: 12px; }
  .header .header__bar { padding-inline: 12px; gap: 8px; grid-template-columns: 30px minmax(0, 1fr); }
  .header .brand, .header .brand img { width: 30px; min-width: 30px; }
  .header .brand img { height: 30px; }
  .header .header__side { gap: 8px; }
  .header .phone b { font-size: 12px; }
  .header .burger { width: 32px; height: 32px; flex-basis: 32px; }
  .range-grid, .cat-grid, .eq-grid, .size-table { grid-template-columns: minmax(0, 1fr); }
  .request :is(h2, p) { overflow-wrap: anywhere; }
}

/* Match photo-header controls to the sticky mobile header. */
@media (min-width: 360px) and (max-width: 720px) {
 .header--photo .header__bar { grid-template-columns: 38px minmax(0, 1fr); column-gap: 12px; }
 .header--photo .brand, .header--photo .brand img { width: 38px; min-width: 38px; }
 .header--photo .brand img { height: 38px; }
 .header--photo .phone b { font-size: 15px; }
 .header--photo .burger { width: 48px; height: 48px; flex-basis: 48px; }
}

/* Keep documentation filter labels whole, including narrow phones. */
.segment { max-width: 100%; flex-wrap: wrap; }
.segment button { white-space: nowrap; overflow-wrap: normal; word-break: normal; flex-shrink: 0; }
