/* Metallorg, вариант 5: строгая витрина по мотивам bisley.com.
   Белый фон, логотип и меню по центру, фото во всю ширину с заголовком, заголовки разделов над тонкой линией, светло-серые полосы. */

body.v5 { overflow-x: clip; }
.v5 { --rule: var(--graphite); }

/* ссылки-тексты с подчёркиванием, как у образца */
.v5-link { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; transition: color .2s, text-underline-offset .25s var(--ease); }
.v5-link:hover { color: var(--accent-h); text-underline-offset: 7px; }
button.v5-link { padding-block: 5px; margin-block: -5px; }   /* поле нажатия чуть выше строки, раскладка та же */
.v5-link .mo-arr { width: 13px; height: 13px; transition: transform .35s var(--ease); }
.v5-link:hover .mo-arr { transform: translateX(3px); }

/* ───── шапка ───── */
.v5-head { position: relative; z-index: 61; background: #fff; }
.v5-head__in { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; height: 104px; gap: 24px; }
.v5-head__left { display: flex; flex-direction: column; gap: 2px; }
.v5-head__tel { font-weight: 600; font-size: 17px; color: var(--ink); font-variant-numeric: tabular-nums; width: max-content; transition: color .2s; }
.v5-head__tel:hover { color: var(--accent); }
.v5-head__hours { font-size: 13px; color: var(--muted); }
.v5-logo img { height: 60px; width: auto; }
.v5-tools { display: flex; align-items: flex-start; justify-content: flex-end; gap: 22px; }
.v5-tool { position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--ink); line-height: 1.2; transition: color .2s; }
.v5-tool > .mo-ic, .v5-tool .mo-city__btn > .mo-ic { width: 20px; height: 20px; color: var(--ink); transition: color .2s; }
.v5-tool:hover, .v5-tool:hover > .mo-ic { color: var(--accent); }
.v5-tool--wa > .mo-ic, .v5-tool--wa:hover > .mo-ic { color: var(--wa); }
.v5-tool--wa:hover { color: var(--wa-text); }
.v5-tool__n { position: absolute; top: -8px; left: calc(50% + 6px); min-width: 20px; height: 20px; font-size: 11px; border: 2px solid #fff; background: var(--accent); color: #fff; font-weight: 600; }
/* город: ширина подписи постоянная (по самому длинному «Караганда»), список не сдвигает соседние иконки */
.v5-tool--city { width: 68px; }
.v5-tool--city .mo-city__btn { flex-direction: column; gap: 6px; width: 100%; height: auto; font-size: 12px; line-height: 1.2; }
.v5-tool--city .mo-city__btn span { display: block; width: 100%; text-align: center; white-space: nowrap; }
.v5-tool--city .mo-city__btn .mo-ic { color: var(--ink); }
.v5-tool--city:hover .mo-city__btn, .v5-tool--city:hover .mo-city__btn .mo-ic, .v5-tool--city.is-open .mo-city__btn, .v5-tool--city.is-open .mo-city__btn .mo-ic { color: var(--accent); }
.mo-city__pop { position: absolute; top: calc(100% + 14px); left: 50%; z-index: 70; width: 264px; padding: 10px; border-radius: 16px; background: #fff; text-align: left;
  box-shadow: 0 22px 44px -18px rgba(var(--shade), .3), 0 2px 8px rgba(var(--shade), .06); opacity: 0; visibility: hidden; transform: translate(-50%, -6px);
  transition: opacity .22s cubic-bezier(.4, 0, .2, 1), transform .22s cubic-bezier(.4, 0, .2, 1), visibility .22s; }
.mo-city__pop::before { content: ""; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; margin-left: -6px; background: #fff; transform: rotate(45deg); border-radius: 2px; }
.mo-city.is-open .mo-city__pop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mo-city__h { padding: 6px 10px 8px; font: 600 13px/1.3 var(--fb); color: var(--muted); }
.mo-city__pop .mo-city__list { position: static; display: grid; gap: 2px; min-width: 0; margin: 0; padding: 0; list-style: none; box-shadow: none; opacity: 1; visibility: inherit; transform: none; transition: none; background: none; font-size: 15px; }
.mo-city__pop .mo-city__list button { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 9px 10px; border-radius: 10px; text-align: left; color: var(--ink); transition: background-color .18s var(--ease), color .18s var(--ease); }
.mo-city__pop .mo-city__list button span { display: grid; gap: 2px; }
.mo-city__pop .mo-city__list b { font-weight: 600; font-size: 15px; }
.mo-city__pop .mo-city__list small { font-size: 12.5px; color: var(--muted); }
.mo-city__pop .mo-city__list button:hover, .mo-city__pop .mo-city__list button:focus-visible { background: var(--surface); outline: none; }
.mo-city__pop .mo-city__list button[aria-checked="true"] b { color: var(--accent); }
.mo-city__ok { flex: none; width: 14px; height: 14px; color: var(--accent); opacity: 0; transition: opacity .18s var(--ease); }
.mo-city__pop .mo-city__list button[aria-checked="true"] .mo-city__ok { opacity: 1; }
.mo-city__note { display: flex; align-items: center; gap: 8px; margin-top: 6px; padding: 10px 10px 4px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.mo-city__note .mo-ic { width: 14px; height: 14px; color: var(--muted); }

/* поиск: панель поверх страницы под шапкой, страница не сдвигается */
.v5-search { position: absolute; left: 0; right: 0; top: 100%; z-index: 5; border-top: 1px solid var(--line); background: #fff; box-shadow: 0 24px 40px -24px rgba(var(--shade), .28);
  opacity: 0; transform: translateY(-8px); transition: opacity .26s cubic-bezier(.4, 0, .2, 1), transform .26s cubic-bezier(.4, 0, .2, 1); }
.v5-search.is-open { opacity: 1; transform: none; }
.v5-search[hidden] { display: none; }
.v5-search__wrap { padding-top: 20px; padding-bottom: 20px; }
.v5-search__in { position: relative; display: flex; align-items: center; gap: 12px; }
.v5-search__field { position: relative; display: flex; align-items: center; flex: 1; min-width: 0; height: 56px; padding: 0 8px 0 18px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.v5-search__field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(59, 66, 217, .12); }
.v5-search__field > .mo-ic { flex: none; width: 18px; height: 18px; color: var(--muted); }
.v5-search__field input { flex: 1; min-width: 0; height: 100%; margin-left: 12px; border: 0; font: 400 18px var(--fb); color: var(--ink); background: transparent; }
.v5-search__field input:focus { outline: none; }
.v5-search__field input::placeholder { color: #8A8E9A; }
.v5-search__field input::-webkit-search-cancel-button { display: none; }
.v5-search__clear { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--muted); transition: background-color .2s var(--ease), color .2s var(--ease); }
.v5-search__clear:hover { background: var(--surface); color: var(--ink); }
.v5-search__clear .mo-ic { width: 13px; height: 13px; }
.v5-search__clear[hidden] { display: none; }
.v5-search__go { flex: none; height: 56px; }
.v5-search__close { flex: none; }
.v5-search__hints { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; }
.v5-search__hints span { margin-right: 4px; color: var(--muted); }
.v5-search__hints a { display: inline-flex; align-items: center; min-height: 34px; padding: 6px 14px; border-radius: 999px; background: var(--surface); color: var(--ink); transition: background-color .2s var(--ease), color .2s var(--ease); }
.v5-search__hints a:hover { background: #E6E8F7; color: var(--accent); }
/* подсказки поиска (search.js): шапка на всех страницах, в том числе на главной */
.sg { position: absolute; left: var(--pad); right: var(--pad); top: calc(100% + 1px); z-index: 70; max-height: min(70vh, 560px); overflow-y: auto; padding: 8px; background: #fff; border-radius: 0 0 var(--r-card) var(--r-card); box-shadow: 0 18px 28px -14px rgba(var(--shade), .32); }
.sg[hidden] { display: none; }
.sg__it { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 8px 10px; border-radius: 12px; transition: background-color .15s var(--ease); }
.sg__it:hover, .sg__it.is-act { background: var(--surface); }
.sg__img { display: grid; place-items: center; width: 56px; height: 48px; border-radius: 8px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.sg__img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.sg__t { display: flex; flex-direction: column; min-width: 0; }
.sg__t b { font-weight: 500; font-size: 15px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sg__t small { font-size: 12.5px; color: var(--muted); }
.sg mark, .sp-grid mark { background: none; color: var(--accent); font-weight: 600; }
.sg__p { font-weight: 600; font-size: 14.5px; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.sg__all { display: block; margin-top: 4px; padding: 12px 10px 6px; border-top: 1px solid var(--line); font-weight: 600; color: var(--accent); }
.sg__none { padding: 14px 10px; font-size: 14.5px; color: var(--muted); }
@media (max-width: 760px) {
  .sg { left: 0; right: 0; border-radius: 0 0 14px 14px; }
  .sg__it { grid-template-columns: 48px minmax(0, 1fr); }
  .sg__p { grid-column: 2; font-size: 13.5px; }
}
.v5-search__in .sg { left: 0; right: 0; top: calc(100% + 8px); border-radius: var(--r-card); border-top: 0; }

/* ───── меню по центру, прилипает ───── */
.v5-nav { position: sticky; top: 0; z-index: 60; background: #fff; }
.v5-nav__in { position: relative; display: flex; justify-content: center; align-items: center; height: 56px; }
.v5-nav__in::after { content: ""; position: absolute; left: var(--pad); right: var(--pad); bottom: 0; height: 1px; background: var(--rule); transition: left .35s var(--ease), right .35s var(--ease); }
.v5-nav.is-stuck .v5-nav__in::after { left: 0; right: 0; }
.v5-nav__list { display: flex; gap: 26px; margin: 0; padding: 0; list-style: none; }
.v5-nav__list a { position: relative; display: flex; align-items: center; gap: 6px; padding: 17px 0; font-size: 15px; font-weight: 500; color: var(--ink); white-space: nowrap; transition: color .2s; }
.v5-nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 12px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.v5-nav__list a:hover, .v5-nav__list a[aria-expanded="true"] { color: var(--accent); }
.v5-nav__chev { width: 10px; height: 10px; color: var(--muted); transition: transform .3s var(--ease), color .2s; }
.v5-nav__list a:hover .v5-nav__chev, .v5-nav__list a[aria-expanded="true"] .v5-nav__chev { color: var(--accent); }
.v5-nav__list a[aria-expanded="true"] .v5-nav__chev { transform: rotate(180deg); }
.v5-nav__list a:hover::after, .v5-nav__list a[aria-expanded="true"]::after, .v5-nav__list a[aria-current]::after { transform: scaleX(1); }

/* выпадающая панель раздела */
.v5-drop { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(-6px); transition: opacity .22s var(--ease), transform .22s var(--ease); }
.v5-drop[hidden] { display: block; visibility: hidden; pointer-events: none; }
.v5-drop.is-open { opacity: 1; transform: none; }
.v5-drop__pane { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; padding: 36px 0 44px; }
.v5-drop__pane[hidden] { display: none; }
.v5-drop__h { display: inline-flex; align-items: center; gap: 14px; font: var(--fh-w) 26px/1.15 var(--fh); color: var(--ink); transition: color .2s; }
.v5-drop__h:hover { color: var(--accent); }
.v5-drop__h .mo-arr { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.v5-drop__h:hover .mo-arr { transform: translateX(4px); }
.v5-drop__sub { columns: 3; column-gap: 32px; margin: 24px 0 0; padding: 0; list-style: none; }
.v5-drop__sub li { break-inside: avoid; }
.v5-drop__sub a { display: inline-block; padding: 7px 0; font-size: 15px; color: var(--text); transition: color .2s; }
.v5-drop__sub a:hover { color: var(--accent); }
.v5-drop__fig { margin: 0; }
.v5-drop__fig img { width: 100%; height: 240px; object-fit: contain; object-position: center bottom; background: var(--surface); border-radius: var(--r-card); padding: 24px; }
.v5-drop__fig figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }
.v5-dim { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: rgba(var(--shade), .32); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.v5-dim.is-on { opacity: 1; visibility: visible; }

/* ───── первый экран: фото со вшитым затемнением, заголовок и кнопки слева ───── */
.v5-hero__stage { position: relative; height: clamp(460px, 44vw, 640px); overflow: hidden; background: var(--graphite); touch-action: pan-y; }
.v5-hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; }
.v5-hero__slide.is-on, .v5-hero__slide.is-vis { visibility: visible; }
.v5-hero__slide.is-on { opacity: 1; }
.v5-hero__slide img { width: 100%; height: 100%; object-fit: cover; object-position: var(--p, center); transform-origin: 70% 50%; }
.v5-hero__arrows { position: absolute; z-index: 31; right: max(var(--pad), calc((100% - var(--maxw)) / 2 + var(--pad))); bottom: 28px; display: flex; gap: 10px; }
.v5-hero__arrows .v5-arr { width: 52px; height: 52px; border: 0; background: #fff; color: var(--ink); }
.v5-hero__arrows .v5-arr .mo-ic { width: 16px; height: 16px; }
@media (hover: hover) { .v5-hero__arrows .v5-arr:hover { background: var(--accent); color: #fff; } }
.v5-hero__stage { cursor: grab; }
.v5-hero__stage.is-drag { cursor: grabbing; user-select: none; }
.v5-hero__stage.is-drag .v5-hero__slide, .v5-hero__slide.is-slide { will-change: transform; }
.v5-hero__in { position: relative; z-index: 30; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
/* 26.11: свой заголовок у каждого слайда. Тексты стоят стопкой в одной ячейке: высота по самому длинному, при смене ничего не едет;
   кегль общий (data-fit на обёртке), поэтому «Сейфы» и «Производственная мебель» одного размера */
.v5-hero__txt { display: grid; font: var(--fh-w) clamp(32px, 4.2vw, 60px)/1.08 var(--fh); }
.v5-hero__t { grid-area: 1 / 1; align-self: end; opacity: 0; visibility: hidden; transition: opacity .45s cubic-bezier(.4, 0, .2, 1), visibility 0s linear .45s; }
.v5-hero__t.is-on { opacity: 1; visibility: visible; transition: opacity .45s cubic-bezier(.4, 0, .2, 1) .12s, visibility 0s; }
.v5-hero__h { font: inherit; letter-spacing: -.01em; color: #fff; }
.v5-hero__h span { display: block; width: max-content; white-space: nowrap; }
.v5-hero__p { max-width: 34em; margin-top: 20px; font: 400 18px/1.55 var(--fb); color: rgba(255, 255, 255, .9); }
.v5-hero__btns { display: flex; gap: 12px; margin-top: 32px; }
.v5-hero__btns .l-s { display: none; }
.v5-hero__tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; padding-top: 4px; }
.v5-hero__tabs button { position: relative; display: block; text-align: left; padding: 16px 0 6px; font-size: 14px; font-weight: 500; color: var(--muted); transition: color .2s; }
.v5-hero__tabs button:hover, .v5-hero__tabs button[aria-pressed="true"] { color: var(--ink); }
.v5-hero__tabs i { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--line); overflow: hidden; }
.v5-hero__tabs i::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.v5-hero__tabs [aria-pressed="true"] i::after { transform: scaleX(1); }
.v5-hero.is-run .v5-hero__tabs [aria-pressed="true"] i::after { animation: v5Prog var(--t, 7s) linear both; }
.v5-hero.is-paused .v5-hero__tabs [aria-pressed="true"] i::after { animation-play-state: paused; }
@keyframes v5Prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.v5-arr { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--rule); display: grid; place-items: center; color: var(--ink); transition: background-color .2s, color .2s, border-color .2s; }
.v5-arr .mo-ic { width: 14px; height: 14px; }

/* ───── заявление по центру ───── */
.v5-say { padding: clamp(72px, 8vw, 112px) 0 0; text-align: center; }
.v5-say__h { max-width: 20em; margin: 0 auto; font: var(--fh-w) min(clamp(24px, 3vw, 42px), calc(var(--h1, 60px) * .72))/1.15 var(--fh); color: var(--ink); text-wrap: balance; }
.v5-say__h::after, .v5-h2::after { content: ""; display: block; width: 120px; height: 2px; margin: 28px auto 0; background: var(--rule); }
.v5-say__p { max-width: 66ch; margin: 28px auto 0; font-size: 17px; line-height: 1.7; color: var(--text); }
.v5-say__p p + p { margin-top: 16px; }

/* ───── заголовки разделов: слева, линия под ними, справа пояснение или ссылка ───── */
.v5-sec { padding-top: clamp(72px, 8vw, 120px); }
.v5-h2 { font: var(--fh-w) min(clamp(26px, 2.8vw, 40px), calc(var(--h1, 60px) * .68))/1.12 var(--fh); color: var(--ink); text-align: center; text-wrap: balance; max-width: 22em; margin: 0 auto; }
.v5-head2 { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 12px 40px; padding-bottom: 18px; margin-bottom: clamp(24px, 3vw, 40px); border-bottom: 1px solid var(--rule); }
.v5-head2 .v5-h2 { margin: 0; text-align: left; max-width: none; }
.v5-head2 .v5-h2::after { content: none; }
.v5-head2__sub { flex: 1 1 320px; max-width: 54ch; margin-left: auto; text-align: right; font-size: 16px; color: var(--muted); }
.v5-head2 > .v5-link { margin-bottom: 4px; }

/* ───── каталог: восемь разделов сеткой ───── */
.v5-cats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(32px, 3.4vw, 48px) clamp(16px, 2vw, 28px); margin: 0; padding: 0; list-style: none; }
.v5-cat { min-width: 0; }
.v5-cat__img { display: flex; align-items: flex-end; justify-content: center; gap: 8%; aspect-ratio: 4 / 3.4; padding: 11% 9% 8%; border-radius: var(--r-card); background: linear-gradient(to bottom, var(--surface) 0 76%, var(--surface-2) 76% 100%); overflow: hidden; }
.v5-p { display: flex; align-items: flex-end; justify-content: center; height: calc(var(--k) * 100%); min-width: 0; flex: 0 1 auto; transition: transform .45s var(--ease); }
.v5-p img { height: 100%; width: auto; max-width: 100%; object-fit: contain; object-position: center bottom; }
.v5-cat:hover .v5-p { transform: translateY(-6px); }
.v5-cat:hover .v5-p + .v5-p { transition-delay: .05s; }
.v5-cat__t { margin-top: 18px; font: var(--fh-w) 20px/1.2 var(--fh); color: var(--ink); }
.v5-cat__t a { transition: color .2s; }
.v5-cat__t a:hover, .v5-cat:hover .v5-cat__t a { color: var(--accent); }
.v5-cat__sub { display: flex; flex-direction: column; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.v5-cat__sub a { font-size: 15px; color: var(--muted); transition: color .2s; }
.v5-cat__sub a:hover { color: var(--accent); }

/* ───── светло-серая полоса с калькулятором ───── */
.v5-band { background: var(--surface); padding: clamp(48px, 5vw, 72px) 0 clamp(56px, 6vw, 88px); }
.v5-calc__card { padding: clamp(16px, 2.4vw, 32px); background: #fff; border-radius: 20px; }
.v5-head2__sub .v5-link { display: inline; font-weight: 500; }

/* ───── выставочные залы: три карточки ───── */
.v5-shows__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.v5-show { display: flex; flex-direction: column; min-width: 0; }
.v5-show > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-card); }
.v5-show__city { margin-top: 18px; font: var(--fh-w) 24px/1.15 var(--fh); color: var(--ink); }
.v5-show > p { margin-top: 8px; font-size: 16px; color: var(--text); }
.v5-show__tel { margin-top: 6px; width: max-content; font-weight: 600; color: var(--ink); transition: color .2s; }
.v5-show__tel:hover { color: var(--accent); }
.v5-show .mo-maps { margin-top: 0; padding-top: 14px; }

/* ───── заявка по центру ───── */
.v5-cta__in { text-align: center; }
.v5-cta__p { max-width: 640px; margin: 28px auto 0; font-size: 17px; color: var(--text); }
.v5-cta__form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 14px; align-items: end; max-width: 860px; margin: 36px auto 0; text-align: left; }
.v5-cta__form .mo-in { margin: 0; }
.v5-cta__form .mo-btn { height: 52px; }
.v5-cta__done { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; }
.v5-cta__done[hidden] { display: none; }
.v5-cta__done .mo-ic { color: var(--accent); }
.v5-cta__wa { margin-top: 16px; }

/* ───── вопросы: строки с линиями ───── */
.v5-faq__in { max-width: 960px; }
.v5-faq__list { margin-top: 44px; border-bottom: 1px solid var(--line); }
.v5 .v5-qa { background: none; border-radius: 0; border-top: 1px solid var(--line); }
.v5 .v5-qa:hover, .v5 .v5-qa[open], .v5 .v5-qa.is-closing:not(:hover) { background: none; }
.v5 .v5-qa summary { padding: 22px 0; font-size: 18px; transition: color .2s; }
.v5 .v5-qa summary:hover { color: var(--accent); }
.v5 .v5-qa .mo-qa__pm { background: var(--surface); }
.v5 .v5-qa[open]:not(.is-closing) .mo-qa__pm { background: var(--accent); }
.v5 .v5-qa .mo-qa__in { padding: 0 64px 24px 0; font-size: 16px; }
.v5 .v5-qa .mo-qa__in p { max-width: 60ch; }
.v5-faq__more { margin-top: 28px; text-align: center; color: var(--text); }
.v5-faq__more > a { font-weight: 600; color: var(--ink); }
.v5-faq__more > a:hover { color: var(--accent); }

/* ───── подвал ───── */
.v5-foot { position: relative; margin-top: clamp(80px, 9vw, 140px); padding-top: 56px; border-top: 1px solid var(--line); background: #fff; overflow: hidden; container-type: inline-size; }
.v5-foot__soc { display: flex; justify-content: center; gap: 16px; }
.v5-soc { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--rule); display: grid; place-items: center; color: var(--ink); transition: background-color .2s, color .2s, border-color .2s, filter .2s; }
.v5-soc .mo-ic { width: 18px; height: 18px; }
.v5-soc:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.v5-soc--wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.v5-soc--wa:hover { background: var(--wa-h); border-color: var(--wa-h); }
.v5-soc--ig { border: 0; color: #fff; background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.v5-soc--ig:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); filter: brightness(1.06); }
.v5-soc--wa .mo-ic, .v5-soc--ig .mo-ic { width: 20px; height: 20px; }
.v5-foot__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; margin-top: 56px; }
.v5-foot__cols h3 { font: 600 15px/1.3 var(--fb); color: var(--ink); margin-bottom: 16px; }
.v5-foot__cols ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.v5-foot__cols a { font-size: 15px; color: var(--text); transition: color .2s; }
.v5-foot__cols a:hover { color: var(--accent); }
.v5-foot__addr li { display: flex; flex-direction: column; gap: 2px; font-size: 15px; color: var(--text); }
.v5-foot__addr b { font-weight: 500; font-size: 13px; color: var(--muted); }
.v5-foot__bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; margin-top: 56px; padding: 22px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.v5-foot__logo img { height: 34px; width: auto; }
.v5-foot__bottom a:not(.v5-foot__logo) { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line); transition: color .2s; }
.v5-foot__bottom a:hover { color: var(--accent); }
.v5-foot__offer { flex: 1 1 360px; }
.v5-foot__dev a { color: var(--ink); font-weight: 600; }
.v5-foot__big { font: var(--fh-w) 13.9cqw/.78 var(--fh); letter-spacing: -.02em; color: rgba(46, 49, 55, .06); text-align: center; white-space: nowrap; margin: 8px 0 -1.6cqw; padding-bottom: 96px; user-select: none; }


/* ───── ноутбуки ───── */
@media (max-width: 1360px) {
  .v5-nav__list { gap: 18px; }
  .v5-nav__list a { font-size: 14.5px; }
}
@media (max-width: 1240px) {
  .v5-nav__list { gap: 14px; }
  .v5-nav__list a { font-size: 14px; gap: 4px; }
  .v5-nav__chev { width: 9px; height: 9px; }
  .v5-tools { gap: 16px; }
  .v5-head__hours { display: none; }
  .v5-drop__sub { columns: 2; }
}

/* ───── планшет и телефон ───── */
@media (max-width: 1140px) {
  .v5-nav__list { gap: 11px; }
  .v5-nav__list a { font-size: 13.5px; }
}
@media (max-width: 1080px) {
  .v5-nav__list { gap: 9px; }
  .v5-nav__list a { font-size: 13px; }
}
@media (max-width: 1024px) {
  .v5-head { position: sticky; top: 0; z-index: 61; border-bottom: 1px solid var(--line); }
  .v5-head__in { grid-template-columns: auto 1fr; height: 68px; gap: 10px; }
  .v5-head__left, .v5-tool--calc, .v5-tool--city, .v5-tool--wa, .v5-tool > span { display: none; }
  .v5-logo { grid-row: 1; grid-column: 1; }
  .v5-logo img { height: 44px; }
  .v5-tools { align-items: center; gap: 8px; }
  .v5-tool { width: 46px; height: 46px; border-radius: 50%; background: var(--surface); justify-content: center; }
  .v5-tool > .mo-ic { width: 18px; height: 18px; }
  .v5-tool__n { top: -4px; left: auto; right: -4px; }
  .v5-nav { display: none; }
  .v5-search__wrap { padding-top: 14px; padding-bottom: 16px; }
  .v5-search__field { height: 50px; padding-left: 14px; }
  .v5-search__field input { font-size: 16px; margin-left: 10px; }
  .v5-search__go { display: none; }
  .v5-search__hints { flex-wrap: nowrap; overflow-x: auto; margin-right: calc(var(--pad) * -1); padding-right: var(--pad); scrollbar-width: none; }
  .v5-search__hints::-webkit-scrollbar { display: none; }
  .v5-search__hints a, .v5-search__hints span { flex: none; }
  .v5-hero__tabs { gap: 12px; }
  .v5-cat__t { font-size: 18px; }
  .v5-shows__grid { gap: 16px; }
  .v5-show__city { font-size: 21px; }
  .v5-foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v5-foot__big { padding-bottom: 150px; }
}
@media (max-width: 900px) {
  .v5-cats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .v5-hero__stage { height: min(132vw, 580px); }
  .v5-hero__slide img { object-position: center; }
  .v5-hero__in { justify-content: flex-end; padding-bottom: 24px; }
  .v5-hero__arrows { top: 16px; bottom: auto; right: 16px; gap: 8px; }
  .v5-hero__arrows .v5-arr { width: 44px; height: 44px; }
  .v5-hero__p { font-size: 15.5px; margin-top: 12px; }
  .v5-hero__btns { width: 100%; margin-top: 20px; gap: 8px; }
  .v5-hero__btns .mo-btn { flex: 1 1 0; min-width: 0; height: 48px; padding: 0 16px 0 18px; font-size: 15px; }
  .v5-hero__tabs { gap: 6px; }
  .v5-hero__tabs button { padding: 0; height: 32px; }
  .v5-hero__tabs i { top: 15px; }
  .v5-hero__tabs span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .v5-say__p { font-size: 16px; }
  .v5-head2__sub { text-align: left; margin-left: 0; flex-basis: 100%; font-size: 15px; }
  .v5-cats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .v5-cat__img { padding: 12% 8% 8%; }
  .v5-cat__t { margin-top: 12px; font-size: 16px; }
  .v5-cat__sub { display: none; }
  .v5-cta__form { grid-template-columns: minmax(0, 1fr); }
  .v5-cta__form .mo-btn { width: 100%; }
  .v5-cta__wa { width: 100%; }
  .v5 .v5-qa summary { font-size: 16px; padding: 18px 0; }
  .v5 .v5-qa .mo-qa__in { padding: 0 48px 18px 0; }
  .v5-foot__cols { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .v5-foot__bottom { gap: 8px 20px; }
}
@media (max-width: 560px) {
  .v5-hero__btns .l-l { display: none; }
  .v5-hero__btns .l-s { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
  .v5-drop { transition: none; }
  .v5-p { transition: none; }
}
/* узкий телефон: две кнопки первого экрана в ряд без вылезания */
@media (max-width: 360px) {
  .v5-hero__btns .mo-btn { padding: 0 12px 0 14px; font-size: 14px; gap: 8px; }
}
/* узкий телефон: длинные названия разделов («Производственная») переносятся по слогам, не вылезают из карточки */
@media (max-width: 380px) {
  .v5-cat__t { font-size: 14.5px; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: anywhere; }
}
/* строка поиска выезжает из-под шапки, а не появляется рывком (04.11) */
@keyframes v5Drop { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
/* плавность: ссылки и смена разделов в выпадающей панели меню (04.11) */
.v5-faq__more > a, .v5-foot__bottom a { transition: color .2s var(--ease); }
.v5-drop.is-open [data-pane]:not([hidden]) { animation: v5PaneIn .22s var(--ease); }
@keyframes v5PaneIn { from { opacity: 0; transform: translateY(-4px); } }
/* поле файла под строкой «имя / телефон», кнопка остаётся в строке с полями */
.v5-cta__form .mo-file { grid-column: 1 / 3; grid-row: 2; margin: 0; }
.v5-cta__form > .mo-btn { grid-column: 3; grid-row: 1; }
@media (max-width: 767px) { .v5-cta__form .mo-file, .v5-cta__form > .mo-btn { grid-column: auto; grid-row: auto; } }

/* ───── 10.11: правки клиента ───── */
/* первый экран: один кадр склада со стеллажами (затемнение вшито), лёгкий наезд камеры при загрузке */
.v5-hero__pic { position: absolute; inset: 0; }
.v5-hero__pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.motion .v5-hero__pic img { animation: v5HeroIn 2.2s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes v5HeroIn { from { transform: scale(1.06); } }
.v5-hero__stage { cursor: auto; }
/* о компании: под текстом склады и три телефона в ряд */
.v5-say__info { margin: 40px auto 0; padding-top: 32px; max-width: 760px; border-top: 1px solid var(--line); }
.v5-say__h3 { font: var(--fh-w) 20px/1.2 var(--fh); color: var(--ink); }
.v5-say__wh { margin-top: 10px; font-size: 16px; color: var(--text); }
.v5-say__tels { padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 48px; margin-top: 22px; }
.v5-say__tels li { display: flex; flex-direction: column; gap: 4px; }
.v5-say__tels span { font-size: 13px; color: var(--muted); }
.v5-say__tels a { font-size: 18px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; transition: color .2s var(--ease); }
@media (hover: hover) { .v5-say__tels a:hover { color: var(--accent); } }
/* склады и офисы: под городом три телефона с подписью отдела */
.v5-show__tels { padding: 0; list-style: none; display: grid; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.v5-show__tels li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 12px; }
.v5-show__tels span { font-size: 14px; color: var(--muted); }
.v5-show__tels a { font-weight: 600; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; transition: color .2s var(--ease); }
@media (hover: hover) { .v5-show__tels a:hover { color: var(--accent); } }
@media (max-width: 1180px) { .v5-shows__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .v5-hero__pic img { object-position: 50% 40%; }
  .v5-say__info { margin-top: 32px; padding-top: 28px; }
  .v5-say__tels { flex-direction: column; align-items: center; gap: 16px; }
  .v5-say__tels li { align-items: center; }
}
@media (prefers-reduced-motion: reduce) { .v5-hero__pic img { animation: none; } }
/* затемнение под текстом первого экрана слоем: кадр обрезается по-разному на разных ширинах,
   вшитого в картинку не хватает там, где текст заходит на светлые ряды и лампы (замер tools/hero_contrast.py) */
.v5-hero__stage::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(12, 13, 16, .62) 0, rgba(12, 13, 16, .5) 34%, rgba(12, 13, 16, .18) 56%, rgba(12, 13, 16, 0) 70%); }
@media (max-width: 1024px) {
  .v5-hero__stage::after { background: linear-gradient(90deg, rgba(12, 13, 16, .74) 0, rgba(12, 13, 16, .64) 52%, rgba(12, 13, 16, .3) 78%, rgba(12, 13, 16, .12) 100%); }
}
@media (max-width: 767px) {
  .v5-hero__stage::after { background: linear-gradient(0deg, rgba(12, 13, 16, .6) 0, rgba(12, 13, 16, .42) 48%, rgba(12, 13, 16, .12) 72%, rgba(12, 13, 16, 0) 86%); }
}
/* наши проекты: мозаика из пяти фото выполненных работ (10.11) */
.v5-pj__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: repeat(2, clamp(150px, 15vw, 230px)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.v5-pj__it { overflow: hidden; border-radius: var(--r-card); background: var(--surface); }
.v5-pj__it:first-child { grid-row: span 2; }
.v5-pj__it img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.v5-pj__it:hover img { transform: scale(1.04); }
@media (max-width: 767px) {
  .v5-pj__grid { grid-template-columns: 1fr 1fr; grid-template-rows: 200px; grid-auto-rows: 130px; gap: 8px; }
  .v5-pj__it:first-child { grid-column: span 2; grid-row: span 1; }
}

/* призыв на главной: плашка с фоновым фото (11.11, CTA везде с фото) */
.v5-cta__in--photo { position: relative; isolation: isolate; overflow: hidden; padding: clamp(40px, 5.4vw, 80px) clamp(22px, 4vw, 64px); border-radius: calc(var(--r-card) + 4px); background: var(--graphite); color: #fff; }
.v5-cta__bg { position: absolute; inset: 0; z-index: -2; }
.v5-cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.v5-cta__in--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 50% 40%, rgba(var(--shade), .7) 0%, rgba(var(--shade), .84) 70%), rgba(var(--shade), .2); }
.v5-cta__in--photo .v5-h2 { color: #fff; }
.v5-cta__in--photo .v5-cta__p { color: rgba(255, 255, 255, .86); }
.v5-cta__in--photo .mo-in > span { color: rgba(255, 255, 255, .86); }
.v5-cta__in--photo .mo-file__pick { border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .1); color: #fff; }
.v5-cta__in--photo .mo-file__pick small { color: rgba(255, 255, 255, .72); }
.v5-cta__in--photo .mo-file__pick .mo-ic { color: #fff; }
.v5-cta__in--photo .v5-cta__done { color: #fff; }
.v5-cta__in--photo .v5-cta__done .mo-ic { color: #fff; }
.v5-cta__in--photo .mo-file__pick b { color: #fff; }
.v5-cta__in--photo .mo-in input { border-color: transparent; }
/* подвал на телефоне: ссылки в две колонки, зоны нажатия выше (11.11) */
@media (min-width: 340px) and (max-width: 767px) {
  .v5-foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; }
  .v5-foot__cols a { font-size: 14.5px; }
}
@media (pointer: coarse) {
  .v5-foot__cols ul { gap: 0; }
  .v5-foot__cols a { display: inline-block; padding: 8px 0; }
  .v5-foot__addr li { padding: 4px 0; }
  .v5-foot__bottom a { display: inline-block; padding: 8px 0; }
}
@media (pointer: coarse) {
  .v5-link { padding-top: 10px; padding-bottom: 10px; margin-top: -10px; margin-bottom: -10px; }
  .v5-say__tels a, .v5-show__tels a { display: inline-block; padding: 9px 0; margin: -9px 0; }
}
/* 19.11: первый экран каруселью из шести кадров (клиент 12.11). Затемнение (::after) поверх всех кадров, текст и стрелки выше */
.v5-hero__stage::after { z-index: 20; }
.v5-hero__slide picture, .v5-hero__slide img { position: absolute; inset: 0; width: 100%; height: 100%; }
.v5-hero__slide img { object-fit: cover; object-position: 50% 58%; }
.motion .v5-hero__slide:first-child img { animation: v5HeroIn 2.2s cubic-bezier(.16, 1, .3, 1) both; }
.v5-hero__nav { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 34px; }
.v5-hero__cap { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; font-size: 15px; font-weight: 600; color: #fff; }
.v5-hero__cap .mo-ic { width: 14px; height: 14px; transition: transform .2s var(--ease); }
@media (hover: hover) { .v5-hero__cap:hover .mo-ic { transform: translateX(3px); } }
.v5-hero__nav .v5-hero__tabs { display: flex; gap: 4px; padding: 0; }
.v5-hero__nav .v5-hero__tabs button { position: relative; width: 40px; height: 28px; padding: 0; }
.v5-hero__nav .v5-hero__tabs i { top: 50%; height: 3px; margin-top: -1.5px; border-radius: 2px; background: rgba(255, 255, 255, .3); }
.v5-hero__nav .v5-hero__tabs i::after { background: #fff; }
.v5-hero__nav .v5-hero__tabs button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 4px; }
@media (pointer: coarse) { .v5-hero__nav .v5-hero__tabs button { height: 40px; } }
@media (max-width: 767px) {
  .v5-hero__slide img { object-position: 50% 40%; }
  .v5-hero__arrows { display: none; }
  .v5-hero__nav { margin-top: 18px; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) { .v5-hero__slide img { animation: none; } .v5-hero__t, .v5-hero__t.is-on { transition: none; } }
@media (max-width: 767px) { .v5-hero__stage { height: min(152vw, 640px); } }

/* 19.11: ролики с объектов вместо фото-галерей: вертикальные видео рядом, своя заставка, плеер браузера */
/* 23.11: роликов стало 5 на главной и 9 на «О компании» — ряд тянется на всю ширину, на телефоне лента с прокруткой */
.vb__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.vb__it { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.vb__v { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--r-card); background: var(--graphite); }
.vb__cap { margin: 0; font-size: 14px; line-height: 1.4; color: var(--muted); }
@media (max-width: 767px) {
  .vb__list { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 46%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; padding-bottom: 8px; }
  .vb__it { scroll-snap-align: start; }
}
/* 19.11: «О компании» на всю ширину (клиент 12.11: «много пустого пространства, текст растянуть»): текст слева, контакты карточкой справа */
.v5-say { text-align: left; }
.v5-say__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.v5-say__h { max-width: none; margin: 0; }
.v5-say__h::after { margin: 24px 0 0; }
.v5-say__p { max-width: none; margin: 24px 0 0; font-size: 18px; }
.v5-say__info { margin: 0; padding: clamp(24px, 3vw, 36px); max-width: none; border-top: 0; border-radius: var(--r-card); background: var(--surface); }
.v5-say__tels { flex-direction: column; justify-content: flex-start; gap: 16px; margin-top: 22px; }
.v5-say__tels li { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.v5-say__tels li:last-child { padding-bottom: 0; border-bottom: 0; }
.v5-say__tels span { font-size: 15px; }
@media (max-width: 1024px) {
  .v5-say__in { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 767px) {
  .v5-say__p { font-size: 16px; }
  .v5-say__tels { align-items: stretch; }
  .v5-say__tels li { align-items: baseline; }
}
