/* Safety Standard Kazakhstan — цвета логотипа: navy #012A43, cyan #29BFCE, grey #EAEAEA */
:root {
  --navy-950: #00182A;
  --navy-900: #011F35;
  --navy: #012A43;
  --navy-700: #0A3A5A;
  --navy-600: #184C6E;
  --cyan: #29BFCE;
  --cyan-400: #4FCCD8;
  --cyan-600: #1BA5B4;
  --cyan-ink: #0B6F7B;          /* текст-акцент на светлом фоне (5.9:1) */
  --cyan-50: #E8F7F9;
  --plane: #EAEAEA;

  --ink: #0E2233;
  --ink-2: #445566;
  --ink-3: #5D6D7B;
  --line: #DCE4EA;
  --line-2: #E9EEF2;
  --mist: #F3F6F8;
  --white: #FFFFFF;

  --font-display: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(1, 42, 67, .06), 0 1px 1px rgba(1, 42, 67, .04);
  --shadow: 0 2px 4px rgba(1, 42, 67, .04), 0 14px 32px -10px rgba(1, 42, 67, .16);
  --shadow-lg: 0 4px 10px rgba(1, 42, 67, .06), 0 30px 60px -18px rgba(1, 42, 67, .32);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur: 220ms;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 68px;
  --section-y: clamp(72px, 9vw, 128px);

  --z-header: 50;
  --z-drawer: 60;
  --z-lightbox: 100;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
html.i18n-pending body { visibility: hidden; }
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0; letter-spacing: -.015em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--cyan); color: var(--navy); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: var(--radius-sm);
  font-weight: 600; transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 12px; }

.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--navy); --btn-fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-display); font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  border: 1.5px solid transparent;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform 160ms var(--ease), box-shadow var(--dur) var(--ease);
  touch-action: manipulation; white-space: nowrap;
}
.btn .i { width: 18px; height: 18px; transition: transform var(--dur) var(--ease); }
.btn:hover .i-arrow { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn-primary { --btn-bg: var(--navy); --btn-fg: var(--white); }
.btn-primary:hover { --btn-bg: var(--navy-700); }
.btn-light { --btn-bg: var(--white); --btn-fg: var(--navy); }
.btn-light:hover { --btn-bg: var(--cyan-50); }
.btn-dark:hover { --btn-bg: var(--navy-700); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--white); border-color: rgba(255, 255, 255, .45); }
.btn-ghost:hover { --btn-bg: rgba(255, 255, 255, .1); border-color: var(--white); }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--navy); }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: .88rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  height: var(--header-h);
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-2);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }

.brand { display: flex; align-items: center; flex: none; position: relative; height: 46px; }
.brand img { height: 46px; width: auto; }

.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px;
  font-weight: 500; font-size: .94rem; color: var(--ink-2); white-space: nowrap;
  text-decoration: underline 2px transparent; text-underline-offset: 8px;
  transition: color var(--dur) var(--ease), text-decoration-color var(--dur) var(--ease);
}
.nav-link:hover { color: var(--navy); }
.nav-link.is-active { color: var(--navy); text-decoration-color: var(--cyan); }

.header-actions { display: flex; align-items: center; gap: 12px; flex: none; }

.lang { display: inline-flex; align-items: center; gap: 2px; }
.header-actions .lang { padding-left: 16px; border-left: 1px solid var(--line); }
.lang button {
  min-width: 40px; min-height: 44px; padding: 6px 6px;
  font-weight: 500; font-size: .84rem; letter-spacing: .04em; color: var(--ink-3);
  text-decoration: underline 2px transparent; text-underline-offset: 8px;
  transition: color var(--dur) var(--ease), text-decoration-color var(--dur) var(--ease);
}
.lang button:hover { color: var(--navy); }
.lang button[aria-pressed="true"] { color: var(--navy); font-weight: 600; text-decoration-color: var(--cyan); }

.burger {
  display: none; width: 44px; height: 44px; border-radius: 10px; align-items: center; justify-content: center;
  color: var(--navy);
}
.burger:hover { background: var(--mist); }
.burger .i { width: 22px; height: 22px; }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: var(--z-drawer);
  background: var(--navy-900); color: var(--white);
  display: flex; flex-direction: column;
  padding: 10px var(--gutter) calc(28px + env(safe-area-inset-bottom));
  overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 260ms var(--ease), transform 320ms var(--ease-out), visibility 0s linear 320ms;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 260ms var(--ease), transform 320ms var(--ease-out); }
