/* Cell Fusion C Latvia, version 1 "uzlabota": the Polish site structure, rebuilt at a premium level.
   Two families, local: Jost (display) and Commissioner (text), latin + latin-ext + cyrillic.
   Light paper base, brand red, black utility bar, cinematic campaign slider. */
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(fonts/jost-cyrillic.woff2?v=1) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(fonts/jost-latin-ext.woff2?v=1) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(fonts/jost-latin.woff2?v=1) 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: 'Commissioner'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/commissioner-cyrillic.woff2?v=1) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Commissioner'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/commissioner-latin-ext.woff2?v=1) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Commissioner'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/commissioner-latin.woff2?v=1) 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; }

:root {
  --ink: #15171a; --ink2: #474c54; --ink3: #666c75; --line: #e7e6e3; --line2: #d9d8d4;
  --paper: #fff; --mist: #f5f4f1; --mist2: #edece8;
  --red: #e4182e; --red2: #c1121f; --red-soft: #fdeaed;
  --display: 'Jost', 'Segoe UI', Arial, sans-serif;
  --text: 'Commissioner', 'Segoe UI', Arial, sans-serif;
  --wrap: 1280px; --gutter: 24px;
  --r: 18px; --r-sm: 10px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 2px rgba(21, 23, 26, .04), 0 14px 36px -16px rgba(21, 23, 26, .14);
  --shadow-up: 0 2px 4px rgba(21, 23, 26, .05), 0 30px 56px -22px rgba(21, 23, 26, .28);
  --nav-h: 76px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--text); font-size: 16.5px; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 500; line-height: 1.08; letter-spacing: -.012em; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.hidden { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; text-decoration: none; border-radius: var(--r-sm); }
