/* Страницы серий (/series/pp/, /series/ppy/) — те же токены, что у лендинга. */
:root {
  --bg: #F2F6FA; --bg-deep: #E6EEF6; --surface: #FFFFFF;
  --ink: #051025; --ink-2: #2A3549; --ink-3: #5A6578; --ink-4: #8E98AB;
  --line: #D5DEE8; --line-soft: #E8EEF5;
  --aqua-1: #4FB3D9; --aqua-2: #2E7FB8; --aqua-3: #1A4D8C; --aqua-glow: #7FD4F2; --aqua-mist: #C8E4F2;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1480px; --pad: clamp(16px, 3.5vw, 56px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: 'Manrope', system-ui, sans-serif; font-size: 16px; line-height: 1.55; overflow-x: hidden; }
a { color: inherit; }
em { font-style: normal; color: var(--aqua-3); font-weight: 200; }
.mono { font-family: 'JetBrains Mono', monospace; }
[data-lang="en"] .ru, [data-lang="en"] .kz { display: none !important; }
[data-lang="ru"] .en, [data-lang="ru"] .kz { display: none !important; }
[data-lang="kz"] .en, [data-lang="kz"] .ru { display: none !important; }

/* NAV */
.nav { position: sticky; top: 0; z-index: 50; padding: 14px var(--pad); }
.nav-inner { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 8px 10px 8px 20px; border-radius: 100px; background: rgba(255,255,255,0.72);
  backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.85); box-shadow: 0 1px 2px rgba(10,46,92,.04), 0 8px 32px rgba(10,46,92,.06); }
.logo img { height: 34px; width: auto; display: block; }
.nav-links { display: flex; gap: 26px; list-style: none; }
.nav-links a { font-size: 13px; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--aqua-3); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; background: #fff; }
.lang-switch button { background: none; border: 0; cursor: pointer; font: 500 11px 'JetBrains Mono', monospace; padding: 4px 10px; border-radius: 999px; color: var(--ink-3); letter-spacing: .05em; }
.lang-switch button.active { background: var(--ink); color: #fff; }
@media (max-width: 900px) { .nav-links { display: none; } .nav .btn-primary { display: none; } }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font: 500 13px 'Manrope', sans-serif;
  text-decoration: none; cursor: pointer; border: 0; white-space: nowrap; transition: all .3s var(--ease); }
.btn-primary { background: var(--ink); color: #fff; padding-right: 6px; }
.btn-primary .dot { width: 28px; height: 28px; border-radius: 50%; background: var(--aqua-glow); color: var(--ink); display: grid; place-items: center; transition: transform .35s var(--ease); }
.btn-primary:hover { background: var(--aqua-3); transform: translateY(-2px); }
.btn-primary:hover .dot { transform: rotate(-45deg); background: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 11px 'JetBrains Mono', monospace; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3); padding: 6px 12px; border: 1px solid var(--line); border-radius: 100px; background: rgba(255,255,255,.55); }
.eyebrow a { text-decoration: none; }
.eyebrow a:hover { color: var(--aqua-3); }
.eyebrow .sep { color: var(--ink-4); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.display { font-family: 'Bricolage Grotesque', 'Montserrat', sans-serif; font-weight: 300; letter-spacing: -0.035em; line-height: .98; }
[data-lang="ru"] .display, [data-lang="kz"] .display { letter-spacing: -0.045em; }

/* HERO */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(40px, 6vw, 88px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(44px, 7.2vw, 108px); margin: 28px 0 24px; }
.hero-lead { font-size: clamp(16px, 1.3vw, 19px); color: var(--ink-2); max-width: 54ch; }
.hero-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 36px 0; border-top: 1px solid var(--line); }
.hero-facts > div { padding: 16px 16px 0 0; }
.hero-facts > div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.fact-val { font: 500 clamp(18px, 1.8vw, 26px)/1.1 'JetBrains Mono', monospace; letter-spacing: -.02em; }
.fact-lbl { font-size: 12px; color: var(--ink-3); margin-top: 6px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-photo { position: relative; aspect-ratio: 1; border-radius: 28px; overflow: hidden; background: #F4F5F7; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-photo .made { position: absolute; left: 20px; bottom: 20px; width: 128px; height: auto; object-fit: contain; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-photo { order: -1; aspect-ratio: 4 / 3; }
  .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
}

/* SECTIONS */
.section { padding: clamp(48px, 7vw, 104px) 0; border-top: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 44px); }
.section h2 { font-size: clamp(34px, 4.6vw, 68px); }
.section-note { color: var(--ink-3); font-size: 14px; max-width: 46ch; }

