/* Coil — общий слой поверх перенесённых стилей макета (p-*.css): шрифты, сбросы, интерактив, формы, адаптив. */

@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-display: swap; src: url(../fonts/plex-sans-cyrillic-400.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-display: swap; src: url(../fonts/plex-sans-latin-400.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-display: swap; src: url(../fonts/plex-sans-cyrillic-500.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-display: swap; src: url(../fonts/plex-sans-latin-500.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-display: swap; src: url(../fonts/plex-sans-cyrillic-600.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-display: swap; src: url(../fonts/plex-sans-latin-600.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-weight: 700; font-display: swap; src: url(../fonts/plex-sans-cyrillic-700.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "IBM Plex Sans"; font-weight: 700; font-display: swap; src: url(../fonts/plex-sans-latin-700.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap; src: url(../fonts/plex-mono-cyrillic-400.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap; src: url(../fonts/plex-mono-latin-400.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url(../fonts/plex-mono-cyrillic-500.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url(../fonts/plex-mono-latin-500.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Unbounded"; font-weight: 700; font-display: swap; src: url(../fonts/unbounded-700-ma.woff2) format("woff2"); }

:root {
	--blue: var(--a); --muted: var(--dim); --soft: var(--bg); --line-2: #d5dbe7;
	--ok: #12a150; --err: #c62828;
	--mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}

/* Сбросы, которых нет в макете: там статичная картинка, у нас ссылки, кнопки и поля */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; scrollbar-gutter: stable; }
body { -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ol, ul { list-style: none; }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--a); outline-offset: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; }
.skip:focus { top: 8px; }
.ico { width: 18px; height: 18px; flex: none; }
.link { color: var(--a); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.link-btn { padding: 0; color: var(--a); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.btn { border: 0; cursor: pointer; transition: background .15s; }
.btn:hover { background: #1a43c4; color: #fff; }
.btn.w:hover { background: var(--bg); color: var(--ink); }

/* Контакты: маршрут подсвечивается как основная кнопка. */
.kw .route .kro { transition: background-color .15s, color .15s; }
.kw .route .kro:focus-visible { background: var(--a) !important; color: #fff !important; }
@media (hover: hover) {
	.kw .route .kro:hover { background: var(--a) !important; color: #fff !important; }
}

/* Шапка */
.top a { display: flex; gap: 8px; align-items: center; color: #b9c7f2; }
.top a:hover { color: #fff; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo img { width: 32px; height: 32px; }
.logo span { font: 800 25px/1 var(--fd); letter-spacing: .04em; color: var(--ink); }
nav a { white-space: nowrap; }
nav a:hover { color: var(--a); }
nav a.act { color: var(--a); position: relative; }
nav a.act::after { content: ''; position: absolute; left: 0; right: 0; bottom: -31px; height: 2px; background: var(--a); }
.lang a, .lg a { display: inline-flex; }
.lang a:hover i { color: var(--a); }
.hph { display: block; line-height: 1.3; }
.hph .ph { display: block; }
.phs { display: block; font-size: 13px; color: var(--dim); }
.burger, .nmob { display: none; }

/* Подвал */
.flogo { display: inline-flex !important; align-items: center; gap: 9px; padding: 0 0 14px !important; }
.flogo img { width: 30px; height: 30px; }
.flogo span { font: 800 23px/1 var(--fd); letter-spacing: .04em; color: #fff; }
.efl a:hover { color: #fff !important; text-decoration: underline; text-underline-offset: 3px; }
.end .wm img { width: .77em; height: auto; margin-bottom: -8px; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35)); }
.end .fb .lg { display: flex; }
.end .fb .lg a { color: inherit; }
.end .fb .pp:hover, .end .fb .ma:hover b { text-decoration: underline; }

/* Карточки и ссылки-блоки */
.cc, .bf, .cert3, .prod3 .ph { color: inherit; }
.prod3 .ph { display: block; }
.cc { transition: box-shadow .2s, border-color .2s; }
@media (hover: hover) { .cc:hover { border-color: #b8c6ee; box-shadow: 0 18px 40px -18px rgba(14, 20, 36, .25); } }
@media (hover: hover) { .cc:hover .cgo { background: var(--a); color: #fff; } }
.cert3 img { height: auto; flex: none; }
.cim img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bf:hover { border-color: var(--a); }
.ect .tel { display: block; }
.ect .t2 a:hover, .ecr2 a:hover { color: var(--a); }
.fqh { user-select: none; }
.fqh:hover b { color: var(--a); }

/* Карта */
#map { position: relative; background: #e9edf4; overflow: hidden; }
#map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mapbtn { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--a); font-weight: 600; }

/* Форма заявки: общее */
.rq { position: relative; }
.rq .cin, .rq .in { width: 100%; color: var(--ink); background: #fff; border: 1px solid var(--line); outline: none; transition: border-color .15s, box-shadow .15s; }
.rq .cin::placeholder, .rq .in::placeholder { color: #97a0b2; opacity: 1; }
.rq .cin:focus, .rq .in:focus { border-color: var(--a); box-shadow: 0 0 0 3px rgba(31, 79, 224, .12); }
.rq .is-invalid { border-color: var(--err) !important; }
.rq__progress { height: 4px; background: var(--line); overflow: hidden; margin-top: 10px; }
.rq__progress i { display: block; height: 100%; width: 0; background: var(--a); transition: width .2s; }
.rq__error { margin-top: 12px; padding: 10px 12px; background: #fdecec; color: var(--err); font-size: 14px; }
.rq__listhead { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin: 18px 0 10px; font-size: 13px; color: var(--dim); }
.rq__listhead b { color: var(--ink); font-size: 14px; }
.rq__items { display: grid; gap: 8px; }
.ri { display: grid; grid-template-columns: minmax(0, 1.3fr) 78px minmax(0, 1fr) 28px; gap: 6px; align-items: center; padding: 6px 6px 6px 12px; border: 1px solid var(--line); background: #fff; }
.ri__name { grid-column: 1 / 4; display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 14px; color: var(--ink); }
.ri__del { grid-column: 4; grid-row: 1; width: 28px; height: 28px; color: var(--dim); display: grid; place-items: center; }
.ri__del:hover { background: var(--bg); color: var(--err); }
.ri__del .ico { width: 15px; height: 15px; }
.ri__name .ico { width: 16px; height: 16px; color: var(--a); }
.ri__name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ri__name small { color: var(--ok); white-space: nowrap; font-size: 12px; }
.ri select, .ri input { width: 100%; min-height: 34px; border: 1px solid var(--line); padding: 4px 8px; font-size: 13px; background: #fafbfd; }
.ri select { appearance: none; background: #fafbfd url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23687083' fill='none' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 8px center; padding-right: 22px; }
.ri select:focus, .ri input:focus { outline: none; border-color: var(--a); background-color: #fff; }
.rq__done { text-align: center; padding: 26px 0 4px; }
.rq__done:focus { outline: none; }
.rq__ok { display: inline-grid; place-items: center; width: 64px; height: 64px; background: #e3f6ea; color: var(--ok); margin-bottom: 18px; }
.rq__title { font: 600 30px/1.15 var(--fd); letter-spacing: -.015em; margin-bottom: 8px; }
.rq__num { color: var(--dim); font-size: 15px; }
.rq__num b { color: var(--ink); }
.rq__next { text-align: left; background: var(--bg); padding: 16px 18px; margin: 22px 0 14px; font-size: 15px; }
.rq__next ol { margin-top: 8px; padding-left: 20px; display: grid; gap: 4px; list-style: decimal; }

/* Форма на первом экране */
.form.lite .rq__body { display: flex; flex-direction: column; flex: 1; }
.form.lite h2 { margin-top: 10px; }
.bigdrop { cursor: pointer; transition: background .15s, border-color .15s; }
.bigdrop:hover, .bigdrop.is-over { background: #e8eeff; border-color: var(--a); }
.bd-full { display: flex; flex-direction: column; align-items: center; }
.bd-full b { display: block; }
.bd-p { color: var(--dim); font-size: 15px; margin-top: 6px; display: block; }
.bd-mini { display: none; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 6px; font-size: 15px; color: var(--dim); }
.bd-mini .ico { color: var(--a); }
.rq.has-items .bigdrop { flex: none; padding: 18px; }
.rq.has-items .bd-full, .rq.has-items .nodr { display: none; }
.rq.has-items .bd-mini { display: flex; }
.nodr .link-btn { font-size: inherit; }
.sendrow2 .in { font-size: 16px; }
.form.lite .rq__done .btn { width: auto; }

/* Короткая форма на внутренних страницах */
.zf .rq__body { display: grid; gap: 8px; align-content: start; }
.zf .zt { font: 600 26px/1.3 var(--fd); letter-spacing: -.015em; margin-bottom: 12px; display: block; }
.zf .z2 > div { display: flex; flex-direction: column; }
.zf .zta { height: 120px; align-items: flex-start; padding-top: 14px !important; resize: vertical; display: block; }
.zf .zd { display: flex; font-size: inherit; font-weight: 400; color: var(--a); margin: 8px 0 0; cursor: pointer; transition: background .15s; }
.zf .zd:hover, .zf .zd.is-over { background: #edf2ff; }
.zf .zd > span > span { display: block; }
.zf .zbtn { width: 100%; }
.zf .rq__listhead { margin-top: 8px; }
.zf .rq__done .btn { width: auto; }

/* Окно «Опишите изделие словами» */
.dm { width: min(860px, calc(100% - 24px)); max-height: calc(100% - 24px); margin: auto; padding: 0; border: 0; box-shadow: 0 40px 100px -20px rgba(10, 18, 40, .5); color: var(--ink); }
.dm::backdrop { background: rgba(14, 20, 36, .55); }
.dm__in { position: relative; padding: 32px 34px 28px; }
.dm .mono { font: 500 13px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin-bottom: 10px; }
.dm__close { position: absolute; right: 20px; top: 20px; width: 42px; height: 42px; background: var(--bg); display: grid; place-items: center; }
.dm__close:hover { background: #e7eaf1; }
.dm__title { font: 600 30px/1.15 var(--fd); letter-spacing: -.015em; margin: 0 50px 20px 0; }
.dm__types { border: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.dm__types legend { font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.dchip { position: relative; display: inline-flex; }
.dchip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.dchip span { display: inline-flex; align-items: center; min-height: 38px; padding: 0 12px; border: 1px solid var(--line-2); background: #fff; font-size: 14px; }
.dchip input:checked + span { background: var(--a); border-color: var(--a); color: #fff; }
.dchip input:focus-visible + span { outline: 2px solid var(--a); outline-offset: 2px; }
.dchip--opt input:checked + span { background: #eef3ff; color: var(--a); border-color: var(--a); font-weight: 600; }
.dm__type { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 16px; }
.dm__fields { min-width: 0; }
.dm__sketch { background: #f5f7fc; border: 1px solid var(--line); display: grid; place-items: center; padding: 6px; }
.dm__sketch svg { display: block; height: auto; }
.dm__hint { font-size: 14px; color: var(--dim); margin-bottom: 8px; }
.dm__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 10px; }
.pfield { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 12px; border: 1px solid var(--line-2); background: #fff; }
.pfield:focus-within { border-color: var(--a); box-shadow: 0 0 0 3px rgba(31, 79, 224, .12); }
.pfield b { font: 500 13px/1 var(--mono); color: var(--a); white-space: nowrap; }
.pfield input { flex: 1; min-width: 0; border: 0; outline: none; padding: 12px 0; font-size: 15px; background: none; }
.pfield input::placeholder { color: #97a0b2; }
.dm__opts { display: flex; flex-wrap: wrap; gap: 6px; }
.dm__note { width: 100%; margin: 14px 0 10px; min-height: 64px; padding: 12px 16px; resize: vertical; border: 1px solid var(--line); outline: none; font-size: 15px; }
.dm__note:focus { border-color: var(--a); }
.dm__attach { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1.5px dashed #9fb4ef; background: #f7f9ff; font-size: 14px; color: var(--dim); cursor: pointer; }
.dm__attach .ico { color: var(--a); }
.dm__attach b { color: var(--ink); }
.dm__attach.has-file { border-style: solid; border-color: var(--ok); }
.dm__foot { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.dm__foot p { font-size: 13px; color: var(--dim); max-width: 320px; }
body.dm-open { overflow: hidden; }

/* Карточка изделия: одна панель «фото + характеристики» без списка слева, описание, другие изделия. */
.pv-one { grid-template-columns: 1fr; min-height: 0; }
.pv-one .ir { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) !important; }
.pv-one .iph img { width: 100%; height: 100%; }
.pv-dsc { background: #fff; color: var(--a); border: 1.5px solid var(--a); }
.pd-txt { margin-top: 32px; max-width: 880px; font-size: 17px; line-height: 1.6; }
.pd-txt p + p { margin-top: 12px; }
.cgrid.pd-more { padding-bottom: var(--E) !important; }

/* Обычные страницы и 404: текст из редактора, отступ до подвала. */
.sec.pg { padding-bottom: var(--E) !important; }
.content h2 { font: 600 26px/1.3 var(--fd); letter-spacing: -.015em; color: var(--ink); margin: 40px 0 12px; }
.content h2:first-child { margin-top: 0; }
.content ul { list-style: disc; padding-left: 22px; }
.content li + li { margin-top: 6px; }
.content p + p, .content p + ul, .content ul + p { margin-top: 12px; }
.content a { color: var(--a); }

/* FAQ вынесен в parts/faq.php и стоит не только на главной — свёрнутые ответы для всех страниц.
   Ответ в обёртке .fqa: высота раскрывается плавно через grid-template-rows 0fr → 1fr */
.fqa { display: grid; grid-template-rows: 0fr; visibility: hidden; }
.fq.on .fqa { grid-template-rows: 1fr; visibility: visible; }
.fqa > p { min-height: 0; overflow: hidden; margin-top: 0 !important; padding-top: 14px; }

/* Подпись шага из макета производства — в EN своя */
html[lang^='en'] .pv-rt .pv-steps-v span:before { content: 'STAGE '; }

/* Правки Никиты 24.10 */
/* Штамп над чертежом: в левый верхний угол, мельче — не перекрывает размерные линии */
.hero .stamp { left: 14px; right: auto; top: 12px; }
.hero .stamp span { padding: 3px 8px; font-size: 11.5px !important; }
.hero .draw { padding-top: 34px; }

/* Пункты под заголовком страницы — компактнее */
.chead .hq { min-width: 0; }
.hq div { padding: 2px 0 2px 24px; margin-left: 24px; }
.hq span { font-size: 13px !important; }
.hq b { font-size: 18px !important; margin-top: 4px; }

/* Бланки XLS: подпись на одной линии со ссылками; подчёркивание ссылок выезжает при наведении */
.zb { align-items: baseline; }
.zb a { border-bottom: 0; padding-bottom: 3px; background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px; }
.zb a:hover { background-size: 100% 1px; }

/* «Оборудование»: заголовок по верху, текст справа мельче */
.sx.sx-top { align-items: start; }
.sx.sx-top p { font-size: 15.5px !important; line-height: 1.55 !important; }

/* Подбор по отраслям и этапы производства: фото уже, высота панели не меняется при переключении */
@media (min-width: 1101px) {
	.ind:not(.pv-one) .ir { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr) !important; }
	/* Все панели в одной ячейке: высоту задаёт самая высокая, при переключении блок не прыгает */
	.ind[data-switch] > .ir { grid-area: 1 / 2; }
	.ind[data-switch] > .ir[hidden] { display: grid !important; visibility: hidden; }
}

/* Отрасли на «О компании» — ссылки в подбор */
.d-ind a { padding: 24px 28px; border-right: 1px solid #d5dbe6; border-bottom: 1px solid #d5dbe6; background: #fff; display: flex; align-items: center; gap: 20px; color: inherit; }
.d-ind a svg { margin-left: auto; flex: none; color: var(--a); opacity: 0; }
@media (hover: hover) { .d-ind a:hover { background: #eef3ff; } }
@media (hover: hover) { .d-ind a:hover svg { opacity: 1; } }
@media (hover: none) { .d-ind a svg { opacity: 1; } }

/* Контурные кнопки при наведении заливаются синим */
.btn.o:hover, .pv-dsc:hover { background: var(--a) !important; color: #fff !important; border-color: var(--a) !important; }

/* Большая надпись COIL в подвале не перехватывает клики по ссылкам над ней */
.end .wm { pointer-events: none; }

/* Карточки преимуществ, качества и сотрудничества при наведении становятся синими */
/* 3-я карточка в макете синяя всегда — теперь синеет только при наведении, как остальные */
/* Только где есть наведение: на тач-экране :hover залипает после тапа до касания в другом месте */
@media (hover: hover) {
	.advs .ac:nth-child(3):not(:hover) { background: #fff; color: inherit; }
	.advs .ac:nth-child(3):not(:hover) p { color: var(--dim); }
	.advs .ac:nth-child(3):not(:hover) .an { color: var(--a); }
	.advs .ac:nth-child(3):not(:hover) .ai { background: linear-gradient(#f0f2f7 1px, transparent 1px) 0 0 / 12px 12px, linear-gradient(90deg, #f0f2f7 1px, transparent 1px) 0 0 / 12px 12px; border-color: #e4e8f0; }
	.advs .ac:hover { background: var(--a); color: #fff; }
	.advs .ac:hover .ai { background: #fff; border-color: #fff; }
	.advs .ac:hover .an { color: #fff; }
	.advs .ac:hover p { color: #dbe3ff; }
	.kg .kc:hover { background: var(--a); border-color: var(--a) !important; color: #fff; }
	.kg .kc:hover b { color: #fff; }
	.kg .kc:hover .ki { background: rgba(255, 255, 255, .14); color: #fff; }
	.kg .kc:hover .kcl, .kg .kc:hover .mono, .kg .kc:hover p { color: #d5e0ff; }
	.gr:hover { background: #eef3ff; }
}
@media (hover: none) {
	.advs .ac:nth-child(3) { background: #fff; color: inherit; }
	.advs .ac:nth-child(3) p { color: var(--dim); }
	.advs .ac:nth-child(3) .an { color: var(--a); }
	.advs .ac:nth-child(3) .ai { background: linear-gradient(#f0f2f7 1px, transparent 1px) 0 0 / 12px 12px, linear-gradient(90deg, #f0f2f7 1px, transparent 1px) 0 0 / 12px 12px; border-color: #e4e8f0; }
}
a.gr { color: inherit; text-decoration: none; }
a.gr span { display: inline-flex; align-items: center; gap: 6px; }
a.gr span svg { opacity: .55; transform: rotate(-45deg); }
a.gr:hover span { text-decoration: underline; text-underline-offset: 3px; }
a.gr:hover span svg { opacity: 1; }
.mi:hover { background: #e8eeff; }

/* ── Плавность: окно «Опишите словами», ответы FAQ, переключатели, меню, позиции заявки ── */
/* Просмотр сертификата: попап по центру с белой рамкой и крестиком */
.lb { max-width: calc(100% - 24px); max-height: calc(100% - 24px); margin: auto; padding: 14px; border: 0; background: #fff; overflow: visible; cursor: zoom-out; box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .6); }
.lb::backdrop { background: rgba(14, 20, 36, .6); }
.lb img { display: block; max-width: min(520px, calc(100vw - 52px)); max-height: calc(80vh - 28px); max-height: calc(80dvh - 28px); width: auto; height: auto; }
.lb__close { position: absolute; right: -18px; top: -18px; width: 44px; height: 44px; display: grid; place-items: center; background: #fff; color: var(--ink); border: 0; border-radius: 50%; cursor: pointer; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
.lb__close:hover { background: #e7eaf1; }

/* Плавный переход между страницами (Chrome, Edge, Safari 18+; остальные открывают как раньше) */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) {
	@view-transition { navigation: none; }
}
::view-transition-group(root) { animation-duration: .14s; }
::view-transition-old(root) { animation: .14s ease-out both page-out; }
::view-transition-new(root) { animation: .14s ease-out both page-in; }
@keyframes page-out { to { opacity: 0; } }
@keyframes page-in { from { opacity: 0; } }

@media (prefers-reduced-motion: no-preference) {
	.lb[open] { animation: lb-in .3s cubic-bezier(.2, .8, .2, 1); }
	.lb[open]::backdrop { animation: fade-in .3s ease; }
	.lb.is-closing { animation: lb-out .2s ease forwards; }
	.lb.is-closing::backdrop { animation: fade-out .2s ease forwards; }
	.dm[open] { animation: dm-in .32s cubic-bezier(.2, .8, .2, 1); }
	.dm[open]::backdrop { animation: fade-in .32s ease; }
	.dm.is-closing { animation: dm-out .2s ease forwards; }
	.dm.is-closing::backdrop { animation: fade-out .2s ease forwards; }
	.dm [data-dm-type]:not([hidden]) { animation: rise-in .28s ease; }
	.fqa { transition: grid-template-rows .35s cubic-bezier(.2, .8, .2, 1), visibility .35s; }
	.fqa > p { transition: opacity .3s; }
	.fq:not(.on) .fqa > p { opacity: 0; }
	.fqh i { transition: background .2s, color .2s, border-color .2s; }
	[data-ip]:not([hidden]), [data-rp]:not([hidden]) { animation: rise-in .35s ease; }
	#nav.is-open { animation: nav-in .25s ease; }
	.ri.is-new { animation: rise-in .3s ease; }
	a, .link-btn { transition: color .15s, opacity .15s; }
	.btn { transition: background .15s, color .15s, border-color .15s, transform .15s; }
	.btn:active { transform: translateY(1px); }
}
/* Наведение: лёгкий подъём, сдвиг стрелок, увеличение синих карточек (правки Никиты 24.10) */
/* Только где есть мышь: на тач-экране :hover залипает после тапа — карточка остаётся увеличенной с тенью */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.cc { transition: box-shadow .25s, border-color .25s, transform .25s; }
	a.cc:hover { transform: translateY(-4px); }
	.cgo svg, .ii > i svg, .d-ind a svg { transition: transform .25s, opacity .2s; }
	.cc:hover .cgo svg, .ii:hover > i svg, .d-ind a:hover svg { transform: translateX(4px); }
	.cgo, .d-ind a, .gr, .mi, .bf, .ii { transition: background .2s, border-color .2s, color .2s, transform .25s; }
	.advs .ac, .kg .kc { transition: background .25s, color .25s, border-color .25s, transform .25s, box-shadow .25s; }
	.advs .ac p, .kg .kc p, .kg .kc b, .kg .kc .ki, .advs .ac .ai, .advs .ac .an { transition: background .25s, color .25s, border-color .25s; }
	.advs .ac:hover, .kg .kc:hover { transform: scale(1.03); box-shadow: 0 24px 50px -20px rgba(31, 79, 224, .45); position: relative; z-index: 1; }
	.stc, .opc { transition: transform .25s, border-color .2s, box-shadow .25s; }
	.stc:hover, .opc:hover { transform: translateY(-4px); }
	.opc:hover { border-color: #b8c6ee; box-shadow: 0 18px 40px -18px rgba(14, 20, 36, .25); }
	.stc .sti, .opc .opi { transition: border-color .2s; }
	.stc:hover .sti, .opc:hover .opi { border-color: var(--a); }
	.ii:not(.on):hover { background: #f5f8ff; border-color: #b8c6ee; transform: translateX(4px); }
}
@media (prefers-reduced-motion: no-preference) {
	.zb a { transition: background-size .3s ease; }
}
/* Фото в переключателях: вытянутые снимки (-tall.webp, фон продолжен вверх и вниз), предмет по центру целиком */
.ind .iph img { object-fit: cover; object-position: center; }
/* <picture> (на телефоне квадратный оригинал) не должен влиять на размер: фото тянется по колонке, как без обёртки */
.iph picture { display: contents; }
/* Высоту строки задают вкладки и текст справа, а не вытянутый снимок 1:4: фото лишь заполняет колонку */
.ind .iph img { position: absolute; inset: 0; }
/* Сертификат ПСП: при наведении увеличивается, по клику открывается в окне */
.cert3 { cursor: zoom-in; }
.cert3 img { position: relative; z-index: 1; transform-origin: right center; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.cert3 img { transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s; }
	.cert3:hover img, .cert3:focus-visible img { transform: scale(1.6); box-shadow: 0 24px 50px -16px rgba(14, 20, 36, .45); }
}
@keyframes dm-in { from { opacity: 0; transform: translateY(24px) scale(.98); } }
@keyframes dm-out { to { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes lb-in { from { opacity: 0; transform: scale(.94); } }
@keyframes lb-out { to { opacity: 0; transform: scale(.96); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes nav-in { from { opacity: 0; transform: translateY(-8px); } }

/* «Оборудование» на «Производстве» без фото: номер карточки в тексте */
.pv-cg .cb .cno { position: static; align-self: flex-start; margin-bottom: 16px; background: #f3f5f8; }

/* «Проволока по стандартам»: нечётная последняя ячейка — на всю ширину, без пустой клетки */
.grs > .gr:last-child:nth-child(odd) { grid-column: 1 / -1; }