.drawer-top { display: flex; align-items: center; justify-content: space-between; min-height: calc(var(--header-h) - 10px); }
.drawer-top img { height: 46px; width: auto; }
.drawer-close { width: 48px; height: 48px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; color: var(--white); }
.drawer-close:hover { background: rgba(255, 255, 255, .08); }
.drawer nav { margin-top: 20px; }
.drawer nav a {
  display: flex; align-items: center; justify-content: space-between; padding: 18px 0;
  font-weight: 500; font-size: 1.25rem; border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.drawer nav a .i { color: var(--cyan); }
.drawer .lang { margin-top: 28px; align-self: flex-start; gap: 8px; }
.drawer .lang button { color: rgba(255, 255, 255, .65); font-size: 1rem; min-width: 48px; }
.drawer .lang button:hover { color: var(--white); }
.drawer .lang button[aria-pressed="true"] { color: var(--white); text-decoration-color: var(--cyan); }

/* ---------- section heads ---------- */
.section { padding-block: var(--section-y); }
.section-mist { background: var(--mist); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cyan-ink);
}
.h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.3rem); font-weight: 700; color: var(--navy); margin-top: 14px; text-wrap: balance; }
.lead { margin-top: 18px; font-size: clamp(1.03rem, .98rem + .3vw, 1.18rem); color: var(--ink-2); max-width: 62ch; text-wrap: pretty; }
.section-head { max-width: 760px; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; color: var(--white); background: var(--navy-900); overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(1, 31, 53, .94) 0%, rgba(1, 31, 53, .86) 48%, rgba(1, 31, 53, .6) 100%); }
.hero-content { padding-block: clamp(64px, 8vw, 112px) clamp(44px, 5vw, 64px); }
.hero-content > * { max-width: 760px; }
.hero .eyebrow { color: var(--cyan); }
.hero h1 { margin-top: 16px; font-size: clamp(1.9rem, 1.4rem + 2vw, 3rem); font-weight: 700; line-height: 1.16; letter-spacing: -.015em; text-wrap: balance; }
.hero-lead { margin-top: 18px; font-size: clamp(1.02rem, .98rem + .25vw, 1.12rem); color: rgba(255, 255, 255, .8); max-width: 62ch; text-wrap: pretty; }
.hero-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats { border-top: 1px solid rgba(255, 255, 255, .12); background: rgba(0, 24, 42, .45); }
.hero-stats ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-stats li { padding: 20px 20px 22px 0; }
.hero-stats li + li { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .1); }
.stat-value { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); line-height: 1.2; color: var(--white); }
.stat-label { margin-top: 4px; font-size: .88rem; color: rgba(255, 255, 255, .68); }

/* ---------- intro ---------- */
.intro-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.intro-text { margin-top: 24px; }
.intro-text p + p { margin-top: 16px; }
.intro-text p { color: var(--ink-2); font-size: 1.08rem; }
.intro-text p:first-child { color: var(--ink); font-size: clamp(1.2rem, 1.05rem + .6vw, 1.45rem); line-height: 1.5; font-weight: 500; }
.cat-tiles { display: grid; gap: 12px; }
.cat-tile {
  display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 18px;
  padding: 18px 20px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.cat-tile:hover { border-color: var(--navy-600); }
.cat-icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--cyan-50); color: var(--cyan-ink); }
.cat-icon .i { width: 26px; height: 26px; }
.cat-tile strong { display: block; font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: 1.04rem; line-height: 1.3; }
.cat-tile span { font-size: .9rem; color: var(--ink-3); }
.cat-tile .i-arrow { color: var(--navy); transition: transform var(--dur) var(--ease); }
.cat-tile:hover .i-arrow { transform: translateX(4px); color: var(--cyan-ink); }