/* PICKER */
.picker { display: flex; flex-wrap: wrap; gap: 20px 32px; margin-bottom: 28px; }
.picker-group { display: flex; align-items: center; gap: 10px; }
.picker-label { font: 500 11px 'JetBrains Mono', monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font: 500 13px 'Manrope', sans-serif; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--ink-3); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* SPEC LAYOUT */
.spec-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 3vw, 48px); align-items: start; }
@media (max-width: 1000px) { .spec-grid { grid-template-columns: minmax(0, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 22px; padding: clamp(20px, 2.4vw, 32px); }
.card h3 { font: 600 13px 'JetBrains Mono', monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 18px; }
.drawing { width: 100%; height: auto; display: block; color: var(--ink); }
.drawing .dim { font: 500 12px 'JetBrains Mono', monospace; fill: var(--aqua-3); }
.drawing .dim-line { stroke: var(--aqua-2); }
.dl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); margin-top: 22px; }
.dl dt, .dl dd { padding: 11px 0; border-top: 1px solid var(--line-soft); font-size: 14px; }
.dl dt { color: var(--ink-3); padding-right: 16px; }
.dl dd { color: var(--ink); font-weight: 500; }
.certs { display: flex; flex-wrap: wrap; gap: 6px; }
.cert { font: 500 11px 'JetBrains Mono', monospace; padding: 4px 9px; border-radius: 6px; background: var(--bg); border: 1px solid var(--line); letter-spacing: .02em; }

/* TABLE */
.table-wrap { overflow-x: auto; margin: 0 calc(-1 * clamp(20px, 2.4vw, 32px)); padding: 0 clamp(20px, 2.4vw, 32px); }
table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
th { text-align: left; font: 500 11px 'JetBrains Mono', monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding: 0 12px 12px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 13px 12px 13px 0; border-bottom: 1px solid var(--line-soft); white-space: nowrap; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
td.sku { font: 600 13px 'JetBrains Mono', monospace; }
td a.pdf { font: 500 11px 'JetBrains Mono', monospace; text-decoration: none; color: var(--aqua-3); border: 1px solid var(--aqua-mist); border-radius: 6px; padding: 3px 7px; }
td a.pdf:hover { background: var(--aqua-3); color: #fff; border-color: var(--aqua-3); }
tr:hover td { background: var(--bg); }
.price-rfq { color: var(--ink-3); font-size: 13px; }
.muted { color: var(--ink-4); }
.table-note { font-size: 12px; color: var(--ink-3); margin-top: 16px; }

/* DESCRIPTION */
.desc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .desc-grid { grid-template-columns: minmax(0, 1fr); } }
.desc-grid .card p { color: var(--ink-2); font-size: 15px; }
.desc-grid ul { list-style: none; display: grid; gap: 10px; }
.desc-grid li { font-size: 15px; color: var(--ink-2); padding-left: 18px; position: relative; }
.desc-grid li::before { content: ''; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--aqua-1); }

/* GALLERY */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gallery figure { border-radius: 18px; overflow: hidden; background: #F4F5F7; aspect-ratio: 1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.gallery figure:hover img { transform: scale(1.03); }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr; } }

/* DOCS + TRUST */
.docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.doc { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line-soft); text-decoration: none; transition: all .25s var(--ease); }
.doc:hover { border-color: var(--aqua-2); transform: translateY(-2px); }
.doc-ico { flex: none; width: 40px; height: 48px; border-radius: 6px; background: var(--bg); border: 1px solid var(--line); display: grid; place-items: center; font: 600 10px 'JetBrains Mono', monospace; color: var(--aqua-3); }
.doc-title { font-weight: 600; font-size: 14px; }
.doc-sub { font-size: 12px; color: var(--ink-3); }
.doc-langs { display: flex; gap: 4px; margin-top: 6px; }
.doc-langs a { font: 500 10px 'JetBrains Mono', monospace; padding: 2px 6px; border: 1px solid var(--line); border-radius: 4px; text-decoration: none; color: var(--ink-2); }
.doc-langs a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.ktp { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(16px, 3vw, 40px); align-items: center; margin-top: 16px;
  padding: clamp(22px, 3vw, 36px); border-radius: 22px; background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.ktp::after { content: ''; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; background: radial-gradient(circle, rgba(79,179,217,.28), transparent 65%); pointer-events: none; }
.ktp-seal { width: 64px; height: 64px; border-radius: 50%; border: 1px solid rgba(127,212,242,.5); display: grid; place-items: center; color: var(--aqua-glow); }
.ktp h3 { font-family: 'Bricolage Grotesque', 'Montserrat', sans-serif; font-weight: 400; font-size: clamp(20px, 2vw, 28px); letter-spacing: -.02em; line-height: 1.15; }
.ktp p { color: rgba(255,255,255,.68); font-size: 14px; margin-top: 6px; }
.ktp-stats { display: flex; gap: 28px; position: relative; z-index: 1; }
.ktp-stats .fact-val { color: var(--aqua-glow); }
.ktp-stats .fact-lbl { color: rgba(255,255,255,.6); }
.ktp a { color: var(--aqua-glow); }
@media (max-width: 900px) { .ktp { grid-template-columns: 1fr; } }

/* OTHER SERIES + FOOTER */
.other { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; text-decoration: none; padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line); }
.other .display { font-size: clamp(30px, 4vw, 60px); }
.other:hover .display em { color: var(--aqua-2); }
.footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 40px 0; font-size: 13px; }
.footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.footer img { height: 34px; filter: brightness(0) invert(1); opacity: .9; }
.footer a { color: #fff; text-decoration: none; }

.skeleton { color: var(--ink-4); font-size: 14px; padding: 24px 0; }
