/* =========================================================
   СТИЛ ФОРС — style.css
   Concept: the site is a bar-bending schedule (арматурна ведомост) printed
   on white steel-grid paper. Sections are positions (Поз. 01, 02…), corners
   are sheared like cut bar, the hexagon comes from the logo, red marks what
   to press. 3D ribbed bars are the hero material. White by default, with a
   graphite-black theme on the switch.
   ========================================================= */

:root {
  /* palette — light (default) */
  --bg: #FFFFFF;
  --bg-2: #F2F3F5;
  --bg-3: #E6E8EC;
  --ink: #0E1013;
  --ink-2: #2A2E35;
  --muted: #59606C;
  --faint: #8A909A;
  --line: rgba(14, 16, 19, .11);
  --line-2: rgba(14, 16, 19, .24);
  --red: #A51E22;
  --red-hi: #C3272C;
  --red-ink: #A51E22;
  --on-red: #FFFFFF;
  --logo: #0A2A4D;
  --card: #FFFFFF;
  --head-bg: rgba(255, 255, 255, .86);
  --shadow: 0 24px 60px -28px rgba(14, 16, 19, .38);
  --paper: #FAFBFC;
  --grid: rgba(14, 16, 19, .055);
  --bar: #2A2E35;
  --rib: #6B7280;
  --map-bg: #E9ECF0; --map-blk: #DCE0E6; --map-green: #D6E2D8; --map-road: #FFFFFF; --map-txt: #7B828C;
  --stroke-txt: rgba(14, 16, 19, .9);

  /* "inverse" bands: story, footer, B2B panel — graphite in both themes */
  --inv-bg: #0E1013;
  --inv-bg-2: #171A1F;
  --inv-ink: #F3F4F6;
  --inv-muted: rgba(243, 244, 246, .66);
  --inv-faint: rgba(243, 244, 246, .42);
  --inv-line: rgba(255, 255, 255, .11);

  --viber: #7360F2;
  --wa: #25D366;
  --wa-ink: #0B3D22;

  /* type */
  --f-display: "Fira Sans Extra Condensed", "Roboto Condensed", "Arial Narrow", sans-serif;
  --f-body: "Golos Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --t-hero: clamp(2.5rem, min(5.4vw, 9vh), 5.8rem);
  --t-h2: clamp(2.2rem, 5vw, 4.9rem);
  --t-h3: clamp(1.35rem, 1.9vw, 1.8rem);
  --t-lead: clamp(1.04rem, 1.2vw, 1.18rem);
  --t-small: .875rem;
  --t-micro: .74rem;

  /* layout */
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --sec-y: clamp(76px, 9.5vw, 150px);
  --cut: 14px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --bar-h: 0px;
  --head-h: 76px;

  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0B0C0E;
  --bg-2: #121418;
  --bg-3: #1A1D22;
  --ink: #EEF0F2;
  --ink-2: #C9CDD3;
  --muted: #A0A7B2;
  --faint: #6F7682;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .2);
  --red: #B8232A;
  --red-hi: #D52E34;
  --red-ink: #F0484D;
  --logo: #FFFFFF;
  --card: #121418;
  --head-bg: rgba(11, 12, 14, .82);
  --shadow: 0 24px 60px -28px rgba(0, 0, 0, .8);
  --paper: #0F1114;
  --grid: rgba(255, 255, 255, .045);
  --bar: #C9CFD8;
  --rib: #7E8794;
  --map-bg: #15181C; --map-blk: #1D2126; --map-green: #18241C; --map-road: #2A2F36; --map-txt: #7A818C;
  --stroke-txt: rgba(238, 240, 242, .9);
  --inv-bg: #16181C;
  --inv-bg-2: #1E2126;
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: 1rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  padding-bottom: var(--bar-h);
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 70; background: var(--bg); }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, table { margin: 0; padding: 0; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--red-hi); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sr:focus { position: fixed; left: 16px; top: 16px; width: auto; height: auto; clip: auto; z-index: 99; background: var(--ink); color: var(--bg); padding: 8px 12px; }
::selection { background: var(--red); color: #fff; }

.wrap {
  width: 100%; max-width: var(--max); margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* section tones */
.t-light { background: var(--bg); color: var(--ink); --fg: var(--ink); --sub: var(--muted); --dim: var(--faint); --ln: var(--line); --surf: var(--bg-2); }
.t-mist { background: var(--bg-2); color: var(--ink); --fg: var(--ink); --sub: var(--muted); --dim: var(--faint); --ln: var(--line); --surf: var(--card); }
.t-inv { background: var(--inv-bg); color: var(--inv-ink); --fg: var(--inv-ink); --sub: var(--inv-muted); --dim: var(--inv-faint); --ln: var(--inv-line); --surf: var(--inv-bg-2); --stroke-txt: rgba(243,244,246,.9); }
.t-red { background: var(--red); color: #fff; --fg: #fff; --sub: rgba(255,255,255,.86); --dim: rgba(255,255,255,.64); --ln: rgba(255,255,255,.22); --stroke-txt: rgba(255,255,255,.95); }

.sec { position: relative; padding-block: var(--sec-y); overflow: clip; }
.sec--tight { padding-block: clamp(56px, 7vw, 100px); }

/* steel-grid paper */
.grid-bg { position: relative; isolation: isolate; }
.grid-bg::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at 70% 40%, #000 30%, transparent 75%);
}

/* ---------- type ---------- */
.h1, .h2, .h3 { font-family: var(--f-display); text-wrap: balance; }
.h2 { font-weight: 700; font-size: var(--t-h2); line-height: .93; letter-spacing: -.008em; text-transform: uppercase; color: var(--fg); }
.mute { color: var(--faint); }
.t-inv .mute { color: rgba(243,244,246,.38); }
.t-red .mute { color: rgba(255,255,255,.6); }
.out { color: transparent; -webkit-text-stroke: 1.5px var(--stroke-txt); }
.h3 { font-weight: 600; font-size: var(--t-h3); line-height: 1.06; text-transform: uppercase; letter-spacing: .005em; color: var(--fg); }
.lead { font-size: var(--t-lead); line-height: 1.6; color: var(--sub, var(--muted)); max-width: 60ch; }
.small { font-size: var(--t-small); color: var(--dim, var(--faint)); }
.mono { font-family: var(--f-mono); letter-spacing: .02em; }
.num { font-variant-numeric: tabular-nums; }

.tag { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: var(--t-micro); letter-spacing: .12em; text-transform: uppercase; color: var(--dim, var(--faint)); margin-bottom: 22px; }
.tag__code { color: var(--red-ink); font-weight: 600; }
.t-inv .tag__code { color: #FF6267; }
.t-red .tag__code { color: #fff; }
.tag__hex { width: 12px; height: 14px; flex: none; }
.tag__hex path { fill: none; stroke: currentColor; stroke-width: 2; }
.tag::after { content: ""; width: 48px; height: 1px; background: currentColor; opacity: .5; }

.sec-head { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px 56px; align-items: end; margin-bottom: clamp(40px, 5vw, 76px); }
.sec-head .lead { justify-self: end; }
.sec-head[data-n]::after { /* giant outlined position number */
  content: attr(data-n); position: absolute; right: -.04em; top: -.42em; z-index: 0; pointer-events: none;
  font-family: var(--f-display); font-weight: 800; font-size: clamp(6rem, 15vw, 15rem); line-height: 1; letter-spacing: -.03em;
  color: transparent; -webkit-text-stroke: 1px var(--ln, var(--line)); opacity: .9;
}
.sec-head > * { position: relative; z-index: 1; min-width: 0; }

/* ---------- buttons ---------- */
.btn {
  --h: 54px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 24px;
  font-family: var(--f-display); font-weight: 600; font-size: 1.06rem; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
  transition: background .25s var(--ease), color .25s var(--ease), transform .2s var(--ease), box-shadow .25s var(--ease);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn--red { background: var(--red); color: var(--on-red); }
.btn--red:hover { background: var(--red-hi); }
.btn--ink { background: var(--ink); color: var(--bg); }
.btn--ink:hover { background: var(--ink-2); }
.btn--white { background: #fff; color: #0E1013; }
.btn--white:hover { background: #E6E8EC; }
.btn--black { background: #0E1013; color: #fff; }
.btn--black:hover { background: #262A31; }
.btn--viber { background: var(--viber); color: #fff; }
.btn--viber:hover { background: #5F4CE0; }
.btn--wa { background: var(--wa); color: var(--wa-ink); }
.btn--wa:hover { background: #1FBE5B; }
.btn--ghost { background: transparent; color: var(--fg, var(--ink)); box-shadow: inset 0 0 0 1.5px var(--ln, var(--line-2)); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--fg, var(--ink)); }
.btn--sm { --h: 42px; --cut: 10px; padding: 0 16px; font-size: .95rem; }
.btn--lg { --h: 62px; padding: 0 30px; font-size: 1.15rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.hint { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: var(--t-small); color: var(--dim, var(--faint)); }
.hint svg { width: 16px; height: 16px; flex: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; font-size: 1rem; color: var(--red-ink); }
.t-inv .link-arrow, .panel--ink .link-arrow { color: var(--inv-ink); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* =========================================================
   TOP STRIP + HEADER
   ========================================================= */
.strip { background: #08090B; color: #F3F4F6; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .04em; }
.strip a, .strip span { color: inherit; }
.strip__in { display: flex; justify-content: space-between; gap: 16px; min-height: 36px; align-items: center; opacity: .86; }
.strip__l, .strip__r { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.strip i { display: inline-block; width: 6px; height: 6px; background: #3FD07A; border-radius: 50%; margin-right: 8px; box-shadow: 0 0 0 3px rgba(63,208,122,.2); }
.strip i.is-off { background: var(--faint); box-shadow: none; }

.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 60; background: var(--head-bg); color: var(--ink); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); transition: box-shadow .3s var(--ease), background .4s var(--ease); }
.header.is-scrolled { box-shadow: 0 12px 30px -24px rgba(0,0,0,.5); }
.header__in { display: flex; align-items: center; gap: 26px; min-height: var(--head-h); }
.logo { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.logo__mark { width: 40px; height: 46px; flex: none; color: var(--logo); }
.logo__txt { display: flex; flex-direction: column; line-height: 1; }
.logo__word { font-family: var(--f-display); font-weight: 800; font-size: 1.6rem; letter-spacing: .03em; text-transform: uppercase; color: var(--ink); }
.logo__sub { margin-top: 5px; font-family: var(--f-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.footer .logo__mark, .footer .logo__word { color: #fff; }
.footer .logo__sub { color: rgba(255,255,255,.5); }

.nav { display: flex; gap: 2px; margin-left: auto; }
.nav__item { position: relative; }
.nav a.nav__a { display: inline-flex; align-items: center; gap: 6px; min-height: var(--head-h); padding: 0 12px; font-family: var(--f-display); font-weight: 500; font-size: 1.06rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); position: relative; }
.nav .nav__a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 20px; height: 2px; background: var(--red-hi); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav .nav__a:hover, .nav .nav__a.is-active { color: var(--ink); }
.nav .nav__a:hover::after, .nav .nav__a.is-active::after { transform: scaleX(1); }
.nav__a svg { width: 12px; height: 12px; opacity: .7; }
.nav__drop { position: absolute; top: 100%; left: 0; min-width: 320px; padding: 10px; background: var(--card); color: var(--ink); box-shadow: var(--shadow); border: 1px solid var(--line); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%); opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .22s var(--ease); }
.nav__item:hover .nav__drop, .nav__item:focus-within .nav__drop { opacity: 1; visibility: visible; transform: none; }
.nav__drop a { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; padding: 8px 10px; }
.nav__drop a:hover { background: var(--bg-2); }
.nav__drop b { font-family: var(--f-display); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; color: var(--ink); font-size: 1.05rem; display: block; line-height: 1.1; }
.nav__drop small { color: var(--faint); font-size: .8rem; }
.nav__drop img { width: 64px; height: 44px; object-fit: contain; }

.header__r { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; border: 1px solid var(--line-2); }
.lang a { min-width: 38px; height: 34px; display: grid; place-items: center; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .06em; color: var(--muted); }
.lang a:hover { color: var(--ink); }
.lang a.is-on { background: var(--ink); color: var(--bg); }
.theme { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--ink); position: relative; overflow: hidden; flex: none; }
.theme:hover { border-color: var(--ink); }
.theme svg { width: 18px; height: 18px; grid-area: 1 / 1; transition: transform .5s var(--ease), opacity .3s; }
.theme .i-sun { opacity: 0; transform: rotate(-90deg) scale(.6); }
:root[data-theme="dark"] .theme .i-moon { opacity: 0; transform: rotate(90deg) scale(.6); }
:root[data-theme="dark"] .theme .i-sun { opacity: 1; transform: none; }
.theme-row { display: flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: .78rem; color: var(--muted); }
.header__tel { font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; letter-spacing: .03em; white-space: nowrap; display: inline-flex; gap: 8px; align-items: center; }
.header__tel svg { width: 18px; height: 18px; color: var(--red-ink); }
.burger { display: none; width: 46px; height: 46px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); transition: transform .3s var(--ease); }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 27px; right: 19px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-5px) rotate(-45deg); right: 11px; }

.mmenu { position: fixed; inset: 0; z-index: 55; background: var(--bg); color: var(--ink); padding-top: calc(env(safe-area-inset-top, 0px) + 68px); overflow-y: auto; }
.mmenu__in { padding-block: 24px 120px; display: flex; flex-direction: column; gap: 4px; }
.mmenu a.mm { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: 2.1rem; line-height: 1.1; padding: 8px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; }
.mmenu a.mm small { font-family: var(--f-mono); font-size: .7rem; color: var(--faint); letter-spacing: .1em; }
.mmenu a.mm--sub { font-size: 1.3rem; padding-left: 18px; color: var(--muted); font-weight: 600; }
.mmenu__foot { margin-top: 28px; display: grid; gap: 14px; }
.mmenu__foot .lang { width: max-content; }
.mmenu__foot p { font-family: var(--f-mono); font-size: .8rem; color: var(--muted); }

/* =========================================================
   HOME HERO — 3D bars on steel-grid paper
   ========================================================= */
.hero { position: relative; overflow: hidden; background: var(--bg); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -3; pointer-events: none; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 48px 48px; background-position: -1px -1px; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 72%, transparent) 28%, transparent 52%); }
.hero__3d { position: absolute; z-index: -2; top: 0; right: -4vw; bottom: 0; width: min(74vw, 1200px); }
.hero__3d canvas { width: 100%; height: 100%; }
.hero__3d .fallback { position: absolute; inset: 14% 0 18% 8%; width: 92%; height: 68%; object-fit: contain; }
.hero__3d.is-3d .fallback { display: none; }
.hero__side { position: absolute; left: 0; top: 50%; width: max(var(--gutter), env(safe-area-inset-left, 0px)); display: flex; justify-content: center; pointer-events: none; }
.hero__side span { transform: rotate(-90deg); font-family: var(--f-mono); font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--faint); white-space: nowrap; }
.hero__in { position: relative; padding-block: clamp(48px, 7vw, 104px) clamp(28px, 4vw, 52px); display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 40px; align-items: end; min-height: min(80vh, 780px); }
.hero__in > * { min-width: 0; }
.hero__badge { display: inline-flex; gap: 10px; align-items: center; font-family: var(--f-mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.hero__badge b { background: var(--red); color: #fff; padding: 4px 8px; font-weight: 600; letter-spacing: .08em; }
.h1 { font-weight: 800; font-size: var(--t-hero); line-height: .86; letter-spacing: -.012em; text-transform: uppercase; max-width: 14ch; color: var(--ink); }
.h1 .ln { display: block; overflow: hidden; padding-bottom: .03em; }
.h1 .ln > span { display: inline-block; }
.h1 .out { -webkit-text-stroke-width: 2px; }
.h1 .red { color: var(--red-ink); }
.hero__sub { margin-top: 28px; font-size: clamp(1.1rem, 1.5vw, 1.4rem); color: var(--muted); max-width: 42ch; }
.hero__sub b { color: var(--ink); font-weight: 600; }
.hero__ctas { margin-top: 34px; }

.hero__spec { align-self: end; background: var(--card); color: var(--ink); padding: 20px 22px 18px; border: 1px solid var(--line); clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); box-shadow: var(--shadow); font-family: var(--f-mono); font-size: .76rem; position: relative; transform: rotate(-2deg); }
.hero__spec::before { content: ""; position: absolute; top: 14px; right: 30px; width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line-2); }
.hero__spec h4 { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .14em; color: var(--faint); font-weight: 500; text-transform: uppercase; margin-bottom: 12px; }
.hero__spec dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; }
.hero__spec dt { color: var(--faint); }
.hero__spec dd { font-weight: 600; text-align: right; }
.hero__spec .barcode { margin-top: 14px; height: 26px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 12px); }
.hero__spec .cls { display: flex; gap: 6px; margin-top: 14px; }
.hero__spec .cls span { flex: 1; text-align: center; padding: 5px 0; background: var(--ink); color: var(--bg); font-weight: 600; }
.hero__spec .cls span + span { background: var(--red); color: #fff; }

.hero__facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); background: color-mix(in srgb, var(--bg) 80%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero__facts li { padding: 20px 20px 24px 0; display: flex; flex-direction: column; gap: 2px; }
.hero__facts li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.hero__facts b { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.4rem, 2.2vw, 2.1rem); line-height: 1; letter-spacing: .01em; }
.hero__facts span { font-size: .86rem; color: var(--muted); }
.hero__drag { position: absolute; right: max(var(--gutter), env(safe-area-inset-right, 0px)); top: 26px; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); display: flex; gap: 8px; align-items: center; }
.hero__drag i { width: 8px; height: 8px; border: 1.5px solid var(--red-ink); transform: rotate(45deg); }

/* inner-page hero: split, white */
.phero { position: relative; background: var(--bg); overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); }
.phero__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding-block: clamp(40px, 6vw, 88px); }
.phero__in > * { min-width: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 26px; }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-current] { color: var(--ink); }
.phero .h1 { font-size: clamp(2.7rem, 6.4vw, 6.4rem); max-width: 14ch; }
.phero .hero__sub { max-width: 52ch; }
.phero__vis { position: relative; aspect-ratio: 5 / 4; max-width: 100%; }
.phero__vis > img.ph { width: 100%; height: 100%; object-fit: cover; clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 40px 100%, 0 calc(100% - 40px)); }
.phero__vis > img.rd { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 30px rgba(0,0,0,.2)); }
.phero__vis[data-3d] canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.phero__vis[data-3d] .fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.phero__vis.is-3d .fallback { display: none; }
.vis__lbl { position: absolute; left: 0; bottom: 0; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); display: flex; gap: 10px; align-items: center; }
.vis__lbl b { color: var(--ink); font-weight: 600; }
.phero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 12px; border: 1px solid var(--line-2); font-family: var(--f-mono); font-size: .74rem; letter-spacing: .06em; color: var(--ink-2); text-transform: uppercase; }
.chip i { width: 6px; height: 6px; background: var(--red-hi); }