/* ---------- browse (fluids explainer) ---------- */
.browse { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.browse-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3.4; margin: 0; }
.browse-media img { width: 100%; height: 100%; object-fit: cover; }
.browse-media figcaption { position: absolute; left: 16px; bottom: 16px; right: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; font-size: .75rem; letter-spacing: .04em;
  background: var(--cyan-50); color: var(--cyan-ink);
}
.chip-dark { background: rgba(1, 31, 53, .78); color: var(--white); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.chip-line { background: transparent; border: 1px solid var(--line); color: var(--ink-2); }
.browse-text p { color: var(--ink-2); }
.browse-text p + p { margin-top: 14px; }
.browse-text .h2 { margin-bottom: 20px; }
.type-cards { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.type-card { padding: 20px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.type-card .tag { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: var(--navy); line-height: 1; }
.type-card .tag small { font-size: .7rem; letter-spacing: .14em; color: var(--cyan-ink); display: block; margin-bottom: 8px; text-transform: uppercase; }
.type-card h3 { margin-top: 12px; font-size: 1rem; font-weight: 700; color: var(--navy); }
.type-card p { margin-top: 6px; font-size: .93rem; color: var(--ink-2); line-height: 1.55; }

/* ---------- catalog ---------- */
.filters { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white);
  font-family: var(--font-display); font-weight: 700; font-size: .9rem; color: var(--navy); text-align: left;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.filter:hover { border-color: var(--navy); }
.filter .count { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; display: inline-grid; place-items: center; font-size: .75rem; background: var(--mist); color: var(--ink-2); font-variant-numeric: tabular-nums; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.filter[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.filter[aria-pressed="true"] .count { background: var(--cyan); color: var(--navy); }
.catalog-meta { margin-top: 20px; font-size: .92rem; color: var(--ink-3); }

.grid { margin-top: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--white); border: 1px solid var(--line);
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease), border-color 300ms var(--ease);
}
.card:hover { box-shadow: var(--shadow); border-color: #C9D5DE; }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.card:hover .card-media img { transform: scale(1.02); }
.card-media .chip-dark { position: absolute; left: 14px; top: 14px; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 20px; }
.card-cat { font-family: var(--font-display); font-weight: 700; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan-ink); }
.card h3 { margin-top: 8px; font-size: 1.22rem; font-weight: 700; color: var(--navy); letter-spacing: -.01em; }
.card h3 a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.card h3 a:focus-visible { outline: none; }
.card:has(h3 a:focus-visible) { outline: 3px solid var(--cyan); outline-offset: 3px; }
.card p { margin-top: 8px; font-size: .95rem; color: var(--ink-2); line-height: 1.55; }
.card-tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.card-foot { margin-top: auto; padding-top: 20px; display: flex; align-items: center; justify-content: space-between; font-family: var(--font-display); font-weight: 700; font-size: .9rem; color: var(--navy); }
.card-foot .arrow { width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; background: var(--mist); transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.card:hover .card-foot .arrow { background: var(--navy); color: var(--white); }
.card:hover .card-foot .arrow .i { transform: translateX(2px); }
.card-foot .arrow .i { width: 18px; height: 18px; transition: transform var(--dur) var(--ease); }
.card.is-entering { animation: card-in 420ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 40ms); }
@keyframes card-in { from { opacity: 0; transform: translateY(14px); } }

/* ---------- delivery ---------- */
.delivery-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.dlv {
  position: relative; padding: 24px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 18px; overflow: hidden;
}
.dlv-icon { height: 72px; color: var(--navy); }
.dlv-icon svg { height: 100%; width: auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dlv-icon .accent { stroke: var(--cyan-600); }
.dlv h3 { font-size: 1.02rem; font-weight: 700; color: var(--navy); }
.dlv-vol { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); color: var(--navy); line-height: 1; font-variant-numeric: tabular-nums; }
.dlv-vol small { font-size: .55em; font-weight: 700; margin-left: 4px; color: var(--ink-2); }
.dlv-gal { margin-top: 6px; font-size: .88rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.dlv-bar { height: 4px; border-radius: 4px; background: var(--line-2); overflow: hidden; margin-top: auto; }
.dlv-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--navy-600)); border-radius: inherit; transform-origin: left; transform: scaleX(var(--w, 0)); transition: transform 1.1s var(--ease-out) .15s; }
.reveal:not(.is-visible) .dlv-bar span { transform: scaleX(0); }
.note { margin-top: 20px; font-size: .9rem; color: var(--ink-3); }

/* ---------- standards ---------- */
.std-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.std { padding: 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.std-code { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--navy); }
.std-code span { display: block; font-size: .7rem; letter-spacing: .14em; color: var(--cyan-ink); margin-bottom: 6px; }
.std p { margin-top: 8px; font-size: .95rem; color: var(--ink-2); line-height: 1.55; }

/* ---------- credentials ---------- */
.creds { display: grid; gap: 12px; }
.creds li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; padding: 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.cred-ic { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--cyan-50); color: var(--cyan-ink); }
.cred-ic .i { width: 24px; height: 24px; }
.creds h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); padding-top: 2px; }
.creds p { margin-top: 4px; color: var(--ink-2); font-size: .97rem; line-height: 1.55; }
.cred-no { margin-top: 10px; display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: .85rem; color: var(--navy); }
.lab-badge {
  margin-top: 20px; display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px;
  background: var(--mist); color: var(--navy); font-weight: 500; font-size: .92rem; line-height: 1.35;
  transition: background-color var(--dur) var(--ease);
}
.lab-badge:hover { background: var(--line-2); }
.lab-badge .i { color: var(--cyan-ink); }

