/* Конвейерные технологии — статическая версия сайта */
:root {
  --ink: #16202b; --ink-2: #455261; --muted: #6b7786; --line: #dfe4ea;
  --bg: #ffffff; --bg-2: #f2f4f7;
  --navy: #0f2236; --navy-2: #183450; --navy-3: #22466a;
  --accent: #f2b705; --accent-h: #ffc929; --on-accent: #16202b;
  --radius: 6px; --shadow: 0 10px 30px rgba(10, 22, 36, .10);
  --container: 1240px;
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-3); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 860px; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: .8em 1.5em; border-radius: var(--radius);
  background: var(--accent); color: var(--on-accent); font-weight: 700; border: 2px solid var(--accent);
  transition: background .2s, color .2s, border-color .2s; text-decoration: none; }
.btn:hover { background: var(--accent-h); border-color: var(--accent-h); text-decoration: none; }
.btn--light { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }
.btn--light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: transparent; border-color: var(--navy-3); color: var(--navy-3); }
.btn--block { display: flex; width: 100%; margin-top: 10px; }

/* Шапка */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); color: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.2); }
.header__inner { display: flex; align-items: center; gap: 24px; min-height: 74px; }
.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo img { max-height: 48px; width: auto; }
.logo__text { font-weight: 800; font-size: 1.15rem; color: #fff; letter-spacing: .02em; }
.logo__text::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--accent); margin-right: 8px; vertical-align: -1px; }
.main-nav { margin-left: auto; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.main-nav a { display: block; padding: 10px 14px; color: #e3e9f0; font-weight: 600; border-radius: var(--radius); }
.main-nav a:hover { background: var(--navy-2); color: #fff; text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--accent); }
.has-sub { position: relative; }
.has-sub > a::after { content: ""; display: inline-block; margin-left: 6px; border: 4px solid transparent; border-top-color: currentColor; vertical-align: 1px; }
.sub { list-style: none; margin: 0; padding: 8px; position: absolute; left: 0; top: 100%; min-width: 270px; background: #fff;
  border-radius: var(--radius); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { color: var(--ink); font-weight: 500; padding: 8px 12px; }
.sub a:hover { background: var(--bg-2); color: var(--ink); }
.header__aside { display: flex; align-items: center; gap: 16px; }
.header__phone { color: #fff; font-weight: 700; white-space: nowrap; }
.langs { display: flex; border: 1px solid var(--navy-3); border-radius: var(--radius); overflow: hidden; }
.langs a { padding: 5px 9px; color: #b9c6d4; font-size: .8rem; font-weight: 700; }
.langs a:hover { background: var(--navy-2); color: #fff; text-decoration: none; }
.langs a[aria-current] { background: var(--accent); color: var(--on-accent); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--navy-3); border-radius: var(--radius); background: transparent; cursor: pointer; padding: 11px 10px; flex-direction: column; justify-content: space-between; }
.nav-toggle span:not(.sr-only) { display: block; height: 2px; background: #fff; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Hero */
.hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; min-height: min(78vh, 720px); display: flex; align-items: center; }
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__slides::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,22,36,.9) 0%, rgba(10,22,36,.6) 55%, rgba(10,22,36,.3) 100%); }
.hero__inner { position: relative; padding-top: 80px; padding-bottom: 100px; }
.hero__kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .85rem; font-weight: 700; color: var(--accent); }
.hero h1 { max-width: 13ch; text-transform: uppercase; }
.hero__quote { margin: 26px 0 34px; padding-left: 18px; border-left: 4px solid var(--accent); }
.hero__quote p { font-size: clamp(1.3rem, 2.6vw, 1.9rem); margin: 0 0 4px; font-weight: 600; }
.hero__quote cite { color: #b9c6d4; font-style: normal; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__dots { position: absolute; bottom: 24px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.hero__dots span { width: 28px; height: 3px; background: rgba(255,255,255,.3); transition: background .4s; }
.hero__dots span.is-active { background: var(--accent); }

/* Продуктовые полосы главной */
.band { position: relative; color: #fff; background: var(--navy) var(--bg) center / cover no-repeat; scroll-margin-top: 74px; isolation: isolate; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,22,36,.92) 0%, rgba(10,22,36,.72) 60%, rgba(10,22,36,.55) 100%); }
.band--rev::before { background: linear-gradient(270deg, rgba(10,22,36,.92) 0%, rgba(10,22,36,.72) 60%, rgba(10,22,36,.55) 100%); }
.band__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; padding-top: clamp(56px, 8vw, 100px); padding-bottom: clamp(56px, 8vw, 100px); }
.band--rev .band__text { order: 2; }
.band__num { display: block; color: var(--accent); font-weight: 800; letter-spacing: .12em; margin-bottom: 8px; }
.band__text p { color: #d3dce6; font-size: 1.15rem; max-width: 34ch; margin-bottom: 1.6em; }
.band__media img { margin: 0 auto; max-height: 380px; width: auto; filter: drop-shadow(0 20px 30px rgba(0,0,0,.35)); }

/* Обзор компании */
.overview { position: relative; background: var(--bg-2) var(--bg) center / cover no-repeat; isolation: isolate; }
.overview::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(242,244,247,.9); }
.overview__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); }
.overview p { color: var(--ink-2); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 800; color: var(--navy-3); margin-bottom: .6em; }
.stats { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 16px; }
.overview .stats { margin: 0; }
.stats li { background: #fff; border-left: 4px solid var(--accent); padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; box-shadow: var(--shadow); }
.stats strong { display: block; font-size: 1.8rem; line-height: 1.1; color: var(--navy); }
.stats span { color: var(--muted); font-size: .92rem; }
.split .stats { grid-template-columns: repeat(3, 1fr); }

/* CTA */
.cta { position: relative; color: #fff; background: var(--navy-2) var(--bg) center / cover no-repeat; isolation: isolate; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(15,34,54,.88); }
.cta__inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.cta p { color: #c9d4e0; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta__img { max-height: 260px; width: auto; justify-self: end; }

/* Шапка внутренних страниц */
.page-head { background: var(--navy); color: #fff; padding: 52px 0 46px; position: relative; isolation: isolate; }
.page-head--img { background: var(--navy) var(--bg) center / cover no-repeat; }
.page-head--img::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,22,36,.92), rgba(10,22,36,.65)); }
.page-head h1 { margin: 0; font-size: clamp(1.8rem, 3.8vw, 2.8rem); }
.page-head .lead { color: #c9d4e0; max-width: 720px; margin: 12px 0 0; font-size: 1.1rem; }
.page-head--404 { padding: 120px 0; }
.page-head--404 .btn { margin: 20px 8px 0 0; }
.crumbs { font-size: .85rem; color: #93a3b4; margin-bottom: 12px; }
.crumbs a { color: #c9d4e0; }
.crumbs span { margin: 0 6px; }

.section { padding: clamp(48px, 7vw, 88px) 0; }
.section--muted { background: var(--bg-2); }

/* Каталог */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); transition: box-shadow .2s, transform .2s; }
.pcard:hover { box-shadow: var(--shadow); transform: translateY(-3px); text-decoration: none; }
.pcard__media { background: linear-gradient(160deg, var(--navy-2), var(--navy)); aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 18px; }
.pcard__media img { max-height: 100%; width: auto; object-fit: contain; }
.pcard__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard__body span { color: var(--ink-2); font-size: .92rem; }
.pcard__body em { margin-top: auto; padding-top: 8px; font-style: normal; font-weight: 700; color: var(--navy-3); }

/* Страница продукта */
.product { display: grid; grid-template-columns: 1fr 290px; gap: 48px; align-items: start; }
.product__intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; margin-bottom: 40px; }
.product__text p { font-size: 1.08rem; color: var(--ink-2); }
.product__img { background: linear-gradient(160deg, var(--navy-2), var(--navy)); border-radius: var(--radius); padding: 24px; display: grid; place-items: center; }
.product__img img { max-height: 300px; width: auto; }
.spec { width: 100%; border-collapse: collapse; margin-bottom: 40px; font-size: .97rem; }
.spec th, .spec td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 34%; color: var(--muted); font-weight: 600; }
.spec tr:nth-child(odd) { background: var(--bg-2); }
.psecs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 36px; }
.psecs--3 { grid-template-columns: repeat(3, 1fr); margin-bottom: 32px; }
.psec { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius); padding: 22px 24px; }
.psec p { color: var(--ink-2); }
.psec p:last-child { margin-bottom: 0; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding-left: 22px; margin-bottom: 8px; color: var(--ink-2); }
.checklist li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 50%; border: 3px solid var(--accent); }
.product__aside { position: sticky; top: 96px; }
.product__aside h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.side-nav { list-style: none; padding: 0; margin: 0 0 24px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.side-nav a { display: block; padding: 10px 16px; color: var(--ink); border-bottom: 1px solid var(--line); }
.side-nav li:last-child a { border-bottom: 0; }
.side-nav a:hover { background: var(--bg-2); text-decoration: none; }
.side-nav a[aria-current] { background: var(--navy); color: #fff; box-shadow: inset 4px 0 0 var(--accent); }
.side-cta { background: var(--bg-2); border-radius: var(--radius); padding: 20px; }
.side-cta p { color: var(--ink-2); font-size: .92rem; }

/* Галерея */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.gallery__item { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); padding: 8px; }
.gallery__item img { max-height: 100%; width: auto; object-fit: contain; transition: transform .3s; }
.gallery__item:hover img { transform: scale(1.05); }

/* О производстве */
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.split p { color: var(--ink-2); }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); margin: 0 auto; }