/* =========================================================
   TICKERS
   ========================================================= */
.ticker { background: var(--red); color: #fff; overflow: hidden; }
.ticker__track { display: flex; width: max-content; animation: tick 46s linear infinite; }
.ticker__track span { display: inline-flex; align-items: center; gap: 22px; padding: 14px 0 14px 22px; font-family: var(--f-display); font-weight: 600; font-size: 1.3rem; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.ticker__track span::after { content: ""; width: 9px; height: 10px; background: currentColor; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); opacity: .55; }
@keyframes tick { to { transform: translateX(-50%); } }

.bigline { padding-block: clamp(30px, 5vw, 70px); overflow: hidden; border-block: 1px solid var(--line); background: var(--bg); }
.bigline__track { display: flex; width: max-content; will-change: transform; }
.bigline__track span { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(4rem, 12vw, 11rem); line-height: .9; letter-spacing: -.01em; white-space: nowrap; padding-right: .35em; display: inline-flex; align-items: center; gap: .35em; color: var(--ink); }
.bigline__track span:nth-child(odd) { color: transparent; -webkit-text-stroke: 1.5px var(--stroke-txt); }
.bigline__track span::after { content: ""; width: .32em; height: .36em; background: var(--red); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }

/* =========================================================
   DIRECTIONS — render cards
   ========================================================= */
.dirs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dir { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 22px 22px 26px; background: var(--card); border: 1px solid var(--line); transition: border-color .3s var(--ease), transform .4s var(--ease); }
.dir:hover { border-color: var(--line-2); transform: translateY(-4px); }
.dir__top { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .1em; color: var(--faint); text-transform: uppercase; }
.dir__top b { color: var(--red-ink); font-weight: 600; }
.dir__vis { position: relative; aspect-ratio: 4 / 3; max-width: 100%; overflow: hidden; background: var(--bg-2); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 24px 24px; clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 26px 100%, 0 calc(100% - 26px)); }
.dir__vis .rd { position: absolute; inset: 8% 6% 14%; width: 88%; height: 78%; object-fit: contain; transition: transform .8s var(--ease); filter: drop-shadow(0 22px 18px rgba(0,0,0,.2)); }
.dir:hover .dir__vis .rd { transform: scale(1.06) rotate(-2deg); }
.dir__vis .ph { position: absolute; right: 12px; bottom: 12px; width: 28%; aspect-ratio: 1; object-fit: cover; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); transition: transform .6s var(--ease); }
.dir:hover .dir__vis .ph { transform: scale(1.12); }
.dir .h3 { font-size: clamp(1.6rem, 2.3vw, 2.2rem); }
.dir p { color: var(--muted); }
.dir .link-arrow { margin-top: auto; }
.dir__link::after { content: ""; position: absolute; inset: 0; }