.skip:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* ---------- type ---------- */
.eyebrow { font-family: var(--text); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink3); }
.eyebrow.red { color: var(--red); }
.h1 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); }
.h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
.h3 { font-size: 1.35rem; }
.lead { font-size: 1.1rem; line-height: 1.55; color: var(--ink2); max-width: 58ch; }
.sec { padding: 96px 0; }
.sec.mist { background: var(--mist); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 44px; }
.sec-head .eyebrow { margin-bottom: 14px; }
.sec-head .lead { margin-top: 12px; }
.sec-head.center { flex-direction: column; align-items: center; text-align: center; }
.sec-head.center .lead { margin-left: auto; margin-right: auto; }
.sec-foot { display: flex; justify-content: center; margin-top: 44px; }
.page-head { padding: 64px 0 40px; }
.page-head .lead { margin-top: 16px; }
.page-head .eyebrow { margin-bottom: 14px; }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; background: var(--ink); color: #fff; border: 1.5px solid var(--ink); border-radius: var(--r-sm); font-family: var(--text); font-size: 15px; font-weight: 600; letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: background .25s, border-color .25s, color .25s, transform .3s var(--ease), box-shadow .3s var(--ease); box-shadow: 0 10px 24px -14px rgba(21, 23, 26, .55); white-space: nowrap; }
.btn:hover { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(228, 24, 46, .6); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn:hover svg.arr { transform: translateX(3px); }
.btn.outline { background: transparent; color: var(--ink); box-shadow: none; }
.btn.outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 16px 30px -14px rgba(21, 23, 26, .5); }
.btn.white { background: #fff; color: var(--ink); border-color: #fff; }
.btn.white:hover { background: var(--red); color: #fff; border-color: var(--red); }
.btn.ghost { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .5); box-shadow: none; }
.btn.ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn.red { background: var(--red); border-color: var(--red); box-shadow: 0 12px 26px -14px rgba(228, 24, 46, .7); }
.btn.red:hover { background: var(--red2); border-color: var(--red2); }
.btn.sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.link { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; text-decoration-color: var(--line2); transition: text-decoration-color .2s, color .2s; }
.link:hover { color: var(--red); text-decoration-color: var(--red); }
.link svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.link:hover svg { transform: translateX(3px); }
.iconbtn { width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--line2); border-radius: 50%; background: #fff; cursor: pointer; padding: 0; transition: background .2s, color .2s, border-color .2s, transform .3s var(--ease); }
.iconbtn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.iconbtn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.badge { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--ink); color: #fff; }
.badge.new { background: var(--red); }
.badge.top { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line2); }
.badge.pro { background: #1f2a3a; }
.badges { display: flex; gap: 6px; flex-wrap: wrap; }

/* ---------- top bar + header ---------- */
.topbar { background: var(--ink); color: #fff; font-size: 12.5px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 40px; gap: 16px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.topbar .lines { display: flex; }
.topbar .lines a { padding: 0 16px; border-left: 1px solid rgba(255, 255, 255, .28); text-transform: uppercase; letter-spacing: .14em; font-weight: 600; line-height: 40px; font-size: 11.5px; }
.topbar .lines a:first-child { border-left: 0; padding-left: 0; }
.topbar .tb-contact { display: flex; gap: 22px; align-items: center; }
.topbar .tb-contact a { display: inline-flex; align-items: center; gap: 8px; }
.topbar .tb-contact svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lang { display: flex; gap: 2px; }
.lang button { background: transparent; border: 1px solid transparent; border-radius: 6px; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em; padding: 4px 8px; cursor: pointer; line-height: 1.2; transition: background .2s, color .2s; }
.lang button:hover { background: rgba(255, 255, 255, .14); }
.lang button[aria-pressed="true"] { background: #fff; color: var(--ink); }

.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; min-height: var(--nav-h); gap: 24px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { width: 164px; height: auto; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { position: relative; display: inline-block; padding: 10px 14px; font-size: 12.5px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; text-decoration: none; color: var(--ink); transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s var(--ease); }
.nav a:hover { color: var(--red); }
.nav a:hover::after, .nav a.on::after { transform: scaleX(1); }
.nav a.expert { color: var(--red2); }
.nav a.expert:hover { color: var(--red); }
.nav .mob { display: none; }
.burger { display: none; }
@media (max-width: 1023px) {
  :root { --nav-h: 64px; }
  .topbar .lines { display: none; }
  .topbar .tb-contact span.txt { display: none; }
  .topbar .tb-contact { gap: 12px; width: 100%; justify-content: space-between; }
  .logo img { width: 140px; }
  .burger { display: inline-flex; border-color: var(--ink); border-radius: var(--r-sm); width: 44px; height: 44px; }
  .top.open .burger { background: var(--ink); color: #fff; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 16px 20px; gap: 0; box-shadow: 0 24px 40px -16px rgba(21, 23, 26, .2); }
  .nav a { padding: 15px 8px; font-size: 13px; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav a.on { color: var(--red); }
  .nav .mob { display: flex; gap: 14px; padding: 16px 8px 0; font-size: 14px; text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--ink2); border: 0; }
  .nav .mob a { padding: 0; border: 0; font-size: 14px; letter-spacing: 0; text-transform: none; font-weight: 500; }
  .top.open .nav { display: flex; }
}

/* ---------- reveal (one shot, on entering the viewport) ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- hero slider ---------- */
.hero { position: relative; overflow: hidden; background: var(--mist); color: var(--ink); }
.slides { position: relative; display: grid; }
.slide { grid-area: 1 / 1; min-width: 0; position: relative; opacity: 0; visibility: hidden; z-index: 0; transition: opacity 1s var(--ease), visibility 0s linear 1s; }
.slide.on { opacity: 1; visibility: visible; z-index: 1; transition: opacity 1s var(--ease), visibility 0s; }
.slide .bg { position: absolute; inset: 0; transform: scale(1.06); transition: transform 0s 1s; }
.slide.on .bg { transform: none; transition: transform 7s linear; }
.slide .bg::before, .slide .bg::after { content: ""; position: absolute; border-radius: 50%; filter: blur(70px); }
/* slide tones: cica mint, red ultimate blush, sun sky */
.slide.s1 .bg { background: linear-gradient(100deg, #f3faf7 0%, #dcf1e8 40%, #b9e4d6 100%); }
.slide.s1 .bg::before { width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; right: -8vw; top: -10vw; background: radial-gradient(circle, rgba(94, 214, 178, .75), rgba(94, 214, 178, 0) 65%); }
.slide.s1 .bg::after { width: 40vw; height: 40vw; max-width: 520px; max-height: 520px; left: 30vw; bottom: -18vw; background: radial-gradient(circle, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 65%); }
.slide.s2 .bg { background: linear-gradient(100deg, #fcf3f4 0%, #f5dadd 40%, #ecbfc6 100%); }
.slide.s2 .bg::before { width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; right: -6vw; top: -14vw; background: radial-gradient(circle, rgba(228, 24, 46, .42), rgba(228, 24, 46, 0) 65%); }
.slide.s2 .bg::after { width: 44vw; height: 44vw; max-width: 560px; max-height: 560px; left: 26vw; bottom: -20vw; background: radial-gradient(circle, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 65%); }
.slide.s3 .bg { background: linear-gradient(100deg, #f4f8fc 0%, #dfeaf8 45%, #c3d9f2 100%); }
.slide.s3 .bg::before { width: 50vw; height: 50vw; max-width: 640px; max-height: 640px; right: 4vw; top: -16vw; background: radial-gradient(circle, rgba(255, 244, 214, .95), rgba(255, 244, 214, 0) 65%); }
.slide.s3 .bg::after { width: 44vw; height: 44vw; max-width: 560px; max-height: 560px; left: 20vw; bottom: -22vw; background: radial-gradient(circle, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 65%); }
.slide-in { position: relative; display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); align-items: center; min-height: min(720px, calc(100svh - 116px)); gap: 24px; }
.slide .txt { padding: 72px 0; max-width: 540px; }
.slide .txt > * { opacity: 0; transform: translateY(18px); transition: opacity 0s 1s, transform 0s 1s; }
.slide.on .txt > * { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .9s var(--ease); }
.slide.on .txt > :nth-child(1) { transition-delay: .25s; }
.slide.on .txt > :nth-child(2) { transition-delay: .35s; }
.slide.on .txt > :nth-child(3) { transition-delay: .45s; }
.slide.on .txt > :nth-child(4) { transition-delay: .55s; }
.slide .txt .eyebrow { margin-bottom: 18px; color: var(--ink2); }
.slide .txt h2 { font-size: clamp(2.5rem, 5.2vw, 4.4rem); font-weight: 500; line-height: 1; letter-spacing: -.02em; }
.slide .txt p.copy { margin: 22px 0 32px; color: var(--ink2); font-size: 1.12rem; line-height: 1.55; max-width: 44ch; }
.slide .pic { position: relative; align-self: stretch; display: flex; align-items: center; justify-content: center; min-height: 100%; }
.slide .pic img { width: auto; max-width: min(100%, 640px); max-height: 560px; object-fit: contain; filter: drop-shadow(0 46px 44px rgba(20, 60, 50, .22)) drop-shadow(0 8px 10px rgba(20, 40, 40, .1)); opacity: 0; transform: translateY(34px) scale(.94); transition: opacity 0s 1s, transform 0s 1s; }
.slide.on .pic img { opacity: 1; transform: none; transition: opacity .9s var(--ease) .15s, transform 1.4s var(--ease) .1s; }
.slide.s2 .pic img { filter: drop-shadow(0 46px 48px rgba(140, 10, 30, .28)) drop-shadow(0 8px 10px rgba(80, 10, 20, .12)); max-height: 480px; }
.slide .pic .halo { position: absolute; width: 64%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 66%); z-index: 0; }
.slide .pic::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 9%; height: 8%; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(20, 50, 45, .28), rgba(20, 50, 45, 0) 70%); filter: blur(10px); z-index: 0; opacity: 0; transition: opacity 0s 1s; }
.slide.on .pic::after { opacity: 1; transition: opacity 1.2s var(--ease) .4s; }
.slide.s3 .pic::after { display: none; }
.slide .pic img { position: relative; z-index: 1; }
/* slide 3 is photographic: the sun family on a lit sky, fading into the text column */
.slide.s3 .slide-in { position: static; }
.slide.s3 .txt { position: relative; z-index: 2; }
.slide.s3 .pic { position: absolute; right: 0; top: 0; bottom: 0; width: 58%; min-height: 0; align-items: stretch; }
.slide.s3 .pic img { max-width: none; max-height: none; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; filter: none; -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #000 34%); mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #000 34%); transform: scale(1.06); }
.slide.s3.on .pic img { transform: none; }
.hero-ui { position: absolute; z-index: 3; left: 0; right: 0; bottom: 28px; pointer-events: none; }
.hero-ui .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.hero-ui > .wrap > * { pointer-events: auto; }
.bars { display: flex; gap: 10px; }
.bars button { position: relative; width: 56px; height: 24px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.bars button::after { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; border-radius: 2px; background: rgba(21, 23, 26, .22); transition: background .3s; }
.bars button::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; border-radius: 2px; background: var(--ink); z-index: 1; transform: scaleX(0); transform-origin: 0 50%; }
.bars button[aria-current="true"]::before { transform: scaleX(1); }
.hero.is-auto .bars button.run[aria-current="true"]::before { animation: heroProg 6.5s linear forwards; }
.hero.is-paused .bars button::before { animation-play-state: paused !important; }
@keyframes heroProg { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.bars button:hover::after { background: rgba(21, 23, 26, .5); }
.arrows { display: flex; gap: 8px; }
.arrows .iconbtn { background: rgba(255, 255, 255, .75); border-color: rgba(21, 23, 26, .14); backdrop-filter: blur(6px); }
.arrows .iconbtn:hover { background: var(--ink); border-color: var(--ink); }
@media (max-width: 1023px) {
  .slide-in { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .slide .txt { order: 2; padding: 12px 0 92px; max-width: none; }
  .slide .pic { order: 1; min-height: 0; padding: 36px 0 8px; }
  .slide .pic img { max-height: 320px; max-width: 86%; }
  .slide.s2 .pic img { max-height: 260px; }
  .slide.s3 .slide-in { position: relative; }
  .slide.s3 .pic { position: relative; width: auto; min-height: 320px; margin: 0 calc(-1 * var(--gutter)); padding: 0; }
  .slide.s3 .pic img { -webkit-mask-image: linear-gradient(180deg, #000 60%, rgba(0, 0, 0, 0) 100%); mask-image: linear-gradient(180deg, #000 60%, rgba(0, 0, 0, 0) 100%); object-position: 50% 40%; height: 360px; }
  .slide .txt h2 { font-size: clamp(2.2rem, 9vw, 3rem); }
  .slide .txt p.copy { font-size: 1.02rem; margin: 16px 0 26px; }
  .hero-ui { bottom: 22px; }
  .bars button { width: 40px; }
}

/* ---------- product tabs ---------- */
.tabs-row { display: flex; justify-content: center; margin-bottom: 14px; }
.tabs { position: relative; display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--mist); }
.tabs button { position: relative; z-index: 1; min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: transparent; font-weight: 600; font-size: 15px; color: var(--ink2); cursor: pointer; transition: color .25s; }
.tabs button[aria-selected="true"] { color: #fff; background: var(--ink); transition: color .25s, background .2s .3s; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"]:hover { color: #fff; }
.tabs .ind { position: absolute; top: 5px; height: 44px; left: 0; width: 0; border-radius: 999px; background: var(--ink); box-shadow: 0 8px 18px -8px rgba(21, 23, 26, .5); transition: left .4s var(--ease), width .4s var(--ease); }
.tab-note { text-align: center; color: var(--ink3); font-size: .95rem; margin-bottom: 36px; min-height: 1.6em; }
.tab-grid.swap { animation: gridIn .5s var(--ease); }
@keyframes gridIn { from { opacity: 0; transform: translateY(10px); } }

/* ---------- product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 1023px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (max-width: 719px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.card { position: relative; display: flex; flex-direction: column; text-decoration: none; background: #fff; border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-up); border-color: transparent; }
.card .pic { position: relative; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; padding: 10%; background: var(--tint, var(--mist)); overflow: hidden; }
.card .pic::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 60%); pointer-events: none; }
.card .pic img { position: relative; z-index: 1; width: auto; height: 100%; max-height: 100%; max-width: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .6s var(--ease); }
.card:hover .pic img { transform: scale(1.06) translateY(-2%); }
.card .badges { position: absolute; z-index: 2; top: 12px; left: 12px; }
.card .body { display: flex; flex-direction: column; flex: 1; gap: 4px; padding: 16px 18px 18px; }
.card .ser { font-size: 12.5px; color: var(--ink3); font-weight: 500; }
.card .name { font-family: var(--text); font-size: 16px; font-weight: 600; line-height: 1.3; letter-spacing: 0; }
.card .meta { font-size: 13px; color: var(--ink3); }
.card .go { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 12px; font-size: 14px; font-weight: 600; color: var(--ink); }
.card .go svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.card .go span { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; text-decoration-color: var(--line2); transition: text-decoration-color .2s, color .2s; }
.card:hover .go span { color: var(--red); text-decoration-color: var(--red); }
.card:hover .go svg { transform: translateX(3px); color: var(--red); }
@media (max-width: 719px) { .card .body { padding: 12px 12px 14px; } .card .name { font-size: 14.5px; } }

/* ---------- series showcase (home) ---------- */
.sec-head .seg { flex: none; }
#seriesSeg button .badge { margin-left: 8px; height: 20px; padding: 0 8px; font-size: 10px; letter-spacing: .05em; vertical-align: 1px; }
#seriesSeg button[aria-pressed="true"] .badge { background: rgba(255, 255, 255, .2); }
.serijas { display: grid; grid-template-columns: minmax(0, 9fr) minmax(0, 15fr); grid-template-rows: auto 1fr; gap: 0 40px; align-items: start; }
.serijas.swap { animation: gridIn .5s var(--ease); }
.sl-intro { grid-column: 1; grid-row: 1; display: grid; gap: 10px; justify-items: start; margin-bottom: 22px; }
.sl-intro p { font-size: 15.5px; line-height: 1.55; color: var(--ink2); max-width: 44ch; }
@media (min-width: 1024px) { .sl-intro .badge { display: none; } }
.slist { grid-column: 1; grid-row: 2; display: flex; flex-direction: column; align-self: stretch; }
.srows { display: flex; flex-direction: column; gap: 2px; }
.srow { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; align-items: center; gap: 14px; width: 100%; padding: 10px 16px 10px 14px; border: 0; border-radius: 14px; background: transparent; text-align: left; cursor: pointer; transition: background .25s, box-shadow .35s var(--ease); }
.srow .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--tint); box-shadow: inset 0 0 0 1px rgba(21, 23, 26, .14); transition: transform .3s var(--ease); }
.srow b { display: block; font-family: var(--display); font-weight: 500; font-size: 1.12rem; line-height: 1.2; }
.srow .t { display: block; font-size: 13.5px; line-height: 1.35; color: var(--ink3); margin-top: 2px; }
.srow .n { font-size: 13px; color: var(--ink3); white-space: nowrap; transition: color .25s; }
.srow:hover { background: rgba(255, 255, 255, .7); }
.srow[aria-selected="true"] { background: #fff; box-shadow: var(--shadow); }
.srow[aria-selected="true"] .dot { transform: scale(1.4); }
.srow[aria-selected="true"] .n { color: var(--ink); font-weight: 600; }
.sl-foot { margin-top: auto; padding-top: 22px; align-self: flex-start; }
.spanel { grid-column: 2; grid-row: 1 / 3; position: relative; display: grid; min-height: 460px; border-radius: 26px; overflow: hidden; background: var(--mist2); align-self: stretch; }
.sp-view { grid-area: 1 / 1; position: relative; display: grid; grid-template-columns: minmax(0, 38fr) minmax(0, 62fr); align-items: end; gap: 16px; min-width: 0; padding: 36px; opacity: 0; z-index: 0; transition: opacity .55s var(--ease); background: linear-gradient(118deg, color-mix(in srgb, var(--tint) 50%, #fff) 0%, var(--tint) 48%, color-mix(in srgb, var(--tint) 88%, #15171a) 100%); }
.sp-view.on { opacity: 1; z-index: 1; }
.sp-view::before { content: ""; position: absolute; right: 0; top: -14%; width: 64%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 65%); pointer-events: none; }
.sp-txt { position: relative; z-index: 2; display: grid; gap: 10px; justify-items: start; align-self: end; }
.sp-eyebrow { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink2); white-space: nowrap; }
.sp-eyebrow .badge { letter-spacing: .05em; height: 22px; padding: 0 9px; font-size: 10.5px; }
.sp-txt h3 { font-size: clamp(1.8rem, 2.3vw, 2.3rem); letter-spacing: -.02em; }
.sp-sub { color: var(--ink2); font-size: 1.05rem; line-height: 1.45; max-width: 30ch; }
.sp-n { font-size: 14px; font-weight: 600; color: var(--ink); }
.sp-txt .btn { margin-top: 10px; }
.sp-pics { position: relative; align-self: stretch; min-height: 380px; display: flex; align-items: flex-end; justify-content: center; gap: clamp(14px, 4%, 30px); padding: 0 4px 30px; }
.sp-pics::before { content: ""; position: absolute; left: 4%; right: 4%; bottom: 14px; height: 30px; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(20, 30, 40, .2), rgba(20, 30, 40, 0) 70%); filter: blur(6px); pointer-events: none; }
.sp-pics span { position: relative; flex: 0 1 auto; min-width: 0; display: flex; align-items: flex-end; justify-content: center; }
.sp-pics span::before { content: ""; position: absolute; left: 6%; right: 6%; bottom: -10px; height: 18px; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(20, 30, 40, .3), rgba(20, 30, 40, 0) 70%); filter: blur(5px); }
.sp-pics img { position: relative; display: block; width: auto; height: 100%; max-width: 100%; object-fit: contain; object-position: 50% 100%; mix-blend-mode: multiply; }
.sp-pics .pp1 { height: 84%; max-width: 56%; }
.sp-pics .pp2, .sp-pics .pp3 { height: 54%; max-width: 27%; }
.sp-pics .pp1.wide { max-width: 64%; }
.sp-pics .wide:not(.pp1) { max-width: 32%; }
.sp-pics.n2 .pp1.wide { max-width: 74%; }
.sp-pics.n1 .pp1 { height: 88%; max-width: 92%; }
.sp-view .pp1 img { transform: translateY(16px) scale(.97); transition: transform 1s var(--ease); }
.sp-view .pp2 img, .sp-view .pp3 img { transform: translateY(12px); transition: transform 1s var(--ease) .08s; }
.sp-view.on .sp-pics img { transform: none; }
.scards { display: none; }
@media (max-width: 1279px) { .serijas { gap: 0 28px; } .sp-view { padding: 28px; } .sp-pics { min-height: 320px; } }
@media (max-width: 1023px) {
  .serijas { display: block; }
  .slist, .spanel { display: none; }
  .sl-intro { margin-bottom: 18px; }
  .scards { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 10px; margin: 0 calc(-1 * var(--gutter)); scroll-padding-inline: var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .scards::-webkit-scrollbar { display: none; }
  .scard { position: relative; flex: 0 0 min(76vw, 320px); display: flex; flex-direction: column; min-height: 430px; padding: 18px 20px 20px; border-radius: 22px; overflow: hidden; scroll-snap-align: start; text-decoration: none; background: linear-gradient(160deg, color-mix(in srgb, var(--tint) 50%, #fff) 0%, var(--tint) 50%, color-mix(in srgb, var(--tint) 88%, #15171a) 100%); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
  .scard::before { content: ""; position: absolute; left: 10%; top: -10%; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0) 65%); pointer-events: none; }
  .scard:hover { transform: translateY(-4px); box-shadow: var(--shadow-up); }
  .scard .sp-pics { height: 250px; min-height: 0; margin: 0 -2px 16px; gap: 12px; padding: 0 2px 20px; }
  .scard .sp-pics::before { bottom: 8px; height: 22px; }
  .scard .sp-pics span::before { bottom: -7px; height: 14px; }
  .scard .sp-pics .pp1 { height: 84%; max-width: 54%; }
  .scard .sp-pics .pp2, .scard .sp-pics .pp3 { height: 56%; max-width: 27%; }
  .scard .sp-pics .pp1.wide { max-width: 62%; }
  .scard .sp-pics .wide:not(.pp1) { max-width: 30%; }
  .scard .sp-pics.n2 .pp1.wide { max-width: 72%; }
  .scard .sp-pics.n1 .pp1 { height: 88%; max-width: 90%; }
  .scard .sp-pics img, .scard .sp-pics .pp1 img { transform: none; }
  .sc-body { position: relative; z-index: 2; display: flex; flex-direction: column; flex: 1; }
  .scard b { display: block; font-family: var(--display); font-weight: 500; font-size: 1.45rem; line-height: 1.15; letter-spacing: -.015em; }
  .scard .t { display: block; margin-top: 6px; font-size: 14.5px; line-height: 1.45; color: var(--ink2); }
  .sc-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; }
  .sc-foot .n { font-size: 13.5px; font-weight: 600; color: var(--ink); }
  .sc-foot .go { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 10px 20px -10px rgba(21, 23, 26, .6); transition: background .25s, transform .3s var(--ease); }
  .sc-foot .go svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .scard:hover .go { background: var(--red); }
  #seriesSeg button .badge { display: none; }
}
@media (max-width: 719px) {
  .sec-head .seg { display: flex; width: 100%; }
  #seriesSeg button { flex: 1; padding: 0 10px; font-size: 14px; }
  .scard { flex-basis: min(78vw, 320px); min-height: 420px; }
  .scard .sp-pics { height: 230px; }
}

/* ---------- three image tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.tile { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; text-decoration: none; color: #fff; background: var(--ink); box-shadow: var(--shadow); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-up); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover img { transform: scale(1.05); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21, 23, 26, 0) 32%, rgba(21, 23, 26, .3) 58%, rgba(21, 23, 26, .84) 100%); }
.tile .box { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 28px; }
.tile .eyebrow { color: rgba(255, 255, 255, .78); margin-bottom: 10px; }
.tile h3 { font-size: 1.6rem; color: #fff; max-width: 14ch; }
.tile .more { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; font-weight: 600; color: #fff; }
.tile .more svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.tile:hover .more svg { transform: translateX(4px); }
@media (max-width: 859px) { .tiles { grid-template-columns: 1fr; gap: 14px; } .tile { aspect-ratio: 16 / 10; } .tile .box { padding: 22px; } .tile h3 { font-size: 1.4rem; } }

/* ---------- benefit icons ---------- */
.icons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.icon { display: grid; grid-template-columns: 60px 1fr; gap: 20px; align-items: start; padding: 28px; background: #fff; border-radius: var(--r); border: 1px solid var(--line); }
.icon svg { width: 60px; height: 60px; padding: 15px; border-radius: 50%; background: var(--red-soft); stroke: var(--red); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon h3 { font-size: 1.25rem; margin-bottom: 6px; }
.icon p { color: var(--ink2); font-size: .98rem; }
@media (max-width: 859px) { .icons { grid-template-columns: 1fr; gap: 12px; } .icon { padding: 20px; grid-template-columns: 52px 1fr; gap: 16px; } .icon svg { width: 52px; height: 52px; padding: 13px; } }

/* ---------- lab ---------- */
.lab { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.lab .pic { position: relative; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-up); aspect-ratio: 4 / 4.4; }
.lab .pic img { width: 100%; height: 100%; object-fit: cover; }
.lab .pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21, 23, 26, 0) 60%, rgba(21, 23, 26, .45) 100%); }
.lab .pic .cap { position: absolute; z-index: 1; left: 22px; bottom: 22px; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); font-size: 13px; font-weight: 600; color: var(--ink); }
.lab .pic .cap i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.lab .eyebrow { margin-bottom: 14px; }
.lab .lead { margin-top: 16px; }
.techs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 32px; }
.tech { padding: 20px 22px; border-radius: 14px; background: var(--mist); }
.tech b { display: block; font-family: var(--display); font-size: 1.25rem; font-weight: 500; margin-bottom: 6px; }
.tech p { font-size: .94rem; color: var(--ink2); line-height: 1.5; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.stat b { display: block; font-family: var(--display); font-size: clamp(2rem, 3vw, 2.7rem); font-weight: 500; letter-spacing: -.02em; line-height: 1; color: var(--red); }
.stat span { display: block; margin-top: 8px; font-size: 13.5px; color: var(--ink3); line-height: 1.4; }
@media (max-width: 1023px) { .lab { grid-template-columns: 1fr; gap: 36px; } .lab .pic { aspect-ratio: 4 / 3; } .techs { grid-template-columns: 1fr; } .stats { grid-template-columns: repeat(3, 1fr); gap: 10px; } }

/* ---------- training band ---------- */
.band { position: relative; overflow: hidden; background: var(--ink); color: #fff; border-radius: 26px; }
.band { background: #16181c; }
.band::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255, 255, 255, .2) 1.1px, transparent 1.6px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(100deg, #000 0%, rgba(0,0,0,.55) 38%, transparent 62%); mask-image: linear-gradient(100deg, #000 0%, rgba(0,0,0,.55) 38%, transparent 62%); }
.band::after { content: ""; position: absolute; left: 64px; top: 0; width: 72px; height: 4px; background: var(--red, #e4182e); border-radius: 0 0 3px 3px; }

@media (max-width: 1023px) { .band::after { left: 26px; } .band .txt { border-right: 0; } }
.band-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: stretch; }
.band .txt { padding: 72px 64px; display: flex; flex-direction: column; justify-content: center; }
.band .eyebrow { color: rgba(255, 255, 255, .7); margin-bottom: 16px; }
.band h2 { color: #fff; font-size: clamp(2rem, 3.4vw, 3rem); }
.band p { margin: 18px 0 30px; color: rgba(255, 255, 255, .78); max-width: 50ch; font-size: 1.05rem; }
.band .pic { position: relative; min-height: 440px; margin: 22px 22px 22px 0; border-radius: 16px; overflow: hidden; }
.band .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
@media (max-width: 1023px) { .band { border-radius: 20px; } .band-in { grid-template-columns: 1fr; } .band .txt { padding: 36px 26px 40px; order: 2; } .band .pic { min-height: 280px; order: 1; margin: 14px 14px 0; border-radius: 12px; } }

/* ---------- know cards ---------- */
.kcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.kcard { display: flex; flex-direction: column; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.kcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-up); border-color: transparent; }
.kcard .pic { aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist); display: flex; align-items: center; justify-content: center; }
.kcard .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.kcard .pic.prod { padding: 8%; }
.kcard .pic.prod img { width: auto; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.kcard:hover .pic img { transform: scale(1.04); }
.kcard .body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.kcard h3 { font-size: 1.3rem; }
.kcard p { color: var(--ink2); font-size: .97rem; }
.kcard .more { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; text-decoration-color: var(--line2); }
.kcard .more svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.kcard:hover .more { color: var(--red); text-decoration-color: var(--red); }
.kcard:hover .more svg { transform: translateX(3px); }
@media (max-width: 859px) { .kcards { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- buy + contacts ---------- */
.buy { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.buy a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 30px 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.buy a:hover { transform: translateY(-4px); box-shadow: var(--shadow-up); border-color: transparent; }
.buy a b { display: block; font-family: var(--display); font-size: 1.7rem; font-weight: 500; }
.buy a span.who { display: block; color: var(--ink3); font-size: .95rem; margin-top: 4px; }
.buy a .btn { justify-self: end; }
@media (max-width: 719px) { .buy { grid-template-columns: 1fr; gap: 12px; } .buy a { padding: 22px; grid-template-columns: 1fr; } .buy a .btn { justify-self: start; } }
.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.contact { padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.contact h3 { font-size: 1.3rem; margin-bottom: 14px; }
.contact b { display: block; font-size: 1.05rem; font-weight: 600; }
.contact p { color: var(--ink3); font-size: .95rem; }
.contact ul { margin-top: 14px; display: grid; gap: 6px; }
.contact a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line2); }
.contact a:hover { color: var(--red); text-decoration-color: var(--red); }
@media (max-width: 719px) { .contacts { grid-template-columns: 1fr; gap: 12px; } .contact { padding: 22px; } }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: rgba(255, 255, 255, .82); padding: 72px 0 32px; margin-top: 0; }
.foot .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.foot .brand img { width: 170px; margin-bottom: 18px; }
.foot .brand p { font-size: .95rem; color: rgba(255, 255, 255, .66); max-width: 36ch; }
.foot h3 { font-family: var(--text); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.foot ul { display: grid; gap: 9px; font-size: .95rem; }
.foot a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.foot .bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13px; color: rgba(255, 255, 255, .55); }
@media (max-width: 859px) { .foot { padding: 52px 0 28px; } .foot .cols { grid-template-columns: 1fr 1fr; gap: 32px 24px; } .foot .brand { grid-column: 1 / -1; } }

/* ---------- products page ---------- */
.shop-head { background: var(--mist); padding: 56px 0 36px; }
.shop-head .row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 32px; }
.seg { position: relative; display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.seg button { position: relative; z-index: 1; min-height: 42px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; font-weight: 600; font-size: 14.5px; color: var(--ink2); cursor: pointer; transition: color .25s; white-space: nowrap; }
.seg button[aria-pressed="true"] { color: #fff; background: var(--ink); transition: color .25s, background .2s .3s; }
.seg .ind { position: absolute; top: 5px; height: 42px; left: 0; width: 0; border-radius: 999px; background: var(--ink); transition: left .4s var(--ease), width .4s var(--ease); }
.search { position: relative; display: flex; align-items: center; flex: 1; min-width: 260px; max-width: 520px; }
.search svg { position: absolute; left: 16px; width: 18px; height: 18px; stroke: var(--ink3); fill: none; stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.search input { width: 100%; height: 54px; padding: 0 96px 0 46px; border: 1px solid var(--line2); border-radius: 999px; background: #fff; font: inherit; font-size: 15.5px; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.search input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(21, 23, 26, .08); }
.search input::placeholder { color: var(--ink3); }
.search button { position: absolute; right: 8px; height: 38px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--mist); font-weight: 600; font-size: 13px; cursor: pointer; transition: background .2s, color .2s; }
.search button:hover { background: var(--ink); color: #fff; }
.pick { display: none; position: relative; align-items: center; gap: 10px; }
.pick select { appearance: none; -webkit-appearance: none; height: 50px; padding: 0 44px 0 16px; border: 1px solid var(--line2); border-radius: 999px; background: #fff; font: inherit; font-size: 15px; color: var(--ink); width: 100%; }
.pick svg { position: absolute; right: 16px; width: 18px; height: 18px; stroke: var(--ink3); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.pick-l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.shop { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px; padding: 44px var(--gutter) 96px; align-items: start; }
.side { position: sticky; top: calc(var(--nav-h) + 20px); }
.side-h { font-family: var(--text); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink3); margin-bottom: 12px; }
.side h3 { font-family: var(--text); font-size: 13.5px; font-weight: 600; color: var(--ink); margin: 20px 0 8px; }
.side ul { display: grid; gap: 2px; }
.side li button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border: 0; border-radius: 10px; background: transparent; text-align: left; font-size: 14.5px; color: var(--ink2); cursor: pointer; transition: background .2s, color .2s; }
.side li button:hover { background: var(--mist); color: var(--ink); }
.side li button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.side li button small { font-size: 12px; opacity: .7; }
.series-desc { display: grid; grid-template-columns: 140px 1fr; gap: 28px; align-items: center; padding: 24px; margin-bottom: 28px; background: var(--mist); border-radius: var(--r); }
.series-desc .pic { aspect-ratio: 1; border-radius: 14px; display: flex; align-items: center; justify-content: center; padding: 12px; }
.series-desc .pic img { width: auto; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.series-desc .tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink3); margin-bottom: 8px; }
.series-desc h2 { font-size: 1.8rem; margin-bottom: 8px; }
.series-desc p { color: var(--ink2); font-size: .98rem; max-width: 70ch; }
.count { font-size: 14px; color: var(--ink3); margin-bottom: 18px; }
.empty { padding: 48px 24px; text-align: center; color: var(--ink3); background: var(--mist); border-radius: var(--r); }
@media (max-width: 1023px) {
  .shop { grid-template-columns: 1fr; gap: 0; padding-top: 24px; }
  .side { display: none; }
  .pick { display: flex; flex: 1; min-width: 200px; }
  .shop-head { padding: 36px 0 24px; }
  .shop-head .row { margin-top: 20px; gap: 12px; }
  .search { max-width: none; min-width: 100%; }
  .seg { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .seg::-webkit-scrollbar { display: none; }
  .seg button { padding: 0 13px; font-size: 13.5px; }
  .series-desc { grid-template-columns: 90px 1fr; gap: 16px; padding: 16px; }
  .series-desc h2 { font-size: 1.4rem; }
}

/* ---------- product preview (dialog + page) ---------- */
.pv { border: 0; padding: 0; max-width: min(1180px, calc(100vw - 32px)); width: 100%; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); border-radius: 24px; background: #fff; overflow: hidden; box-shadow: 0 40px 90px -30px rgba(21, 23, 26, .5); }
.pv::backdrop { background: rgba(21, 23, 26, .55); backdrop-filter: blur(6px); }
.pv[open] { animation: pvIn .5s var(--ease); }
@keyframes pvIn { from { opacity: 0; transform: translateY(20px) scale(.985); } }
.pv-wrap { position: relative; display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); }
.pv-close { position: absolute; z-index: 5; top: 16px; right: 16px; background: rgba(255, 255, 255, .9); }
.pv-in { display: contents; }
.pv-pic { position: sticky; top: 0; align-self: start; height: calc(100vh - 32px); height: calc(100dvh - 32px); display: flex; align-items: center; justify-content: center; padding: 48px; overflow: hidden; }
.pv-pic::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 35%, rgba(255, 255, 255, .6), rgba(255, 255, 255, 0) 62%); pointer-events: none; }
.pv-pic img { position: relative; z-index: 1; width: auto; max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; filter: drop-shadow(0 30px 30px rgba(21, 23, 26, .12)); }
.pv-pic .badges { position: absolute; z-index: 2; top: 20px; left: 20px; }
.pv-body { padding: 48px 52px 40px; overflow: auto; display: grid; gap: 26px; align-content: start; }
.pv-series { display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink3); text-decoration: none; margin-bottom: 12px; }
.pv-series:hover { color: var(--red); }
.pv-body h1, .pv-body h2 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); }
.pv-sub { margin-top: 8px; font-size: 1.1rem; color: var(--ink2); }
.pv-facts { display: flex; flex-wrap: wrap; gap: 10px; }
.pv-facts > div { display: inline-flex; align-items: baseline; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--mist); font-size: 14px; font-weight: 600; }
.pv-facts > div span { font-weight: 500; color: var(--ink3); }
.pv-desc { color: var(--ink2); line-height: 1.65; }
.pv-h { font-family: var(--text); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink3); margin-bottom: 12px; }
.ing { display: grid; gap: 10px; }
.ing li { display: grid; gap: 2px; padding: 12px 16px; border-radius: 12px; background: var(--mist); }
.ing li b { font-weight: 600; font-size: 15px; }
.ing li span { font-size: 14px; color: var(--ink3); }
.use { display: grid; gap: 10px; }
.use li { position: relative; padding-left: 24px; font-size: 15.5px; color: var(--ink2); }
.use li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.pv-skin { font-size: 15px; color: var(--ink2); }
.pv-note { font-size: 14px; color: var(--ink2); margin-bottom: 12px; padding: 12px 16px; border-radius: 12px; background: var(--red-soft); }
.pv-buy { display: flex; gap: 10px; flex-wrap: wrap; }
.pv-tools { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 6px; }
.pv-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; padding-top: 24px; border-top: 1px solid var(--line); }
.toast { position: fixed; z-index: 200; left: 50%; bottom: 28px; transform: translateX(-50%); padding: 12px 20px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; box-shadow: var(--shadow-up); animation: toastIn .3s var(--ease); }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 10px); } }
@media (max-width: 859px) {
  .pv { max-width: 100vw; max-height: 100vh; max-height: 100dvh; border-radius: 0; }
  .pv-wrap { grid-template-columns: 1fr; max-height: 100vh; max-height: 100dvh; overflow: auto; }
  .pv-pic { position: relative; height: auto; min-height: 46vh; padding: 56px 28px 28px; }
  .pv-pic img { max-height: 40vh; }
  .pv-body { padding: 28px 22px 32px; overflow: visible; gap: 22px; }
  .pv-nav { flex-direction: column; }
}
/* page variant */
.pp .pv-wrap { max-height: none; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.pp .pv-pic { position: sticky; top: calc(var(--nav-h) + 16px); height: auto; min-height: 560px; align-self: start; }
.pp .pv-pic img { max-height: 520px; }
.pp .pv-body { overflow: visible; }
.crumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--ink3); margin-bottom: 24px; }
.crumb a { color: var(--ink3); text-decoration: none; }
.crumb a:hover { color: var(--red); }
.related { margin-top: 72px; }
.related h2 { margin-bottom: 24px; }
@media (max-width: 859px) { .pp .pv-wrap { border-radius: 18px; } .pp .pv-pic { position: relative; top: 0; min-height: 0; padding: 48px 24px 24px; } .pp .pv-pic img { max-height: 320px; } .related { margin-top: 48px; } }

/* ---------- training page ---------- */
.tr-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 56px 0 64px; }
.tr-hero .pic { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: var(--shadow-up); }
.tr-hero .pic img { width: 100%; height: 100%; object-fit: cover; }
.tr-hero .lead { margin-top: 18px; }
.tr-hero .cta { margin-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; }
.two { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.two .pic { border-radius: var(--r); overflow: hidden; }
.study { margin-top: 18px; padding: 16px 20px; border-left: 3px solid var(--red); background: #fff; border-radius: 0 12px 12px 0; font-size: .95rem; color: var(--ink2); }
.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }
.step3 { padding: 26px; background: #fff; border-radius: var(--r); border: 1px solid var(--line); }
.step3 h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step3 p { font-size: .95rem; color: var(--ink2); }
.programs { display: grid; gap: 28px; }
.program { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: start; padding: 36px; background: var(--mist); border-radius: 24px; }
.program .pic { border-radius: var(--r); overflow: hidden; background: #fff; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.program .pic img { width: 100%; height: 100%; object-fit: cover; }
.program .tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.program h3 { font-size: 1.9rem; margin-bottom: 12px; }
.program > div > p { color: var(--ink2); }
.flow { margin-top: 22px; display: grid; gap: 8px; }
.flow li { display: grid; grid-template-columns: 180px 1fr; gap: 14px; padding: 12px 16px; background: #fff; border-radius: 12px; font-size: 15px; }
.flow li b { font-weight: 600; }
.flow li span { color: var(--ink2); }
.flow a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line2); }
.flow a:hover { color: var(--red); text-decoration-color: var(--red); }
.sep { color: var(--ink3); }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.tbox { padding: 18px 20px; background: #fff; border-radius: 12px; font-size: 14.5px; }
.tbox h4 { font-family: var(--text); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink3); margin-bottom: 10px; }
.tbox ul { display: grid; gap: 6px; }
.tbox li { position: relative; padding-left: 16px; color: var(--ink2); }
.tbox li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.tbox.warn li::before { background: var(--red); }
.tbox p { margin-top: 10px; color: var(--ink2); }
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.protocols { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 900px; }
.protocols th, .protocols td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.protocols th { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink3); background: var(--mist); }
.protocols td:first-child { font-weight: 600; }
.protocols td small { display: block; font-weight: 500; color: var(--red); font-size: 12.5px; }
.protocols tr:last-child td { border-bottom: 0; }
.safety { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.safety li { padding: 18px 20px 18px 44px; position: relative; background: var(--mist); border-radius: 14px; font-size: 15px; color: var(--ink2); }
.safety li::before { content: ""; position: absolute; left: 18px; top: 22px; width: 12px; height: 12px; border-radius: 50%; background: var(--red); }
.regulation { margin-top: 24px; font-size: 14px; color: var(--ink3); max-width: 90ch; }
.form-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 36px; background: #fff; border-radius: 24px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.form label small { font-weight: 400; color: var(--ink3); }
.form input, .form select, .form textarea { width: 100%; padding: 13px 16px; border: 1px solid var(--line2); border-radius: 12px; background: #fff; font: inherit; font-size: 15.5px; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.form textarea { min-height: 110px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(21, 23, 26, .08); }
.form .note { grid-column: 1 / -1; font-size: 13.5px; color: var(--ink3); }
.thanks { padding: 36px; background: #fff; border-radius: 24px; border: 1px solid var(--line); display: grid; gap: 12px; justify-items: start; }
.thanks h3 { font-size: 1.6rem; }
.thanks p { color: var(--ink2); }
@media (max-width: 719px) { .sec-head { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 32px; } .sec { padding: 72px 0; } }
@media (max-width: 1023px) {
  .tr-hero { grid-template-columns: 1fr; gap: 28px; padding: 36px 0 44px; }
  .tr-hero .pic { aspect-ratio: 16 / 10; }
  .two { grid-template-columns: 1fr; gap: 24px; }
  .steps3 { grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }
  .program { grid-template-columns: 1fr; gap: 20px; padding: 20px; border-radius: 18px; }
  .flow li { grid-template-columns: 1fr; gap: 2px; }
  .cols2 { grid-template-columns: 1fr; }
  .safety { grid-template-columns: 1fr; }
  .form-wrap { grid-template-columns: 1fr; gap: 24px; }
  .form { grid-template-columns: 1fr; padding: 22px; border-radius: 18px; }
}

/* ---------- know page ---------- */
.know { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; align-items: start; }
.toc { position: sticky; top: calc(var(--nav-h) + 20px); display: grid; gap: 2px; }
.toc a { display: block; padding: 9px 12px; border-radius: 10px; font-size: 14.5px; color: var(--ink2); text-decoration: none; transition: background .2s, color .2s; }
.toc a:hover { background: #fff; color: var(--ink); }
.toc a.on { background: var(--ink); color: #fff; }
.articles { display: grid; gap: 22px; }
.article { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 36px; padding: 32px; background: #fff; border-radius: 24px; border: 1px solid var(--line); scroll-margin-top: calc(var(--nav-h) + 20px); }
.article .pic { border-radius: var(--r); overflow: hidden; background: var(--mist); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; padding: 10%; }
.article .pic.cover { padding: 0; }
.article .pic img { width: auto; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.article .pic.cover img { width: 100%; object-fit: cover; mix-blend-mode: normal; }
.article h2 { font-size: 1.9rem; margin-bottom: 10px; }
.article .lead { font-size: 1.08rem; margin-bottom: 16px; }
.article .body { display: grid; gap: 12px; color: var(--ink2); font-size: 15.5px; max-width: 70ch; }
@media (max-width: 1023px) {
  .know { grid-template-columns: 1fr; gap: 20px; }
  .toc { position: static; display: flex; gap: 6px; overflow: auto; padding-bottom: 6px; scrollbar-width: none; }
  .toc a { white-space: nowrap; background: #fff; border: 1px solid var(--line); }
  .article { grid-template-columns: 1fr; gap: 18px; padding: 18px; border-radius: 18px; }
  .article .pic { aspect-ratio: 16 / 9; }
  .article h2 { font-size: 1.5rem; }
}

/* Series panel: products across the full panel width, text underneath */
@media (min-width: 1024px) {
  .sp-view { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; align-items: stretch; gap: 8px; }
  .sp-view .sp-pics { grid-row: 1; min-height: 0; height: 100%; padding: 8px 4% 30px; gap: clamp(18px, 5%, 44px); }
  .sp-view .sp-txt { grid-row: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; align-items: end; }
  .sp-view .sp-txt > :not(.btn) { grid-column: 1; }
  .sp-view .sp-txt .btn { grid-column: 2; grid-row: 1 / span 9; align-self: end; margin-top: 0; }
  .sp-view .sp-pics .pp1 { height: 92%; max-width: 44%; }
  .sp-view .sp-pics .pp2, .sp-view .sp-pics .pp3 { height: 66%; max-width: 26%; }
  .sp-view .sp-pics .pp1.wide { max-width: 60%; }
  .sp-view .sp-pics .wide:not(.pp1) { max-width: 30%; }
  .sp-view .sp-pics.n2 .pp1.wide { max-width: 66%; }
  .sp-view .sp-pics.n1 .pp1 { height: 94%; max-width: 80%; }
}
