/* LaserGrav PRO — айдентика «рисунок на металле».
   Холодный матовый алюминий как фон, чернёная сталь как текст и тёмные блоки, одно рубиновое пятно — цвет лазерной точки.
   Главный приём один: заголовок «выгравирован» бегущей лазерной линией при загрузке. Остальное спокойно: линейки вместо карточек, плоские кнопки. */
:root {
  --steel: #232a33; --steel-2: #3a4450; --steel-3: #6b7785; --al: #eef0f2; --al-2: #e1e5e9; --white: #fafbfc; --line: #c9d0d7;
  --ruby: #d0182f; --ruby-d: #a80f23; --glow: #ff4b5c;
  --display: "Noto Serif Display", "Times New Roman", Georgia, serif; --text: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  --shell: 1280px; --gut: 24px; --r: 3px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--al); color: var(--steel); font: 400 17px/1.6 var(--text); overflow-x: hidden; }
[hidden] { display: none !important; }
img, svg, video, canvas { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; font-weight: 400; font-stretch: 82%; letter-spacing: -.005em; }
h2 { font-size: clamp(30px, 3.6vw, 52px); line-height: 1.08; }
h3 { font-size: 24px; line-height: 1.2; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--steel); padding: 8px 14px; z-index: 60; font-weight: 500; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--ruby); outline-offset: 3px; }
.shell { max-width: var(--shell); margin: 0 auto; padding: 0 var(--gut); }
.shell.narrow { max-width: 880px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; overflow: hidden; }