.mini { display: block; }
.mini path, .mini polyline, .mini circle { fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }

/* =========================================================
   STORY — pinned: drawing → cut → bend (graphite band)
   ========================================================= */
.story__in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.story__in > * { min-width: 0; }
.story__steps { display: grid; gap: 6px; }
.step { position: relative; padding: 22px 0 22px 64px; border-top: 1px solid var(--inv-line); transition: opacity .4s var(--ease); }
.step:last-child { border-bottom: 1px solid var(--inv-line); }
.step__n { position: absolute; left: 0; top: 22px; width: 42px; height: 48px; display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; }
.step__n svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.step__n svg path { fill: none; stroke: rgba(255,255,255,.3); stroke-width: 1.5; transition: all .4s var(--ease); }
.step.is-on .step__n svg path { fill: var(--red); stroke: var(--red); }
.step__n span { position: relative; }
.step h3 { font-family: var(--f-display); font-weight: 600; text-transform: uppercase; font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1.05; }
.step p { margin-top: 8px; color: var(--inv-muted); max-width: 46ch; }
.js-pin .step:not(.is-on) { opacity: .36; }

.sheet { position: relative; background: var(--inv-bg-2); aspect-ratio: 4 / 3.1; max-width: 100%; cursor: pointer; clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 30px 100%, 0 calc(100% - 30px)); background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 80px 80px, 80px 80px, 16px 16px, 16px 16px; }
.sheet svg.bend { position: absolute; inset: 0; width: 100%; height: 100%; }
.sheet__stamp { position: absolute; right: 0; bottom: 0; display: grid; grid-template-columns: auto auto; border-top: 1px solid var(--inv-line); border-left: 1px solid var(--inv-line); font-family: var(--f-mono); font-size: .7rem; background: rgba(0,0,0,.35); }
.sheet__stamp span { padding: 7px 12px; border-right: 1px solid var(--inv-line); border-bottom: 1px solid var(--inv-line); color: var(--inv-faint); white-space: nowrap; }
.sheet__stamp b { font-weight: 600; color: #fff; }
.sheet__stage { position: absolute; left: 22px; top: 18px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--inv-muted); display: flex; gap: 10px; align-items: center; }
.sheet__stage b { background: var(--red); color: #fff; padding: 3px 7px; font-weight: 600; }
.sheet__readout { position: absolute; left: 22px; bottom: 18px; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.3rem, 2.4vw, 2.2rem); letter-spacing: .02em; line-height: 1; }
.sheet__readout small { display: block; font-family: var(--f-mono); font-weight: 400; font-size: .7rem; color: var(--inv-faint); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.story__prog { height: 2px; background: var(--inv-line); margin-top: 18px; }
.story__prog i { display: block; height: 100%; width: 0; background: var(--red-hi); }
.story.js-pin { padding-block: 32px; min-height: calc(100vh - var(--head-h)); display: flex; align-items: center; }
.story.js-pin .story__in { width: 100%; }
.story.js-pin .sheet, .story.js-pin .story__prog { width: 100%; max-width: min(100%, calc((100vh - 190px) * 4 / 3.1)); margin-left: auto; }
.story.js-pin .sheet { cursor: default; }
.story.js-pin .h2 { font-size: clamp(2rem, 3.8vw, 3.8rem); }

/* 2D bar drawing (story sheet is always dark; .on-light drawings follow the theme) */
.bar-core { fill: none; stroke: #C9CFD8; stroke-linecap: round; stroke-linejoin: round; }
.bar-rib { fill: none; stroke: #7E8794; stroke-linecap: butt; stroke-linejoin: round; }
.dim { stroke: #FF6267; stroke-width: 1.2; fill: none; }
.dim-t { fill: #FF8A8D; font-family: var(--f-mono); font-size: 13px; letter-spacing: .04em; }
.cutmark { stroke: #FF6267; stroke-width: 2; }
.on-light .bar-core { stroke: var(--bar); }
.on-light .bar-rib { stroke: var(--rib); }
.on-light .dim { stroke: var(--red-ink); }
.on-light .dim-t { fill: var(--red-ink); }
.sheet .dim-t { font-size: 24px; }
.sheet .dim { stroke-width: 2; }
.drawing .dim-t { font-size: 19px; font-weight: 500; }

/* =========================================================
   WHOLESALE / RETAIL
   ========================================================= */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.split > * { min-width: 0; }
.panel { position: relative; padding: clamp(28px, 3.6vw, 52px); display: flex; flex-direction: column; gap: 20px; min-height: 100%; overflow: hidden; isolation: isolate; clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 0 100%); }
.panel--ink { background: var(--inv-bg); color: var(--inv-ink); --fg: var(--inv-ink); --sub: var(--inv-muted); --ln: var(--inv-line); }
.panel--mist { background: var(--bg-2); --fg: var(--ink); --sub: var(--muted); --ln: var(--line); }
.panel__k { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); display: flex; justify-content: space-between; }
.panel--ink .panel__k { color: var(--inv-faint); }
.panel h3 { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: clamp(2rem, 3.6vw, 3.3rem); line-height: .96; color: var(--fg); max-width: 14ch; }
.panel p { color: var(--sub); max-width: 46ch; font-size: 1.05rem; }
.panel__rd { position: absolute; right: -6%; bottom: 64px; width: 50%; opacity: .9; z-index: -1; pointer-events: none; filter: drop-shadow(0 20px 20px rgba(0,0,0,.35)); }
.ticks { display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; color: var(--fg, var(--ink)); }
.ticks li::before { content: ""; width: 12px; height: 12px; margin-top: 7px; background: var(--red-hi); clip-path: polygon(0 0, 100% 0, 100% 60%, 60% 100%, 0 100%); }
.panel__foot { position: relative; z-index: 1; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--ln); display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; }
.panel__big { position: absolute; right: -10px; bottom: -30px; z-index: -1; font-family: var(--f-display); font-weight: 800; font-size: clamp(8rem, 16vw, 15rem); line-height: .8; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1px var(--ln); text-transform: uppercase; pointer-events: none; }

/* =========================================================
   CONFIGURATOR
   ========================================================= */
.conf { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.conf > * { min-width: 0; }
.conf__ctrl { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); }
.field { display: grid; gap: 10px; }
.field > .lbl { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); display: flex; justify-content: space-between; }
.field > .lbl output { color: var(--ink); font-weight: 600; }
.seg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.seg--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.seg button { min-height: 74px; padding: 10px 6px 8px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-family: var(--f-display); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; font-size: .92rem; color: var(--ink); transition: all .2s var(--ease); }
.seg--2 button { min-height: 48px; font-size: 1.05rem; }
.seg button .mini { width: 30px; height: 30px; color: var(--faint); }
.seg button:hover { border-color: var(--ink); }
.seg button.is-on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.seg button.is-on .mini { color: var(--red-hi); }
.diams { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.diams button { min-height: 42px; background: var(--card); border: 1px solid var(--line); font-family: var(--f-mono); font-size: .86rem; color: var(--ink); font-variant-numeric: tabular-nums; transition: all .2s var(--ease); }
.diams button:hover { border-color: var(--ink); }
.diams button.is-on { background: var(--red); border-color: var(--red); color: #fff; }
.nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.inp { display: grid; gap: 6px; }
.inp span { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.inp input, .form input, .form textarea { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid var(--line-2); background: var(--card); color: var(--ink); font-family: var(--f-mono); font-size: 1rem; border-radius: 0; font-variant-numeric: tabular-nums; }
.inp input:focus, .form input:focus, .form textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--line); }
.inp.is-hidden { visibility: hidden; }

.drawing { position: relative; background: var(--paper); border: 1px solid var(--line); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 24px 24px; }
.drawing__fig { position: relative; aspect-ratio: 16 / 10; max-width: 100%; }
.drawing__fig > svg, .drawing__fig > .v3d { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .35s var(--ease); }
.drawing__fig > .v3d canvas { width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.drawing__fig > .v3d canvas:active { cursor: grabbing; }
.drawing[data-view="3d"] .drawing__fig > svg { opacity: 0; pointer-events: none; }
.drawing[data-view="2d"] .drawing__fig > .v3d { opacity: 0; pointer-events: none; }
.drawing.no3d .drawing__fig > svg { opacity: 1; }
.drawing.no3d .vtabs { display: none; }
.drawing__bar { position: absolute; left: 14px; right: 14px; top: 12px; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.drawing__corner { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.vtabs { display: flex; border: 1px solid var(--line-2); background: var(--card); }
.vtabs button { min-height: 32px; padding: 0 12px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.vtabs button.is-on { background: var(--ink); color: var(--bg); }
.drawing__hint { position: absolute; left: 14px; bottom: 10px; z-index: 2; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); pointer-events: none; }
.drawing[data-view="2d"] .drawing__hint, .drawing.no3d .drawing__hint { display: none; }
.stamp { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); background: var(--card); }
.stamp > div { padding: 12px 14px; border-right: 1px solid var(--line); display: grid; gap: 2px; min-width: 0; }
.stamp > div:last-child { border-right: 0; }
.stamp span { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.stamp b { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.2rem, 2vw, 1.7rem); color: var(--ink); line-height: 1.05; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stamp .is-red b { color: var(--red-ink); }
.conf__send { display: grid; gap: 10px; padding: 18px; background: var(--inv-bg); color: var(--inv-ink); grid-template-columns: minmax(0, 1fr); }
.conf__send p { font-size: .9rem; color: var(--inv-muted); }
.conf__send b { color: var(--inv-ink); }
.conf__send .btn-row .btn { flex: 1 1 180px; }
.conf__msg { font-family: var(--f-mono); font-size: .78rem; line-height: 1.5; color: var(--inv-ink); background: rgba(255,255,255,.06); padding: 10px 12px; white-space: pre-wrap; word-break: break-word; }
.copy-btn { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--inv-muted); text-decoration: underline; text-underline-offset: 3px; justify-self: start; }
.copy-btn:hover { color: var(--inv-ink); }

/* =========================================================
   ADVANTAGES
   ========================================================= */
.adv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ln, var(--line)); border-left: 1px solid var(--ln, var(--line)); }
.adv li { padding: clamp(24px, 3vw, 40px); border-right: 1px solid var(--ln, var(--line)); border-bottom: 1px solid var(--ln, var(--line)); display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start; transition: background .3s var(--ease); }
.adv li:hover { background: var(--surf, var(--bg-2)); }
.adv__ico { width: 56px; height: 64px; position: relative; display: grid; place-items: center; color: var(--red-ink); transition: color .3s; }
.adv__ico > svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; }
.adv__ico > svg:first-child path { fill: none; stroke: var(--line-2); stroke-width: 1.5; transition: fill .3s, stroke .3s; }
.adv li:hover .adv__ico > svg:first-child path { fill: var(--red); stroke: var(--red); }
.adv li:hover .adv__ico { color: #fff; }
.adv__ico .ico { width: 26px; height: 26px; position: relative; }
.ico { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.adv h3 { font-family: var(--f-display); font-weight: 600; text-transform: uppercase; font-size: 1.45rem; line-height: 1.05; color: var(--fg, var(--ink)); }
.adv p { margin-top: 6px; color: var(--sub, var(--muted)); font-size: .98rem; }
.t-inv .adv__ico > svg:first-child path { stroke: var(--inv-line); }

/* =========================================================
   3D SHOWCASE
   ========================================================= */
.show { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.show__it { position: relative; grid-column: span 4; background: var(--bg-2); min-height: 300px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 20px; border: 1px solid var(--line); }
.show__it--w { grid-column: span 8; }
.show__it > img { position: absolute; inset: 14% 6% 18%; width: 88%; height: 68%; object-fit: contain; filter: drop-shadow(0 26px 22px rgba(0,0,0,.22)); transition: transform 1s var(--ease); }
.show__it:hover > img { transform: translateY(-6px) rotate(-1.5deg) scale(1.03); }
.show__k { position: relative; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); display: flex; justify-content: space-between; gap: 12px; }
.show__k b { color: var(--red-ink); }
.show__t { position: relative; font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1; color: var(--ink); }
.show__t small { display: block; margin-top: 6px; font-family: var(--f-body); font-weight: 400; text-transform: none; font-size: .9rem; color: var(--muted); }

/* =========================================================
   GALLERY
   ========================================================= */
.gal { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(120px, 14vw, 200px); grid-auto-flow: dense; gap: 10px; }
.gal__it { position: relative; overflow: hidden; background: var(--bg-3); grid-column: span 4; grid-row: span 2; cursor: zoom-in; padding: 0; }
.gal__it img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; filter: grayscale(.35) contrast(1.05); }
.gal__it:hover img { transform: scale(1.04); filter: none; }
.gal__cap { position: absolute; left: 0; bottom: 0; padding: 8px 12px; background: var(--ink); color: var(--bg); font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; text-align: left; }
.gal__it--w { grid-column: span 8; }
.gal__it--t { grid-row: span 3; }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(8,9,11,.95); display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.lightbox img { max-height: 84vh; width: auto; max-width: 100%; }
.lightbox p { margin-top: 12px; color: rgba(255,255,255,.7); font-family: var(--f-mono); font-size: .8rem; text-align: center; }
.lightbox__x, .lightbox__nav { position: absolute; width: 52px; height: 52px; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.08); }
.lightbox__x { top: max(16px, env(safe-area-inset-top, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); }
.lightbox__nav--p { left: max(16px, env(safe-area-inset-left, 0px)); top: 50%; }
.lightbox__nav--n { right: max(16px, env(safe-area-inset-right, 0px)); top: 50%; }
.lightbox svg { width: 22px; height: 22px; }

/* =========================================================
   SEND-A-DRAWING BLOCK
   ========================================================= */
.send { position: relative; overflow: hidden; isolation: isolate; }
.send__pat { position: absolute; inset: 0; z-index: -2; opacity: .12; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0l28 16v32L28 64 0 48V16zM28 64v33M0 48l-28 16M56 48l28 16' fill='none' stroke='%23fff' stroke-width='1'/%3E%3C/svg%3E"); background-size: 56px 97px; -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 80%); mask-image: linear-gradient(90deg, transparent 20%, #000 80%); }
.send__rd { position: absolute; z-index: -1; right: -6%; bottom: -14%; width: min(50vw, 700px); opacity: .32; mix-blend-mode: multiply; pointer-events: none; transform: rotate(-8deg); }
.send__in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.send__in > * { min-width: 0; }
.send .h2 { font-size: clamp(2.1rem, 4.4vw, 4.2rem); max-width: 20ch; }
.send p.lead { color: rgba(255,255,255,.9); margin-top: 22px; }
.send__btns { display: grid; gap: 10px; }
.send__btns .btn { width: 100%; justify-content: flex-start; }
.send .hint { color: rgba(255,255,255,.8); }
.send__phone { margin-top: 6px; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: .02em; }
.send__phone small { display: block; font-family: var(--f-mono); font-weight: 400; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; opacity: .72; }

/* =========================================================
   CONTACTS + MAP
   ========================================================= */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: clamp(28px, 4vw, 64px); align-items: stretch; }
.contact > * { min-width: 0; }
.cinfo { display: grid; align-content: start; border-top: 1px solid var(--line); }
.cinfo > div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.cinfo dt { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.cinfo .v { color: var(--ink); font-size: 1.08rem; min-width: 0; overflow-wrap: anywhere; }
.cinfo .v a:hover { color: var(--red-ink); }
.cinfo .v b { font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; letter-spacing: .02em; }
.cinfo .v small { display: block; color: var(--faint); font-size: .86rem; }
.map { position: relative; min-height: 420px; background: var(--map-bg); overflow: hidden; clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 0 100%); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }
:root[data-theme="dark"] .map iframe { filter: grayscale(.6) invert(.9) hue-rotate(180deg) contrast(.9); }
.map__art { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__art .m-bg { fill: var(--map-bg); } .map__art .m-blk { fill: var(--map-blk); } .map__art .m-gr { fill: var(--map-green); }
.map__art .m-road { stroke: var(--map-road); fill: none; } .map__art .m-dash { stroke: var(--faint); fill: none; } .map__art .m-txt { fill: var(--map-txt); }
.map__card { position: absolute; left: 18px; bottom: 18px; right: 18px; max-width: 380px; background: var(--card); padding: 18px 20px; box-shadow: var(--shadow); border: 1px solid var(--line); display: grid; gap: 12px; }
.map__card b { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: 1.3rem; color: var(--ink); line-height: 1.05; }
.map__card p { font-size: .9rem; color: var(--muted); }

/* =========================================================
   PRODUCT PAGES
   ========================================================= */
.prod { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.prod > * { min-width: 0; }
.prod__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; max-width: 100%; clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px)); }
.prod__img img { width: 100%; height: 100%; object-fit: cover; }
.prod__txt { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); }
.prod__txt p { color: var(--muted); font-size: 1.06rem; max-width: 60ch; }
.prod__txt p strong { color: var(--ink); }
.props { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.props > div { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.props > div:nth-child(2n) { padding-left: 16px; border-left: 1px solid var(--line); }
.props span { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.props b { font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; color: var(--ink); line-height: 1.1; }
.price-pill { display: inline-flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--bg-2); border-left: 3px solid var(--red); font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .03em; color: var(--ink); justify-self: start; flex-wrap: wrap; row-gap: 2px; max-width: 100%; }
.price-pill small { font-family: var(--f-body); text-transform: none; letter-spacing: 0; font-weight: 400; font-size: .9rem; color: var(--faint); }

.tbl-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.tbl-wrap > * { min-width: 0; }
.tbl-scroll { overflow-x: auto; border: 1px solid var(--line); background: var(--card); }
table.dt { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 620px; }
.dt th { text-align: left; padding: 14px 16px; font-family: var(--f-mono); font-weight: 500; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); background: var(--bg-2); border-bottom: 1px solid var(--line); white-space: nowrap; }
.dt td { padding: 12px 16px; border-bottom: 1px solid var(--line); font-family: var(--f-mono); font-size: .94rem; color: var(--ink-2); white-space: nowrap; }
.dt td:first-child { font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; color: var(--ink); }
.dt tr:last-child td { border-bottom: 0; }
.dt tbody tr { transition: background .15s; }
.dt tbody tr:hover, .dt tbody tr.is-on { background: var(--bg-2); }
.dt tbody tr.is-on td:first-child { color: var(--red-ink); }
.stock { display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; color: #1E8A4C; }
:root[data-theme="dark"] .stock { color: #48CF83; }
.stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2BB563; }
.dt .ask { font-family: var(--f-display); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--red-ink); font-size: .95rem; display: inline-flex; align-items: center; gap: 6px; }
.dt .ask svg { width: 14px; height: 14px; }
.dt .ask:hover { color: var(--ink); }
.xsec { position: sticky; top: calc(var(--head-h) + 30px); background: var(--inv-bg); color: var(--inv-ink); padding: 22px; display: grid; gap: 14px; }
.xsec__k { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--inv-faint); }
.xsec__fig { aspect-ratio: 1; max-width: 100%; display: grid; place-items: center; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 20px 20px; }
.xsec__fig svg { width: 100%; height: 100%; }
.xsec dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-family: var(--f-mono); font-size: .84rem; }
.xsec dt { color: var(--inv-muted); }
.xsec dd { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.xsec__d { font-family: var(--f-display); font-weight: 800; font-size: 3rem; line-height: 1; }

.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cmp { padding: 28px; border: 1px solid var(--line); background: var(--card); display: grid; gap: 14px; align-content: start; }
.cmp--hl { border-color: var(--red); box-shadow: inset 0 3px 0 var(--red); }
.cmp h3 { font-family: var(--f-display); font-weight: 800; font-size: 2.8rem; color: var(--ink); line-height: 1; }
.cmp dl { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; }
.cmp dt { color: var(--muted); }
.cmp dd { font-family: var(--f-mono); font-weight: 600; color: var(--ink); text-align: right; }
.cmp p { color: var(--muted); font-size: .96rem; }

.pcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pcard { position: relative; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; transition: border-color .3s, transform .4s var(--ease); }
.pcard:hover { border-color: var(--line-2); transform: translateY(-4px); }
.pcard__img { aspect-ratio: 16 / 11; overflow: hidden; max-width: 100%; position: relative; background: var(--bg-2); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 24px 24px; }
.pcard__img img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; filter: drop-shadow(0 20px 18px rgba(0,0,0,.2)); transition: transform .8s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.05) rotate(-1.5deg); }
.pcard__b { padding: 22px 22px 24px; display: grid; gap: 12px; flex: 1; align-content: start; }
.pcard__k { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red-ink); }
.pcard h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.95rem; text-transform: uppercase; color: var(--ink); line-height: 1; }
.pcard p { color: var(--muted); font-size: .98rem; }
.pcard ul { display: flex; flex-wrap: wrap; gap: 6px; }
.pcard ul li { font-family: var(--f-mono); font-size: .74rem; padding: 4px 8px; background: var(--bg-2); color: var(--ink-2); }
.pcard__f { padding: 16px 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pcard a.cover::after { content: ""; position: absolute; inset: 0; }

.items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.item { background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; }
.item__fig { position: relative; aspect-ratio: 4 / 3; background: var(--paper); border-bottom: 1px solid var(--line); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 20px 20px; max-width: 100%; overflow: hidden; }
.item__fig .rd { position: absolute; inset: 12% 6% 8% 18%; width: 76%; height: 80%; object-fit: contain; filter: drop-shadow(0 18px 16px rgba(0,0,0,.2)); }
.item__sch { position: absolute; left: 12px; top: 12px; width: 34%; padding: 6px; background: var(--card); border: 1px solid var(--line); }
.item__sch svg { width: 100%; height: auto; }
.item__sch .dim-t { font-size: 22px; }
.item__b { padding: 22px; display: grid; gap: 10px; flex: 1; align-content: start; }
.item__b h3 { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: 1.75rem; color: var(--ink); line-height: 1; }
.item__b p { color: var(--muted); font-size: .98rem; }
.item__f { padding: 0 22px 22px; }

.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ln, var(--line)); }
.steps3 li { padding: 28px 28px 30px 0; display: grid; gap: 10px; align-content: start; }
.steps3 li + li { padding-left: 28px; border-left: 1px solid var(--ln, var(--line)); }
.steps3 .n { font-family: var(--f-display); font-weight: 800; font-size: 4rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--red-hi); }
.steps3 h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.6rem; text-transform: uppercase; line-height: 1.05; color: var(--fg, var(--ink)); }
.steps3 p { color: var(--sub, var(--muted)); }

