/* ============================================================
   NixWell — Homepage. Premium dark glassmorphism. Polished.
   ============================================================ */

:root {
  --bg:      #14274A;
  --bg-2:    #1E325A;
  --text:    #F1F5FB;
  --muted:   #B7C3D8;
  --muted-2: #8B97B0;

  --navy:    #0B2D6B;
  --blue:    #1E5EC8;
  --blue-l:  #5A91F2;
  --green:   #2EAD3D;
  --green-l: #4ED661;

  --glass-1: rgba(255,255,255,.10);
  --glass-2: rgba(255,255,255,.045);
  --brd:     rgba(255,255,255,.12);
  --brd-2:   rgba(255,255,255,.22);

  --maxw: 1440px;
  --pad: clamp(20px, 5vw, 72px);
  --r-lg: 24px;
  --r: 16px;
  --r-sm: 12px;

  --ff: "Manrope", system-ui, -apple-system, sans-serif;        /* body */
  --ff-h: "Unbounded", "Manrope", system-ui, sans-serif;        /* accent display */
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-width: thin; scrollbar-color: #1E5EC8 #0A1326; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: #0A1326; }
::-webkit-scrollbar-thumb { background: #1E5EC8; border-radius: 8px; border: 3px solid #0A1326; }
::-webkit-scrollbar-thumb:hover { background: #2A6BD8; }
body { background: var(--bg); color: var(--text); font-family: var(--ff); font-weight: 400; font-size: 16.5px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; position: relative; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
::selection { background: var(--green); color: #04140a; }

/* ---------- TYPOGRAPHY ---------- */
h1, .h1, .hero__h { font-family: var(--ff-h); font-weight: 700; letter-spacing: -.02em; line-height: 1.04; }
h2, .h2 { font-family: var(--ff-h); font-weight: 600; letter-spacing: -.01em; line-height: 1.1; font-size: clamp(26px, 3.1vw, 44px); }
h3 { font-family: var(--ff); font-weight: 700; letter-spacing: -.01em; line-height: 1.24; }
p { font-family: var(--ff); }
.lead { color: var(--muted); font-size: clamp(15.5px, 1.35vw, 18px); line-height: 1.65; }
.caption { font-family: var(--ff); font-size: 13.5px; font-weight: 500; letter-spacing: .01em; color: var(--muted); }
.accent { color: var(--green-l); }
.grad { background: linear-gradient(100deg, #6FA1F5, var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- BACKGROUND DEPTH ---------- */
.bg { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; background: radial-gradient(165% 135% at 50% -30%, #1F4170 0%, #1A375E 42%, var(--bg) 84%); }
.bg span { position: absolute; border-radius: 50%; filter: blur(100px); opacity: .6; }
.bg__a { width: 700px; height: 700px; top: 20%; right: -180px; background: radial-gradient(circle, rgba(46,116,228,.55), transparent 70%); }
.bg__b { width: 620px; height: 620px; top: 60%; left: -220px; background: radial-gradient(circle, rgba(22,66,140,.7), transparent 70%); }
.bg__c { width: 520px; height: 520px; bottom: -180px; left: 44%; background: radial-gradient(circle, rgba(90,145,242,.3), transparent 70%); }
/* sections keep relative positioning for their own decor/layout */
.about, .sol, .cat, .proc, .ct { position: relative; }
/* thin luminous divider between blocks — light, technological accent */
.sol::before, .cat::before, .proc::before, .ct::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(var(--maxw), calc(100% - var(--pad) * 2)); height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12) 16%, rgba(120,170,255,.32) 50%, rgba(255,255,255,.12) 84%, transparent); }
body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .03; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- GLASS / CARDS ---------- */
.glass { background: linear-gradient(160deg, var(--glass-1), var(--glass-2)); backdrop-filter: blur(24px) saturate(150%); -webkit-backdrop-filter: blur(24px) saturate(150%); border: 1px solid var(--brd); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), inset 0 0 0 1px rgba(255,255,255,.02), 0 30px 70px -38px rgba(0,0,0,.7); }
.spot { position: relative; overflow: hidden; }
.spot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0; transition: opacity .4s; background: radial-gradient(440px circle at var(--mx,50%) var(--my,50%), rgba(76,134,238,.16), transparent 60%); pointer-events: none; }
.spot:hover::before { opacity: 1; }

/* ---------- PROGRESS BAR ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 60; background: linear-gradient(90deg, var(--blue), var(--green-l)); box-shadow: 0 0 12px rgba(78,214,97,.5); transition: width .1s linear; }

/* ---------- BUTTONS ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 56px; padding-inline: 30px; border-radius: 100px; font-family: var(--ff); font-weight: 600; font-size: 16px; border: 1px solid transparent; cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s, background .25s, border-color .25s; white-space: nowrap; }
.btn--sm { height: 44px; padding-inline: 22px; font-size: 14.5px; }
.btn--full { width: 100%; }
.btn--solid { background: linear-gradient(180deg, var(--green-l), var(--green)); color: #04150a; box-shadow: 0 12px 30px -12px rgba(46,173,61,.55); }
.btn--solid:hover { transform: translateY(-2px); box-shadow: 0 18px 42px -14px rgba(46,173,61,.7); }
.btn--glass { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.28); color: var(--text); backdrop-filter: blur(14px); }
.btn--glass:hover { background: rgba(255,255,255,.14); border-color: var(--text); transform: translateY(-2px); }
.ar { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn:hover .ar, .dcard__link:hover .ar { transform: translateX(4px); }

/* ---------- NAV ---------- */
.nav { position: sticky; top: 10px; z-index: 50; padding-inline: var(--pad); margin-bottom: -110px; }
.nav__in { max-width: var(--maxw); margin: 0 auto; height: 96px; padding: 0 16px 0 24px; border-radius: 100px; display: flex; align-items: center; gap: 26px; transition: box-shadow .3s; }
.nav.scrolled .nav__in { box-shadow: 0 16px 50px -20px rgba(0,0,0,.7); }
.nav__logo { position: relative; display: flex; align-items: center; }
.nav__logo::before { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 156%; height: 224%; background: radial-gradient(ellipse 58% 56% at 42% 50%, rgba(5,11,26,.78) 0%, rgba(5,11,26,.46) 50%, transparent 76%), radial-gradient(ellipse 66% 62% at 38% 50%, rgba(58,128,240,.32), rgba(46,116,228,.1) 47%, transparent 74%); filter: blur(11px); pointer-events: none; z-index: -1; animation: logoGlow 4.5s ease-in-out infinite; }
@keyframes logoGlow { 0%, 100% { opacity: .78; } 50% { opacity: 1; } }
.nav__logo img { height: 88px; width: auto; filter: brightness(1.13) contrast(1.09) drop-shadow(0 1px 3px rgba(0,0,0,.9)) drop-shadow(0 2px 8px rgba(0,0,0,.6)) drop-shadow(0 0 22px rgba(64,124,236,.45)); transition: filter .35s; }
.nav__logo:hover img { filter: brightness(1.15) contrast(1.1) drop-shadow(0 1px 3px rgba(0,0,0,.9)) drop-shadow(0 2px 8px rgba(0,0,0,.6)) drop-shadow(0 0 34px rgba(78,150,255,.85)); }
.nav__menu { position: relative; display: flex; gap: 28px; margin-left: 30px; }
.nav__menu::before { content: ""; position: absolute; left: -16px; top: 50%; transform: translateY(-50%); width: 1px; height: 34px; background: linear-gradient(180deg, transparent, rgba(255,255,255,.2), transparent); }
.nav__menu a { font-size: 15px; font-weight: 500; color: var(--muted); position: relative; padding-block: 6px; transition: color .2s; }
.nav__menu a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; border-radius: 2px; background: var(--green-l); transition: width .3s var(--ease); }
.nav__menu a:hover { color: #fff; }
.nav__menu a:hover::after, .nav__menu a.active::after { width: 100%; }
.nav__menu a.active { color: #fff; }
.nav__cta-m { display: none; }
.nav__right { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.lang { background: none; border: none; cursor: pointer; font-weight: 600; font-size: 13.5px; letter-spacing: .04em; display: inline-flex; gap: 8px; }
.lang__a { color: #fff; position: relative; }
.lang__a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; border-radius: 2px; background: var(--green-l); box-shadow: 0 0 8px rgba(78,214,97,.6); }
.lang__b { color: var(--muted-2); opacity: .6; }
.lang.alt .lang__a { color: var(--muted-2); opacity: .6; }
.lang.alt .lang__a::after { display: none; }
.lang.alt .lang__b { color: #fff; opacity: 1; }
.lang.alt .lang__b { position: relative; }
.lang.alt .lang__b::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; border-radius: 2px; background: var(--green-l); box-shadow: 0 0 8px rgba(78,214,97,.6); }
.burger { display: none; flex-direction: column; gap: 5px; width: 40px; height: 40px; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; }
.burger span { width: 20px; height: 2px; background: #fff; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding-bottom: clamp(150px, 18vh, 210px); }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 72% center; will-change: transform; filter: saturate(1.02); }
.hero__scrim { position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(90deg, rgba(6,11,22,.95) 0%, rgba(6,11,22,.86) 30%, rgba(6,11,22,.42) 62%, rgba(6,11,22,.08) 100%),
  radial-gradient(72% 95% at 20% 52%, rgba(6,11,22,.55), transparent 62%),
  linear-gradient(0deg, var(--bg) 1%, rgba(6,11,22,0) 32%); }
.hero__scrim::before { content: ""; position: absolute; inset: 0; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 34%, transparent 58%);
          mask-image: linear-gradient(90deg, #000 0%, #000 34%, transparent 58%); }
.hero__wrap { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); width: 100%; padding-top: 96px; }
.hero__copy { max-width: 880px; }
.hero__h { font-size: clamp(28px, 3.6vw, 46px); line-height: 1.08; }
.hero__h .hl { white-space: nowrap; }
.hero__p { color: #C8D2E2; font-size: clamp(15px, 1.45vw, 19px); line-height: 1.6; max-width: 60ch; margin: 26px 0 38px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__bar { position: absolute; left: var(--pad); right: var(--pad); bottom: 30px; z-index: 3; max-width: var(--maxw); margin: 0 auto; border-radius: var(--r); display: grid; grid-template-columns: repeat(4, 1fr); }
.hb { display: flex; gap: 16px; align-items: center; padding: 26px 28px; }
.hb + .hb { border-left: 1px solid var(--brd); }
.hb__ic { flex: none; width: 48px; height: 48px; border-radius: 13px; background: linear-gradient(135deg, rgba(76,134,238,.28), rgba(255,255,255,.08)); border: 1px solid rgba(255,255,255,.12); box-shadow: inset 0 1px 0 rgba(255,255,255,.18); display: grid; place-items: center; }
.hb__ic svg { display: block; width: 24px; height: 24px; fill: none; stroke: var(--blue-l); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hb > div b { display: block; font-weight: 700; font-size: 15.5px; }
.hb > div span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 3px; }

/* ---------- ABOUT + WHY ---------- */
.about { position: relative; padding-block: clamp(84px, 9.5vw, 152px); overflow: hidden; }
.about__in { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(34px, 6vw, 88px); align-items: stretch; }
.about__col { position: relative; z-index: 1; display: flex; flex-direction: column; }
.about__lead { color: var(--text); font-size: clamp(17px, 1.65vw, 19.5px); margin-top: 24px; line-height: 1.65; }
.about__lead2 { color: var(--muted); font-size: clamp(16px, 1.5vw, 18px); margin-top: 18px; line-height: 1.65; }
.about__why-h { font-family: var(--ff-h); font-weight: 600; letter-spacing: -.01em; line-height: 1.1; font-size: clamp(26px, 3.1vw, 44px); margin-bottom: 12px; white-space: nowrap; }
/* editorial numbered list */
.whyx { display: grid; }
.whyx__item { position: relative; padding: clamp(12px, 1.4vw, 15px) 4px clamp(12px, 1.4vw, 15px) 22px; border-top: 1px solid var(--brd); transition: transform .4s var(--ease); }
.whyx__item:last-child { border-bottom: 1px solid var(--brd); }
.whyx__item::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 3px; height: 56%; border-radius: 3px; background: linear-gradient(180deg, var(--blue-l), var(--green-l), var(--blue-l)); background-size: 100% 220%; animation: lineflow 3.6s linear infinite; transition: height .4s var(--ease), width .4s var(--ease), box-shadow .4s; z-index: 1; }
.whyx__item::after { content: ""; position: absolute; inset: 0; border-radius: 0 var(--r-sm) var(--r-sm) 0; background: linear-gradient(90deg, rgba(76,134,238,.13), rgba(76,134,238,.02) 62%, transparent); opacity: 0; transition: opacity .4s var(--ease); pointer-events: none; z-index: 0; }
.whyx__b { position: relative; z-index: 1; }
.whyx__b h4 { transition: color .3s; }
.whyx__item:hover { transform: translateX(9px); }
.whyx__item:hover::after { opacity: 1; }
.whyx__item:hover::before { width: 4px; height: 78%; box-shadow: 0 0 8px var(--blue-l), 0 0 18px -2px rgba(76,134,238,.7); }
.whyx__item:hover .whyx__b h4 { color: var(--blue-l); }
.whyx__item:nth-child(2)::before { animation-delay: -.6s; }
.whyx__item:nth-child(3)::before { animation-delay: -1.2s; }
.whyx__item:nth-child(4)::before { animation-delay: -1.8s; }
.whyx__item:nth-child(5)::before { animation-delay: -2.4s; }
.whyx__item:nth-child(6)::before { animation-delay: -3s; }
@keyframes lineflow { from { background-position: 0 0; } to { background-position: 0 -220%; } }
.whyx__b h4 { font-size: clamp(16px, 1.45vw, 18px); font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
.whyx__b p { color: var(--muted); font-size: 13.5px; line-height: 1.5; margin-top: 5px; }
/* about thematic image */
.about__col > *:not(.about__media) { flex: 0 0 auto; }
.about__media { position: relative; flex: 1 1 auto; min-height: 160px; margin-top: clamp(28px, 4vw, 46px); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--brd); box-shadow: 0 38px 84px -48px rgba(0,0,0,.85); }
.about__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; animation: kenburns 22s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.03); } to { transform: scale(1.12) translate(-1.6%, -1.4%); } }
.about__media-sh { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(160deg, rgba(20,39,74,.05) 0%, rgba(8,14,28,.42) 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.about__points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 42px; }
.about__points li { display: flex; align-items: center; gap: 13px; font-size: 15.5px; font-weight: 500; color: var(--text); line-height: 1.25; white-space: nowrap; padding: 15px 18px; border-radius: 15px; background: linear-gradient(160deg, var(--glass-1), var(--glass-2)); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); border: 1px solid var(--brd); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); transition: transform .35s var(--ease), border-color .35s; }
.about__points li:hover { transform: translateY(-3px); border-color: var(--brd-2); }
.pt-ic { flex: none; width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(135deg, rgba(76,134,238,.26), rgba(255,255,255,.06)); border: 1px solid rgba(255,255,255,.12); box-shadow: inset 0 1px 0 rgba(255,255,255,.16); display: grid; place-items: center; }
.pt-ic svg { display: block; width: 18px; height: 18px; fill: none; stroke: var(--blue-l); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
/* glowing orbit graphic */
.about__orb { position: absolute; right: var(--pad); top: 50%; transform: translateY(-50%); width: min(360px, 32vw); aspect-ratio: 1; z-index: 0; pointer-events: none; }
.about__mark { position: absolute; inset: 18%; width: 64%; height: 64%; opacity: .5; }
.orb__glow { position: absolute; inset: 22%; border-radius: 50%; background: radial-gradient(circle, rgba(30,94,200,.35), transparent 70%); filter: blur(30px); }
.orb__ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid transparent; }
.orb__ring--1 { border-top-color: rgba(76,134,238,.5); border-right-color: rgba(76,134,238,.18); box-shadow: 0 0 30px -4px rgba(30,94,200,.35) inset; animation: spin 26s linear infinite; }
.orb__ring--2 { inset: 12%; border-bottom-color: rgba(78,214,97,.45); border-left-color: rgba(78,214,97,.16); animation: spin 34s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- INDEPENDENT SELECTION ---------- */
/* ---------- INDEPENDENT SELECTION (BRICS map) ---------- */
.indep { position: relative; padding: clamp(46px, 6vw, 90px) var(--pad) clamp(30px, 3.4vw, 50px); overflow: hidden; }
.indep::before { content: ""; position: absolute; inset: 0; z-index: 0; background: url("assets/world-map.webp") center 42% / cover no-repeat; opacity: .7; -webkit-mask-image: radial-gradient(115% 92% at 50% 48%, #000 50%, transparent 100%); mask-image: radial-gradient(115% 92% at 50% 48%, #000 50%, transparent 100%); }
.indep__head { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; text-align: center; }
.indep__h { margin: 0 auto; max-width: 34ch; font-family: var(--ff-h); font-weight: 600; letter-spacing: -.01em; font-size: clamp(26px, 3.1vw, 44px); line-height: 1.16; color: #fff; }
.indep__h b { font-weight: 700; color: #fff; }
.indep__sub { margin: 15px auto 0; max-width: 60ch; font-size: clamp(14px, 1.4vw, 17px); line-height: 1.55; color: var(--muted); }

.gwrap { position: relative; z-index: 1; width: 100%; max-width: var(--maxw); margin: clamp(26px, 4vw, 56px) auto 0; }
.gnodes { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 16px; }
.gnode { display: inline-flex; align-items: center; justify-content: flex-start; flex: none; gap: 12px; width: 244px; padding: 9px 20px; border-radius: 100px; border: 1px solid var(--brd); background: linear-gradient(150deg, var(--glass-1), var(--glass-2)); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 16px 32px -20px rgba(0,0,0,.75); transition: border-color .3s, transform .3s, box-shadow .3s; }
.gnode:hover { border-color: var(--blue-l); transform: translateY(-3px); box-shadow: inset 0 1px 0 rgba(255,255,255,.13), 0 0 26px -6px rgba(76,134,238,.55); }
.gflag { display: block; width: 38px; height: 38px; flex: none; border-radius: 50%; overflow: hidden; border: 1px solid rgba(255,255,255,.22); box-shadow: 0 2px 8px -2px rgba(0,0,0,.6); }
.gflag svg, .gflag img { display: block; width: 100%; height: 100%; object-fit: cover; }
.glabel { display: inline-flex; align-items: baseline; gap: 6px; font-family: var(--ff-h); font-weight: 600; font-size: clamp(13px, 1.15vw, 15px); letter-spacing: .04em; text-transform: uppercase; color: #fff; white-space: nowrap; }
.glabel small { font-family: var(--ff); font-weight: 500; font-size: .72em; letter-spacing: .04em; text-transform: none; color: var(--blue-l); }

/* ---------- SERVICES ---------- */
.sol { padding-block: clamp(52px, 6vw, 92px) clamp(74px, 8.5vw, 138px); }
.sol__in { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
.sol__head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: end; margin-bottom: clamp(28px, 3.5vw, 48px); }
.sol__head .lead { justify-self: end; max-width: 34ch; }
.dgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dcard { position: relative; border-radius: var(--r); padding: 30px 28px; display: flex; flex-direction: row; align-items: flex-start; gap: 20px; background: linear-gradient(155deg, rgba(30,94,200,.12) 0%, rgba(11,45,107,.05) 100%); border-color: rgba(76,134,238,.10); transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; }
.dcard:hover { transform: translateY(-5px); border-color: var(--brd-2); box-shadow: 0 36px 66px -38px rgba(0,0,0,.78); }
.dcard__ic { flex: none; width: 56px; height: 56px; border-radius: 50%; background: radial-gradient(120% 120% at 30% 25%, rgba(76,134,238,.32), rgba(76,134,238,.08)); border: 1px solid rgba(255,255,255,.12); box-shadow: inset 0 1px 0 rgba(255,255,255,.16); display: grid; place-items: center; transition: background .35s, border-color .35s; }
.dcard__ic svg { display: block; width: 28px; height: 28px; fill: none; stroke: var(--blue-l); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .35s; }
.dcard:hover .dcard__ic { background: radial-gradient(120% 120% at 30% 25%, var(--blue-l), var(--blue)); }
.dcard:hover .dcard__ic svg { stroke: #fff; }
.dcard__txt { flex: 1; min-width: 0; }
.dcard h3 { font-size: clamp(17px, 1.45vw, 20px); margin-bottom: 9px; line-height: 1.28; }
.dcard p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.dcard--wide { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 28px; padding: 30px 36px; border-color: rgba(76,134,238,.16); background: linear-gradient(120deg, rgba(30,94,200,.18) 0%, rgba(11,45,107,.10) 100%); }
.dcard--wide .dcard__ic { margin-bottom: 0; flex: none; }
.dcard--wide__txt { flex: 1; }
.dcard--wide__txt h3 { font-size: clamp(19px, 1.8vw, 24px); max-width: none; }
.dcard__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--green-l); white-space: nowrap; }

/* ---------- CATALOG ---------- */
.cat { padding-block: clamp(74px, 8.5vw, 138px); }
.cat__in { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
.cat__head { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 56px; align-items: end; margin-bottom: clamp(28px, 3.5vw, 48px); }
.cat__head .lead { justify-self: end; max-width: 34ch; }
.cat__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ecard { position: relative; border-radius: var(--r); padding: 18px 18px 22px; display: flex; flex-direction: column; overflow: hidden; transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; }
.ecard:hover { transform: translateY(-6px); border-color: var(--brd-2); box-shadow: 0 34px 64px -36px rgba(0,0,0,.78); }
.ecard__img { position: relative; border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 1 / 1; background: #08101F; }
.ecard__img img { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; }
.ecard__n { display: none; }
.ecard__t { font-family: var(--ff); font-weight: 600; font-size: 16px; color: #BCC8DC; letter-spacing: -.005em; line-height: 1.3; margin: 16px 6px 0; transition: color .3s; }
.ecard:hover .ecard__t { color: var(--text); }

/* ---------- PROCESS (light inverted block) ---------- */
.proc { padding-block: clamp(74px, 8.5vw, 138px); }
.proc__in { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
.proc__head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: end; margin-bottom: clamp(28px, 3.5vw, 48px); }
.proc__head .lead { justify-self: end; max-width: 34ch; }
.proc__track { position: relative; display: flex; flex-direction: column; gap: 8px; }
.proc__line { position: absolute; top: 24px; bottom: 24px; left: 21px; width: 2px; background: linear-gradient(180deg, var(--blue-l), rgba(76,134,238,.45) 60%, rgba(76,134,238,.1)); z-index: 0; }
.pstep { position: relative; z-index: 1; display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: center; }
.pstep__n { position: relative; z-index: 2; flex: none; display: inline-grid; place-items: center; font-family: var(--ff-h); font-weight: 700; font-size: 18px; width: 44px; height: 44px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--blue-l), var(--blue)); box-shadow: 0 0 0 5px var(--bg), 0 0 16px -3px rgba(76,134,238,.5), 0 8px 18px -10px rgba(30,94,200,.6); }
.pstep__c { display: flex; align-items: stretch; gap: 10px; }
.pstep__t { flex: 0 0 366px; display: flex; align-items: center; padding: 13px 22px; border-radius: var(--r-sm); border: 1px solid var(--brd); background: linear-gradient(150deg, rgba(76,134,238,.18), rgba(76,134,238,.05)); transition: border-color .3s, background .3s; }
.pstep__d { position: relative; flex: 1; display: flex; align-items: center; padding: 13px 22px 13px 27px; border-radius: var(--r-sm); border: 1px solid rgba(90,145,242,.2); background: linear-gradient(160deg, rgba(44,78,146,.32), rgba(17,32,61,.44)); box-shadow: inset 0 1px 0 rgba(255,255,255,.07); overflow: hidden; transition: border-color .3s, background .3s; }
.pstep__d::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 3px; height: 56%; border-radius: 0 3px 3px 0; background: linear-gradient(180deg, var(--blue-l), var(--green-l)); transition: height .3s, box-shadow .3s; }
.pstep:hover .pstep__t { border-color: var(--brd-2); background: linear-gradient(150deg, rgba(76,134,238,.26), rgba(76,134,238,.08)); }
.pstep:hover .pstep__d { border-color: rgba(90,145,242,.4); background: linear-gradient(160deg, rgba(54,94,172,.4), rgba(20,38,72,.5)); }
.pstep:hover .pstep__d::before { height: 74%; box-shadow: 0 0 9px rgba(76,134,238,.85); }
.pstep__t h3 { white-space: nowrap; font-size: clamp(14px, 1.05vw, 15px); margin: 0; }
.pstep__d p { color: #CBD8EC; font-size: 14px; line-height: 1.5; margin: 0; }

/* ---------- CONTACT ---------- */
.ct { padding-block: clamp(46px, 5.2vw, 88px); }
.ct__in { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.92fr); gap: clamp(40px, 6vw, 84px); align-items: stretch; }
.ct__in > * { min-width: 0; }
.ct__copy { display: flex; flex-direction: column; justify-content: space-between; gap: 13px; }
.ct__head .lead { margin: 13px 0 0; max-width: 42ch; }
.ct__contacts { display: flex; flex-direction: column; gap: 9px; }
.ct__contacts li { display: flex; align-items: center; gap: 18px; padding: 18px 20px; border-radius: var(--r-sm); border: 1px solid var(--brd); background: linear-gradient(160deg, var(--glass-1), var(--glass-2)); }
.ci { flex: none; width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, rgba(76,134,238,.28), rgba(255,255,255,.08)); border: 1px solid rgba(255,255,255,.12); box-shadow: inset 0 1px 0 rgba(255,255,255,.18); display: grid; place-items: center; }
.ci svg { display: block; width: 24px; height: 24px; fill: none; stroke: var(--blue-l); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ct__k { display: block; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 4px; }
.ct__contacts a, .ct__v { font-weight: 600; font-size: 18px; color: var(--text); transition: color .2s; }
.ct__contacts a:hover { color: var(--green-l); }
.ct__msg { display: flex; flex-direction: column; gap: 9px; }
.ct__msg-btn { display: flex; justify-content: center; align-items: center; gap: 9px; width: 100%; padding: 14px 20px; border-radius: var(--r-sm); border: 1px solid var(--brd); background: linear-gradient(160deg, var(--glass-1), var(--glass-2)); color: var(--text); font-weight: 600; font-size: 15px; transition: border-color .2s, background .2s, transform .2s; }
.ct__msg-btn svg { width: 19px; height: 19px; fill: var(--blue-l); flex: none; }
.ct__msg-btn:hover { border-color: var(--blue-l); background: rgba(76,134,238,.1); transform: translateY(-2px); }
.ct__get { padding: 22px 24px; border-radius: var(--r-lg); }
.ct__get-h { font-size: clamp(16px, 1.5vw, 19px); font-weight: 700; letter-spacing: -.01em; margin-bottom: 16px; }
.ct__get-list { display: grid; gap: 10px; }
.ct__get-list li { position: relative; padding-left: 32px; font-size: 14.5px; line-height: 1.4; color: var(--text); }
.ct__get-list li::before { content: ""; position: absolute; left: 0; top: 0; width: 21px; height: 21px; border-radius: 6px; background: rgba(46,173,61,.16); border: 1px solid rgba(78,214,97,.4); }
.ct__get-list li::after { content: ""; position: absolute; left: 6px; top: 6px; width: 9px; height: 5px; border-left: 2px solid var(--green-l); border-bottom: 2px solid var(--green-l); transform: rotate(-45deg); }

.form { width: 100%; min-width: 0; max-width: 100%; border-radius: var(--r-lg); padding: clamp(28px, 3.2vw, 40px); background: linear-gradient(180deg, rgba(34,68,128,.42), rgba(22,40,72,.5)); border: 1px solid rgba(90,145,242,.24); backdrop-filter: blur(20px); }
.field { min-width: 0; margin-bottom: 14px; }
.form__row { min-width: 0; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 0 16px; }
.form__row > * { min-width: 0; }
.field .file { display: flex; align-items: center; gap: 12px; position: relative; width: 100%; min-width: 0; max-width: 100%; overflow: hidden; margin: 0; padding: 15px 16px; border: 1px dashed rgba(255,255,255,.2); border-radius: var(--r-sm); background: rgba(255,255,255,.04); color: var(--muted); font-weight: 500; font-size: 14px; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.field .file:hover { border-color: var(--blue-l); background: rgba(76,134,238,.08); color: var(--text); }
.field .file input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.file__ic { flex: none; display: grid; place-items: center; color: var(--blue-l); }
.file__ic svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.file__txt { display: block; flex: 1 1 auto; min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.field .file.has-file { border-style: solid; border-color: var(--green-l); color: var(--text); background: rgba(46,173,61,.08); }
.field .file.has-file .file__ic { color: var(--green-l); }
.field.invalid .file { border-color: #E5685F; box-shadow: 0 0 0 3px rgba(229,104,95,.16); }
.field label { display: block; font-weight: 600; font-size: 14.5px; color: var(--text); margin-bottom: 7px; }
.field label i { color: var(--blue-l); font-style: normal; }
.field input, .field textarea { width: 100%; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.09); border-radius: var(--r-sm); color: var(--text); font-family: var(--ff); font-size: 16px; padding: 17px 18px; transition: border-color .2s, box-shadow .2s, background .2s; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green-l); box-shadow: 0 0 0 3px rgba(78,214,97,.2); background: rgba(255,255,255,.09); }
.field.invalid input, .field.invalid textarea { border-color: #E5685F; box-shadow: 0 0 0 3px rgba(229,104,95,.16); }
.field__hint { display: block; margin-top: 7px; font-size: 12.5px; line-height: 1.45; color: var(--muted-2); }
.field__err { display: block; font-size: 12.5px; color: #F39189; margin-top: 6px; opacity: 0; transition: opacity .2s; }
.field.invalid .field__err { opacity: 1; }
.form__note { font-size: 12.5px; color: var(--muted-2); margin-top: 14px; line-height: 1.5; }
.form .btn { margin-top: 6px; }
.form__ok { padding: 22px; border: 1px solid var(--green); border-radius: var(--r-sm); background: rgba(46,173,61,.12); }
.form__ok[hidden] { display: none; }
.form__ok strong { display: block; font-weight: 700; font-size: 16px; }
.form__ok span { font-size: 14px; color: var(--muted); }

/* ---------- FOOTER ---------- */
.ft { position: relative; overflow: hidden; padding-top: clamp(34px, 4.5vw, 64px); padding-inline: var(--pad); background: linear-gradient(180deg, rgba(11,45,107,.10) 0%, rgba(6,11,22,0) 70%); }
.ft__wrap { max-width: var(--maxw); margin: 0 auto; }
.ft__card { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: clamp(30px, 4vw, 54px); display: grid; grid-template-columns: 1.7fr 1fr 1.2fr; gap: 48px; align-items: start; }
.ft__glow { position: absolute; top: -55%; left: 6%; width: 460px; height: 460px; background: radial-gradient(circle, rgba(30,94,200,.20), transparent 70%); filter: blur(34px); pointer-events: none; z-index: 0; }
.ft__watermark { position: absolute; right: -56px; bottom: -64px; width: 280px; height: auto; opacity: .05; pointer-events: none; z-index: 0; }
.ft__brand, .ft__col { position: relative; z-index: 1; }
.ft__logo { height: 72px; width: auto; margin-bottom: 20px; filter: drop-shadow(0 2px 10px rgba(0,0,0,.4)); }
.ft__brand p { color: var(--muted); font-size: 14.5px; max-width: 360px; line-height: 1.65; }
.ft__col h4 { font-family: var(--ff); font-weight: 700; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.ft__col > a { display: block; width: fit-content; color: var(--muted); font-size: 15.5px; padding-block: 7px; transition: color .2s, transform .2s; }
.ft__col > a:hover { color: #fff; transform: translateX(3px); }
.ft__line { display: flex !important; align-items: center; gap: 11px; color: var(--muted); font-size: 15px; padding-block: 7px; transition: color .2s; }
.ft__i { flex: none; width: 17px; height: 17px; fill: none; stroke: var(--blue-l); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
a.ft__line:hover { color: #fff; }
.ft__muted { color: var(--muted-2) !important; }
.ft__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 24px 4px 32px; font-size: 13.5px; color: var(--muted-2); }
.ft__legal { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.ft__legal a { transition: color .2s; }
.ft__legal a:hover { color: #fff; }
.ft__up { display: inline-flex; align-items: center; gap: 6px; color: var(--blue-l) !important; font-weight: 600; }
.ft__up svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--rd, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1000px) {
  /* шапка всегда закреплена у верхнего края экрана (fixed вместо sticky) */
  .nav { position: fixed; top: 10px; left: 0; right: 0; margin-bottom: 0; }
  .subpage main { padding-top: 106px; }
  .nav__menu { display: none; }
  .burger { display: flex; }
  .nav__logo img { height: 74px; }
  .nav__in { height: 90px; padding: 0 14px 0 16px; gap: 14px; }
  .nav__menu::before { display: none; }
  .nav__right .btn--sm { display: none; }
  .nav__menu.open { display: flex; flex-direction: column; gap: 0; position: absolute; top: calc(100% + 10px); left: var(--pad); right: var(--pad); border-radius: var(--r); padding: 12px 18px 18px; background: rgba(10,19,38,.97); backdrop-filter: blur(20px); border: 1px solid var(--brd); }
  .nav__menu.open a { padding: 13px 0; font-size: 16px; border-bottom: 1px solid var(--brd); }
  .nav__menu.open .nav__cta-m { display: inline-flex; width: 100%; margin-top: 14px; border-bottom: none; padding: 0; font-size: 15px; }
  .hero { display: block; min-height: 0; padding-block: 124px 36px; }
  .hero__wrap { padding-top: 0; }
  .hero__scrim::before { display: none; }
  .hero__bar { position: relative; left: auto; right: auto; bottom: auto; z-index: 4; margin: 28px var(--pad) 0; max-width: none; grid-template-columns: 1fr 1fr; background: linear-gradient(160deg, rgba(20,36,64,.98), rgba(11,20,38,.98)); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 0 20px 50px -28px rgba(0,0,0,.8); }
  .hb:nth-child(2) { border-left: none; }
  .hb:nth-child(3), .hb:nth-child(4) { border-top: 1px solid var(--brd); }
  .hb:nth-child(3) { border-left: none; }
  .about__grid { grid-template-columns: 1fr; gap: 30px; }
  .about__media { flex: none; height: clamp(220px, 42vw, 340px); }
  .sol__head, .cat__head, .proc__head { grid-template-columns: 1fr; gap: 14px; }
  .sol__head .lead, .proc__head .lead, .cat__head .lead { justify-self: start; }
  .dgrid { grid-template-columns: repeat(2, 1fr); }
  .dcard--wide { flex-direction: column; align-items: flex-start; gap: 18px; }
  .cat__grid { grid-template-columns: repeat(3, 1fr); }
  .ct__in { grid-template-columns: 1fr; gap: 34px; }
  .ft__card { grid-template-columns: 1fr 1fr; gap: 36px; }
  .ft__brand { grid-column: 1 / -1; }
  .ft__watermark { width: 220px; right: -40px; bottom: -48px; }
}
@media (max-width: 600px) {
  .nav { top: 8px; }
  .nav__logo img { height: 58px; }
  .nav__in { gap: 8px; padding: 0 10px 0 12px; }
  .nav__right { gap: 10px; }
  /* мобильный hero: фото убираем из фона (торчала только каска) — градиентная подложка, фото отдельным блоком ниже */
  .hero__bg, .hero__scrim { display: none; }
  .hero { background:
    radial-gradient(130% 80% at 88% -6%, rgba(58,128,240,.30), transparent 62%),
    radial-gradient(110% 72% at -12% 108%, rgba(11,45,107,.6), transparent 66%),
    linear-gradient(178deg, #1B315C 0%, var(--bg) 58%, #101F3E 100%); }
  .hero__bar { grid-template-columns: 1fr; }
  .hb { border-left: none !important; }
  .hb + .hb { border-top: 1px solid var(--brd); }
  .about__points { grid-template-columns: 1fr; }
  .dgrid { grid-template-columns: 1fr; }
  .dcard--wide { flex-direction: row; align-items: flex-start; gap: 20px; padding: 30px 28px; }
  .dcard--wide .dcard__link { display: none; }
  .dcard--wide__txt h3 { font-size: clamp(17px, 1.45vw, 20px); }
  .cat__grid { grid-template-columns: 1fr 1fr; }
  .pstep { grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
  .pstep__n { width: 40px; height: 40px; font-size: 16px; margin-top: 1px; }
  .pstep__c { flex-direction: column; gap: 7px; }
  .pstep__t { flex: none; padding: 11px 16px; }
  .pstep__d { padding: 11px 16px; }
  .pstep__t h3 { white-space: normal; }
  .proc__line { display: none; }
  .form__row { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .hero__cta { width: 100%; }
  .ft__card { grid-template-columns: 1fr; gap: 30px; }
}
/* ---- мобильный hero: фото отдельным блоком (на десктопе скрыт) ---- */
.hero__photo-m { display: none; }
.hero__photo-m img { display: block; width: 100%; height: auto; }

/* ============================================================
   БЛОКНОТ (сохранённые позиции каталога)
   ============================================================ */
/* иконка в шапке */
.nbk { position: relative; flex: none; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--brd); background: rgba(255,255,255,.05); transition: border-color .2s, background .2s, transform .2s; }
.nbk:hover { border-color: var(--brd-2); background: rgba(255,255,255,.1); transform: translateY(-1px); }
.nbk__ic { display: inline-block; width: 22px; height: 22px; background: #DCE6F6; -webkit-mask: url("/assets/notebook.svg") center / contain no-repeat; mask: url("/assets/notebook.svg") center / contain no-repeat; }
.nbk__n { position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 100px; background: linear-gradient(180deg, var(--green-l), var(--green)); border: 2px solid var(--bg); color: #fff; font-family: var(--ff); font-weight: 800; font-size: 11px; line-height: 16px; text-align: center; }
.nbk__n[hidden] { display: none; }
/* кнопка на карточке изделия */
.nbk-add { gap: 9px; }
.nbk-add .nbk__ic { width: 18px; height: 18px; background: currentColor; }
.nbk-add.on { border-color: rgba(78,214,97,.55); background: rgba(78,214,97,.12); color: #CFF3D6; }
/* кнопка в строке каталога: по центру справа, текст под неё не заходит */
#plist .prow { padding-right: 66px; }
.prow__nbk { position: absolute; top: 50%; right: 14px; transform: translateY(-50%); z-index: 3; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--brd); background: rgba(10,19,38,.55); cursor: pointer; transition: border-color .2s, background .2s; }
.prow__nbk:hover { border-color: var(--brd-2); background: rgba(10,19,38,.85); }
.prow__nbk .nbk__ic { width: 17px; height: 17px; }
.prow__nbk.on { border-color: rgba(78,214,97,.55); background: rgba(78,214,97,.16); }
.prow__nbk.on .nbk__ic { background: var(--green-l); }
/* страница блокнота */
.nbpage { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); padding-bottom: clamp(50px, 7vw, 100px); }
.nb__bar { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; padding-inline: 4px; color: var(--muted-2); font-size: 13.5px; }
.nb__bar b { color: var(--text); font-weight: 700; }
.nb__clear { border: 1px dashed rgba(255,255,255,.22); background: none; border-radius: 100px; padding: 9px 16px; color: var(--muted); font-family: var(--ff); font-weight: 600; font-size: 13px; cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.nb__clear:hover { color: #fff; border-color: rgba(255,110,110,.55); background: rgba(255,110,110,.08); }
.nb__list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.prow.nbi { padding-right: 66px; align-items: flex-start; }
.nbi h3 a { color: inherit; }
.nbi h3 a:hover { color: var(--blue-l); }
.nbi__rm { position: absolute; top: 16px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--brd); background: rgba(255,255,255,.04); color: var(--muted); font-size: 17px; line-height: 1; cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.nbi__rm:hover { color: #fff; border-color: rgba(255,110,110,.55); background: rgba(255,110,110,.12); }
.nbi__qtyrow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 13px; }
.nbi__qtyrow > span { color: var(--muted-2); font-size: 12.5px; font-weight: 600; }
.nbi__qty { display: inline-grid; grid-template-columns: 34px 58px 34px; height: 36px; overflow: hidden; border: 1px solid var(--brd); border-radius: 100px; background: rgba(8,16,31,.55); }
.nbi__qty button { border: 0; background: rgba(255,255,255,.045); color: var(--text); font: 600 18px/1 var(--ff); cursor: pointer; transition: background .2s, color .2s; }
.nbi__qty button:hover { background: rgba(90,145,242,.2); color: #fff; }
.nbi__qty input { width: 58px; min-width: 0; height: 34px; padding: 0 4px; border: 0; border-inline: 1px solid var(--brd); border-radius: 0; outline: 0; background: transparent; color: var(--text); font: 700 13.5px/1 var(--ff); text-align: center; appearance: textfield; -moz-appearance: textfield; }
.nbi__qty input::-webkit-inner-spin-button,.nbi__qty input::-webkit-outer-spin-button { margin: 0; -webkit-appearance: none; }
.nbi__qty:focus-within { border-color: rgba(90,145,242,.72); box-shadow: 0 0 0 2px rgba(90,145,242,.14); }
.nb__empty { border: 1px dashed rgba(255,255,255,.18); border-radius: var(--r-lg); padding: clamp(40px, 6vw, 70px) 24px; text-align: center; color: var(--muted); }
.nb__empty .nbk__ic { width: 44px; height: 44px; background: var(--muted-2); margin-bottom: 14px; }
.nb__empty b { display: block; font-family: var(--ff-h); font-weight: 600; color: var(--text); font-size: 19px; margin-bottom: 8px; }
.nb__empty p { max-width: 46ch; margin: 0 auto 22px; font-size: 14.5px; }
.nb__note { margin-top: 14px; padding-inline: 4px; color: var(--muted-2); font-size: 12.5px; }
.nb__bar[hidden], .nb__empty[hidden], .nbpage .anote[hidden], .nb__note[hidden] { display: none; }
@media (max-width: 1000px) { .nb__list { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .nbk { width: 40px; height: 40px; }
  .nbk__ic { width: 19px; height: 19px; }
  .nb__clear { width: auto; }
  .hero__photo-m { display: block; margin: 28px var(--pad) 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--brd); box-shadow: 0 30px 60px -35px rgba(0,0,0,.8); }
}

@media (prefers-reduced-motion: reduce) { * { animation: none !important; scroll-behavior: auto !important; } .reveal { opacity: 1; transform: none; transition: none; } .orb__ring { animation: none !important; } }
@media print { .reveal { opacity: 1 !important; transform: none !important; } .hero { min-height: auto; } }

/* ============================================================
   INTERNAL PAGES (about / catalog / product / contacts / privacy)
   ============================================================ */
.subpage .nav { margin-bottom: 0; }

/* ---- page header ---- */
.phero { position: relative; overflow: hidden; padding-top: clamp(54px, 8vw, 86px); padding-bottom: clamp(8px, 2vw, 22px); }
.phero__in { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
.phero__glow { position: absolute; top: -60%; left: 50%; transform: translateX(-50%); width: 1100px; max-width: 100%; height: 760px; background: radial-gradient(circle, rgba(40,100,205,.13), transparent 72%); filter: blur(70px); z-index: 0; pointer-events: none; }
.phero h1 { font-family: var(--ff-h); font-weight: 700; letter-spacing: -.02em; line-height: 1.08; font-size: clamp(28px, 3.6vw, 46px); margin-top: 16px; max-width: 18ch; }
.phero__lead { color: var(--muted); font-size: clamp(16px, 1.5vw, 19px); line-height: 1.62; max-width: 60ch; margin-top: 18px; }

/* ---- breadcrumbs ---- */
.crumbs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted-2); }
.crumbs a { color: var(--muted); transition: color .2s; }
.crumbs a:hover { color: var(--blue-l); }
.crumbs .sep { opacity: .45; }
.crumbs .cur { color: var(--text); }

/* ---- prose (about / privacy text) ---- */
.prose { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); padding-block: clamp(34px, 5vw, 60px) clamp(56px, 8vw, 110px); }
.prose__col { max-width: 780px; }
.prose__col.wide { max-width: var(--maxw); }
.prose h2 { font-family: var(--ff-h); font-weight: 600; letter-spacing: -.01em; font-size: clamp(21px, 2.3vw, 29px); color: #fff; margin: clamp(34px, 4vw, 52px) 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; font-weight: 700; margin: 26px 0 10px; color: var(--text); }
.prose p { color: var(--muted); font-size: 16px; line-height: 1.78; margin-bottom: 14px; }
.prose p.big { color: var(--text); font-size: clamp(17px, 1.6vw, 19.5px); line-height: 1.7; }
.prose a { color: var(--blue-l); }
.prose a:hover { text-decoration: underline; }
.prose ol { margin: 12px 0 18px; padding-left: 22px; }
.prose ol li { color: var(--muted); font-size: 16px; line-height: 1.7; margin-bottom: 9px; }
.prose ul.checks { display: grid; gap: 12px; margin: 14px 0 20px; }
.prose ul.checks li { position: relative; padding-left: 32px; color: var(--text); font-size: 16px; line-height: 1.5; }
.prose ul.checks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 21px; height: 21px; border-radius: 6px; background: rgba(76,134,238,.16); border: 1px solid rgba(76,134,238,.32); }
.prose ul.checks li::after { content: ""; position: absolute; left: 6px; top: 6px; width: 9px; height: 5px; border-left: 2px solid var(--blue-l); border-bottom: 2px solid var(--blue-l); transform: rotate(-45deg); }

/* values / feature grid (about) */
.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
.vcard { border-radius: var(--r); padding: 28px 26px; background: linear-gradient(155deg, rgba(30,94,200,.12), rgba(11,45,107,.05)); border: 1px solid rgba(76,134,238,.12); }
.vcard .vic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(30,94,200,.28), rgba(255,255,255,.06)); border: 1px solid rgba(255,255,255,.12); margin-bottom: 18px; }
.vcard .vic svg { width: 24px; height: 24px; fill: none; stroke: var(--blue-l); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.vcard h3 { font-size: 18px; margin-bottom: 8px; }
.vcard p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* ---- catalog page: make ecard a link ---- */
a.ecard { color: inherit; cursor: pointer; }
a.ecard .ecard__arrow { position: absolute; top: 28px; right: 28px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(13,24,46,.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(90,145,242,.35); box-shadow: 0 6px 18px -8px rgba(0,0,0,.7); opacity: 0; transform: translateY(-4px); transition: opacity .3s, transform .3s, background .3s; z-index: 3; }
a.ecard .ecard__arrow svg { width: 16px; height: 16px; fill: none; stroke: var(--blue-l); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
a.ecard:hover .ecard__arrow { opacity: 1; transform: translateY(0); }
a.ecard:hover .ecard__arrow { background: rgba(76,134,238,.3); }

/* ---- category card count ---- */
.ecard__count { display: block; margin: 6px 6px 0; font-size: 12.5px; color: var(--muted-2); font-weight: 500; }
a.ecard:hover .ecard__count { color: var(--blue-l); }

/* ---- category page: product list ---- */
.plist { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.prow { position: relative; display: flex; gap: 18px; align-items: center; padding: 18px 20px; border-radius: var(--r); background: linear-gradient(160deg, var(--glass-1), var(--glass-2)); border: 1px solid var(--brd); color: inherit; transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; overflow: hidden; }
.prow:hover { transform: translateY(-4px); border-color: var(--brd-2); box-shadow: 0 30px 60px -38px rgba(0,0,0,.8); }
.prow__img { flex: none; width: 88px; height: 88px; border-radius: 12px; background: #08101F; border: 1px solid var(--brd); overflow: hidden; }
.prow__img img { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; }
.prow__b { flex: 1; min-width: 0; padding-right: 18px; }
.prow__code { display: inline-block; font-family: var(--ff-h); font-weight: 600; font-size: 11.5px; letter-spacing: .05em; color: var(--blue-l); }
.prow h3 { font-size: 16.5px; line-height: 1.28; margin: 5px 0 7px; }
.prow p { color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.prow__arrow { position: absolute; top: 16px; right: 16px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(76,134,238,.14); border: 1px solid var(--brd); opacity: 0; transform: translateX(-4px); transition: opacity .3s, transform .3s, background .3s; }
.prow:hover .prow__arrow { opacity: 1; transform: translateX(0); background: rgba(76,134,238,.3); }
.prow__arrow svg { width: 15px; height: 15px; fill: none; stroke: var(--blue-l); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---- product detail page ---- */
.prod { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); padding-bottom: clamp(40px, 6vw, 80px); }
.prod__top { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 4vw, 60px); align-items: start; }
.prod__media { position: sticky; top: 120px; border-radius: var(--r-lg); overflow: hidden; background: #08101F; border: 1px solid var(--brd); aspect-ratio: 1 / 1; box-shadow: 0 40px 90px -50px rgba(0,0,0,.85); }
.prod__media img { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; }
.prod__cat { display: inline-block; font-family: var(--ff-h); font-weight: 600; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-l); margin-bottom: 12px; }
.prod h1 { font-family: var(--ff-h); font-weight: 700; letter-spacing: -.015em; line-height: 1.08; font-size: clamp(26px, 3.2vw, 42px); }
.prod__lead { color: var(--text); font-size: clamp(16.5px, 1.6vw, 19px); line-height: 1.65; margin-top: 18px; }
.prod__desc p { color: var(--muted); font-size: 15.5px; line-height: 1.75; margin-top: 14px; }
.prod__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.prod__block { margin-top: clamp(34px, 5vw, 58px); }
.prod__block > h2 { font-family: var(--ff-h); font-weight: 600; font-size: clamp(20px, 2.2vw, 27px); color: #fff; margin-bottom: 20px; }
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feat li { position: relative; padding: 16px 18px 16px 50px; border-radius: var(--r); background: linear-gradient(160deg, var(--glass-1), var(--glass-2)); border: 1px solid var(--brd); color: var(--text); font-size: 15px; line-height: 1.5; }
.feat li::before { content: ""; position: absolute; left: 16px; top: 17px; width: 20px; height: 20px; border-radius: 6px; background: rgba(76,134,238,.18); }
.feat li::after { content: ""; position: absolute; left: 22px; top: 22px; width: 8px; height: 4.5px; border-left: 2px solid var(--blue-l); border-bottom: 2px solid var(--blue-l); transform: rotate(-45deg); }
.spec { border-radius: var(--r); overflow: hidden; border: 1px solid var(--brd); }
.spec__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 15px 22px; border-bottom: 1px solid var(--brd); }
.spec__row:last-child { border-bottom: none; }
.spec__row:nth-child(odd) { background: rgba(255,255,255,.02); }
.spec__row .k { color: var(--muted); font-size: 14.5px; }
.spec__row .v { color: var(--text); font-size: 14.5px; font-weight: 500; text-align: right; }
.applist { display: grid; gap: 12px; }
.applist li { position: relative; padding-left: 26px; color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.applist li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue-l); box-shadow: 0 0 10px rgba(76,134,238,.6); }
.prod__note { color: var(--muted-2); font-size: 13px; margin-top: 18px; line-height: 1.6; }
/* related */
.related { margin-top: clamp(48px, 6vw, 80px); }
.related__head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 22px; }
.related__head h2 { font-family: var(--ff-h); font-weight: 600; font-size: clamp(20px, 2.2vw, 27px); }
.related__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* ---- about page ---- */
.eyebrow { display: inline-flex; align-items: center; gap: 11px; font-family: var(--ff); font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-l); }
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--blue-l), transparent); }
.phero .eyebrow { margin-bottom: 16px; }
.abouthero { position: relative; }
.abouthero .phero__in { position: relative; z-index: 1; }
/* тематическое фото справа от заголовка (сгенерировано grsai) */
.abouthero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.abouthero__img { position: relative; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--brd); box-shadow: 0 44px 96px -52px rgba(0,0,0,.9), 0 0 70px -24px rgba(30,94,200,.4); }
.abouthero__img img { width: 100%; height: 100%; object-fit: cover; display: block; animation: kenburns 26s ease-in-out infinite alternate; }
.abouthero__img::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(20,39,74,0) 60%, rgba(8,14,28,.3)); box-shadow: inset 0 1px 0 rgba(255,255,255,.1); }

/* ---- about v3: цифры-факты отдельной панелью ---- */
.astatswrap { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); padding-top: clamp(22px, 3.4vw, 44px); }
.astats { border-radius: var(--r); display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; }
.ast { display: flex; flex-direction: column; gap: 5px; padding: clamp(20px, 2.2vw, 30px) clamp(18px, 2.2vw, 32px); }
.ast + .ast { border-left: 1px solid var(--brd); }
.ast b { font-family: var(--ff-h); font-weight: 700; font-size: clamp(28px, 2.9vw, 42px); line-height: 1; background: linear-gradient(100deg, #8FB4F7, var(--blue-l)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ast span { font-size: 12.5px; color: var(--muted); line-height: 1.4; }

/* ---- about v3: 4 шага работы ---- */
.asteps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 26px; }
.astep { position: relative; border-radius: var(--r); padding: 26px 24px 24px; background: linear-gradient(155deg, rgba(30,94,200,.13), rgba(11,45,107,.05)); border: 1px solid rgba(76,134,238,.14); overflow: hidden; transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; }
.astep:hover { transform: translateY(-5px); border-color: var(--brd-2); box-shadow: 0 32px 60px -36px rgba(0,0,0,.78); }
.astep::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--blue-l), var(--green-l)); opacity: 0; transition: opacity .35s; }
.astep:hover::before { opacity: 1; }
.astep b { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; margin-bottom: 16px; font-family: var(--ff-h); font-weight: 700; font-size: 15px; color: #fff; background: linear-gradient(135deg, var(--blue-l), var(--blue)); box-shadow: 0 8px 18px -10px rgba(30,94,200,.7); }
.astep h3 { font-size: 16.5px; line-height: 1.3; margin-bottom: 8px; }
.astep p { color: var(--muted); font-size: 13.5px; line-height: 1.55; }

/* ---- about v3: география производителей (BRICS) ---- */
.ageo { border-radius: var(--r-lg); padding: clamp(28px, 3.6vw, 46px) clamp(24px, 3.6vw, 52px); display: flex; align-items: center; justify-content: space-between; gap: clamp(24px, 4vw, 56px); flex-wrap: wrap; }
.ageo__head { max-width: 46ch; }
.ageo__head .eyebrow { margin-bottom: 12px; }
.ageo__head h2 { font-family: var(--ff-h); font-weight: 600; font-size: clamp(21px, 2.3vw, 30px); line-height: 1.15; }
.ageo__head p { color: var(--muted); font-size: 15px; line-height: 1.6; margin-top: 10px; }
/* 2 плашки в ряд (244 + 16 + 244 = 504) — колонка флагов не вытягивается в 5 рядов */
.ageo .gnodes { justify-content: center; max-width: 504px; }

/* ---- about v2: история + принципы ---- */
.astory { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(34px, 6vw, 88px); align-items: start; }
.astory__copy .eyebrow { margin-bottom: 16px; }
.astory__h { font-family: var(--ff-h); font-weight: 600; letter-spacing: -.01em; line-height: 1.14; font-size: clamp(24px, 2.7vw, 38px); margin-bottom: 20px; }
.astory__copy p.big { color: var(--text); font-size: clamp(17px, 1.6vw, 19.5px); line-height: 1.7; margin-bottom: 14px; }
.astory__copy p { color: var(--muted); font-size: 16px; line-height: 1.78; margin-bottom: 14px; }
.astory__side .eyebrow { margin-bottom: 14px; }

/* ---- about v2: широкая фото-лента с подписью ---- */
.aband { position: relative; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); padding-block: clamp(18px, 3vw, 40px) 0; }
.aband__frame { position: relative; border-radius: var(--r-lg); overflow: hidden; height: clamp(300px, 36vw, 440px); border: 1px solid var(--brd); box-shadow: 0 44px 100px -55px rgba(0,0,0,.9); }
.aband__frame > img { width: 100%; height: 100%; object-fit: cover; display: block; animation: kenburns 28s ease-in-out infinite alternate; }
.aband__overlay { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(100deg, rgba(8,14,28,.68) 0%, rgba(8,14,28,.28) 48%, rgba(8,14,28,.06) 100%), linear-gradient(0deg, rgba(8,14,28,.4), transparent 45%); }
.aband__card { position: absolute; left: clamp(16px, 3vw, 36px); bottom: clamp(16px, 3vw, 36px); z-index: 2; max-width: 460px; padding: 24px 28px; border-radius: var(--r); }
.aband__card h3 { font-family: var(--ff-h); font-weight: 600; font-size: clamp(18px, 1.9vw, 24px); line-height: 1.25; }
.aband__card p { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin-top: 8px; }
.aband__card .dcard__link { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; }

@media (max-width: 1000px) {
  .abouthero__grid { grid-template-columns: 1fr; gap: 24px; }
  .abouthero__img { aspect-ratio: 16 / 10; }
  .astats { grid-template-columns: 1fr 1fr; }
  .ast + .ast { border-left: none; }
  .ast:nth-child(even) { border-left: 1px solid var(--brd); }
  .ast:nth-child(n+3) { border-top: 1px solid var(--brd); }
  .astory { grid-template-columns: 1fr; gap: 30px; }
  .asteps { grid-template-columns: 1fr 1fr; }
  .aband__frame { height: auto; aspect-ratio: 3 / 4; max-height: 540px; }
  .aband__card { left: 12px; right: 12px; bottom: 12px; max-width: none; padding: 18px 20px; }
  /* как на главной: текст и плашки стран по центру */
  .ageo { flex-direction: column; align-items: center; text-align: center; }
  .ageo__head { max-width: none; }
}
@media (max-width: 600px) {
  .astats { grid-template-columns: 1fr 1fr; }
  /* этапы: номер и заголовок в одну строку, пояснение под заголовком —
     так все 4 этапа помещаются на один экран телефона */
  .asteps { grid-template-columns: 1fr; gap: 10px; margin-top: 18px; }
  .astep { display: grid; grid-template-columns: auto 1fr; column-gap: 13px; row-gap: 5px; align-items: start; padding: 16px 18px; }
  /* номер занимает обе строки — высота строки задаётся текстом,
     поэтому заголовок начинается ровно на уровне верха цифры */
  .astep b { grid-column: 1; grid-row: 1 / span 2; align-self: start; width: 38px; height: 38px; margin-bottom: 0; }
  /* сбрасываем margin от .prose h3/p — иначе заголовок уезжает ниже цифры */
  .astep h3 { grid-column: 2; grid-row: 1; margin: 0; font-size: 16px; line-height: 1.25; }
  .astep p { grid-column: 2; grid-row: 2; margin: 0; }
  /* меньше пустого поля вверху внутренних страниц — контент поднимается выше */
  .phero { padding-top: clamp(14px, 3vw, 24px); }
}
.aintro { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 5vw, 68px); align-items: start; }
.aprinciples { display: grid; gap: 12px; align-content: start; }
.aprinciples li { display: flex; align-items: center; gap: 13px; font-size: 15px; font-weight: 500; color: var(--text); line-height: 1.3; padding: 14px 16px; border-radius: 14px; background: linear-gradient(160deg, var(--glass-1), var(--glass-2)); border: 1px solid var(--brd); }
.philo { padding-block: clamp(18px, 3.5vw, 46px); }
.philo__in { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
.philo__card { position: relative; border-radius: var(--r-lg); padding: clamp(34px, 5vw, 60px); overflow: hidden; background: linear-gradient(150deg, rgba(30,94,200,.18), rgba(11,45,107,.06)); border: 1px solid rgba(76,134,238,.18); }
.philo__q { position: absolute; top: -22px; left: 22px; font-family: var(--ff-h); font-weight: 700; font-size: 170px; line-height: 1; color: rgba(76,134,238,.16); pointer-events: none; }
.philo__text { position: relative; margin-top: 16px; font-size: clamp(18px, 2vw, 26px); line-height: 1.5; color: var(--text); font-weight: 500; max-width: 52ch; }
.philo__text b { color: #fff; }
.anote { max-width: var(--maxw); margin: 0 auto; border-radius: var(--r-lg); padding: clamp(28px, 4vw, 48px); display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.anote__b { max-width: 56ch; }
.anote__b h2 { margin-bottom: 12px; }
.anote__cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- contacts page ---- */
.cpage { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); padding-bottom: clamp(50px, 7vw, 100px); }
.cpage__grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); gap: clamp(34px, 5vw, 70px); align-items: start; }
.cpage__grid > * { min-width: 0; }
.cinfo__cards { display: grid; gap: 14px; margin-top: 8px; }

/* contacts: stylised map */
.cmap { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); padding-bottom: clamp(50px, 7vw, 100px); }
.cmap__frame { position: relative; border-radius: var(--r-lg); overflow: hidden; height: clamp(320px, 44vw, 500px); border: 1px solid var(--brd); box-shadow: 0 44px 100px -55px rgba(0,0,0,.9); }
/* object-position синхронизирован с preserveAspectRatio SVG-дуг (xMidYMid),
   иначе линии кооперации не совпадут с материками */
.cmap__map { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; object-position: center center; }
/* ---- дуги «Россия ↔ страны BRICS» ---- */
.cmap__arcs { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.cmap__arc-lines path { fill: none; stroke: var(--green-l); stroke-width: 2.2; stroke-linecap: round; opacity: .5;
  stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: arcDraw 2.4s var(--ease) forwards; }
.cmap__arc-lines path:nth-child(2) { animation-delay: .25s; }
.cmap__arc-lines path:nth-child(3) { animation-delay: .5s; }
.cmap__arc-lines path:nth-child(4) { animation-delay: .75s; }
@keyframes arcDraw { to { stroke-dashoffset: 0; } }
.cmap__dot { fill: var(--green-l); opacity: 0; animation: arcDot .8s ease forwards .9s; }
.cmap__dot--hub { fill: #fff; animation-delay: .2s; }
@keyframes arcDot { to { opacity: 1; } }
.cmap__dot--hub + .cmap__dot { animation-delay: 1.2s; }
.cmap__overlay { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(70% 80% at 28% 60%, transparent 30%, rgba(6,11,22,.55)), linear-gradient(115deg, rgba(11,45,107,.5) 0%, rgba(6,11,22,.18) 55%, rgba(6,11,22,.05) 100%); }
.cmap__edge { position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 1px 0 rgba(255,255,255,.08), inset 0 0 0 1px rgba(76,134,238,.12); border-radius: inherit; }
.cmap__pin { position: absolute; left: 66%; top: 30%; transform: translate(-50%, -100%); z-index: 3; pointer-events: none; }
.cmap__pin svg { width: 40px; height: 40px; display: block; filter: drop-shadow(0 8px 14px rgba(0,0,0,.6)); }
.cmap__pin::after { content: ""; position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); width: 30px; height: 10px; border-radius: 50%; background: radial-gradient(circle, rgba(76,134,238,.45), transparent 70%); animation: pinpulse 2.2s ease-in-out infinite; }
@keyframes pinpulse { 0%,100% { transform: translateX(-50%) scale(.7); opacity: .5; } 50% { transform: translateX(-50%) scale(1.25); opacity: .95; } }
.cmap__card { position: absolute; left: clamp(16px, 3vw, 32px); bottom: clamp(16px, 3vw, 32px); z-index: 4; padding: 24px 28px; border-radius: var(--r); max-width: 330px; }
.cmap__card .eyebrow { margin-bottom: 12px; }
.cmap__card h3 { font-family: var(--ff-h); font-weight: 600; font-size: 20px; }
.cmap__card .reg { color: var(--muted); font-size: 14.5px; margin-top: 6px; }
.cmap__links { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; }
.cmap__links a { color: var(--text); font-weight: 600; font-size: 15.5px; transition: color .2s; }
.cmap__links a:hover { color: var(--green-l); }
/* mobile: карту убираем (её всё равно не видно), оставляем только текстовую карточку */
@media (max-width: 600px) {
  .cmap__frame { height: auto; border: none; box-shadow: none; overflow: visible; }
  .cmap__map, .cmap__overlay, .cmap__edge, .cmap__pin, .cmap__arcs { display: none; }
  .cmap__card { position: static; max-width: none; }
}

/* ---- subpage responsive ---- */
@media (max-width: 1000px) {
  .vgrid { grid-template-columns: 1fr 1fr; }
  .prod__top { grid-template-columns: 1fr; gap: 26px; }
  .prod__media { position: relative; top: 0; max-width: 460px; }
  .feat { grid-template-columns: 1fr; }
  .related__grid { grid-template-columns: repeat(3, 1fr); }
  .cpage__grid { grid-template-columns: 1fr; gap: 34px; }
  .plist { grid-template-columns: 1fr; }
  .aintro { grid-template-columns: 1fr; gap: 26px; }
  .abouthero__orb { display: none; }
  .abouthero__img { aspect-ratio: 16 / 10; }
  .anote { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .vgrid { grid-template-columns: 1fr; }
  .spec__row .v { text-align: left; }
  .related__grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   CATALOG PAGE — filter sidebar + product grid
   ============================================================ */
.catx { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); padding-block: clamp(26px, 4vw, 46px) clamp(56px, 8vw, 110px); display: grid; grid-template-columns: 272px 1fr; gap: clamp(22px, 3vw, 38px); align-items: start; }
.fside { position: sticky; top: 118px; display: grid; gap: 14px; align-content: start;
  /* самостоятельный скролл: колесо над разделами крутит список разделов, над товарами — страницу.
     Скроллбар скрыт полностью — прокрутка колесом/тачпадом работает */
  max-height: calc(100vh - 138px); overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: none; -ms-overflow-style: none; }
.fside::-webkit-scrollbar { display: none; width: 0; height: 0; }
.searchbox { position: relative; }
.searchbox svg { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; fill: none; stroke: var(--muted-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.searchbox input { width: 100%; height: 52px; padding: 0 18px 0 46px; border-radius: 100px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: var(--text); font-family: var(--ff); font-weight: 500; font-size: 14.5px; transition: border-color .2s, box-shadow .2s, background .2s; }
.searchbox input::placeholder { color: var(--muted-2); }
.searchbox input:focus { outline: none; border-color: var(--green-l); box-shadow: 0 0 0 3px rgba(78,214,97,.18); background: rgba(255,255,255,.09); }
.fbox { border-radius: var(--r); padding: 18px 16px 18px; }
.fbox__h { font-family: var(--ff); font-weight: 700; font-size: 11.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--muted-2); margin: 0 6px 12px; }
.flist { display: grid; gap: 4px; }
.fsec { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; text-align: left; padding: 10px 12px; border-radius: 11px; border: 1px solid transparent; background: none; color: var(--muted); font-family: var(--ff); font-weight: 500; font-size: 14.5px; line-height: 1.25; cursor: pointer; transition: color .2s, background .2s, border-color .2s; }
.fsec:hover { color: #fff; background: rgba(255,255,255,.05); }
.fsec.active { color: #fff; background: linear-gradient(150deg, rgba(76,134,238,.22), rgba(76,134,238,.06)); border-color: rgba(76,134,238,.3); }
.fsec b { flex: none; font-weight: 600; font-size: 12px; color: var(--muted-2); background: rgba(255,255,255,.06); border: 1px solid var(--brd); border-radius: 100px; min-width: 27px; height: 22px; padding: 0 8px; display: inline-grid; place-items: center; transition: color .2s, background .2s, border-color .2s; }
.fsec.active b { color: #fff; background: rgba(76,134,238,.32); border-color: rgba(76,134,238,.42); }
.fchips { display: flex; flex-wrap: wrap; gap: 8px; padding-inline: 4px; }
.fchip { padding: 8px 14px; border-radius: 100px; border: 1px solid var(--brd); background: rgba(255,255,255,.04); color: var(--muted); font-family: var(--ff); font-weight: 600; font-size: 13px; cursor: pointer; transition: color .2s, background .2s, border-color .2s, transform .2s; }
.fchip:hover { border-color: var(--brd-2); color: #fff; transform: translateY(-1px); }
.fchip.active { background: linear-gradient(180deg, rgba(78,214,97,.24), rgba(46,173,61,.14)); border-color: rgba(78,214,97,.5); color: #fff; }
.freset { display: block; width: 100%; padding: 12px 16px; border-radius: 100px; border: 1px dashed rgba(255,255,255,.22); background: none; color: var(--muted); font-family: var(--ff); font-weight: 600; font-size: 13.5px; cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.freset:hover { color: #fff; border-color: var(--blue-l); background: rgba(76,134,238,.08); }
/* min-height не даёт колонке товаров «схлопнуться» при фильтрации —
   иначе sticky-область сайдбара заканчивается и он уезжает за экран */
.cmain { min-width: 0; min-height: calc(100vh - 160px); }
.cres { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; padding-inline: 4px; color: var(--muted-2); font-size: 13.5px; }
.cres b { color: var(--text); font-weight: 700; }
.cres .fstate { color: var(--blue-l); font-weight: 600; }
.prow.hide { display: none; }
.pempty { border: 1px dashed rgba(255,255,255,.18); border-radius: var(--r); padding: 46px 24px; text-align: center; color: var(--muted); font-size: 14.5px; }
.pempty b { display: block; font-family: var(--ff-h); font-weight: 600; color: var(--text); font-size: 17px; margin-bottom: 8px; }
.pempty[hidden] { display: none; }

/* ---- spec table (product page, wide data) ---- */
.tblwrap { border-radius: var(--r); border: 1px solid var(--brd); overflow-x: auto; background: linear-gradient(160deg, rgba(255,255,255,.03), rgba(255,255,255,.008)); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); scrollbar-width: thin; }
.tbl { width: 100%; border-collapse: collapse; min-width: 860px; }
.tbl th { text-align: left; padding: 14px 16px; font-family: var(--ff); font-weight: 600; font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted-2); line-height: 1.35; background: rgba(255,255,255,.035); border-bottom: 1px solid var(--brd); white-space: nowrap; }
.tbl td { padding: 11.5px 16px; border-bottom: 1px solid rgba(255,255,255,.06); color: var(--muted); font-size: 13.5px; white-space: nowrap; transition: background .2s, color .2s; }
.tbl tbody tr:last-child td { border-bottom: none; }
.tbl tbody tr:hover td { background: rgba(76,134,238,.07); color: var(--text); }
.tbl td:first-child { font-weight: 700; color: var(--text); }
.tbl th:first-child, .tbl td:first-child { padding-left: 22px; }
.tbl th:last-child, .tbl td:last-child { padding-right: 22px; }

/* ---- catalog responsive ---- */
@media (max-width: 1000px) {
  .catx { grid-template-columns: 1fr; gap: 20px; }
  .fside { position: static; max-height: none; overflow: visible; padding-right: 0; }
  .flist { display: flex; flex-wrap: wrap; gap: 8px; }
  .fsec { width: auto; border-color: var(--brd); border-radius: 100px; padding: 9px 14px; font-size: 13.5px; }
  .freset { width: auto; justify-self: start; }
}

/* ============================================================
   Поведение при наведении: подсказка о нажатии только там,
   где переход действительно возможен
   ============================================================ */

/* Логотип в подвале ведёт на главную */
.ft__logo-link { display: inline-block; transition: opacity .25s, transform .25s; }
.ft__logo-link:hover { opacity: .85; transform: translateY(-2px); }
.ft__logo-link:focus-visible { outline: 2px solid var(--green-l); outline-offset: 6px; border-radius: 8px; }

/* Карточки-описания без ссылок: убираем подъём, свечение и подсветку курсором,
   иначе создаётся впечатление, что на них можно нажать */
.dcard:not(a):hover,
.astep:hover,
.whyx__item:hover,
.hb:hover,
.ast:hover,
.gnode:hover,
.pstep:hover .pstep__t,
.pstep:hover .pstep__d,
.ct__contacts li:hover,
.philo__card:hover,
.about__points li:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--brd);
  background-image: none;
}

/* Точечно возвращаем прежний фон там, где он задан отдельно */
.pstep:hover .pstep__t { background: linear-gradient(150deg, rgba(76,134,238,.18), rgba(76,134,238,.05)); }
.pstep:hover .pstep__d { background: linear-gradient(160deg, rgba(44,78,146,.32), rgba(17,32,61,.44)); border-color: rgba(90,145,242,.2); }
.gnode:hover { background: linear-gradient(150deg, var(--glass-1), var(--glass-2)); }
.dcard:not(a):hover { background: linear-gradient(160deg, var(--glass-1), var(--glass-2)); }
.astep:hover { background: linear-gradient(155deg, rgba(30,94,200,.13), rgba(11,45,107,.05)); border-color: rgba(76,134,238,.14); }
.ct__contacts li:hover { background: linear-gradient(160deg, var(--glass-1), var(--glass-2)); }

/* Бегущая подсветка под курсором — только для кликабельных карточек */
.spot:not(a):not(button)::after { display: none; }
.pstep:hover .pstep__d::before { height: 56%; box-shadow: none; }
.astep:hover::before { opacity: 0; }

/* Курсор-указатель оставляем только на ссылках и кнопках */
.dcard:not(a), .astep, .whyx__item, .hb, .ast, .gnode, .pstep, .philo__card { cursor: default; }

/* Mobile header: scroll-linked compositor-only motion, no scaled borders or glass layers. */
.nav__surface { display: none; }
@media (max-width: 1000px) {
  .nav { position: fixed; left: 0; right: 0; pointer-events: none; }
  .nav .nav__in, .nav.scrolled .nav__in {
    position: relative; height: 90px; isolation: isolate;
    background: none; border: 0; box-shadow: none;
    backdrop-filter: none; -webkit-backdrop-filter: none; transition: none;
  }
  .nav .nav__surface {
    display: block; position: absolute; inset: 0; z-index: 0;
    border-radius: inherit; background: linear-gradient(160deg, #274879, #132647);
    transform-origin: center top; will-change: transform; pointer-events: none;
  }
  .nav .nav__logo { flex: 0 1 auto; min-width: 0; pointer-events: auto; }
  .nav .nav__logo, .nav .nav__right { position: relative; z-index: 1; will-change: transform; transition: none; }
  .nav .nav__logo::before { display: none; }
  .nav .nav__logo img, .nav .nav__logo:hover img {
    max-width: 100%; object-fit: contain; filter: brightness(1.15);
    transform-origin: left center; will-change: transform; transition: none;
  }
  .nav .nav__right { flex-shrink: 0; }
  .nav .nav__right > a, .nav .burger, .nav .nav__menu.open { pointer-events: auto; }
  .nav .nav__right .lang { width: 46px; flex-shrink: 0; white-space: nowrap; transition: none; }
  .nav .nav__right .nbk { will-change: transform; transition: none; }
  .nav .burger { width: 44px; height: 44px; flex-shrink: 0; }
  .nav .burger span { width: 18px; }
  .nav .nav__in .nav__menu.open {
    left: 0; right: 0; margin-left: 0; top: var(--nav-menu-top, 100px); z-index: 2;
    max-height: calc(100dvh - var(--nav-menu-top, 100px) - 30px);
    overflow-y: auto; overscroll-behavior: contain;
    background: #101e37; backdrop-filter: none; -webkit-backdrop-filter: none;
  }
}
