/* ============================================================
   V1T — Design System
   Base: white / gray   Accent: V1TECH blue (from logo)
   ============================================================ */

/* ---------- Reset / Normalize ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; font-size: 14px; scroll-padding-top: var(--header-h); overflow-x: hidden; width: 100%; }
body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* ---------- Tokens ---------- */
:root {
  --brand:        #2b8cc4;
  --brand-bright: #38a8e8;
  --brand-deep:   #1c6c9c;
  --brand-ink:    #134563;

  --ink:     #0e1c2b;
  --ink-2:   #2b3a4a;
  --muted:   #5d6e7e;
  --muted-2: #8595a4;

  --bg:       #ffffff;
  --gray-50:  #f6f8fb;
  --gray-100: #eef2f7;
  --gray-200: #e3e9f0;
  --gray-300: #d2dbe4;

  --navy:   #112a40;
  --navy-2: #16324b;
  --navy-3: #1d3e5b;

  --white: #ffffff;

  --shadow-sm: 0 2px 8px rgba(14, 28, 43, .06);
  --shadow:    0 12px 32px rgba(14, 28, 43, .10);
  --shadow-lg: 0 28px 64px rgba(14, 28, 43, .16);
  --shadow-blue: 0 18px 48px rgba(43, 140, 196, .28);

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --container: 1200px;
  --gutter: clamp(18px, 4vw, 52px);

  --header-h: 72px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --t-fast: .2s var(--ease);
  --t: .4s var(--ease);
  --t-slow: .7s var(--ease);

  --grad-brand: linear-gradient(135deg, #38a8e8 0%, #2b8cc4 55%, #1c6c9c 100%);
  --grad-sky:   linear-gradient(180deg, #f6fbff 0%, #ffffff 100%);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.12; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.1vw, 3.2rem); }
h2 { font-size: clamp(1.55rem, 2.9vw, 2.3rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.42rem); letter-spacing: -.015em; }
h4 { font-size: 1.06rem; letter-spacing: -.01em; }
p  { color: var(--ink-2); }
strong { color: var(--ink); font-weight: 700; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-deep);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad-brand); border-radius: 2px; }
.section-dark .eyebrow { color: var(--brand-bright); }
.lead { font-size: clamp(1rem, 1.15vw, 1.12rem); color: var(--muted); max-width: 62ch; }

.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(28px, 3.2vw, 52px); position: relative; }
.section-tint { background: var(--grad-sky); }
.section-gray { background: var(--gray-50); }
.section-dark { background: var(--navy); color: #e7eef5; }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark p { color: #aebccb; }
.section-dark .lead { color: #9fb0c1; }

.section-head { max-width: 720px; margin-bottom: clamp(20px, 2.6vw, 36px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin: 14px 0 16px; }
/* split header: title + description on the left, big CTA on the right */
.section-head--split { max-width: none; display: grid; grid-template-columns: 1fr auto; gap: clamp(20px,4vw,56px); align-items: center; }
.section-head--split .sh-left h2 { margin: 8px 0 12px; white-space: nowrap; }
.section-head--split .sh-left .lead { margin: 0; max-width: 78ch; }
.sh-actions { display: flex; flex-direction: column; gap: 10px; align-self: center; }
.sh-catalog { padding: 15px 42px; font-size: 1.08rem; }
.sh-actions .btn { width: 100%; }
.eq-shot { position: relative; overflow: hidden; height: clamp(150px,15vw,200px); background: #fff !important; }
.eq-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8px; transition: transform .6s cubic-bezier(.6,0,.2,1); }
@media (max-width: 820px){ .section-head--split { grid-template-columns: 1fr; gap: 16px; justify-items: start; } .section-head--split .sh-left h2 { white-space: normal; } }

.grid { display: grid; gap: clamp(13px, 1.6vw, 20px); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 940px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--brand); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px;
  font-weight: 700; font-size: .95rem; letter-spacing: -.01em;
  background: var(--bg); color: var(--fg);
  transition: transform var(--t-fast), box-shadow var(--t), background var(--t);
  will-change: transform; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 54px rgba(43,140,196,.4); }
.btn-ghost { background: rgba(43,140,196,.08); color: var(--brand-deep); }
.btn-ghost:hover { background: rgba(43,140,196,.16); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--gray-300); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand-deep); transform: translateY(-2px); }
.section-dark .btn-outline { color: #fff; border-color: rgba(255,255,255,.25); }
.section-dark .btn-outline:hover { border-color: var(--brand-bright); color: var(--brand-bright); }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--brand-deep); }
.btn-link svg { width: 18px; height: 18px; transition: transform var(--t-fast); }
.btn-link:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,.97);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--gray-200);
  transition: background var(--t), border-color var(--t), box-shadow var(--t), height var(--t), transform .3s var(--ease);
}
.header.scrolled { background: #ffffff; border-bottom-color: var(--gray-200); box-shadow: var(--shadow-sm); }
.header__inner { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 14px; flex-wrap: nowrap; }
.mnav { display: none; }   /* mobile-only link bar; shown via media query */
.h1-mob { display: none; }  /* mobile-only hero heading variant */
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 38px; width: auto; }

.nav { display: flex; align-items: center; gap: 3px; margin-left: 6px; flex-wrap: nowrap; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 9px 13px; border-radius: 10px; font-weight: 700; font-size: 1.12rem; color: var(--ink-2);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav__link:hover, .nav__item:hover > .nav__link { color: var(--brand-deep); background: rgba(43,140,196,.07); }
.nav__link .caret { width: 14px; height: 14px; transition: transform var(--t-fast); opacity: .6; }
.nav__item:hover .caret { transform: rotate(180deg); }

.submenu {
  position: absolute; top: calc(100% + 7px); left: 0; min-width: 248px;
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s linear .22s;
  z-index: 30;
}
/* invisible bridge so moving the cursor into the submenu keeps it open */
.submenu::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 14px; }
.nav__item:hover .submenu, .nav__item:focus-within .submenu {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s;
}
.submenu a {
  display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-radius: 10px;
  font-weight: 600; font-size: .92rem; color: var(--ink-2); transition: background var(--t-fast), color var(--t-fast);
}
.submenu a:hover { background: var(--gray-50); color: var(--brand-deep); }
.submenu a .ico { width: 30px; height: 30px; flex-shrink: 0; object-fit: contain; }
.submenu a .ico-svg { width: 22px; height: 22px; color: var(--brand); flex-shrink: 0; }