/* ---------- contact ---------- */
.contact { background: var(--mist); }
.contact-list { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; max-width: 900px; }
.contact-item {
  display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center;
  padding: 16px 18px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
a.contact-item:hover { border-color: var(--cyan); box-shadow: var(--shadow); }
.contact-item .ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: var(--cyan); }
.contact-item small { display: block; font-size: .8rem; color: var(--ink-3); font-weight: 500; }
.contact-item strong { display: block; font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: 1rem; overflow-wrap: anywhere; }
.contact-item.is-empty strong { color: var(--ink-3); font-weight: 500; font-style: italic; font-family: var(--font-body); }


/* ---------- footer ---------- */
.footer { background: var(--navy-950); color: rgba(255, 255, 255, .72); padding-top: 72px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer-brand img { height: 60px; width: auto; }
.footer-brand p { margin-top: 18px; max-width: 34ch; }
.footer-title { font-family: var(--font-display); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); font-weight: 700; margin-bottom: 16px; }
.footer li + li { margin-top: 6px; }
.footer a { display: inline-flex; align-items: center; min-height: 32px; transition: color var(--dur) var(--ease); }
.footer a:hover { color: var(--white); }
.footer .soon { color: rgba(255, 255, 255, .55); font-style: italic; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 22px calc(22px + env(safe-area-inset-bottom)); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: rgba(255, 255, 255, .55); }

/* ---------- product page ---------- */
.crumbs { padding-top: 28px; font-size: .9rem; color: var(--ink-3); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: '/'; color: #B5C2CC; }
.crumbs a { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.crumbs a:hover { color: var(--navy); text-decoration-color: currentColor; }
.crumbs [aria-current] { color: var(--navy); font-weight: 600; }

.pd { padding-block: 28px var(--section-y); }
.pd-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 4.5vw, 72px); align-items: start; }
.gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.gallery-main {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; background: var(--mist);
  cursor: zoom-in; box-shadow: var(--shadow);
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity 240ms var(--ease); }
.gallery-main img.is-fading { opacity: 0; }
.gallery-main .zoom { position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; background: rgba(1, 31, 53, .7); color: var(--white); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.gallery-main .counter { position: absolute; left: 14px; bottom: 14px; }
.thumbs { margin-top: 12px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.thumb { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; border: 2px solid transparent; transition: border-color var(--dur) var(--ease), opacity var(--dur) var(--ease); opacity: .72; }
.thumb:hover { opacity: 1; }
.thumb[aria-current="true"] { border-color: var(--cyan); opacity: 1; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }

.pd-info h1 { margin-top: 10px; font-size: clamp(1.8rem, 1.35rem + 1.8vw, 2.6rem); font-weight: 700; color: var(--navy); letter-spacing: -.02em; text-wrap: balance; }
.pd-tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.pd-desc { margin-top: 20px; color: var(--ink-2); font-size: 1.07rem; text-wrap: pretty; }
.pd-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.specs { margin-top: 36px; border-top: 1px solid var(--line); }
.specs h2 { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan-ink); font-weight: 700; padding-top: 22px; }
.specs dl { margin: 10px 0 0; }
.specs .row { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.specs dt { color: var(--ink-3); font-size: .93rem; }
.specs dd { margin: 0; color: var(--ink); font-weight: 500; }

.docs { margin-top: 36px; display: grid; gap: 10px; max-width: 860px; }
.doc {
  display: grid; grid-template-columns: 48px 1fr auto; gap: 16px; align-items: center; padding: 16px 18px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--white);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.doc:hover { border-color: var(--cyan); box-shadow: var(--shadow); }
.doc .ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--cyan-50); color: var(--cyan-ink); }
.doc strong { display: block; font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: .98rem; }
.doc small { color: var(--ink-3); font-size: .82rem; }
.doc .dl { color: var(--navy); }
.empty-docs { margin-top: 36px; max-width: 860px; padding: 22px; border-radius: var(--radius); border: 1px dashed #C3CFD8; color: var(--ink-2); display: flex; align-items: center; gap: 14px; }
.empty-docs .i { color: var(--cyan-ink); }

.not-found { text-align: center; padding-block: 120px; }
.not-found h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); color: var(--navy); font-weight: 800; }
.not-found p { margin: 14px auto 28px; color: var(--ink-2); max-width: 46ch; }