.vid { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-3); max-width: 100%; }
.vid img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4); opacity: .85; }
.vid__lbl { position: absolute; left: 18px; top: 18px; display: inline-flex; gap: 10px; align-items: center; background: var(--card); color: var(--ink); padding: 8px 12px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.vid__lbl i { width: 8px; height: 8px; background: var(--red); border-radius: 50%; }

.certs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cert { display: grid; grid-template-columns: 64px 1fr auto; gap: 18px; align-items: center; padding: 20px 22px; border: 1px solid var(--line); background: var(--card); }
.cert__ico { width: 54px; height: 64px; background: var(--bg-2); display: grid; place-items: center; font-family: var(--f-mono); font-size: .72rem; font-weight: 600; color: var(--red-ink); clip-path: polygon(0 0, 70% 0, 100% 22%, 100% 100%, 0 100%); }
.cert b { font-family: var(--f-display); font-weight: 600; text-transform: uppercase; font-size: 1.25rem; color: var(--ink); display: block; line-height: 1.1; }
.cert small { color: var(--faint); font-size: .86rem; }
.cert__st { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); padding: 6px 10px; border: 1px dashed var(--line-2); white-space: nowrap; }

.about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.about-grid > * { min-width: 0; }
.about-txt { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
.about-txt p { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }
.about-txt p:first-child { font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.4; color: var(--ink); font-weight: 500; }
.about-ph { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.about-ph figure { overflow: hidden; aspect-ratio: 3 / 4; max-width: 100%; }
.about-ph figure:first-child { grid-row: span 2; aspect-ratio: auto; }
.about-ph img { width: 100%; height: 100%; object-fit: cover; }

.form { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label.f { display: grid; gap: 6px; }
.form label.f > span { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.form textarea { min-height: 120px; padding: 12px 14px; font-family: var(--f-body); resize: vertical; }
.form input.is-bad, .form textarea.is-bad { border-color: var(--red-ink); }
.drop { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; padding: 16px; border: 1.5px dashed var(--line-2); background: var(--card); cursor: pointer; transition: border-color .2s; }
.drop:hover, .drop.is-over { border-color: var(--ink); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop svg { width: 40px; height: 40px; color: var(--red-ink); }
.drop b { display: block; font-family: var(--f-display); font-weight: 600; text-transform: uppercase; color: var(--ink); font-size: 1.1rem; }
.drop small { color: var(--faint); font-size: .84rem; }
.drop.is-bad { border-color: var(--red-ink); }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: .88rem; color: var(--muted); align-items: start; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--red); }
.consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.form__msg { font-size: .92rem; color: #1E8A4C; min-height: 1.4em; }
:root[data-theme="dark"] .form__msg { color: #48CF83; }
.form__msg.is-err { color: var(--red-ink); }
.hp { position: absolute; left: -9999px; }
.form-card { background: var(--bg-2); padding: clamp(22px, 3vw, 40px); }

.prose { max-width: 72ch; display: grid; gap: 16px; }
.prose h2 { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: 1.7rem; color: var(--ink); margin-top: 18px; }
.prose p { color: var(--muted); }

/* =========================================================
   FOOTER (graphite in both themes)
   ========================================================= */
.footer { background: #08090B; color: rgba(255,255,255,.7); padding-top: clamp(56px, 7vw, 96px); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-bottom: 48px; }
.footer__tag { margin-top: 18px; max-width: 34ch; font-size: .95rem; }
.footer h4 { font-family: var(--f-mono); font-weight: 500; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.42); margin-bottom: 14px; }
.footer__col { display: grid; gap: 8px; align-content: start; font-size: .95rem; }
.footer__col a:hover { color: #fff; }
.footer__word { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(4.4rem, 17.5vw, 17.5rem); line-height: .78; letter-spacing: -.01em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.18); white-space: nowrap; user-select: none; margin-bottom: -.06em; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; color: rgba(255,255,255,.5); }
.footer__legal a:hover, .footer__legal button:hover { color: #fff; }

/* =========================================================
   FLOATING CONTACTS + MOBILE BAR + OVERLAYS
   ========================================================= */
.fab { position: fixed; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 50; display: grid; gap: 10px; opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.fab.is-on { opacity: 1; pointer-events: auto; transform: none; }
.fab a { width: 58px; height: 58px; display: grid; place-items: center; color: #fff; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); transition: transform .25s var(--ease); }
.fab a:hover { transform: scale(1.08); }
.fab svg { width: 24px; height: 24px; }
.fab .f-viber { background: var(--viber); }
.fab .f-wa { background: var(--wa); color: var(--wa-ink); }
.fab .f-tel { background: var(--red); }
.fab__tip { position: fixed; right: calc(92px + env(safe-area-inset-right, 0px)); z-index: 50; background: var(--ink); color: var(--bg); font-family: var(--f-mono); font-size: .74rem; padding: 7px 10px; pointer-events: none; white-space: nowrap; }

.mbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding-bottom: env(safe-area-inset-bottom, 0px); padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px); background: #08090B; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; }
.mbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 62px; font-family: var(--f-display); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: .9rem; color: #fff; }
.mbar svg { width: 22px; height: 22px; }
.mbar .m-tel { background: var(--red); }
.mbar .m-viber { background: var(--viber); }
.mbar .m-wa { background: var(--wa); color: var(--wa-ink); }

.modal { position: fixed; inset: 0; z-index: 95; background: rgba(8,9,11,.72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 16px; }
.modal__card { position: relative; width: min(420px, 100%); background: var(--card); color: var(--ink); padding: 30px 28px 26px; display: grid; gap: 14px; justify-items: center; text-align: center; clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%); }
.modal__card h3 { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: 1.7rem; line-height: 1.05; }
.modal__card p { color: var(--muted); font-size: .94rem; max-width: 34ch; }
.modal__qr { width: 220px; height: 220px; padding: 12px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; }
.modal__qr img, .modal__qr canvas { width: 196px !important; height: 196px !important; }
.modal__num { font-family: var(--f-display); font-weight: 700; font-size: 1.6rem; letter-spacing: .03em; user-select: all; }
.modal__x { position: absolute; top: 10px; right: 30px; width: 40px; height: 40px; display: grid; place-items: center; color: var(--faint); }
.modal__x svg { width: 20px; height: 20px; }

.cookie { position: fixed; left: calc(20px + env(safe-area-inset-left, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px) + var(--bar-h)); z-index: 52; width: min(400px, calc(100vw - 40px)); background: var(--card); color: var(--ink); padding: 18px 20px; box-shadow: var(--shadow); border: 1px solid var(--line); border-top: 3px solid var(--ink); display: grid; gap: 12px; }
.cookie p { font-size: .88rem; color: var(--muted); }
.cookie a { color: var(--ink); text-decoration: underline; }
.cookie .btn-row .btn { flex: 1; }

.toast { position: fixed; left: 50%; bottom: calc(24px + var(--bar-h) + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 96; background: var(--ink); color: var(--bg); padding: 12px 18px; font-size: .9rem; box-shadow: var(--shadow); max-width: calc(100vw - 32px); }

.js .rv { transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .rv.pre { opacity: 0; transform: translateY(24px); }

/* lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1260px) {
  .header__tel { display: none; }
  .nav a.nav__a { padding: 0 9px; font-size: 1rem; }
}
@media (max-width: 1080px) {
  :root { --head-h: 68px; }
  .nav, .header__r .lang, .header__r .header__cta { display: none; }
  .header__r { margin-left: auto; }
  .burger { display: block; }
  .hero__in { grid-template-columns: 1fr; min-height: 0; padding-top: 8px; }
  .hero__spec { display: none; }
  .hero__3d { position: relative; right: auto; width: 100%; height: min(70vw, 520px); }
  .hero::after { background: none; }
  .hero__side, .hero__drag { display: none; }
  .story__in { grid-template-columns: 1fr; }
  .conf { grid-template-columns: 1fr; }
  .tbl-wrap { grid-template-columns: 1fr; }
  .xsec { position: static; grid-template-columns: 160px 1fr; align-items: center; }
  .xsec__k { grid-column: 1 / -1; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .pcards, .items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .show__it, .show__it--w { grid-column: span 6; }
}
@media (max-width: 860px) {
  :root { --bar-h: 62px; }
  .fab { display: none; }
  .mbar { display: grid; }
  .strip__r, .strip .s-mail { display: none; }
  .sec-head { grid-template-columns: 1fr; }
  .sec-head .lead { justify-self: start; }
  .sec-head[data-n]::after { font-size: 7.5rem; top: -.5em; }
  .hero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero__facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .phero__in { grid-template-columns: 1fr; }
  .phero__vis { aspect-ratio: 16 / 11; }
  .dirs { grid-template-columns: 1fr; }
  .split, .compare, .certs, .about-grid, .prod, .contact, .send__in { grid-template-columns: 1fr; }
  .adv { grid-template-columns: 1fr 1fr; }
  .gal { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; }
  .gal__it { grid-column: span 1; grid-row: span 1; }
  .gal__it--w { grid-column: span 2; }
  .gal__it--t { grid-row: span 2; }
  .show__it, .show__it--w { grid-column: span 12; min-height: 250px; }
  .steps3 { grid-template-columns: 1fr; }
  .steps3 li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--ln, var(--line)); }
  .prod__img { aspect-ratio: 4 / 3; }
  .cookie { left: max(16px, env(safe-area-inset-left, 0px)); width: calc(100vw - 32px); }
  .send__rd { width: 86vw; opacity: .2; }
}
@media (max-width: 600px) {
  .adv { grid-template-columns: 1fr; }
  .adv li { grid-template-columns: 52px 1fr; gap: 14px; }
  .adv__ico { width: 46px; height: 52px; }
  .pcards, .items { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .cinfo > div { grid-template-columns: 1fr; gap: 4px; }
  .stamp { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stamp > div:nth-child(2) { border-right: 0; }
  .stamp > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .diams { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .seg button { min-height: 64px; font-size: .8rem; }
  .form .row2 { grid-template-columns: 1fr; }
  .xsec { grid-template-columns: 1fr; }
  .xsec__fig { max-width: 220px; }
  .cert { grid-template-columns: 50px 1fr; }
  .cert__st { grid-column: 2; justify-self: start; }
  .logo__word { font-size: 1.35rem; }
  .logo__mark { width: 34px; height: 39px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .props b { font-size: 1.25rem; }
  .map { min-height: 340px; }
  .sheet__stamp { display: none; }
  .sheet { aspect-ratio: 4 / 3.4; }
  .h1 .out { -webkit-text-stroke-width: 1.5px; }
}
@media (max-width: 420px) { .btn { white-space: normal; text-align: left; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ticker__track { animation: none; }
}

/* hero diameter scale labels */
.hero__lbls { position: absolute; inset: 0; pointer-events: none; }
.hero__lbls span { position: absolute; left: 0; top: 0; display: grid; justify-items: center; gap: 2px; font-family: var(--f-mono); transition: opacity .4s var(--ease); will-change: transform; }
.hero__lbls b { font-family: var(--f-display); font-weight: 700; font-size: clamp(.95rem, 1.2vw, 1.25rem); color: var(--ink); letter-spacing: .02em; transition: color .3s; }
.hero__lbls i { font-style: normal; font-size: .62rem; letter-spacing: .06em; color: var(--faint); opacity: 0; transition: opacity .3s; white-space: nowrap; }
.hero__lbls span.is-on b { color: var(--red-ink); }
.hero__lbls span.is-on i { opacity: 1; color: var(--red-ink); }
@media (max-width: 600px) { .hero__lbls b { font-size: .8rem; } .hero__lbls i { display: none; } .hero__lbls span:nth-child(even) { visibility: hidden; } }

/* hero: fit the first screen (strip + header + hero = 100svh) */
.h1 { line-height: .9; }
.hero__badge { margin-bottom: 18px; }
.hero__sub { margin-top: 20px; font-size: clamp(1rem, 1.25vw, 1.2rem); }
.hero__ctas { margin-top: 24px; }
.hero__facts li { padding-top: 14px; padding-bottom: 16px; }
.hero__facts b { font-size: clamp(1.2rem, 1.7vw, 1.6rem); }
@media (min-width: 1081px) {
  .hero > .wrap { min-height: calc(100svh - 36px - var(--head-h)); display: flex; flex-direction: column; justify-content: flex-end; }
  .hero__in { min-height: 0; flex: 1; padding-block: clamp(24px, 4vh, 56px) clamp(20px, 3vh, 36px); }
}
.hero__drag, .hero__spec, .hero__lbls { display: none !important; }
.hero__title .red { color: #0A2A4D; }
:root[data-theme="dark"] .hero__title .red { color: #7FA6D6; }
/* navy accents */
.ticker { background: #0A2A4D; }
.panel--ink { background: #0A2A4D; }
/* hero CTAs: one primary action, messengers as quiet secondary buttons */
.hero__ctas { gap: 10px; }
.hero__ctas .btn--red { background: #0A2A4D; color: #fff; }
.hero__ctas .btn--red:hover { background: #12396A; }
.hero__ctas .btn--viber, .hero__ctas .btn--wa { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); padding-inline: 20px; }
.hero__ctas .btn--viber:hover, .hero__ctas .btn--wa:hover { background: var(--card); }
.hero__ctas .btn--viber svg { color: var(--viber); }
.hero__ctas .btn--wa svg { color: #1FAF54; }
.hero__ctas .btn--viber, .hero__ctas .btn--wa { clip-path: none; }
/* trimmed decorations */
.vis__lbl, .bigline, .footer__word, .prod__txt > .tag { display: none !important; }
.hero__ctas + .hint { display: none; }
.hero__ctas .btn--red { order: -1; }
/* contacts page */
.btn--navy { background: #0A2A4D; color: #fff; }
.btn--navy:hover { background: #12396A; }
.kh .phero__vis img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.kh__tel { display: inline-block; margin-top: 32px; font-family: var(--f-display); font-weight: 700; font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1; letter-spacing: .01em; color: var(--ink); }
.kh__tel:hover { color: #0A2A4D; }
.kh__alt { margin-top: 12px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.kh__alt a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.kh__alt a svg { width: 18px; height: 18px; }
.kh__alt a[data-act="viber"] svg { color: var(--viber); }
.kh__alt a[data-act="wa"] svg { color: #1FAF54; }
.kh__mail { display: inline-block; margin-top: 18px; font-size: 1.1rem; color: var(--ink); border-bottom: 1px solid var(--line-2); padding-bottom: 2px; }
.kloc__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: stretch; }
.kfacts { margin: 28px 0 32px; border-top: 1px solid var(--line); }
.kfacts > div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.kfacts dt { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); padding-top: 3px; }
.kfacts dd { color: var(--ink); }
.kfacts dd small { display: block; color: var(--muted); margin-top: 2px; }
.kloc__map { min-height: 420px; }
.kloc__in .btn-row { align-items: center; gap: 22px; }
@media (max-width: 860px) {
  .kloc__in { grid-template-columns: 1fr; }
  .kfacts > div { grid-template-columns: 1fr; gap: 4px; }
  .kloc__map { min-height: 300px; }
}
/* hero v3: text + real photo, no forced full-screen height */
.hero::after { display: none; }
.hero > .wrap { min-height: 0; display: block; }
.hero__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 4vw, 64px); align-items: center; min-height: 0; padding-block: clamp(40px, 5vw, 72px) clamp(32px, 4vw, 56px); }
.hero__ph { margin: 0; position: relative; align-self: stretch; min-height: 420px; }
.hero__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 60%; clip-path: polygon(0 0, calc(100% - 36px) 0, 100% 36px, 100% 100%, 36px 100%, 0 calc(100% - 36px)); }
.hero__ph figcaption { position: absolute; left: 16px; bottom: 14px; z-index: 1; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: rgba(10, 42, 77, .82); padding: 6px 10px; }
@media (max-width: 1080px) {
  .hero__in { grid-template-columns: 1fr; padding-top: 28px; }
  .hero__ph { min-height: 0; aspect-ratio: 4 / 3; }
}
/* golden split: text 1.618 : photo 1, edges aligned (title top = photo top, buttons bottom = photo bottom) */
.hero__side { display: none; }
@media (min-width: 1081px) {
  .hero__in { grid-template-columns: minmax(0, 1.618fr) minmax(0, 1fr); align-items: stretch; gap: clamp(40px, 5vw, 80px); padding-block: clamp(48px, 6vw, 88px) clamp(40px, 5vw, 72px); }
  .hero__in > div:first-child { display: flex; flex-direction: column; justify-content: space-between; }
  .hero__in .h1 { margin-top: -.06em; }
  .hero__ph { min-height: 0; }
  .hero__ph img { object-position: 42% 55%; }
}
@media (min-width: 1081px) {
  .hero__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.618fr); }
  .hero__ph { aspect-ratio: 1.618 / 1; align-self: center; }
  .hero__in > div:first-child { align-self: stretch; }
}
/* hero v4: first screen = strip + header + hero; text and 3D share the height evenly */
.hero__in .h1 .ln { white-space: nowrap; }
.hero__in .h1 { max-width: none; font-size: clamp(2.8rem, min(6vw, 10vh), 7rem); }
.hero__in .hero__3d { position: relative; inset: auto; right: auto; z-index: 0; width: 100%; height: 100%; min-height: 340px; }
.hero__in .hero__3d canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__in .hero__3d .fallback { inset: 0; width: 100%; height: 100%; object-fit: contain; }
@media (min-width: 1081px) {
  .hero > .wrap { min-height: calc(100svh - 36px - var(--head-h)); display: flex; flex-direction: column; }
  .hero__in { flex: 1; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 4vw, 64px); padding-block: clamp(28px, 4vh, 56px); }
  .hero__in > div:first-child { display: block; align-self: center; }
  .hero__in .hero__3d { align-self: stretch; }
}
@media (max-width: 1080px) {
  .hero__in .hero__3d { height: min(72vw, 420px); min-height: 0; }
}
/* header never wraps */
.nav a.nav__a { white-space: nowrap; }
@media (max-width: 1320px) and (min-width: 1081px) {
  .nav a.nav__a { padding: 0 8px; font-size: .98rem; }
  .header__tel span { display: none; }
  .header__in { gap: 18px; }
}
/* ticker: neutral gray band */
.ticker { background: #E6E8EB; color: #1A1D22; border-block: 1px solid #D5D9DE; }
:root[data-theme="dark"] .ticker { background: #1E2126; color: #E6E8EB; border-color: #2B2F36; }
/* brand mark: raster logo replaces the inline svg on every page */
.logo__mark { width: 34px; height: 46px; background: url("../img/brand/stilforce-logo-color.png") center / contain no-repeat; }
.logo__mark use { display: none; }
.footer .logo__mark, :root[data-theme="dark"] .logo__mark { background-image: url("../img/brand/stilforce-logo-white.png"); }
@media (max-width: 600px) { .logo__mark { width: 29px; height: 39px; } }
/* breathing room under the facts row */
.hero__facts { margin-bottom: clamp(20px, 3.5vh, 44px); border-bottom: 1px solid var(--line-2); }
/* room for Cyrillic descenders (Д, Ц, Щ) inside the clipped reveal lines */
.h1 .ln { padding-bottom: .16em; margin-bottom: -.13em; }
/* smaller header logo */
.header .logo { gap: 10px; }
.header .logo__mark { width: 26px; height: 35px; }
.header .logo__word { font-size: 1.25rem; }
.header .logo__sub { margin-top: 3px; font-size: .54rem; letter-spacing: .12em; }
@media (max-width: 600px) { .header .logo__mark { width: 24px; height: 32px; } .header .logo__word { font-size: 1.15rem; } }
/* header language switch as a compact dropdown (CSS only, works on every page) */
.header .lang { position: relative; display: block; width: 58px; height: 36px; border: 1px solid var(--line-2); }
.header .lang a { min-width: 0; height: 36px; padding: 0 10px; }
.header .lang a.is-on { position: relative; display: flex; align-items: center; justify-content: space-between; height: 100%; background: transparent; color: var(--ink); }
.header .lang a.is-on::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.header .lang a:not(.is-on) { position: absolute; left: -1px; right: -1px; top: calc(100% + 1px); z-index: 70; justify-content: start; display: flex; align-items: center; background: var(--bg); border: 1px solid var(--line-2); border-top: 0; visibility: hidden; opacity: 0; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility 0s .15s; }
.header .lang a:not(.is-on) ~ a:not(.is-on) { top: calc(200% + 1px); }
.header .lang a:not(.is-on):hover { background: var(--card); color: var(--ink); }
.header .lang:hover a:not(.is-on), .header .lang:focus-within a:not(.is-on) { visibility: visible; opacity: 1; transform: none; transition: opacity .15s, transform .15s; }
.header .lang:hover a.is-on::after, .header .lang:focus-within a.is-on::after { transform: translateY(1px) rotate(225deg); }
.header .lang::before { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 6px; }
.header__r { gap: 10px; }
/* nav sits next to the logo, actions pushed right */
.header .nav { margin-left: clamp(20px, 2.6vw, 44px); }
.header .header__r { margin-left: auto; }
/* logo | menu: tight, separated by a short vertical rule */
.header .nav { position: relative; margin-left: 20px; padding-left: 10px; }
.header .nav::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 30px; margin-top: -15px; background: var(--line-2); }
.header .nav { margin-left: -4px; }
/* hero facts: each item centred in its cell */
.hero__facts li, .hero__facts li + li { align-items: center; text-align: center; padding-left: 12px; padding-right: 12px; }
/* dark theme archived: hide the switch everywhere (header and mobile menu) */
[data-theme-toggle] { display: none !important; }
.hero__facts { border-left: 1px solid var(--line-2); border-right: 1px solid var(--line-2); }
.header .logo__word { color: #0A2A4D; }
/* make sure the old inline svg mark never paints under the new logo (some browsers ignore display:none on <use>) */
.logo__mark, .footer .logo__mark { color: transparent !important; overflow: hidden; }
.logo__mark use { display: none; visibility: hidden; opacity: 0; }
.logo__mark use, .logo__mark path { stroke: transparent !important; fill: transparent !important; }
/* ===== configurator v2 ===== */
.conf { grid-template-columns: minmax(0, 400px) minmax(0, 1fr); align-items: stretch; }
.conf__ctrl { counter-reset: cstep; background: var(--card); border: 1px solid var(--line); padding: clamp(18px, 2vw, 26px); gap: 26px; align-content: start; }
.conf__ctrl .field > .lbl { align-items: center; font-size: .74rem; color: var(--ink-2, var(--ink)); }
.conf__ctrl .field > .lbl::before { counter-increment: cstep; content: counter(cstep); display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 10px; background: #0A2A4D; color: #fff; font-size: .7rem; letter-spacing: 0; flex: none; }
.conf__ctrl .field > .lbl { justify-content: flex-start; }
.conf__ctrl .field > .lbl output { margin-left: auto; }
.conf .seg button { min-height: 66px; background: var(--bg); }
.conf .seg button.is-on, .conf .diams button.is-on, .vtabs button.is-on { background: #0A2A4D; border-color: #0A2A4D; color: #fff; }
.conf .seg button.is-on .mini { color: #fff; }
.conf .diams button { background: var(--bg); min-height: 40px; }
.nums--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.conf .inp { gap: 6px; }
.conf .inp > span:first-child { font-family: var(--f-display); font-size: .95rem; font-weight: 700; letter-spacing: .04em; color: #0A2A4D; }
.inp__box { position: relative; display: block; }
.inp__box input { padding-right: 44px; }
.inp__box i { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-style: normal; font-family: var(--f-mono); font-size: .75rem; color: var(--faint); pointer-events: none; }
.field__hint { font-size: .8rem; color: var(--muted); }
.qty { display: flex; align-items: stretch; gap: 0; }
.qty button { width: 50px; min-height: 50px; border: 1px solid var(--line-2); background: var(--bg); font-size: 1.3rem; color: var(--ink); }
.qty button:hover { background: #0A2A4D; border-color: #0A2A4D; color: #fff; }
.qty input { width: 110px; min-height: 50px; border: 1px solid var(--line-2); border-inline: 0; text-align: center; font-family: var(--f-mono); font-size: 1.05rem; background: var(--card); color: var(--ink); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button, .inp__box input::-webkit-outer-spin-button, .inp__box input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus { outline: none; box-shadow: inset 0 0 0 2px #0A2A4D; }
.qty span { align-self: center; margin-left: 12px; font-family: var(--f-mono); font-size: .8rem; color: var(--faint); }
.conf > div:last-child { display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--card); }
.conf .drawing { border: 0; border-bottom: 1px solid var(--line); flex: 1; display: flex; flex-direction: column; }
.conf .drawing__fig { flex: 1; min-height: 280px; }
.drawing .dim-t { font-size: 18px; font-weight: 600; fill: #0A2A4D; }
.stamp { border-top: 1px solid var(--line); }
.stamp .is-total b { color: #0A2A4D; }
.conf__send { background: var(--card); color: var(--ink); padding: 18px clamp(16px, 2vw, 22px) 20px; gap: 12px; }
.conf__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; align-items: baseline; }
.conf__head b { font-family: var(--f-display); font-size: 1.15rem; letter-spacing: .02em; text-transform: uppercase; color: var(--ink); }
.conf__head span { font-size: .82rem; color: var(--muted); }
.conf__msg { background: var(--bg); color: var(--ink-2, var(--ink)); border-left: 3px solid #0A2A4D; font-size: .8rem; }
.conf__send .btn-row { gap: 10px; }
.conf__send .btn-row .btn { flex: 1 1 200px; clip-path: none; background: var(--bg); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.conf__send .btn-row .btn:hover { box-shadow: inset 0 0 0 1.5px #0A2A4D; background: var(--card); }
.conf__send .btn--viber svg { color: var(--viber); }
.conf__send .btn--wa svg { color: #1FAF54; }
.conf__foot { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; justify-content: space-between; font-size: .8rem; color: var(--muted); }
.conf__foot .copy-btn { color: #0A2A4D; }
.conf__foot .copy-btn:hover { color: var(--ink); }
@media (max-width: 1080px) { .conf { grid-template-columns: 1fr; } }
.conf__send .conf__msg { color: var(--ink-2); font-size: .82rem; }
@media (max-width: 600px) { .drawing .dim-t { font-size: 32px; } }
/* logo v3: the old inline svg is removed from rendering entirely; the mark is drawn by a pseudo-element */
.logo__mark { display: none !important; }
.logo::before { content: ""; flex: none; width: 34px; height: 46px; background: url("../img/brand/stilforce-logo-color.png") center / contain no-repeat; }
.header .logo::before { width: 26px; height: 35px; }
.footer .logo::before { background-image: url("../img/brand/stilforce-logo-white.png"); }
@media (max-width: 600px) { .header .logo::before { width: 24px; height: 32px; } }
/* certificate links, two managers */
.facts__cert { font-size: .86rem; color: #0A2A4D; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.facts__cert:hover { text-decoration-color: #0A2A4D; }
.adv__link { color: #0A2A4D; font-weight: 500; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
.cinfo .mgr { display: flex; align-items: baseline; gap: 10px; }
.cinfo .mgr + .mgr { margin-top: 4px; }
.cinfo .mgr small { margin: 0; color: var(--muted); }
.kh__tels { display: grid; gap: 10px; margin-top: 30px; }
.kh__tels .kh__tel { margin-top: 0; display: flex; align-items: baseline; gap: 14px; }
.kh__tels .kh__tel small { font-family: var(--f-body, inherit); font-size: .95rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.kfacts dd a.adv__link { white-space: normal; }
/* how-we-work: right column ends on the last step line */
@media (min-width: 1081px) {
  .story__in { align-items: end; }
  .story.js-pin .sheet, .story.js-pin .story__prog { max-width: none; }
}
.conf .diams button { min-height: 52px; font-size: .95rem; }
/* live Google map over the schematic */
.map .map__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 1; filter: saturate(.85); }
.map .map__card { z-index: 2; }
.kloc__map { position: relative; }
/* hero title on tablet and phone: much larger, still never wraps */
@media (max-width: 1080px) {
  .hero__in .h1 { font-size: clamp(2.9rem, 14.5vw, 6.6rem); }
  .phero .h1 { font-size: clamp(2.6rem, 11vw, 5.2rem); }
}
/* footer logo: the original colour mark on a white tile (no inverted version at all) */
.footer .logo::before { width: 46px; height: 54px; padding: 6px 8px; box-sizing: border-box; background: #fff url("../img/brand/stilforce-logo-color.png") center / 30px auto no-repeat; clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%); }

/* ---- 2026-10-30: two directions, photo tile in the showcase ---- */
.dirs.dirs--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dirs--2 .dir__vis { aspect-ratio: 16 / 9; }
@media (max-width: 860px) { .dirs.dirs--2 { grid-template-columns: 1fr; } .dirs--2 .dir__vis { aspect-ratio: 4 / 3; } }
.show__it--ph > img { inset: 0; width: 100%; height: 100%; object-fit: cover; filter: none; }
.show__it--ph:hover > img { transform: scale(1.03); }
.show__it--ph::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(255,255,255,.88) 0, rgba(255,255,255,0) 22%, rgba(255,255,255,0) 58%, rgba(255,255,255,.94) 100%); pointer-events: none; }
.show__it--ph > img { z-index: -1; }
.show__it--ph { isolation: isolate; }
.item__fig--ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* five-line hero title (BG/RU "Продажба на / арматура …") */
.hero__in .h1.hero__title--5 { font-size: clamp(2.6rem, min(5.4vw, 8.2vh), 6.2rem); }
@media (max-width: 1080px) { .hero__in .h1.hero__title--5 { font-size: clamp(2.6rem, 13vw, 6rem); } }
.show__it--ph::before { background: linear-gradient(180deg, rgba(8,12,18,.45) 0, rgba(8,12,18,0) 26%, rgba(8,12,18,0) 52%, rgba(8,12,18,.78) 100%); }
.show__it--ph .show__t { color: #fff; }
.show__it--ph .show__t small { color: rgba(255,255,255,.8); }
.show__it--ph .show__k { color: rgba(255,255,255,.75); }
.show__it--ph .show__k b { color: #fff; }
/* hero: live photos fill the frame, the 3D bundle floats over them */
.hero__in .hero__3d .hero__photos { position: absolute; inset: 0; z-index: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.hero__photos img { width: 100%; height: 100%; object-fit: cover; display: block; clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px)); }
.hero__photos img:first-child { object-position: 50% 85%; }
.hero__in .hero__3d .hero__photos::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 62% 42% at 50% 46%, rgba(255,255,255,.55), rgba(255,255,255,0) 70%), linear-gradient(180deg, rgba(10,20,34,.08), rgba(10,20,34,.28)); }
.hero__in .hero__3d canvas, .hero__in .hero__3d .fallback { z-index: 1; top: 0; bottom: auto; height: 100%; }
.hero__in .hero__3d canvas { filter: drop-shadow(0 24px 30px rgba(0,0,0,.35)); }
@media (max-width: 1080px) { .hero__in .hero__3d { height: min(90vw, 520px); } .hero__in .hero__3d .hero__photos { gap: 6px; } }
.hero__3d--ph .hero__photos::after { background: linear-gradient(180deg, rgba(10,20,34,0) 55%, rgba(10,20,34,.18)); }
.send__phone--2 { margin-top: 2px; }
.send__phone--2 small { opacity: .8; }
/* hero photos: no white wash over the middle frame */
.hero__in .hero__3d--ph .hero__photos::after { background: linear-gradient(180deg, rgba(10,20,34,0) 60%, rgba(10,20,34,.16)); }
.hero__photos img, .hero__photos img:first-child { object-position: 50% 50%; }
/* header: two phone numbers stacked; top strip keeps only hours + email */
.header__tels { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.header__tels > svg { width: 18px; height: 18px; color: var(--red-ink); flex: none; }
.header__tels-n { display: grid; gap: 1px; line-height: 1.15; }
.header__tels-n a { font-family: var(--f-display); font-weight: 600; font-size: 1.02rem; letter-spacing: .03em; white-space: nowrap; color: var(--ink); }
.header__tels-n a:hover { color: var(--red-ink); }
@media (max-width: 1260px) { .header__tels { display: none; } }
@media (max-width: 860px) { .strip .s-mail { display: inline; } }