/* Контакты */
.contact-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 36px; }
.contact-strip a { display: block; background: var(--navy); color: #fff; padding: 22px 26px; border-radius: var(--radius); }
.contact-strip a:hover { background: var(--navy-2); text-decoration: none; }
.contact-strip span { display: block; color: #93a3b4; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; }
.contact-strip strong { font-size: clamp(1.2rem, 2.4vw, 1.6rem); }
.sites { display: grid; gap: 28px; scroll-margin-top: 90px; }
.site-card { display: grid; grid-template-columns: 1fr 1.2fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; scroll-margin-top: 90px; }
.site-card__body { padding: 28px; }
.site-card dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 0 0 20px; }
.site-card dt { color: var(--muted); font-size: .9rem; }
.site-card dd { margin: 0; font-weight: 600; }
.people { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 12px; }
.people li { border-left: 3px solid var(--accent); padding-left: 12px; display: grid; }
.people span { color: var(--muted); font-size: .9rem; }
.site-card__map { position: relative; min-height: 340px; background: var(--bg-2); }
.site-card__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-link { position: absolute; right: 12px; bottom: 12px; background: #fff; padding: 6px 12px; border-radius: var(--radius); box-shadow: var(--shadow); font-size: .85rem; }

.prose h2 { font-size: 1.3rem; margin-top: 1.6em; }
.prose p { color: var(--ink-2); }

/* Модель ролика */
.model { display: grid; grid-template-columns: 1.7fr 1fr; gap: 40px; align-items: center; }
.model__fig { margin: 0; background: var(--bg-2); border-radius: var(--radius); padding: 16px; }
.roller-svg { width: 100%; height: auto; display: block; }
.roller-svg .part { stroke: var(--navy); stroke-width: 1.5; transition: fill .2s, opacity .2s; }
.roller-svg .shell { fill: url(#hatch); }
.roller-svg .hatch-bg { fill: #c8d2dc; }
.roller-svg .hatch-line { stroke: #8496a8; stroke-width: 2; }
.roller-svg .coat { fill: var(--accent); }
.roller-svg .shaft { fill: #aebccb; }
.roller-svg .flat { fill: #94a5b6; }
.roller-svg .housing { fill: #7d93aa; }
.roller-svg .bearing { fill: #dfe6ec; }
.roller-svg .ball { fill: var(--navy-3); }
.roller-svg .seal { fill: #3c5875; }
.roller-svg .circlip { fill: var(--navy); }
.roller-svg .weld { fill: #e0672b; stroke: none; }
.roller-svg .axis { stroke: #6b7786; stroke-dasharray: 14 5 3 5; stroke-width: 1; }
.roller-svg .callouts line { stroke: var(--navy); stroke-width: 1; }
.roller-svg .callouts circle { fill: var(--navy); }
.roller-svg .callouts text { fill: #fff; font: 700 14px var(--font); text-anchor: middle; }
.roller-svg.has-hl [data-part]:not(.is-hl) { opacity: .28; }
.roller-svg [data-part].is-hl .callouts circle, .roller-svg .callouts [data-part].is-hl circle { fill: var(--accent); }
.roller-svg .callouts [data-part].is-hl text { fill: var(--on-accent); }
.model__legend { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.model__legend li { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: var(--radius); cursor: pointer; transition: background .2s; outline: none; }
.model__legend li:hover, .model__legend li.is-hl, .model__legend li:focus-visible { background: var(--bg-2); }
.model__legend .num { flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.model__legend li.is-hl .num { background: var(--accent); color: var(--on-accent); }
.model__more { margin-top: 32px; }

/* Подвал */
.site-footer { background: #0a1827; color: #93a3b4; padding-top: 56px; font-size: .94rem; }
.site-footer a { color: #d5dde6; }
.footer__inner { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1.3fr; gap: 36px; padding-bottom: 40px; }
.footer__col h3 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; }
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { margin-bottom: 6px; }
.footer__brand p { margin-top: 16px; }
.footer__phone { font-size: 1.2rem; font-weight: 700; color: #fff !important; }
.footer__bottom { border-top: 1px solid #1d3047; padding-top: 18px; padding-bottom: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: .85rem; }

/* Лайтбокс */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8, 14, 22, .94); display: grid; place-items: center; }
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: min(92vw, 1300px); max-height: 86vh; width: auto; border-radius: 4px; background: #fff; }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; cursor: pointer; font-size: 2rem; line-height: 1; width: 52px; height: 52px; border-radius: 50%; }
.lightbox button:hover { background: rgba(255,255,255,.22); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #c9d4e0; font-size: .9rem; }
img.is-missing { object-fit: contain !important; }

/* Адаптив */
@media (max-width: 1100px) {
  .main-nav a { padding: 10px 9px; font-size: .95rem; }
  .pgrid { grid-template-columns: repeat(3, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .product { grid-template-columns: 1fr; }
  .product__aside { position: static; }
}
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .header__phone { display: none; }
  .header__inner { position: relative; min-height: 64px; }
  .header__aside { margin-left: auto; }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--navy); display: none; max-height: calc(100vh - 64px); overflow: auto; box-shadow: 0 12px 24px rgba(0,0,0,.25); }
  .main-nav.is-open { display: block; }
  .main-nav > ul { flex-direction: column; padding: 8px 20px 16px; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--navy-2); border-radius: 0; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; box-shadow: none; padding: 0 0 0 16px; min-width: 0; }
  .sub a { color: #c9d4e0; }
  .sub a:hover { background: transparent; color: #fff; }
  .has-sub > a::after { display: none; }
  .band__inner, .overview__inner, .cta__inner, .split, .model, .site-card, .product__intro { grid-template-columns: 1fr; }
  .band--rev .band__text { order: 0; }
  .band__media img { max-height: 260px; }
  .cta__img { justify-self: center; max-height: 200px; }
  .psecs, .psecs--3 { grid-template-columns: 1fr; }
  .pgrid { grid-template-columns: repeat(2, 1fr); }
  .site-card__map { min-height: 300px; }
}
@media (max-width: 560px) {
  .pgrid, .contact-strip, .footer__inner { grid-template-columns: 1fr; }
  .split .stats { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .spec th { width: 42%; }
  .logo img { max-height: 40px; }
  .langs a { padding: 5px 7px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .cta, .lightbox, .site-footer, .product__aside { display: none; } }