/* ---------- lightbox ---------- */
.lightbox { padding: 0; border: 0; margin: 0; max-width: none; max-height: none; width: 100vw; height: 100dvh; background: rgba(0, 16, 28, .96); color: var(--white); }
.lightbox::backdrop { background: rgba(0, 16, 28, .6); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; animation: lb-in 220ms var(--ease) both; }
@keyframes lb-in { from { opacity: 0; } }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 14px var(--gutter); }
.lb-count { font-family: var(--font-display); font-weight: 700; font-size: .9rem; color: rgba(255, 255, 255, .75); }
.lb-btn { width: 48px; height: 48px; border-radius: 999px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: var(--white); transition: background-color var(--dur) var(--ease); }
.lb-btn:hover { background: rgba(255, 255, 255, .2); }
.lb-stage { position: relative; display: grid; place-items: center; padding: 0 clamp(8px, 7vw, 96px); min-height: 0; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: clamp(8px, 2vw, 24px); }
.lb-next { right: clamp(8px, 2vw, 24px); }
.lb-caption { padding: 14px var(--gutter) calc(18px + env(safe-area-inset-bottom)); text-align: center; color: rgba(255, 255, 255, .78); font-size: .95rem; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(10px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); transition-delay: calc(var(--d, 0) * 60ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .header-inner { gap: 16px; }
  .nav-link { padding-inline: 8px; font-size: .9rem; }
}
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .delivery-grid, .std-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1020px) {
  :root { --header-h: 60px; }
  .nav, .header-actions .lang { display: none; }
  .burger { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .brand, .brand img { height: 40px; }
  .intro-grid, .browse, .pd-grid { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .hero-stats ul { grid-template-columns: repeat(2, 1fr); }
  .hero-stats li:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-stats li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .grid, .delivery-grid, .std-grid, .type-cards { grid-template-columns: 1fr; }
  .dlv { display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: 6px 16px; padding: 20px; }
  .dlv-icon { height: 52px; grid-row: span 2; }
  .dlv-bar { grid-column: 1 / -1; margin-top: 10px; }
  .hero-media img { object-position: 70% 50%; }
  .hero::before { background: rgba(1, 31, 53, .86); }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-stats li { padding: 16px 12px 18px 0; }
  .hero-stats li + li { padding-left: 14px; }
  .hero-stats li:nth-child(3) { padding-left: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .thumbs { grid-template-columns: repeat(4, 1fr); }
  .specs .row { grid-template-columns: 1fr; gap: 2px; }
  .cat-tile { grid-template-columns: 48px 1fr auto; gap: 14px; padding: 14px 16px; }
  .cat-icon { width: 48px; height: 48px; }
  .doc { grid-template-columns: 44px 1fr auto; gap: 12px; padding: 14px; }
  .lb-nav { top: auto; bottom: 8px; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