/* кнопки и ссылки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 26px; border: 0; border-radius: var(--r);
  background: var(--ruby); color: #fff; font: 500 16px/1 var(--text); text-decoration: none; cursor: pointer; transition: background .15s; }
.btn:hover { background: var(--ruby-d); }
.btn.sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.55); }
.btn.ghost:hover { background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px #fff; }
.btn.ghost-dark { background: transparent; color: var(--steel); box-shadow: inset 0 0 0 1px var(--steel); }
.btn.ghost-dark:hover { background: var(--steel); color: #fff; }
.btn[disabled] { opacity: .5; cursor: progress; }
.lnk { font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--ruby); padding-bottom: 2px; }
.lnk:hover { color: var(--ruby); }

/* шапка */
.top { position: sticky; top: 0; z-index: 40; background: rgba(238,240,242,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 22px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand-mark { flex: none; }
.brand-name { font: 600 19px/1 var(--text); letter-spacing: .005em; }
.brand-name b { color: var(--ruby); font-weight: 600; }
.brand.light .brand-name { color: #fff; }
.brand.light .brand-mark rect { fill: #eef0f2; }
.brand.light .brand-mark path:first-of-type { stroke: #232a33; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav > a, .nav-btn { padding: 10px 12px; text-decoration: none; background: none; border: 0; font: inherit; color: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; border-radius: var(--r); }
.nav > a:hover, .nav-btn:hover, .nav-grp.open .nav-btn { background: var(--al-2); }
.nav-grp { position: relative; }
.nav-drop { display: none; position: absolute; left: 0; top: 100%; min-width: 240px; background: var(--white); border: 1px solid var(--line); padding: 8px 0; z-index: 5; }
.nav-grp.open .nav-drop, .nav-grp:focus-within .nav-drop { display: block; }
.nav-drop a { display: block; padding: 9px 18px; text-decoration: none; font-weight: 400; }
.nav-drop a:hover { background: var(--al-2); color: var(--ruby-d); }
.phone { font-weight: 600; text-decoration: none; white-space: nowrap; }
.req-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border: 1px solid var(--steel); border-radius: var(--r); text-decoration: none; font-weight: 500; font-size: 15px; }
.req-pill:hover { background: var(--steel); color: #fff; }
.req-n { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--ruby); color: #fff; font-size: 13px; line-height: 22px; text-align: center; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--steel); border-radius: var(--r); background: none; cursor: pointer; padding: 0; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--steel); transition: transform .2s, opacity .2s; }
.burger span:nth-child(1) { top: 14px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.drawer { border-top: 1px solid var(--line); background: var(--white); padding: 12px 0 24px; max-height: calc(100vh - 72px); overflow: auto; }
.drawer a { display: block; padding: 10px 0; text-decoration: none; font-weight: 500; }
.dr-h { margin-top: 14px; font-size: 14px; color: var(--steel-3); }
@media (max-width: 1100px) { .nav, .phone { display: none; } .burger { display: block; } .req-pill { margin-left: auto; } }
@media (max-width: 420px) { .req-t { display: none; } .brand-name { font-size: 17px; } }

/* главный приём: заголовок выгравирован бегущей лазерной линией */
.engrave { position: relative; display: inline-block; max-width: 100%; }
.eng-text { display: block; animation: eng-reveal 1.9s cubic-bezier(.55,.05,.25,1) .3s both; }
.eng-beam { position: absolute; top: -4%; bottom: -4%; left: 0; width: 2px; background: var(--glow); pointer-events: none;
  box-shadow: 0 0 10px 2px rgba(255,75,92,.8), 0 0 36px 8px rgba(255,75,92,.32); animation: eng-beam 1.9s cubic-bezier(.55,.05,.25,1) .3s both; }
@keyframes eng-reveal { from { clip-path: inset(-8% 100% -8% 0); } to { clip-path: inset(-8% -3% -8% 0); } }
@keyframes eng-beam { 0% { left: 0; opacity: 1; } 92% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .eng-text { animation: none; } .eng-beam { display: none; } }

/* первый экран */
.hero { position: relative; background: var(--steel); color: #f4f6f8; overflow: hidden; min-height: min(88svh, 820px); display: flex; align-items: flex-end; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(35,42,51,.88) 0%, rgba(35,42,51,.55) 55%, rgba(35,42,51,.2) 100%), linear-gradient(0deg, rgba(35,42,51,.7) 0%, rgba(35,42,51,0) 45%); }
.hero-in { position: relative; width: 100%; padding-top: 96px; padding-bottom: 56px; }
.hero h1 { font-size: clamp(52px, 10.2vw, 148px); line-height: .94; font-weight: 300; font-stretch: 75%; letter-spacing: -.012em; color: #f6f8fa; }
.hero-lead { max-width: 56ch; margin-top: 28px; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: #dde2e7; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-mats { display: flex; flex-wrap: wrap; gap: 8px 8px; margin-top: 44px; }
.hero-mats a { display: inline-block; padding: 8px 16px; border: 1px solid rgba(255,255,255,.35); border-radius: var(--r); text-decoration: none; font-size: 15px; color: #e8ecef; }
.hero-mats a:hover { border-color: #fff; background: rgba(255,255,255,.1); }
@media (max-width: 640px) { .hero { min-height: 86svh; } .hero-in { padding-top: 64px; padding-bottom: 40px; } .hero-mats { margin-top: 32px; } }

/* страницы */
.sec { padding: clamp(56px, 8vw, 112px) 0; }
.sec.sec-tight { padding: clamp(32px, 4.5vw, 64px) 0; }
.sec-alt { background: var(--white); }
.sec-steel { background: var(--steel); color: #f4f6f8; }
.sec-lead { max-width: 62ch; margin-top: 14px; color: var(--steel-2); font-size: 19px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.h-sm { font-size: clamp(24px, 2.4vw, 34px); }
.after { margin-top: 28px; }
.page-hero { padding: clamp(32px, 4.5vw, 64px) 0 clamp(24px, 3vw, 40px); border-bottom: 1px solid var(--line); background: var(--white); }
.h-page { font-size: clamp(38px, 6.4vw, 84px); line-height: 1; font-weight: 300; font-stretch: 76%; letter-spacing: -.01em; margin-top: 18px; }
.page-hero .lead, .lead { max-width: 64ch; margin-top: 20px; font-size: clamp(18px, 1.5vw, 21px); color: var(--steel-2); line-height: 1.55; }
.page-hero .hero-cta { margin-top: 28px; }
.tip { max-width: 64ch; margin-top: 16px; padding-left: 16px; border-left: 2px solid var(--ruby); color: var(--steel-2); font-size: 16px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 14px; color: var(--steel-3); }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--ruby); text-decoration: underline; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.chips a { display: inline-block; padding: 9px 16px; border: 1px solid var(--steel-3); border-radius: var(--r); text-decoration: none; font-weight: 500; font-size: 15px; }
.chips a:hover { background: var(--steel); color: #fff; border-color: var(--steel); }

/* перечень материалов: строки, а не карточки */
.rows { margin-top: 40px; border-bottom: 1px solid var(--line); }
.rows li { border-top: 1px solid var(--line); }
.rows a { display: grid; grid-template-columns: minmax(200px, 1fr) minmax(0, 1.5fr) 24px; align-items: center; gap: 32px; padding: 28px 8px; text-decoration: none; transition: background .15s, padding .15s; }
.rows a:hover { background: var(--white); padding-left: 24px; }
.row-t { font: 300 clamp(30px, 3.4vw, 46px)/1.05 var(--display); font-stretch: 78%; }
.row-d { color: var(--steel-2); }
.row-i { color: var(--ruby); }
@media (max-width: 760px) { .rows a { grid-template-columns: 1fr 22px; gap: 6px 12px; padding: 22px 0; } .row-d { grid-column: 1; grid-row: 2; } .row-i { grid-column: 2; grid-row: 1; } .rows a:hover { padding-left: 0; } }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 40px; border: 1px solid var(--line); }
.two article { padding: clamp(28px, 3.4vw, 52px); display: flex; flex-direction: column; align-items: flex-start; gap: 18px; min-height: 280px; }
.two h3 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 400; }
.two p { max-width: 42ch; color: inherit; opacity: .9; }
.two .btn { margin-top: auto; }
.two-a { background: var(--white); }
.two-b { background: var(--steel); color: #f4f6f8; }
@media (max-width: 760px) { .two { grid-template-columns: 1fr; } .two article { min-height: 0; } }

/* каталог */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 28px 20px; margin-top: 32px; }
.cat-grid a { display: block; text-decoration: none; }
.cat-img { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.cat-img img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform .3s; }
.cat-img svg { width: 56px; height: 56px; opacity: .85; }
.cat-grid a:hover .cat-img { border-color: var(--steel); }
.cat-grid a:hover .cat-img img { transform: scale(1.04); }
.cat-t { display: block; margin-top: 12px; font-weight: 500; font-size: 18px; line-height: 1.3; }
.cat-n { display: block; color: var(--steel-3); font-size: 14px; }
.count { color: var(--steel-3); font-size: 15px; }
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 32px 20px; margin-top: 20px; }
.prod { display: flex; flex-direction: column; gap: 6px; }
.prod-a { text-decoration: none; display: block; }
.prod-img { display: block; aspect-ratio: 1; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.prod-img img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.prod-a:hover .prod-img { border-color: var(--steel); }
.prod-t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 10px; font-weight: 500; line-height: 1.35; min-height: 2.7em; }
.prod-p { font-weight: 600; }
.prod-p small { font-weight: 400; color: var(--steel-3); font-size: 13px; }
.prod .btn { align-self: flex-start; margin-top: 4px; }
.prod .btn.added { background: var(--steel); }
.pager { display: flex; align-items: center; gap: 20px; margin-top: 44px; }
.pager a { padding: 10px 18px; border: 1px solid var(--steel); border-radius: var(--r); text-decoration: none; font-weight: 500; }
.pager a:hover { background: var(--steel); color: #fff; }

/* карточка товара */
.pd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); margin-top: 28px; align-items: start; }
.pd-main { aspect-ratio: 1; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.pd-main img { max-width: 100%; max-height: 100%; width: auto; height: auto; padding: 24px; object-fit: contain; }
.pd-th { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.pd-th button { width: 64px; height: 64px; padding: 0; background: #fff; border: 1px solid var(--line); cursor: pointer; }
.pd-th button:hover, .pd-th button.on { border-color: var(--steel); }
.pd-th img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.pd-info .h-page { font-size: clamp(30px, 3.6vw, 52px); margin-top: 0; }
.pd-art { margin-top: 10px; color: var(--steel-3); font-size: 15px; }
.pd-price { margin-top: 20px; font: 400 32px/1.1 var(--display); font-stretch: 85%; }
.pd-price small { font: 400 15px/1 var(--text); color: var(--steel-3); }
.pd-note, .pd-tip, .pd-m { margin-top: 12px; color: var(--steel-2); font-size: 15.5px; max-width: 56ch; }
.pd-col { border: 0; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pd-col legend { font-weight: 500; margin-bottom: 8px; padding: 0; }
.pd-col label { cursor: pointer; }
.pd-col input { position: absolute; opacity: 0; }
.pd-col span { display: inline-block; padding: 8px 14px; border: 1px solid var(--steel-3); border-radius: var(--r); font-size: 15px; }
.pd-col input:checked + span { background: var(--steel); color: #fff; border-color: var(--steel); }
.pd-col input:focus-visible + span { outline: 3px solid var(--ruby); outline-offset: 2px; }
.pd-buy { display: flex; align-items: flex-end; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
.qty { display: flex; flex-direction: column; gap: 6px; font-weight: 500; font-size: 15px; }
.qty input { width: 140px; min-height: 50px; padding: 0 14px; border: 1px solid var(--steel-3); border-radius: var(--r); background: #fff; font: 400 17px var(--text); color: var(--steel); }
.pd-more { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.pd-more h2 { font-size: 30px; margin-bottom: 14px; }
.pd-spec dl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 0; margin: 0; }
.pd-spec dt, .pd-spec dd { margin: 0; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.pd-spec dt { color: var(--steel-3); padding-right: 12px; }
@media (max-width: 860px) { .pd, .pd-more { grid-template-columns: 1fr; } }

/* страницы услуг */
.las-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; border-top: 1px solid var(--steel); border-bottom: 1px solid var(--line); }
.las-strip li { padding: 18px 24px 18px 0; display: flex; flex-direction: column; gap: 4px; }
.las-strip b { font-weight: 600; } .las-strip span { color: var(--steel-2); font-size: 15.5px; }
.works { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 32px; margin-top: 24px; }
.works li { padding: 16px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.works b { font-weight: 500; font-size: 18px; } .works span { color: var(--steel-2); font-size: 15.5px; }
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 18px; }
.prose p { margin-top: 14px; }
.prose ul { margin: 18px 0 0; padding-left: 1.2em; list-style: square; } .prose li { margin-top: 6px; padding-left: 4px; } .prose li::marker { color: var(--ruby); }

/* лазеры */
.lasers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 40px; border-top: 1px solid var(--steel); }
.laser { padding: 28px 32px 8px 0; display: flex; flex-direction: column; gap: 10px; }
.laser + .laser { padding-left: 32px; border-left: 1px solid var(--line); }
.laser h3 { font-size: 32px; font-weight: 400; }
.laser-w { color: var(--ruby-d); font-weight: 600; }
.laser-do { font-weight: 500; }
.laser-n { color: var(--steel-2); font-size: 16px; }
@media (max-width: 860px) { .lasers { grid-template-columns: 1fr; } .laser + .laser { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } .laser { padding-right: 0; padding-bottom: 24px; } }

/* награды */
.aw { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.aw p { margin: 18px 0 28px; max-width: 46ch; color: #d3d9df; font-size: 19px; }
.aw-links li { border-top: 1px solid rgba(255,255,255,.22); } .aw-links li:last-child { border-bottom: 1px solid rgba(255,255,255,.22); }
.aw-links a { display: flex; justify-content: space-between; align-items: center; padding: 20px 4px; text-decoration: none; font: 300 28px/1.1 var(--display); font-stretch: 80%; }
.aw-links a:hover { color: var(--glow); }
@media (max-width: 860px) { .aw { grid-template-columns: 1fr; } }

/* порядок работы: здесь нумерация оправдана, это последовательность */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 40px; counter-reset: s; }
.steps li { padding: 0 28px 0 0; border-top: 1px solid var(--steel); padding-top: 18px; }
.st-n { display: block; font: 300 54px/1 var(--display); font-stretch: 75%; color: var(--ruby); margin-bottom: 14px; }
.steps h3 { font-size: 22px; font-weight: 500; font-family: var(--text); font-stretch: 100%; }
.steps p { margin-top: 8px; color: var(--steel-2); font-size: 16px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; gap: 32px 0; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* вопросы */
.faq { margin-top: 28px; border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 40px 20px 0; font: 500 19px/1.35 var(--text); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -9px; border-right: 2px solid var(--ruby); border-bottom: 2px solid var(--ruby); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq details p { padding: 0 40px 22px 0; color: var(--steel-2); max-width: 66ch; }

/* форма */
.form { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .f-row { grid-template-columns: 1fr; } }
.fld { display: flex; flex-direction: column; gap: 6px; font-weight: 500; font-size: 15px; }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--steel-3); border-radius: var(--r); background: #fff; color: var(--steel); font: 400 17px/1.4 var(--text); }
.fld textarea { resize: vertical; min-height: 120px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 3px solid rgba(208,24,47,.35); border-color: var(--ruby); }
.fld.bad input, .fld.bad textarea { border-color: var(--ruby); }
.err { color: var(--ruby-d); font-style: normal; font-size: 14px; font-weight: 400; min-height: 0; }
.err:empty { display: none; }
.drop { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 16px; border: 1px dashed var(--steel-3); border-radius: var(--r); background: rgba(255,255,255,.6); cursor: pointer; font-weight: 400; }
.drop:hover, .drop:focus-within { border-color: var(--ruby); background: #fff; }
.drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.drop:focus-within { outline: 3px solid rgba(208,24,47,.35); }
.drop b { font-weight: 500; } .drop small { color: var(--steel-3); font-size: 14px; }
.picked { display: flex; flex-direction: column; gap: 4px; font-weight: 400; font-size: 15px; color: var(--steel-2); }
.form-note { color: var(--steel-3); font-size: 14px; max-width: 60ch; }
.f-act { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.f-msg { font-weight: 500; } .f-msg.ok { color: #1b6b45; } .f-msg.no { color: var(--ruby-d); }
.req-list { padding: 16px 18px; background: #fff; border: 1px solid var(--line); }
.req-list-h { font-weight: 600; margin-bottom: 8px; }
.req-list li { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 16px; }
.req-list li:first-child { border-top: 0; }
.req-list li span { flex: 1; min-width: 0; }
.req-list input { width: 92px; min-height: 40px; padding: 0 10px; border: 1px solid var(--steel-3); border-radius: var(--r); font: 400 16px var(--text); }
.req-list button { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: var(--r); background: none; cursor: pointer; color: var(--steel-2); }
.req-list button:hover { border-color: var(--ruby); color: var(--ruby); }
.split-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(28px, 5vw, 80px); margin-top: 8px; align-items: start; }
.split-form .form { margin-top: 0; }
.contact-card { padding-top: 12px; border-top: 1px solid var(--steel); }
.cc-k { margin-top: 18px; color: var(--steel-3); font-size: 15px; } .cc-v { font: 400 24px/1.3 var(--display); font-stretch: 85%; }
.cc-v a { text-decoration: none; border-bottom: 1px solid var(--ruby); }
@media (max-width: 860px) { .split-form { grid-template-columns: 1fr; } }

/* 404 */
.nf { padding-top: 24px; }
.nf-code { font: 300 clamp(96px, 20vw, 220px)/.9 var(--display); font-stretch: 70%; color: var(--ruby); }
.nf h1 { font-size: clamp(34px, 5vw, 60px); margin-top: 12px; }
.nf-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.nf-links a { display: inline-block; padding: 10px 18px; border: 1px solid var(--steel); border-radius: var(--r); text-decoration: none; font-weight: 500; }
.nf-links a:hover { background: var(--steel); color: #fff; }

/* статьи из панели: узко, только внутри колонки текста */
.art { padding-top: 32px; }
.art-in, .art > .shell { max-width: 880px; }
.art h1, .art-h1 { font-size: clamp(34px, 5vw, 62px); line-height: 1.04; font-weight: 300; font-stretch: 78%; margin-top: 16px; }
.art-date { margin-top: 14px; color: var(--steel-3); font-size: 14.5px; }
.art-cover { margin: 28px 0 0; }
.art-cover .cover { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; background: var(--al-2); }
.art-cover .ph, .card .ph { display: flex; align-items: center; justify-content: center; aspect-ratio: 1200 / 630; background: var(--al-2); }
.art-cover .ph svg, .card .ph svg { width: 64px; height: 64px; opacity: .7; }
.art .lead { font-weight: 500; }
.art-in > p, .art-in > ul, .art-in > ol, .art-in > h2 { max-width: 68ch; }
.art-in > h2 { font-size: clamp(26px, 3vw, 36px); margin-top: 40px; }
.art-in > p { margin-top: 16px; }
.art-list { margin: 16px 0 0; padding-left: 1.2em; list-style: square; } .art-list li { margin-top: 6px; }
.art-list.num { list-style: decimal; }
.art .note { padding: 14px 18px; border-left: 2px solid var(--ruby); background: var(--white); }
.art-in > .tbl-wrap { display: block; overflow-x: auto; margin-top: 18px; }
.tbl { border-collapse: collapse; min-width: 100%; } .tbl th, .tbl td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; font-size: 15.5px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.art-cta { margin-top: 36px; }
.rel { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.arts { margin-top: 16px; display: grid; gap: 12px; } .arts a { display: block; text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--line); }
.arts b { display: block; font-weight: 500; font-size: 18px; } .arts span { color: var(--steel-2); font-size: 15px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 32px 24px; margin-top: 32px; }
.cards a { text-decoration: none; display: block; } .cards .card-b { display: block; margin-top: 12px; }
.cards .meta { display: block; color: var(--steel-3); font-size: 14px; } .cards b { display: block; font: 400 24px/1.2 var(--display); font-stretch: 85%; margin-top: 4px; }
.cards .card-lead { display: block; color: var(--steel-2); font-size: 15.5px; margin-top: 6px; }
.cards .cover { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; }

/* подвал */
.foot { background: var(--steel); color: #cfd6dc; padding: 56px 0 0; margin-top: 0; }
.foot-in { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.foot-brand p { margin-top: 16px; max-width: 34ch; font-size: 15px; }
.foot-h { color: #fff; font-weight: 600; margin-bottom: 10px; font-size: 15px; }
.foot-col a { display: block; padding: 4px 0; text-decoration: none; font-size: 15px; } .foot-col a:hover { color: #fff; text-decoration: underline; }
.foot-low { margin-top: 44px; padding-top: 18px; padding-bottom: 28px; border-top: 1px solid rgba(255,255,255,.16); font-size: 14px; color: #9aa5b0; }
@media (max-width: 960px) { .foot-in { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-in { grid-template-columns: 1fr; } }
@media (max-width: 640px) { :root { --gut: 20px; } body { font-size: 16.5px; } }

/* калькулятор */
.calc { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: clamp(24px, 4vw, 56px); margin-top: 36px; align-items: start; }
.calc-f { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
.calc-f[hidden], [data-box][hidden] { display: none; }
.calc-f legend { font: 400 24px/1.2 var(--display); font-stretch: 85%; padding: 0; margin-bottom: 12px; }
.calc-opt { display: block; cursor: pointer; border-top: 1px solid var(--line); }
.calc-opt:last-of-type { border-bottom: 1px solid var(--line); }
.calc-opt input, .calc-sz input { position: absolute; opacity: 0; }
.calc-opt span { display: block; padding: 14px 16px 14px 20px; border-left: 3px solid transparent; }
.calc-opt b { display: block; font-weight: 500; }
.calc-opt small { display: block; margin-top: 3px; color: var(--steel-3); font-size: 14.5px; }
.calc-opt input:checked + span { background: #fff; border-left-color: var(--ruby); }
.calc-opt input:focus-visible + span { outline: 3px solid var(--ruby); outline-offset: -3px; }
.calc-sz { display: flex; flex-wrap: wrap; gap: 8px; }
.calc-sz span { display: inline-block; padding: 10px 18px; border: 1px solid var(--steel-3); border-radius: var(--r); cursor: pointer; font-size: 16px; }
.calc-sz input:checked + span { background: var(--steel); color: #fff; border-color: var(--steel); }
.calc-sz input:focus-visible + span { outline: 3px solid var(--ruby); outline-offset: 2px; }
.calc-note { margin-top: 12px; color: var(--steel-3); font-size: 14.5px; max-width: 52ch; }
.calc-area { margin-top: 16px; }
.calc-res { position: sticky; top: 96px; background: var(--steel); color: #f4f6f8; padding: 28px; }
.calc-res .calc-note { color: #aab3bd; }
.calc-res .calc-note a { color: #fff; }
.calc-k { color: #aab3bd; font-size: 14.5px; margin-top: 16px; }
.calc-k:first-child { margin-top: 0; }
.calc-v { font: 400 34px/1.1 var(--display); font-stretch: 85%; margin-top: 4px; }
.calc-v.big { font-size: 46px; }
.calc-s { font-size: 19px; margin-top: 4px; }
.calc-warn { margin-top: 14px; padding: 10px 12px; background: rgba(255,75,92,.16); font-size: 14.5px; }
.calc-res .btn { margin-top: 24px; width: 100%; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } .calc-res { position: static; } }

.pd-zones { margin: 10px 0 0; padding: 0; list-style: none; color: var(--steel-2); font-size: 15px; }
.pd-zones li { padding: 4px 0 4px 14px; border-left: 2px solid var(--ruby); margin-top: 6px; }
.pd-ex { margin-top: clamp(32px, 4vw, 56px); }
.pd-ex ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.pd-ex img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: #fff; border: 1px solid var(--line); }

.prod-s { margin: 2px 0 8px; color: var(--steel-3); font-size: 14px; }
.pd-stock { margin-top: 14px; color: var(--steel-2); font-size: 15.5px; }
.pd-stock b { font-weight: 600; color: var(--steel); }
.foot-req { margin-top: 12px; font-size: 14px; opacity: .8; }
.foot-addr { display: block; margin-top: 8px; font-size: 14px; opacity: .8; }
.steps-note { margin-top: 24px; color: var(--steel-2); }

/* карточка листинга: слайдер, цвета-кружки */
.prod-img { position: relative; }
.prod-img .roll { position: absolute; inset: 0; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.prod-img .roll::-webkit-scrollbar { display: none; }
.prod-img .sl { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; display: block; }
.prod-img .arr { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 44px; border: 0; background: rgba(255,255,255,.92); color: var(--steel); font-size: 26px; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .15s; display: none; }
.prod-img .arr.prev { left: 0; } .prod-img .arr.next { right: 0; }
.prod-img .arr:focus-visible { opacity: 1; outline: 3px solid var(--ruby); }
@media (hover: hover) and (pointer: fine) { .prod-img .arr { display: block; } .prod-img:hover .arr { opacity: 1; } .prod-img .arr[hidden] { display: none; } }
.dots { display: flex; align-items: center; gap: 7px; min-height: 24px; margin-top: 8px; flex-wrap: nowrap; overflow: hidden; }
.dots .dot { width: 16px; height: 16px; flex: 0 0 auto; padding: 0; border-radius: 50%; border: 1px solid #b9bec4; cursor: pointer; background-clip: padding-box; }
.dots .dot.on { box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--steel); }
.dots .dot:focus-visible { outline: 3px solid var(--ruby); outline-offset: 2px; }
.dots-more { font-size: 13px; color: var(--steel-3); text-decoration: none; }
.prod-s b { font-weight: 600; color: var(--steel-2); }
.prod-t { margin-top: 6px; }

/* фильтры */
.filters { display: flex; flex-wrap: wrap; gap: 18px 36px; align-items: flex-start; padding: 0 0 22px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.flt { border: 0; margin: 0; padding: 0; min-width: 0; }
.flt legend { font-weight: 600; font-size: 14.5px; padding: 0; margin-bottom: 10px; color: var(--steel-2); }
.flt-opts { display: flex; flex-wrap: wrap; gap: 8px; max-width: 640px; }
.sw, .chip { cursor: pointer; display: inline-flex; }
.sw input, .chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sw { align-items: center; gap: 0; }
.sw i { display: block; width: 30px; height: 30px; border-radius: 50%; border: 1px solid #b9bec4; }
.sw span { position: absolute; left: -9999px; }
.sw input:checked + i { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--steel); }
.sw input:focus-visible + i { outline: 3px solid var(--ruby); outline-offset: 3px; }
.sw:hover i { border-color: var(--steel); }
.chip span { padding: 8px 14px; border: 1px solid var(--steel-3); border-radius: var(--r); font-size: 15px; }
.chip em, .sw em { font-style: normal; color: var(--steel-3); font-size: 13px; margin-left: 4px; }
.chip input:checked + span { background: var(--steel); color: #fff; border-color: var(--steel); }
.chip input:checked + span em { color: #c9d0d8; }
.chip input:focus-visible + span { outline: 3px solid var(--ruby); outline-offset: 2px; }
.flt-act { display: flex; align-items: center; gap: 16px; align-self: flex-end; }
.flt-reset { color: var(--steel-2); }
.flt-color .flt-opts { max-width: 520px; gap: 10px; }

/* карточка товара: галерея, просмотр */
.pd-main { cursor: zoom-in; }
.pd-th { gap: 8px; }
.pd-th li { list-style: none; }
.pd-th button { width: 72px; height: 72px; }
.pd-th[hidden] { display: none; }
.pd-sw { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 1px solid #b9bec4; vertical-align: -2px; margin-right: 8px; }
.pd-col input:checked + span .pd-sw { border-color: #fff; }
.noscroll { overflow: hidden; }
.zoombox { position: fixed; inset: 0; z-index: 200; background: #fff; overflow-y: auto; overscroll-behavior: contain; text-align: center; }
.zoombox img { display: block; width: auto; max-width: min(100%, 1100px); height: auto; margin: 0 auto 8px; background: #fff; }
.zb-x { position: fixed; top: 12px; right: 16px; z-index: 201; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--steel); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.zb-x:focus-visible { outline: 3px solid var(--ruby); outline-offset: 2px; }
.req-list li .req-th { width: 48px; height: 48px; flex: none; object-fit: contain; background: #f4f4f2; border: 1px solid var(--line); }
.req-list li span a { color: inherit; font-weight: 500; }
.req-list li small { display: block; font-size: 13px; color: var(--muted, #5f6368); line-height: 1.35; }

.flt-wrap > summary { display: none; }
@media (max-width: 760px) {
  .flt-wrap > summary { display: flex; align-items: center; justify-content: space-between; min-height: 46px; padding: 0 16px; border: 1px solid var(--steel); font-weight: 600; cursor: pointer; list-style: none; margin-bottom: 14px; background: #fff; }
  .flt-wrap > summary::-webkit-details-marker { display: none; }
  .flt-wrap > summary::after { content: "+"; font-size: 22px; line-height: 1; }
  .flt-wrap[open] > summary::after { content: "\2212"; }
}

.pd-main { position: relative; overflow: hidden; display: block; }
.pd-roll { position: absolute; inset: 0; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.pd-roll::-webkit-scrollbar { display: none; }
.pd-sl { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; display: flex; align-items: center; justify-content: center; }
.pd-sl img { max-width: 100%; max-height: 100%; width: auto; height: auto; padding: 24px; object-fit: contain; }
.pd-main .arr { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 52px; border: 0; background: rgba(255,255,255,.92); color: var(--steel); font-size: 30px; line-height: 1; cursor: pointer; display: none; z-index: 2; }
.pd-main .arr.prev { left: 0; } .pd-main .arr.next { right: 0; }
@media (hover: hover) and (pointer: fine) { .pd-main .arr { display: block; } .pd-main .arr[hidden] { display: none; } }
.pd-res { display: block; color: var(--steel-3); font-size: 13px; }