.header__spacer { flex: 1; }
.header__contacts { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.phone-wrap { position: relative; }
.phone-link { display: flex; align-items: center; gap: 7px; font-weight: 800; font-size: .9rem; color: var(--ink); white-space: nowrap; }
.phone-link svg { width: 15px; height: 15px; color: var(--brand); }
.phone-pop {
  position: absolute; top: calc(100% + 12px); right: 0; width: 280px;
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 16px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all var(--t-fast); z-index: 30;
}
.phone-wrap:hover .phone-pop { opacity: 1; visibility: visible; transform: translateY(0); }
.phone-pop .row { display: flex; gap: 10px; font-size: .86rem; color: var(--muted); padding: 6px 0; }
.phone-pop .row svg { width: 15px; height: 15px; color: var(--brand); flex-shrink: 0; margin-top: 3px; }
.phone-pop .btn { width: 100%; margin-top: 8px; }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-blue); position: relative;
  transition: transform var(--t-fast);
}
.icon-btn:hover { transform: translateY(-2px); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn[data-tip]::after {
  content: attr(data-tip); position: absolute; top: calc(100% + 10px); right: 0; width: max-content; max-width: 220px;
  background: var(--navy); color: #fff; font-size: .78rem; font-weight: 600; padding: 8px 12px; border-radius: 8px;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all var(--t-fast); pointer-events: none; z-index: 40;
}
.icon-btn[data-tip]:hover::after { opacity: 1; visibility: visible; transform: translateY(0); }

/* Login button (clear "enter the system") */
.login-btn {
  display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0;
  padding: 8px 15px; border-radius: 999px; font-weight: 700; font-size: .88rem; white-space: nowrap;
  background: rgba(43,140,196,.1); color: var(--brand-deep); border: 1.5px solid rgba(43,140,196,.28);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.login-btn:hover { background: var(--brand); color: #fff; border-color: transparent; transform: translateY(-1px); }
.login-btn svg { width: 17px; height: 17px; }

.btn-cta { padding: 9px 16px; font-size: .88rem; }

.burger { display: none; width: 42px; height: 42px; border-radius: 12px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto; border-radius: 2px; transition: var(--t-fast); }
.burger.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2){ opacity: 0; }
.burger.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1240px) {
  .nav, .header__contacts .phone-wrap, .header__contacts .btn-cta { display: none; }
  .burger { display: block; }
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; background: #fff;
  transform: translateX(100%); transition: transform var(--t); overflow-y: auto; padding: 24px var(--gutter) 60px;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu details { border-bottom: 1px solid var(--gray-200); }
.mobile-menu summary { display: flex; justify-content: space-between; align-items: center; padding: 16px 4px; font-weight: 700; font-size: 1.05rem; cursor: pointer; list-style: none; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary .caret { width: 18px; height: 18px; transition: transform var(--t-fast); color: var(--brand); }
.mobile-menu details[open] summary .caret { transform: rotate(180deg); }
.mobile-menu .sub a { display: block; padding: 11px 4px 11px 16px; color: var(--muted); font-weight: 600; }
.mobile-menu > a { display: block; padding: 16px 4px; font-weight: 700; font-size: 1.05rem; border-bottom: 1px solid var(--gray-200); }
.mobile-menu .m-actions { margin-top: 24px; display: grid; gap: 12px; }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"]{ transition-delay: .08s; }
[data-reveal][data-delay="2"]{ transition-delay: .16s; }
[data-reveal][data-delay="3"]{ transition-delay: .24s; }
[data-reveal][data-delay="4"]{ transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  padding-top: calc(var(--header-h) + 10px); padding-bottom: 36px; background: var(--navy); color: #fff; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg canvas, .hero__bg svg { width: 100%; height: 100%; display: block; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 78% 24%, rgba(56,168,232,.20), transparent 70%),
    radial-gradient(55% 60% at 8% 88%, rgba(43,140,196,.16), transparent 70%),
    linear-gradient(180deg, rgba(10,22,38,.34) 0%, rgba(10,22,38,.10) 42%, rgba(10,22,38,.40) 100%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
@media (max-width: 980px) { .hero__grid { grid-template-columns: 1fr; } }
.hero h1 { color: #fff; margin: 18px 0 22px; }
.hero .lead { color: #b9c8d6; font-size: clamp(1rem, 1.25vw, 1.15rem); }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  font-size: .85rem; font-weight: 600; color: #d7e3ee;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.pill svg { width: 16px; height: 16px; color: var(--brand-bright); }

.hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; max-width: 500px; }
.hero__stats .stat .num { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; color: #fff; letter-spacing: -.03em; }
.hero__stats .stat .num span { color: var(--brand-bright); }
.hero__stats .stat .cap { font-size: .82rem; color: #93a6b8; margin-top: 2px; }

/* hero visual card */
.hero__visual { position: relative; }
.glass-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--shadow-lg); overflow: hidden;
}
.hero__visual .glass-card { padding: 14px; }
.hero__visual img { border-radius: var(--radius); width: 100%; }
.float-chip {
  position: absolute; display: flex; align-items: center; gap: 9px; padding: 10px 14px; border-radius: 14px;
  background: rgba(13, 32, 49, .82); border: 1px solid rgba(56,168,232,.4); box-shadow: var(--shadow-lg);
  font-size: .82rem; font-weight: 700; color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.float-chip .dot { width: 9px; height: 9px; border-radius: 50%; background: #36e0a0; box-shadow: 0 0 0 4px rgba(54,224,160,.2); }
.float-chip.c1 { top: 8%; left: -22px; animation: floaty 5s ease-in-out infinite; }
.float-chip.c2 { bottom: 12%; right: -18px; animation: floaty 6s ease-in-out infinite .8s; }
.float-chip svg { width: 16px; height: 16px; color: var(--brand-bright); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (max-width: 980px) { .float-chip { display: none; } }

.scroll-cue { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 3; color: #8fa3b6; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-cue .mouse { width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.35); border-radius: 14px; position: relative; }
.scroll-cue .mouse::after { content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 4px; height: 7px; background: var(--brand-bright); border-radius: 2px; animation: wheel 1.6s infinite; }
@keyframes wheel { 0%{ opacity:0; top:7px; } 30%{ opacity:1; } 100%{ opacity:0; top:18px; } }

/* ============================================================
   ANIMATED BANNERS — marquee tiles (top of page)
   ============================================================ */
.hero-banners { margin-top: clamp(22px,3.4vw,42px); position: relative; z-index: 2; }
.marquee { overflow: hidden; padding: 6px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee + .marquee { margin-top: 12px; }
.marquee__track { display: flex; gap: 14px; width: max-content; animation: marquee 48s linear infinite; will-change: transform; }
.marquee.rev .marquee__track { animation-duration: 56s; animation-direction: reverse; }
.hero-banners:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.b-tile {
  display: flex; align-items: center; gap: 13px; width: 322px; flex-shrink: 0;
  padding: 14px 16px; border-radius: var(--radius); background: #fff; border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm); position: relative; overflow: hidden; color: var(--ink);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.b-tile::after { content: ""; position: absolute; top: 0; left: -65%; width: 45%; height: 100%; background: linear-gradient(100deg, transparent, rgba(56,168,232,.18), transparent); transform: skewX(-18deg); }
.b-tile:hover { transform: translateY(-5px) scale(1.015); box-shadow: var(--shadow); border-color: rgba(43,140,196,.45); }
.b-tile:hover::after { animation: sheen 1.05s var(--ease); }
@keyframes sheen { to { left: 135%; } }
.b-tile .bi { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; color: #fff; background: var(--grad-brand); box-shadow: var(--shadow-blue); }
.b-tile .bi svg { width: 22px; height: 22px; }
.b-tile .bc { min-width: 0; }
.b-tile .bt { font-weight: 700; font-size: .95rem; color: var(--ink); line-height: 1.2; }
.b-tile .bs { font-size: .8rem; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b-tile .ba { margin-left: auto; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--gray-50); color: var(--brand-deep); transition: background var(--t-fast), color var(--t-fast); }
.b-tile:hover .ba { background: var(--brand); color: #fff; }
.b-tile .ba svg { width: 15px; height: 15px; }
/* white tiles on the dark hero need a deeper shadow */
.hero-banners .b-tile { box-shadow: 0 12px 30px rgba(0,0,0,.30); border-color: rgba(255,255,255,.55); }
.hero-banners .b-tile:hover { box-shadow: 0 18px 42px rgba(0,0,0,.42); border-color: var(--brand-bright); }
@media (prefers-reduced-motion: reduce){
  .marquee { overflow-x: auto; }
  .marquee__track { animation: none; }
}

/* ============================================================
   FEATURE CARDS
   ============================================================ */
.card {
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 24px;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t); position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(43,140,196,.3); }
.card .ico-box {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(56,168,232,.16), rgba(43,140,196,.1)); color: var(--brand-deep);
}
.card .ico-box svg { width: 25px; height: 25px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .96rem; color: var(--muted); }
.card .arrow { margin-top: 16px; }

.section-dark .card { background: var(--navy-2); border-color: rgba(255,255,255,.08); }
.section-dark .card:hover { border-color: rgba(56,168,232,.4); box-shadow: 0 28px 64px rgba(0,0,0,.4); }
.section-dark .card p { color: #9fb0c1; }
.section-dark .card .ico-box { background: rgba(56,168,232,.14); color: var(--brand-bright); }

/* compact cards: icon + title on one row, description below */
#solution .card, #safety .card { display: grid; grid-template-columns: auto 1fr; column-gap: 13px; align-items: center; padding: 16px 18px; }
#solution .card .ico-box, #safety .card .ico-box { grid-column: 1; grid-row: 1; margin-bottom: 0; width: 42px; height: 42px; border-radius: 11px; }
#solution .card .ico-box svg, #safety .card .ico-box svg { width: 21px; height: 21px; }
#solution .card h3, #safety .card h3 { grid-column: 2; grid-row: 1; margin-bottom: 0; font-size: 1rem !important; }
#solution .card p, #safety .card p { grid-column: 1 / -1; grid-row: 2; margin-top: 8px; font-size: .9rem; }

/* safety: smaller hero image + compact copy */
#safety .split { grid-template-columns: .82fr 1.18fr; align-items: center; gap: clamp(16px,2.4vw,34px); }
#safety .split__media img { width: 100%; max-height: 280px; object-fit: cover; }
#safety .split__copy .lead { font-size: 1rem; }
#safety .feat-list { margin-top: 14px; gap: 9px; }
#safety .feat-list span { font-size: .9rem; }
#safety .feat-list b { margin-bottom: 0; }
#safety .split__copy > p:last-child { margin-top: 12px !important; }
#safety .grid { gap: 12px; }
#safety .card { padding: 13px 15px; }
#safety .card p { margin-top: 6px; }

/* compact industry chips (inside the constructor section) */
.scale-h2 { font-size: clamp(1.35rem,2.3vw,1.9rem); white-space: nowrap; }
@media (max-width: 1100px){ .scale-h2 { white-space: normal; } }
.ind-mini { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: clamp(8px,1.2vw,16px); }
@media (max-width: 860px){ .ind-mini { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px){ .ind-mini { grid-template-columns: 1fr; } }
.imc { display: flex; align-items: center; gap: 12px; padding: 11px 14px; text-align: left; cursor: pointer; width: 100%;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius);
  transition: transform var(--t-fast), background var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast); }
.imc:hover { transform: translateY(-2px); background: rgba(255,255,255,.09); border-color: rgba(56,168,232,.5); }
.imc.active { background: rgba(56,168,232,.16); border-color: var(--brand-bright); box-shadow: inset 0 0 0 1px var(--brand-bright), var(--shadow-blue); }
.imc .ib { flex-shrink: 0; width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.93); display: grid; place-items: center; }
.imc .ib img { width: 25px; height: 25px; object-fit: contain; }
.imc-tx { min-width: 0; }
.imc-tx h3 { color: #fff; font-size: .98rem; margin: 0; line-height: 1.2; }
.imc-tx p { color: #9fb0c1; font-size: .82rem; margin: 2px 0 0; line-height: 1.3; }

/* ---------- Industries (home) ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 940px){ .ind-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px){ .ind-grid { grid-template-columns: 1fr; } }
.ind-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 238px;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; color: #fff; isolation: isolate;
  border: 1px solid var(--gray-200); background: var(--navy);
}
.ind-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.ind-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,24,40,0) 30%, rgba(10,24,40,.55) 60%, rgba(8,20,34,.92) 100%); }
.ind-card:hover img { transform: scale(1.07); }
.ind-card h3 { color: #fff; font-size: 1.2rem; }
.ind-card p { color: #c3d2df; font-size: .9rem; margin-top: 6px; }
.ind-card .ind-ico { position: absolute; top: 20px; left: 20px; width: 46px; height: 46px; padding: 8px; border-radius: 12px; background: rgba(255,255,255,.92); z-index: 1; }
.ind-card .go { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; color: var(--brand-bright); }
.ind-card .go svg { width: 16px; height: 16px; transition: transform var(--t-fast); }
.ind-card:hover .go svg { transform: translateX(4px); }

/* ---------- Logos / trust strip ---------- */
.trust { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 26px; }
/* certificates: badges on the right in 2 columns */
.trust--grid { display: grid; grid-template-columns: repeat(2, max-content); gap: 12px 16px; justify-content: end; align-content: center; }
@media (max-width: 760px){ .trust--grid { justify-content: start; } }
.trust .chip {
  display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: 999px;
  background: #fff; border: 1px solid var(--gray-200); box-shadow: var(--shadow-sm); font-weight: 700; font-size: .9rem; color: var(--ink-2);
}
.trust .chip svg { width: 18px; height: 18px; color: var(--brand); }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.rev .split__media { order: 2; }
@media (max-width: 900px){ .split { grid-template-columns: 1fr; } .split.rev .split__media { order: 0; } }
.split__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.split__media img { width: 100%; }
.feat-list { display: grid; gap: 16px; margin-top: 26px; }
.feat-list li { display: flex; gap: 14px; }
.feat-list .tick { flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(43,140,196,.12); color: var(--brand-deep); }
.feat-list .tick svg { width: 15px; height: 15px; }
.feat-list b { display: block; color: var(--ink); }
.section-dark .feat-list b { color: #fff; }
.feat-list span { font-size: .94rem; color: var(--muted); }
.section-dark .feat-list span { color: #9fb0c1; }
.section-dark .feat-list .tick { background: rgba(56,168,232,.16); color: var(--brand-bright); }

/* ---------- Stats band ---------- */
.statband { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
@media (max-width: 760px){ .statband { grid-template-columns: repeat(2,1fr); } }
.statband .s .n { font-size: clamp(1.8rem,3vw,2.6rem); font-weight: 800; letter-spacing: -.03em; }
.statband .s .n span { color: var(--brand-bright); }
.statband .s .n .statcheck { width: clamp(2.2rem,3.4vw,3rem); height: clamp(2.2rem,3.4vw,3rem); color: var(--brand-bright); display: inline-block; vertical-align: middle; }
.statband .s .l { color: #9fb0c1; font-size: .92rem; margin-top: 4px; }

/* ---------- Software gallery ---------- */
.sw-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
/* software header: text left, control buttons right (3 rows) */
/* heading block */
.sw-head--text { margin-bottom: clamp(12px,1.6vw,20px); }
.sw-head--text h2 { font-size: clamp(1.35rem,2.3vw,1.85rem); margin: 10px 0 12px; }
.sw-head--text .lead { max-width: none; }

/* player: tabs (vertical) on the left, video on the right */
.sw-player { display: grid; grid-template-columns: 132px 1fr; gap: clamp(12px,1.6vw,22px); align-items: start; }
.sw-tabs--side { display: flex; flex-direction: column; gap: 10px; }
.sw-tabs--side .sw-tab { width: 100%; justify-content: flex-start; text-align: left; }
.sw-tabs--side .sw-tab--cta { white-space: normal; line-height: 1.25; align-items: center; }
.sw-player .video-wrap { width: 100%; }
.sw-player .video-wrap video { width: 100%; height: auto; display: block; }
@media (max-width: 760px){
  .sw-head--text h2 { white-space: normal; }
  .sw-player { grid-template-columns: 1fr; }
  .sw-tabs--side { flex-direction: row; flex-wrap: wrap; }
  .sw-tabs--side .sw-tab { width: auto; }
}
.sw-tab {
  display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: 999px; font-weight: 700; font-size: .92rem;
  background: var(--navy-2); border: 1px solid rgba(255,255,255,.1); color: #aebccb; transition: all var(--t-fast);
}
.sw-tab svg { width: 17px; height: 17px; }
.sw-tab.active { background: var(--grad-brand); color: #fff; border-color: transparent; box-shadow: var(--shadow-blue); }
.sw-tab:hover:not(.active) { color: #fff; border-color: rgba(56,168,232,.4); }
.sw-stage { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(255,255,255,.1); box-shadow: var(--shadow-lg); background: #06101c; }
.sw-stage .frame { position: relative; }
.sw-shot { display: none; }
.sw-shot.active { display: block; animation: fadeUp .5s var(--ease); }
.sw-shot img { width: 100%; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.sw-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #0b1726; border-bottom: 1px solid rgba(255,255,255,.07); }
.sw-bar .dots { display: flex; gap: 6px; } .sw-bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: #2c3e52; }
.sw-bar .url { font-size: .78rem; color: #6f8398; margin-left: 8px; }
.sw-cap { padding: 18px 20px; background: var(--navy-2); }
.sw-cap h4 { color: #fff; } .sw-cap p { color: #9fb0c1; font-size: .92rem; margin-top: 4px; }

/* ---------- Video block ---------- */
.video-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.1); background:#000; }
.video-wrap video { width: 100%; display: block; }
/* background-style video: plays itself, no controls / no interaction */
.video-wrap--bg { pointer-events: none; }
.video-wrap--bg video { pointer-events: none; }
.video-wrap--bg video::-webkit-media-controls { display: none !important; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: var(--radius-xl); overflow: hidden; padding: clamp(40px,6vw,72px); background: var(--navy-2); color: #fff; isolation: isolate; }
.cta-band::after { content:""; position:absolute; inset:0; z-index:-1; background: radial-gradient(60% 120% at 85% 20%, rgba(56,168,232,.3), transparent 60%), var(--grad-brand); opacity:.9; }
.cta-band h2 { color: #fff; max-width: 18ch; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 52ch; margin-top: 12px; }
.cta-band .actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--gray-100); color: var(--muted); padding-top: clamp(26px,3vw,44px); border-top: 1px solid var(--gray-200); }
.footer a { color: var(--ink-2); transition: color var(--t-fast); }
.footer a:hover { color: var(--brand-deep); }
.footer__top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 32px; padding-bottom: 14px; border-bottom: none; }
.f-brand { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.f-brand .f-logo { margin: 0; }
.f-contact { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: flex-end; flex-wrap: nowrap; gap: 22px; }
.f-contact .f-contact-rows { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 22px; }
.f-contact .row { padding: 0; white-space: nowrap; }
.f-contact .btn { margin: 0; flex-shrink: 0; }
@media (max-width: 860px){ .f-contact { flex-wrap: wrap; justify-content: flex-start; } }
@media (max-width: 700px){ .footer__top { justify-content: center; text-align: center; } .f-contact { justify-content: center; } }
.footer h4 { color: var(--ink); font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; }
.footer .f-logo { height: 34px; margin-bottom: 16px; }
.footer .f-desc { font-size: .92rem; line-height: 1.7; max-width: 34ch; color: var(--muted); }
.footer ul.f-links li { padding: 7px 0; font-size: .92rem; }
.footer .f-contact .row { display: flex; gap: 11px; padding: 8px 0; font-size: .9rem; color: var(--ink-2); }
.footer .f-contact .row svg { width: 16px; height: 16px; color: var(--brand); flex-shrink: 0; margin-top: 3px; }
.footer .f-contact .row span { color: var(--muted-2) !important; }
.footer .socials { display: flex; gap: 10px; margin-top: 16px; }
.footer .socials a { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: #fff; border: 1px solid var(--gray-200); color: var(--ink-2); }
.footer .socials a:hover { background: var(--brand); color: #fff; border-color: transparent; }
.footer .socials svg { width: 18px; height: 18px; }
.footer__map { margin-top: 14px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gray-200); display: grid; grid-template-columns: 1fr 1fr; background: #fff; }
@media (max-width: 760px){ .footer__map { grid-template-columns: 1fr; } }
.footer__map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; filter: grayscale(.15); }
.footer__map .office { padding: 26px; background: #fff; }
.footer__map .office h4 { color: var(--ink); }
.footer__map .office p { color: var(--muted); }
.footer__map .office img { border-radius: var(--radius); margin-bottom: 16px; }
.req { margin-top: 14px; padding: 0 0 28px; border-top: none; display: grid; grid-template-columns: repeat(3,1fr); gap: 18px 36px; font-size: .82rem; color: var(--muted); }
@media (max-width: 760px){ .req { grid-template-columns: 1fr; } }
.req .k { color: var(--muted-2); display: block; margin-bottom: 2px; }
.footer__bottom { padding: 18px 0 32px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .82rem; color: var(--muted-2); border-top: 1px solid var(--gray-200); }

/* ============================================================
   MODAL
   ============================================================ */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px;
  opacity: 0; visibility: hidden; transition: opacity var(--t), visibility var(--t); }
.modal.open { opacity: 1; visibility: visible; }
.modal__overlay { position: absolute; inset: 0; background: rgba(7,17,28,.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal__box {
  position: relative; width: 100%; max-width: 540px; background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: clamp(18px,2.4vw,26px); transform: translateY(20px) scale(.98); transition: transform var(--t);
  max-height: 94vh; overflow-y: auto;
}
.modal.open .modal__box { transform: none; }
.modal__close { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: var(--muted); transition: var(--t-fast); }
.modal__close:hover { background: var(--gray-100); color: var(--ink); }
.modal__close svg { width: 18px; height: 18px; }
.modal h3 { font-size: 1.18rem; margin-bottom: 3px; }
.modal .sub { color: var(--muted); font-size: .86rem; line-height: 1.4; margin-bottom: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 10px; }
@media (max-width: 520px){ .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 3px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .78rem; font-weight: 700; color: var(--ink-2); }
.field label .req-star { color: #e0556a; }
.field input, .field textarea, .field select {
  width: 100%; padding: 8px 12px; border: 1.5px solid var(--gray-200); border-radius: 10px; background: var(--gray-50);
  transition: border-color var(--t-fast), background var(--t-fast);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); background: #fff; }
.field textarea { resize: vertical; min-height: 52px; }
.field .err { font-size: .72rem; color: #e0556a; display: none; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #e0556a; }
.field.invalid .err { display: block; }
.modal .form-foot { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.modal .form-foot .btn { width: 100%; padding: 11px 22px; font-size: .95rem; }
.modal .privacy { font-size: .72rem; line-height: 1.4; color: var(--muted-2); text-align: center; margin: 0; }
.form-success { text-align: center; padding: 16px 0; display: none; }
.form-success.show { display: block; }
.form-success .ok { width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; background: rgba(54,224,160,.14); color: #1faa72; }
.form-success .ok svg { width: 30px; height: 30px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 210; display: grid; place-items: center; padding: 24px; background: rgba(7,17,28,.85); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: var(--t); }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox__close { position: absolute; top: 22px; right: 22px; width: 48px; height: 48px; border-radius: 12px; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; }
.lightbox__close svg { width: 24px; height: 24px; }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-s { margin-top: 14px; } .mt-m { margin-top: 26px; } .mt-l { margin-top: 44px; }
.hide-mobile { } @media (max-width: 700px){ .hide-mobile { display: none; } }
.badge-soft { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; background: rgba(43,140,196,.1); color: var(--brand-deep); font-weight: 700; font-size: .8rem; }
.section-dark .badge-soft { background: rgba(56,168,232,.16); color: var(--brand-bright); }

/* ---------- Industry gradient card (no photo) ---------- */
.ind-card--grad { background: var(--navy-2); }
.ind-card--grad::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(120% 90% at 80% 10%, rgba(56,168,232,.35), transparent 55%), linear-gradient(160deg, #123a55 0%, #0b1c2e 100%);
  background-color: #0c2034;
}
.ind-card--grad .ind-ico { background: rgba(255,255,255,.95); }
.ind-card--grad::after { background: linear-gradient(180deg, rgba(10,24,40,0) 40%, rgba(8,20,34,.6) 100%); }
.ind-card--grad .watermark { position: absolute; right: -10px; top: 30px; width: 150px; opacity: .12; z-index: -1; }

/* ============================================================
   DOWNLOADS CENTER
   ============================================================ */
.dl-tools { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.dl-search { position: relative; flex: 1; min-width: 240px; max-width: 420px; }
.dl-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted-2); }
.dl-search input { width: 100%; padding: 14px 16px 14px 46px; border: 1.5px solid var(--gray-200); border-radius: 999px; background: var(--gray-50); }
.dl-search input:focus { outline: none; border-color: var(--brand); background: #fff; }
.dl-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.dl-chip { padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: .88rem; background: var(--gray-100); color: var(--ink-2); transition: all var(--t-fast); }
.dl-chip:hover { background: var(--gray-200); }
.dl-chip.active { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-blue); }
.dl-list { display: grid; gap: 14px; }
.dl-item { display: flex; align-items: center; gap: 18px; padding: 20px 22px; border: 1px solid var(--gray-200); border-radius: var(--radius); background: #fff; transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.dl-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(43,140,196,.3); }
.dl-ico { width: 52px; height: 52px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(56,168,232,.16), rgba(43,140,196,.1)); color: var(--brand-deep); }
.dl-ico svg { width: 26px; height: 26px; }
.dl-meta { flex: 1; min-width: 0; }
.dl-cat { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-deep); }
.dl-meta h4 { margin: 4px 0 4px; }
.dl-meta p { font-size: .92rem; color: var(--muted); }
.dl-fmt { font-size: .8rem; color: var(--muted-2); display: inline-block; margin-top: 6px; }
.dl-go { flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--gray-50); color: var(--brand-deep); transition: all var(--t-fast); }
.dl-item:hover .dl-go { background: var(--brand); color: #fff; }
.dl-go svg { width: 20px; height: 20px; }
.dl-empty { color: var(--muted); padding: 30px 0; text-align: center; }
@media (max-width: 560px){ .dl-item { flex-wrap: wrap; } .dl-go { display: none; } }

/* ---------- Generic page hero (inner pages) ---------- */
.page-hero { background: var(--navy); color: #fff; padding-top: calc(var(--header-h) + 64px); padding-bottom: 64px; position: relative; overflow: hidden; }
.page-hero::after { content:""; position:absolute; inset:0; background: radial-gradient(50% 80% at 85% 10%, rgba(56,168,232,.22), transparent 60%); pointer-events:none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color:#fff; margin: 14px 0 14px; }
.page-hero p { color:#aebccb; max-width: 64ch; }
.breadcrumbs { font-size: .85rem; color:#7e93a6; margin-bottom: 6px; }
.breadcrumbs a:hover { color: var(--brand-bright); }

/* ============================================================
   ABOUT (single-page block)
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px,4vw,56px); align-items: center; }
@media (max-width: 900px){ .about-grid { grid-template-columns: 1fr; } }
.about-figures { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.about-fig { padding: 22px; border-radius: var(--radius); background: var(--gray-50); border: 1px solid var(--gray-200); }
.about-fig .n { font-size: clamp(1.7rem,2.6vw,2.3rem); font-weight: 800; letter-spacing: -.03em; color: var(--brand-deep); }
.about-fig .n--word { font-size: clamp(1.2rem,1.7vw,1.5rem); }
.about-fig .n span { color: var(--brand); }
.about-fig .l { font-size: .9rem; color: var(--muted); margin-top: 4px; }
.values-list { display: grid; gap: 14px; margin-top: 24px; }
.values-list li { display: flex; gap: 13px; align-items: flex-start; }
.values-list .vi { flex-shrink: 0; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(56,168,232,.16), rgba(43,140,196,.1)); color: var(--brand-deep); }
.values-list .vi svg { width: 19px; height: 19px; }
.values-list b { display: block; color: var(--ink); margin-bottom: 1px; }
.values-list span { font-size: .92rem; color: var(--muted); }

/* ---------- Legislation ---------- */
.leg-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
@media (max-width: 900px){ .leg-grid { grid-template-columns: 1fr; } }
.leg-card { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--gray-200); transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.leg-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(43,140,196,.3); }
.leg-card .tag { display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .04em; padding: 5px 11px; border-radius: 999px; background: rgba(43,140,196,.1); color: var(--brand-deep); margin-bottom: 12px; }
.leg-card h4 { margin-bottom: 7px; }
.leg-card p { font-size: .92rem; color: var(--muted); }

/* ---------- Certificates ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; }
@media (max-width: 900px){ .cert-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 560px){ .cert-grid { grid-template-columns: repeat(2,1fr); } }
.cert { position: relative; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gray-200); background: #fff; box-shadow: var(--shadow-sm); transition: transform var(--t), box-shadow var(--t); }
.cert:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cert img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--gray-50); }
.cert .cap { padding: 11px 13px; font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.cert .zoom { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: rgba(255,255,255,.9); color: var(--brand-deep); opacity: 0; transition: opacity var(--t-fast); }
.cert:hover .zoom { opacity: 1; }
.cert .zoom svg { width: 17px; height: 17px; }

/* ============================================================
   DOWNLOADS CENTER v2 — category list + scrollable file box
   ============================================================ */
.dlc { display: grid; grid-template-columns: 248px 1fr; gap: 18px; align-items: start; }
@media (max-width: 760px){ .dlc { grid-template-columns: 1fr; } }
.dlc-cats { display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 760px){ .dlc-cats { flex-direction: row; flex-wrap: wrap; } }
.dlc-cat { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 11px; background: #fff; border: 1px solid var(--gray-200); font-weight: 700; font-size: .9rem; color: var(--ink-2); cursor: pointer; transition: all var(--t-fast); text-align: left; }
.dlc-cat:hover { border-color: rgba(43,140,196,.4); }
.dlc-cat.active { background: var(--grad-brand); color: #fff; border-color: transparent; box-shadow: var(--shadow-blue); }
.dlc-cat .cnt { font-size: .76rem; font-weight: 800; padding: 2px 9px; border-radius: 999px; background: rgba(43,140,196,.12); color: var(--brand-deep); }
.dlc-cat.active .cnt { background: rgba(255,255,255,.26); color: #fff; }

.dlc-panel { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.dlc-search { position: relative; padding: 13px 14px; border-bottom: 1px solid var(--gray-200); }
.dlc-search svg { position: absolute; left: 28px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted-2); }
.dlc-search input { width: 100%; padding: 9px 14px 9px 40px; border: 1.5px solid var(--gray-200); border-radius: 999px; background: var(--gray-50); }
.dlc-search input:focus { outline: none; border-color: var(--brand); background: #fff; }
.dlc-scroll { max-height: 430px; overflow-y: auto; overscroll-behavior: contain; }
.dlc-row { display: flex; align-items: center; gap: 13px; padding: 12px 16px; border-bottom: 1px solid var(--gray-100); transition: background var(--t-fast); }
.dlc-row:last-child { border-bottom: none; }
.dlc-row:hover { background: var(--gray-50); }
.dlc-ico { width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(56,168,232,.16), rgba(43,140,196,.1)); color: var(--brand-deep); font-size: .58rem; font-weight: 800; letter-spacing: .02em; }
.dlc-meta { flex: 1; min-width: 0; }
.dlc-meta .nm { font-weight: 600; font-size: .92rem; color: var(--ink); line-height: 1.35; word-break: break-word; }
.dlc-rowcat { flex-shrink: 0; margin-left: auto; padding-left: 14px; font-size: .9rem; font-weight: 700; color: var(--brand-deep); text-align: right; white-space: nowrap; }
@media (max-width: 560px){ .dlc-rowcat { display: none; } }
.dlc-dl { flex-shrink: 0; width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: var(--gray-50); color: var(--brand-deep); transition: all var(--t-fast); }
.dlc-row:hover .dlc-dl { background: var(--brand); color: #fff; }
.dlc-dl svg { width: 18px; height: 18px; }
.dlc-empty { padding: 30px; text-align: center; color: var(--muted); }
.dlc-count { padding: 10px 16px; font-size: .8rem; color: var(--muted-2); border-bottom: 1px solid var(--gray-100); background: var(--gray-50); }
.dlc-scroll::-webkit-scrollbar { width: 10px; }
.dlc-scroll::-webkit-scrollbar-track { background: transparent; }
.dlc-scroll::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 999px; border: 3px solid #fff; }
.dlc-scroll { scrollbar-width: thin; scrollbar-color: var(--gray-300) transparent; }

/* ============================================================
   HERO CAROUSEL (2-up pages, side arrows)
   ============================================================ */
.hero-carousel { position: relative; width: 100%; padding-inline: clamp(0px, 2vw, 26px); }
.hc-viewport { width: 100%; overflow: hidden; }
.hc-track { display: grid; }
/* sliding carousel: pages slide horizontally (JS controls transform), no fade */
.hc-page {
  grid-area: 1 / 1; align-self: center; align-content: start;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px,1.8vw,22px);
  transition: transform .85s cubic-bezier(.65,0,.2,1);
  will-change: transform;
}
.hc-page--solo { grid-template-columns: minmax(0, 56%); justify-content: center; }
/* uneven page: AI (1st) smaller, Законодательство (2nd) wider */
.hc-page--uneven { grid-template-columns: 1fr 1.5fr; }
/* three-tile page: wide hero on top, two tiles below */
.hc-page--three { grid-template-columns: 1fr 1fr; }
.hc-page--three .hc-hero { grid-column: 1 / -1; flex-direction: column; align-items: stretch; gap: 1px; min-height: 0; padding-block: clamp(3px,0.5vw,7px); }
.hc-hero--wide h1 { white-space: nowrap; font-size: clamp(1.25rem, 2.5vw, 2.05rem); max-width: none; margin: 0; line-height: 1.15; }
.hc-hero-row { display: flex; align-items: center; justify-content: space-between; gap: clamp(16px,2.4vw,36px); }
.hc-hero--wide .lead { margin: 0; font-size: clamp(1rem,1.15vw,1.18rem); line-height: 1.5; }
.hc-hero--wide .hero__actions { margin: 0; flex-shrink: 0; }
.hc-page--three .hc-section .btn { min-width: 0; width: 100%; }
.hc-page--three .hc-section { gap: clamp(12px,1.4vw,20px); min-height: 0; padding-top: clamp(10px,1.2vw,16px); }
.hc-page--three .hc-section .hc-ico { width: clamp(64px,6.5vw,96px); height: clamp(64px,6.5vw,96px); }
@media (max-width: 760px){
  .hc-page, .hc-page--uneven, .hc-page--three { grid-template-columns: 1fr; }
  .hc-page .hero-slide:nth-child(2){ display: none; }
  .hc-page--three .hero-slide:nth-child(3){ display: none; }
  .hc-page--solo { grid-template-columns: 1fr; }
  .hc-hero--wide h1 { white-space: normal; }
  .hc-hero-row { flex-direction: column; align-items: stretch; }
}

.hero-slide {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.09); border-radius: var(--radius-xl);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--shadow-lg);
  padding: clamp(18px,2.2vw,34px); min-height: clamp(170px,22vh,240px);
}
/* the two tiles of the entering page settle with a slight stagger */
.hc-page.active .hero-slide { animation: hcTile .7s var(--ease) both; }
.hc-page.active .hero-slide:nth-child(2){ animation-delay: .1s; }
@keyframes hcTile { from { transform: translateY(16px) scale(.97); } to { transform: none; } }

.hc-hero { display: flex; flex-direction: column; justify-content: flex-start; }
.hc-hero h1 { color: #fff; margin: 0 0 16px; max-width: 20ch; }
.hc-hero .lead { color: #b9c8d6; max-width: 60ch; }

.hc-section { display: flex; align-items: stretch; gap: clamp(18px,2.6vw,40px); }
.hc-section .hc-ico { align-self: center; }
@media (max-width: 520px){ .hc-section { flex-direction: column; align-items: center; gap: 16px; text-align: center; } }
.hc-section .hc-ico { flex-shrink: 0; width: clamp(72px,8vw,118px); height: clamp(72px,8vw,118px); border-radius: var(--radius-lg); display: grid; place-items: center; background: var(--grad-brand); box-shadow: var(--shadow-blue); }
.hc-section .hc-ico svg { width: 46%; height: 46%; color: #fff; }
/* multi-icon cluster (transport / equipment) */
.hc-section .hc-ico--grid { display: grid; gap: 9px; padding: 0; background: none; box-shadow: none;
  height: auto; border-radius: 0; align-self: center; }
.hc-ico--grid img { width: 100%; aspect-ratio: 1; border-radius: 13px; object-fit: contain; padding: 9px;
  background: rgba(255,255,255,.93); border: 1px solid rgba(255,255,255,.2); box-shadow: var(--shadow-sm); }
/* icons arranged vertically (2 columns) */
.hc-section .hc-ico--ind { grid-template-columns: repeat(2, 1fr); width: clamp(128px,15vw,168px); }
.hc-section .hc-ico--eq  { grid-template-columns: repeat(2, 1fr); width: clamp(134px,15.5vw,176px); }
.hc-section .hc-ico--ai  { grid-template-columns: repeat(2, 1fr); width: clamp(150px,17vw,196px); }
/* Отраслевые: smaller padding (less white space around the glyph) */
.hc-ico--ind img { padding: 4px; border-radius: 11px; }
/* AI badges already have their own plate — drop the white tile background */
.hc-ico--ai img { background: none; border: none; box-shadow: none; padding: 0; border-radius: 0; }
/* single-photo icon (Законодательство) */
.hc-section .hc-ico--photo-single { background: none; padding: 0; overflow: hidden; box-shadow: var(--shadow-lg); }
.hc-ico--photo-single img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
/* per-tile larger body text */
.hc-ai .lead { font-size: 1.22rem; color: #c3d2df; max-width: 48ch; }
.hc-ind .lead, .hc-equip .lead, .hc-legal .lead { font-size: 1.16rem; color: #c3d2df; }
/* photo icon centered UNDER the text */
.hc-legal .hc-body, .hc-soft .hc-body, .hc-ai .hc-body, .hc-ind .hc-body, .hc-equip .hc-body { align-items: center; text-align: center; }
/* AI, Законодательство & ПО — same size, vertically centered, button at bottom */
.hc-ai .hc-body .hc-ico--photo-single,
.hc-legal .hc-body .hc-ico--photo-single,
.hc-soft .hc-body .hc-ico--photo-single {
  width: 100%; max-width: clamp(220px,29.5vw,357px); height: clamp(112px,15.2vw,182px);
  border-radius: var(--radius); border: 1px solid rgba(56,168,232,.3);
  margin-top: auto; margin-bottom: auto;
}
.hc-ai .hc-body .btn, .hc-legal .hc-body .btn, .hc-soft .hc-body .btn { margin-top: 0; }
/* AI & Законодательство: pin image a fixed gap above the button so both align */
.hc-ai .hc-body .hc-ico--photo-single,
.hc-legal .hc-body .hc-ico--photo-single { margin-bottom: clamp(14px,1.6vw,20px); }
/* Отраслевые: no border, full image (contain, never cropped), 10% smaller */
.hc-ind .hc-body .hc-ico--photo-single {
  width: 100%; max-width: clamp(216px,29vw,360px); height: auto;
  border: none; box-shadow: none; background: none; overflow: visible; margin: 12px 0 6px;
}
.hc-ind .hc-body .hc-ico--photo-single img { width: 100%; height: auto; object-fit: contain; }
/* ПО: крупнее, изображение заполняет оставшееся пространство плитки (без обрезки) */
.hc-soft .hc-body .hc-ico--photo-single {
  height: auto; flex: 0 0 auto;
  width: 100%; max-width: clamp(234px,30.5vw,396px); margin: 8px auto 0; overflow: hidden;
}
.hc-soft .hc-body .hc-ico--photo-single img { width: 100%; height: auto; object-fit: contain; display: block; }
.hc-soft .hc-body .btn { margin-top: auto; }   /* pin to bottom, align with «Подобрать решение» */

/* equipment gallery: 3 transparent product shots, rotating, vertically centered */
.hc-equip .lead { font-size: 1.24rem; }
.hc-gallery { display: flex; gap: clamp(12px,1.7vw,22px); justify-content: center; align-items: center;
  margin-top: auto; margin-bottom: auto; }
.hc-equip .hc-body .btn { margin-top: 0; }
.hc-cell { position: relative; flex-shrink: 0; overflow: hidden;
  width: clamp(92px,11vw,134px); height: clamp(92px,11vw,134px); }
.hc-cell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.35)); transition: transform .6s cubic-bezier(.6,0,.2,1); will-change: transform; }

/* nudge buttons a bit lower without changing tile height (border-box keeps min-height) */
.hc-section, .hc-hero { padding-bottom: clamp(10px,1.2vw,18px); }
/* hero "О компании" button pinned to bottom so it lines up with the paired tile */
.hc-hero .hero__actions { margin-top: auto; }
.hc-body { min-width: 0; display: flex; flex-direction: column; height: 100%; }
.hc-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-bright); }
.hc-section h2 { color: #fff; margin: 0 0 11px; }
.hc-section .lead { color: #aebccb; max-width: 46ch; }
/* buttons: pinned to bottom, centered, same size on every tile */
.hc-body .btn { margin-top: auto; align-self: center; }
.hero-slide .btn { min-width: 248px; }
.hc-hero .hero__actions { margin-top: auto; justify-content: center; }
@media (max-width: 520px){ .hc-body .btn, .hc-hero .hero__actions { align-self: center; } }

/* side arrows, vertically centered at tile level */
.hc-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 6;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: rgba(13,32,49,.55); border: 1px solid rgba(255,255,255,.22);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.hc-arrow:hover { background: var(--brand); border-color: transparent; transform: translateY(-50%) scale(1.08); }
.hc-arrow svg { width: 20px; height: 20px; }
.hc-prev { left: -8px; }
.hc-next { right: -8px; }
@media (max-width: 760px){ .hc-prev { left: 0; } .hc-next { right: 0; } }

@media (prefers-reduced-motion: reduce){
  .hc-page { transition: none; }
  .hc-page.active .hero-slide { animation: none; }
}

/* ============================================================
   MOBILE-ONLY adjustments (phones) — do not affect desktop
   ============================================================ */
@media (max-width: 760px){
  /* top bar: single row — logo + links — no burger / slide-out menu */
  :root { --header-h: 56px; }
  .burger, .mobile-menu, .header .nav, .header__spacer, .header__contacts { display: none !important; }
  .header__inner { flex-direction: row; align-items: center; gap: 8px; }
  .brand { flex-shrink: 0; }
  .brand img { height: 24px; }
  .mnav { display: flex; flex: 1; justify-content: flex-start; gap: clamp(10px, 3vw, 16px); margin-left: 8px; }
  .mnav a { font-weight: 700; font-size: clamp(.85rem, 3.4vw, 1.1rem); color: var(--ink); white-space: nowrap; padding: 2px 0; }
  /* hide the bar when scrolling down */
  .header--hidden { transform: translateY(-100%); }

  /* hide sections not needed on mobile */
  #certificates,
  #legislation,
  #downloads,
  #solution,
  #safety { display: none !important; }

  /* hero: top tile close to the bar, natural stack, no clipping */
  .hero { min-height: 0; align-items: stretch; overflow: visible; padding-top: calc(var(--header-h) + 6px); padding-bottom: 22px; }

  /* top tile: no lead line; heading same size as section-tile headings («Отраслевые решения») */
  .hc-hero--wide .lead { display: none !important; }
  .hc-hero--wide h1 { font-size: clamp(1.55rem, 2.9vw, 2.3rem) !important; white-space: normal !important; }
  .h1-full { display: none; }
  .h1-mob { display: inline; }

  /* hero: no carousel — stack tiles vertically (Компания → ПО → Оборудование) */
  .hero-carousel .hc-arrow { display: none; }
  .hc-track { display: flex !important; flex-direction: column; gap: 14px; }
  .hc-page { display: contents !important; }
  .hc-ind, .hc-ai { display: none !important; }
  .hc-hero, .hc-soft, .hc-equip { display: flex !important; }

  /* constructor diagram: hug the image, but leave a strip at the bottom for the status badge */
  .scale-stage { min-height: 0 !important; padding: 10px 10px 44px !important; }
  .scale-stage .stage-img { height: auto !important; }
}
