/* =========================================================
   ОП СИСТЕМА — головна сторінка (index.html)
   Підключається лише на головній, після style.css.
   Усі класи головної мають префікс h-, щоб не зачіпати інші сторінки.
   ========================================================= */

/* ---------- 1. Основа ---------- */
.home{
  --h-ink:#0B1F3A;
  --h-glow:rgba(59,139,255,.32);
  --h-sky:#8FC3FF;
  --h-ok:#1F8A5B;
  --h-ok-bg:#E3F3EB;
  --h-r:16px;
  --h-shadow:0 22px 44px -24px rgba(11,31,58,.32);
  background:#fff;
}
.home h1,.home h2,.home h3{text-wrap:balance}
.home p{text-wrap:pretty}
.home [id]{scroll-margin-top:96px}
:focus-visible{outline:2px solid var(--blue-500);outline-offset:2px}

.h-sec{padding:104px 0}
.h-bg-soft{background:linear-gradient(180deg,#F5F8FC 0%,#EEF3F9 100%)}

/* Мітка розділу — «пігулка» з крапкою */
.home .eyebrow{
  gap:8px;padding:6px 13px 6px 11px;margin-bottom:18px;border-radius:999px;
  background:var(--blue-50);border:1px solid var(--blue-100);
  font-size:12px;letter-spacing:.1em;line-height:1.3;color:var(--blue-700);
}
.home .eyebrow::before{width:6px;height:6px;border-radius:50%;background:var(--blue-500)}
.home .h-navy .eyebrow{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.14);color:#C4D8EE}
.home .h-navy .eyebrow::before{background:#4FD69C}

.h-head{max-width:800px;margin-bottom:56px}
.h-head.center{margin-left:auto;margin-right:auto;text-align:center}
.h-head h2,.h-title{
  font-size:clamp(28px,3.3vw,44px);line-height:1.1;letter-spacing:-.03em;font-weight:750;margin-bottom:18px;
}
.h-head p{font-size:18px;line-height:1.65;color:var(--slate-600);margin:0}

/* Кнопки головної */
.btn-xl{padding:15px 22px;font-size:15.5px;border-radius:10px}
.btn-xl svg{width:18px;height:18px}
.btn-glow{
  background:linear-gradient(180deg,#2E7BDD 0%,#1D5FA8 100%);border-color:#1D5FA8;color:#fff;
  box-shadow:0 14px 30px -12px rgba(46,123,221,.75),inset 0 1px 0 rgba(255,255,255,.2);
}
.btn-glow:hover{
  background:linear-gradient(180deg,#3A88EA 0%,#2166B5 100%);color:#fff;transform:translateY(-1px);
  box-shadow:0 18px 36px -12px rgba(46,123,221,.85),inset 0 1px 0 rgba(255,255,255,.22);
}
.btn-glow svg{transition:transform .18s ease}
.btn-glow:hover svg{transform:translateX(3px)}
.home .btn-ghost-light{border-color:rgba(255,255,255,.28);background:rgba(255,255,255,.04)}
.home .btn-ghost-light:hover{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.5)}
.home .btn-outline{border-radius:9px}

.h-more{display:inline-flex;align-items:center;gap:7px;font-size:14.5px;font-weight:650}
.h-more svg{width:15px;height:15px;transition:transform .18s ease}
a:hover .h-more svg{transform:translateX(3px)}

/* ---------- 2. Перший екран ---------- */
.h-hero{
  position:relative;overflow:hidden;color:#B7C8DC;padding:76px 0 148px;
  background:
    radial-gradient(820px 520px at 88% -8%,var(--h-glow),transparent 62%),
    radial-gradient(640px 420px at -6% 104%,rgba(47,181,124,.12),transparent 62%),
    linear-gradient(180deg,#0A2343 0%,#0B1F3A 100%);
}
.h-hero::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background-image:linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);
  background-size:56px 56px;
  -webkit-mask-image:radial-gradient(ellipse 80% 75% at 70% 30%,#000 15%,transparent 75%);
  mask-image:radial-gradient(ellipse 80% 75% at 70% 30%,#000 15%,transparent 75%);
}
.h-hero .container{position:relative;z-index:1}
.h-hero-grid{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(0,1fr);gap:56px;align-items:center}

.h-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:26px}
.h-chip{
  display:inline-flex;align-items:center;gap:8px;padding:6px 13px;border-radius:999px;
  background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.13);
  font-size:13px;font-weight:550;color:#D5E2F0;white-space:nowrap;
}
.h-chip .dot{width:6px;height:6px;border-radius:50%;background:#4FD69C;box-shadow:0 0 0 3px rgba(79,214,156,.18)}

.h-hero h1{
  color:#fff;font-size:clamp(34px,4vw,54px);line-height:1.07;letter-spacing:-.032em;font-weight:760;margin-bottom:24px;
}
.h-hero h1 em{font-style:normal;color:var(--h-sky)}
@supports ((-webkit-background-clip:text) or (background-clip:text)){
  .h-hero h1 em{
    background:linear-gradient(92deg,#A9D6FF 0%,#5AA2FF 55%,#3B8BFF 100%);
    -webkit-background-clip:text;background-clip:text;color:transparent;
  }
}
.h-hero-sub{font-size:18px;line-height:1.7;color:#B7C8DC;max-width:590px;margin-bottom:34px}

.h-hero-cta{display:flex;flex-wrap:wrap;gap:12px}
.h-hero-cta .btn-xl{padding:15px 21px;font-size:15px}
.h-hero-meta{display:flex;flex-wrap:wrap;align-items:center;gap:10px 22px;margin-top:20px;font-size:14px;color:#9FB6CE}
.h-ok-line{display:inline-flex;align-items:center;gap:8px}
.h-ok-line svg{width:16px;height:16px;color:#4FD69C;flex:none}
.h-link-light{display:inline-flex;align-items:center;gap:6px;color:#fff;font-weight:600}
.h-link-light:hover{color:var(--h-sky)}
.h-link-light svg{width:15px;height:15px;transition:transform .18s ease}
.h-link-light:hover svg{transform:translateX(3px)}

.h-hero-note{
  display:flex;align-items:flex-start;gap:12px;margin-top:32px;padding-top:24px;
  border-top:1px solid rgba(255,255,255,.1);font-size:13.5px;line-height:1.55;color:#8EA7C2;max-width:560px;
}
.h-hero-note svg{flex:none;width:20px;height:20px;color:#4FD69C;margin-top:1px}

/* Вікно системи з плаваючими сповіщеннями */
.h-visual{position:relative}
.h-visual::before{
  content:"";position:absolute;inset:8% -4% -6% 6%;border-radius:40px;z-index:0;
  background:radial-gradient(closest-side,rgba(59,139,255,.45),transparent);filter:blur(30px);
}
.h-frame{
  position:relative;z-index:1;padding:10px;border-radius:20px;
  background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);
  box-shadow:0 50px 100px -30px rgba(0,0,0,.6);
}
.h-frame .mock{border:0;border-radius:12px;box-shadow:none}
.h-frame .mi{grid-template-columns:180px minmax(0,1fr)}
.h-frame .mi-top{gap:10px}
.h-frame .mi-top .tag{white-space:nowrap;flex:none}
.h-frame .mi-row{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) auto}
.h-frame .mi-row strong{white-space:nowrap}
.h-float{
  position:absolute;z-index:2;display:flex;align-items:center;gap:12px;
  padding:11px 16px 11px 11px;border-radius:14px;background:#fff;color:var(--h-ink);
  box-shadow:0 24px 48px -16px rgba(3,14,32,.6),0 0 0 1px rgba(11,31,58,.06);
  font-size:13.5px;line-height:1.3;white-space:nowrap;
  animation:h-bob 7s ease-in-out infinite;
}
.h-float b{display:block;font-weight:650}
.h-float small{display:block;font-size:12px;color:var(--slate-500);margin-top:2px}
.h-float .ic{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;flex:none}
.h-float .ic svg{width:19px;height:19px}
.h-float .ic.ok{background:var(--h-ok-bg);color:var(--h-ok)}
.h-float .ic.warn{background:#FDF0D8;color:#A86B12}
.h-float-a{left:-34px;bottom:-26px}
.h-float-b{right:-22px;top:-30px;animation-delay:-3.5s}
@keyframes h-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}

/* ---------- 3. Цифри та галузі ---------- */
.h-proof{position:relative;z-index:3;margin-top:-80px}
.h-stats{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  background:#fff;border:1px solid var(--line);border-radius:20px;
  box-shadow:0 34px 70px -34px rgba(11,31,58,.32),0 2px 6px rgba(11,31,58,.04);
}
.h-stat{position:relative;padding:32px 30px 30px}
.h-stat + .h-stat::before{content:"";position:absolute;left:0;top:28px;bottom:28px;width:1px;background:var(--line)}
.h-stat b{
  display:flex;align-items:baseline;gap:7px;font-size:48px;font-weight:760;line-height:1;
  letter-spacing:-.04em;color:var(--h-ink);font-variant-numeric:tabular-nums;
}
.h-stat b small{font-size:20px;font-weight:650;letter-spacing:-.01em;color:var(--blue-600)}
.h-stat span{display:block;margin-top:12px;font-size:14.5px;line-height:1.5;color:var(--slate-500)}

.h-ind{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:16px 34px;padding:44px 0 0}
.h-ind h2{margin:0;font-size:12.5px;font-weight:650;letter-spacing:.12em;text-transform:uppercase;color:var(--slate-400)}
.h-ind ul{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 28px;list-style:none;margin:0;padding:0}
.h-ind li{display:flex;align-items:center;gap:9px;margin:0;font-size:15px;font-weight:550;color:var(--slate-600)}
.h-ind svg{width:22px;height:22px;color:var(--blue-500);flex:none}

/* ---------- 4. Було / стало ---------- */
.h-vs{display:grid;grid-template-columns:minmax(0,1fr) 56px minmax(0,1fr);gap:20px;align-items:stretch}
.h-vs-col{border-radius:20px;padding:32px 34px 22px}
.h-vs-old{background:#F6F8FB;border:1px solid var(--line)}
.h-vs-new{
  color:#C9D6E5;
  background:radial-gradient(500px 260px at 100% 0%,rgba(59,139,255,.25),transparent 60%),linear-gradient(160deg,#0F2D55 0%,#0B1F3A 100%);
  box-shadow:0 36px 70px -34px rgba(11,31,58,.65);
}
.h-vs-head{display:flex;align-items:center;gap:14px;font-size:17px;font-weight:700;line-height:1.3;margin-bottom:24px;color:var(--h-ink)}
.h-vs-new .h-vs-head{color:#fff}
.h-vs-head .ic{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;flex:none}
.h-vs-head .ic svg{width:22px;height:22px}
.h-vs-old .ic{background:#FBE9E7;color:var(--red)}
.h-vs-new .ic{background:rgba(79,214,156,.14);color:#4FD69C}
.h-vs ul{list-style:none;margin:0;padding:0}
.h-vs li{position:relative;padding-left:34px;margin-bottom:15px;font-size:15.5px;line-height:1.55}
.h-vs-old li{color:var(--slate-600)}
.h-vs li::before{content:"";position:absolute;left:0;top:1px;width:22px;height:22px;border-radius:50%}
.h-vs-old li::before{
  background:#FBE9E7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B03A32' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E") center/10px no-repeat;
}
.h-vs-new li::before{
  background:rgba(79,214,156,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234FD69C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat;
}
.h-vs-mid{display:flex;align-items:center;justify-content:center}
.h-vs-mid span{
  width:56px;height:56px;border-radius:50%;display:grid;place-items:center;color:#fff;
  background:linear-gradient(150deg,#2E7BDD,#17518F);box-shadow:0 14px 28px -12px rgba(29,95,168,.7),0 0 0 8px #fff;
}
.h-vs-mid svg{width:22px;height:22px}

/* ---------- 5. Модулі ---------- */
.h-mods{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.h-mod{
  position:relative;display:flex;align-items:flex-start;gap:18px;padding:26px 26px 26px 24px;
  border-radius:var(--h-r);background:#fff;border:1px solid var(--line);color:inherit;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.h-mod:hover{color:inherit;transform:translateY(-3px);border-color:#C5D8EE;box-shadow:var(--h-shadow)}
.h-mod .ic{
  flex:none;width:50px;height:50px;border-radius:13px;display:grid;place-items:center;color:var(--blue-600);
  background:linear-gradient(150deg,#EEF5FD,#DCE9F9);box-shadow:inset 0 0 0 1px rgba(29,95,168,.1);
}
.h-mod .ic svg{width:24px;height:24px}
.h-mod h3{font-size:17.5px;letter-spacing:-.01em;margin:3px 22px 7px 0}
.h-mod p{font-size:14.6px;line-height:1.6;color:var(--slate-600);margin:0}
.h-mod .go{position:absolute;top:24px;right:22px;width:18px;height:18px;color:var(--blue-500);opacity:0;transform:translateX(-5px);transition:.2s ease}
.h-mod:hover .go{opacity:1;transform:none}
.h-mod-more{background:linear-gradient(150deg,#0F2D55 0%,#123E73 100%);border-color:transparent}
.h-mods > .h-mod-more{grid-column:1/-1}
.h-mod-more:hover{border-color:transparent}
.h-mod-more h3{color:#fff}
.h-mod-more p{color:#AFC3D8}
.h-mod-more .ic{background:rgba(255,255,255,.08);color:var(--h-sky);box-shadow:inset 0 0 0 1px rgba(255,255,255,.14)}
.h-mod-more .h-more{margin-top:14px;color:var(--h-sky)}

/* ---------- 6. Кроки ---------- */
.h-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px}
.h-step{position:relative;margin:0}
.h-step .n{
  position:relative;z-index:1;width:56px;height:56px;border-radius:50%;display:grid;place-items:center;
  font-size:20px;font-weight:750;color:#fff;margin-bottom:26px;
  background:linear-gradient(150deg,#2E7BDD,#17518F);
  box-shadow:0 12px 24px -10px rgba(29,95,168,.6),0 0 0 6px #fff,0 0 0 7px var(--blue-100);
}
.h-step:not(:last-child)::after{
  content:"";position:absolute;top:27px;left:75px;right:-11px;height:2px;
  background:repeating-linear-gradient(90deg,#B9D0EA 0 8px,transparent 8px 14px);
}
.h-step h3{font-size:18px;margin-bottom:9px}
.h-step p{font-size:15px;line-height:1.62;color:var(--slate-600);margin:0}

.h-callout{
  display:flex;align-items:flex-start;gap:18px;margin-top:60px;padding:24px 28px;border-radius:var(--h-r);
  background:linear-gradient(180deg,#FFF9EE,#FFF4E1);border:1px solid #F0DDB5;
  color:#6E5622;font-size:15px;line-height:1.65;
}
.h-callout .ic{flex:none;width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:#FBE5BC;color:#93640F}
.h-callout .ic svg{width:22px;height:22px}
.h-callout b{display:block;color:#4A3710;font-size:16.5px;margin-bottom:5px}

/* ---------- 7. Види інструктажів ---------- */
.h-types{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.h-type{
  position:relative;overflow:hidden;padding:28px 28px 30px;border-radius:var(--h-r);
  background:#fff;border:1px solid var(--line);color:inherit;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.h-type:hover{border-color:#C5D8EE;box-shadow:var(--h-shadow)}
.h-type::after{
  content:attr(data-n);position:absolute;right:14px;top:-8px;z-index:0;pointer-events:none;
  font-size:100px;font-weight:800;line-height:1;letter-spacing:-.06em;color:#EEF4FB;
}
.h-type > *{position:relative;z-index:1}
.h-type-tag{
  display:inline-block;margin-bottom:20px;padding:4px 11px;border-radius:999px;
  font-family:var(--ff-mono);font-size:12px;font-weight:500;letter-spacing:.06em;
  color:var(--blue-700);background:var(--blue-50);border:1px solid var(--blue-100);
}
.h-type h3{font-size:18px;margin-bottom:9px}
.h-type p{font-size:14.8px;line-height:1.62;color:var(--slate-600);margin:0}
.h-type-cta{
  display:flex;flex-direction:column;border-color:transparent;
  background:radial-gradient(380px 220px at 100% 0%,rgba(59,139,255,.3),transparent 60%),linear-gradient(150deg,#0F2D55,#0B1F3A);
}
.h-type-cta::after{display:none}
.h-type-cta:hover{color:inherit;transform:translateY(-3px);border-color:transparent}
.h-type-cta .ic{width:48px;height:48px;border-radius:13px;display:grid;place-items:center;margin-bottom:20px;color:var(--h-sky);background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px rgba(255,255,255,.14)}
.h-type-cta .ic svg{width:24px;height:24px}
.h-type-cta h3{color:#fff}
.h-type-cta p{color:#A9BDD2}
.h-type-cta .h-more{margin-top:auto;padding-top:20px;color:var(--h-sky)}

/* ---------- 8. П'ять кабінетів ---------- */
.h-roles{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:20px}
.h-role{
  --rc:var(--blue-600);--rc-bg:#EAF2FC;
  grid-column:span 2;position:relative;overflow:hidden;display:flex;flex-direction:column;
  padding:32px 30px 30px;border-radius:20px;background:#fff;border:1px solid var(--line);
  transition:box-shadow .2s ease,border-color .2s ease;
}
.h-role:hover{border-color:#C5D8EE;box-shadow:var(--h-shadow)}
.h-role::before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:var(--rc)}
.h-role.wide{grid-column:span 3}
.h-role.r-teal{--rc:#0F7C83;--rc-bg:#E1F3F3}
.h-role.r-green{--rc:#2C7A5A;--rc-bg:#E4F2EC}
.h-role.r-amber{--rc:#A86B12;--rc-bg:#FBF0DD}
.h-role.r-violet{--rc:#5747B0;--rc-bg:#EEECFA}
.h-role .ic{width:52px;height:52px;border-radius:14px;display:grid;place-items:center;margin-bottom:22px;color:var(--rc);background:var(--rc-bg)}
.h-role .ic svg{width:25px;height:25px}
.h-role h3{font-size:19.5px;margin-bottom:8px}
.h-role > p{font-size:15px;line-height:1.6;color:var(--slate-600);margin-bottom:22px}
.h-role .h-checks{padding-top:22px;border-top:1px solid var(--line-soft);margin-bottom:28px}
.h-role .btn{margin-top:auto;align-self:flex-start}

.h-checks{list-style:none;padding:0;margin:0}
.h-checks li{position:relative;padding-left:31px;margin-bottom:11px;font-size:14.8px;line-height:1.55;color:var(--slate-600)}
.h-checks li:last-child{margin-bottom:0}
.h-checks li::before{
  content:"";position:absolute;left:0;top:1px;width:21px;height:21px;border-radius:50%;
  background:var(--h-ok-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F8A5B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* ---------- 9. Нормативна база ---------- */
.h-navy{
  position:relative;overflow:hidden;color:#B9C9DA;
  background:radial-gradient(760px 420px at 0% 0%,rgba(42,115,196,.24),transparent 62%),linear-gradient(180deg,#0B1F3A,#0A1B33);
}
.h-navy::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background-image:linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);
  background-size:56px 56px;
  -webkit-mask-image:radial-gradient(ellipse 60% 80% at 100% 50%,#000,transparent 70%);
  mask-image:radial-gradient(ellipse 60% 80% at 100% 50%,#000,transparent 70%);
}
.h-navy .container{position:relative;z-index:1}
.h-navy h2{color:#fff}
.h-norm{display:grid;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);gap:64px;align-items:center}
.h-norm-copy p{font-size:17px;line-height:1.7;color:#A9BDD2;margin-bottom:30px}
.h-docs{
  list-style:none;margin:0;padding:6px 8px;border-radius:20px;
  background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.1);
  box-shadow:0 40px 80px -40px rgba(0,0,0,.55);
}
.h-docs li{display:flex;align-items:center;gap:14px;margin:0;padding:14px 12px;font-size:15px;line-height:1.5;color:#D6E1EC}
.h-docs li + li{border-top:1px solid rgba(255,255,255,.07)}
.h-docs .ic{flex:none;width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:rgba(143,195,255,.1);color:var(--h-sky)}
.h-docs .ic svg{width:19px;height:19px}
.h-docs .ok{flex:none;margin-left:auto;width:22px;height:22px;color:#4FD69C}

/* ---------- 10. White-label ---------- */
.h-wl{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:64px;align-items:center}
.h-wl .lead{font-size:18px;color:var(--slate-600)}
.h-wl-copy > p:not(.lead){font-size:16px;color:var(--slate-600)}
.h-wl-copy .btn{margin-top:12px}
.h-wl-card{border-radius:22px;background:#fff;border:1px solid var(--line);overflow:hidden;box-shadow:0 44px 90px -44px rgba(11,31,58,.42)}
.h-wl-bar{display:flex;align-items:center;gap:12px;padding:12px 16px;background:#F5F8FC;border-bottom:1px solid var(--line)}
.h-wl-bar .dots{display:flex;gap:5px}
.h-wl-bar .dots i{width:9px;height:9px;border-radius:50%;background:#D3DBE6;display:block}
.h-wl-bar .url{
  flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center;
  padding:5px 10px;border-radius:6px;background:#fff;border:1px solid var(--line);
  font-family:var(--ff-mono);font-size:12px;color:var(--slate-500);
}
.h-wl-brand{display:flex;align-items:center;gap:12px;padding:22px 26px;color:#fff;background:linear-gradient(120deg,#0B1F3A,#17426F)}
.h-wl-brand .logo-mark{background:#fff;color:var(--navy-900)}
.h-wl-brand b{display:block;font-size:15.5px;line-height:1.25}
.h-wl-brand small{display:block;margin-top:3px;font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;color:#8FA9C4}
.h-wl-body{padding:26px}
.h-wl-mono{font-family:var(--ff-mono);font-size:13px;color:var(--navy-800)}
.h-swatches{display:flex;align-items:center;gap:8px;margin-top:22px;padding-top:20px;border-top:1px solid var(--line-soft)}
.h-swatches i{display:block;width:30px;height:30px;border-radius:9px;box-shadow:inset 0 0 0 1px rgba(11,31,58,.08)}
.h-swatches i:nth-child(1){background:#0B1F3A}
.h-swatches i:nth-child(2){background:#1D5FA8}
.h-swatches i:nth-child(3){background:#2C7A5A}
.h-swatches i:nth-child(4){background:#B8862B}
.h-swatches i:nth-child(5){background:#EEF3F9}

/* ---------- 11. Часті запитання ---------- */
.h-faq{display:grid;grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);gap:64px;align-items:start}
.h-faq-side{position:sticky;top:112px}
.h-ask{margin-top:30px;padding:24px 26px;border-radius:var(--h-r);background:var(--bg);border:1px solid var(--line)}
.h-ask b{display:block;font-size:16.5px;color:var(--h-ink);margin-bottom:4px}
.h-ask p{font-size:14.5px;color:var(--slate-500);margin:0 0 14px}
.h-ask a{display:flex;align-items:center;gap:11px;padding:6px 0;font-weight:600;color:var(--navy-800)}
.h-ask a:hover{color:var(--blue-600)}
.h-ask a svg{width:18px;height:18px;color:var(--blue-500);flex:none}

.h-faq .acc{display:grid;gap:12px;border:0;border-radius:0;background:none;overflow:visible}
.h-faq .acc-item,.h-faq .acc-item:last-child{border:1px solid var(--line);border-radius:var(--h-r);background:#fff;transition:border-color .2s ease,box-shadow .2s ease}
.h-faq .acc-item.open{border-color:#BFD5EC;box-shadow:0 20px 44px -28px rgba(11,31,58,.32)}
.h-faq .acc-head{padding:21px 22px 21px 24px;font-size:16.5px;line-height:1.4;border-radius:var(--h-r)}
.h-faq .acc-head:hover{background:none;color:var(--blue-700)}
.h-faq .acc-head .pm{width:32px;height:32px;border-radius:50%;background:var(--blue-50);transition:background-color .2s ease}
.h-faq .acc-head .pm::before{left:10px;top:15px;width:12px;height:2px;border-radius:2px}
.h-faq .acc-head .pm::after{left:15px;top:10px;width:2px;height:12px;border-radius:2px}
.h-faq .acc-item.open .pm{background:var(--blue-100)}
.h-faq .acc-body{display:grid;grid-template-rows:0fr;padding:0;transition:grid-template-rows .28s ease}
.h-faq .acc-item.open .acc-body{display:grid;grid-template-rows:1fr}
.h-faq .acc-in{min-height:0;overflow:hidden;visibility:hidden;transition:visibility .28s}
.h-faq .acc-item.open .acc-in{visibility:visible}
.h-faq .acc-in p{margin:0;padding:0 24px 24px;font-size:15.5px;line-height:1.7;color:var(--slate-600)}

/* ---------- 12. Заклик ---------- */
.h-cta-wrap{padding:8px 0 104px}
.h-cta{
  position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:48px;align-items:center;
  padding:64px;border-radius:26px;color:#B9CCE0;
  background:
    radial-gradient(620px 320px at 100% 0%,rgba(59,139,255,.38),transparent 62%),
    radial-gradient(520px 300px at 0% 100%,rgba(47,181,124,.16),transparent 62%),
    linear-gradient(135deg,#0B1F3A 0%,#113A69 100%);
  box-shadow:0 50px 90px -50px rgba(11,31,58,.7);
}
.h-cta::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);
  background-size:48px 48px;
  -webkit-mask-image:radial-gradient(ellipse 70% 90% at 100% 0%,#000,transparent 70%);
  mask-image:radial-gradient(ellipse 70% 90% at 100% 0%,#000,transparent 70%);
}
.h-cta > *{position:relative;z-index:1}
.h-cta h2{color:#fff;font-size:clamp(26px,3vw,40px);line-height:1.12;letter-spacing:-.028em;font-weight:750;margin-bottom:14px}
.h-cta p{font-size:17px;line-height:1.65;color:#AFC3D8;margin:0}
.h-cta-actions{display:flex;flex-direction:column;align-items:flex-start;gap:18px}
.h-cta-actions .btn-group{gap:12px}
.h-cta .h-cta-alt{font-size:14px;color:#94AECB}
.h-cta-alt a{color:#fff;font-weight:600;text-decoration:underline;text-decoration-color:rgba(255,255,255,.4);text-underline-offset:3px}
.h-cta-alt a:hover{color:var(--h-sky)}

/* ---------- 13. Закріплена кнопка на телефоні ---------- */
.h-sticky{display:none}

/* ---------- 14. Поява під час прокручування ---------- */
.reveal-on [data-reveal]{opacity:0;translate:0 22px;transition:opacity .7s ease,translate .7s cubic-bezier(.2,.7,.2,1)}
.reveal-on [data-reveal].in{opacity:1;translate:none}
@media (prefers-reduced-motion:reduce){
  .h-float{animation:none}
  .reveal-on [data-reveal]{opacity:1;translate:none;transition:none}
}

/* ---------- 15. Адаптив ---------- */
@media (max-width:1180px){
  .h-hero-grid{gap:48px}
  .h-float-a{left:-14px}
  .h-float-b{right:-8px}
}
@media (max-width:1080px){
  .h-sec{padding:84px 0}
  .h-hero{padding:56px 0 132px}
  .h-hero-grid{grid-template-columns:minmax(0,1fr);gap:56px}
  .h-hero-copy{max-width:720px}
  .h-visual{max-width:680px;width:100%;margin:0 auto}
  .h-float-a{left:-18px}
  .h-float-b{right:-14px}
  .h-mods,.h-types{grid-template-columns:repeat(2,minmax(0,1fr))}
  .h-mods > :last-child{grid-column:1/-1}
  .h-steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:44px 32px}
  .h-step:nth-child(2n)::after{display:none}
  .h-step:not(:last-child)::after{right:-14px}
  .h-roles{grid-template-columns:repeat(2,minmax(0,1fr))}
  .h-role,.h-role.wide{grid-column:span 1}
  .h-role.wide:last-child{grid-column:1/-1}
  .h-norm,.h-wl,.h-faq,.h-cta{grid-template-columns:minmax(0,1fr);gap:40px}
  .h-faq-side{position:static}
  .h-cta{padding:52px 44px}
}
@media (max-width:860px){
  .h-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .h-stat:nth-child(3)::before{display:none}
  .h-stat:nth-child(n+3){border-top:1px solid var(--line)}
  .h-vs{grid-template-columns:minmax(0,1fr);gap:16px}
  .h-vs-mid span{transform:rotate(90deg)}
}
@media (max-width:760px){
  .h-sec{padding:68px 0}
  .h-head{margin-bottom:40px}
  .h-head p{font-size:16.5px}
  .h-hero{padding:44px 0 116px}
  .h-hero-sub{font-size:16.5px;margin-bottom:28px}
  .h-float{display:none}
  .h-proof{margin-top:-72px}
  .h-stat{padding:24px 20px 22px}
  .h-stat b{font-size:38px}
  .h-stat b small{font-size:17px}
  .h-stat span{font-size:13.5px;margin-top:10px}
  .h-ind{padding-top:34px;gap:14px}
  .h-ind ul{gap:10px 20px}
  .h-ind li{font-size:14px}
  .h-vs-col{padding:26px 22px 14px}
  .h-mods,.h-types,.h-roles{grid-template-columns:minmax(0,1fr)}
  .h-mods > :last-child,.h-role.wide:last-child{grid-column:auto}
  .h-mod{padding:22px 20px}
  .h-steps{grid-template-columns:minmax(0,1fr);gap:30px}
  .h-step{display:grid;grid-template-columns:56px minmax(0,1fr);column-gap:18px}
  .h-step .n{grid-row:span 2;margin-bottom:0}
  .h-step h3{margin-top:14px}
  .h-step:not(:last-child)::after,.h-step:nth-child(2n):not(:last-child)::after{
    display:block;top:70px;bottom:-24px;left:27px;right:auto;width:2px;height:auto;
    background:repeating-linear-gradient(180deg,#B9D0EA 0 8px,transparent 8px 14px);
  }
  .h-callout{flex-direction:column;gap:14px;padding:22px 20px;margin-top:44px}
  .h-role{padding:28px 22px 24px}
  .h-docs li{padding:13px 8px;font-size:14.5px}
  .h-wl-body{padding:22px 20px}
  .h-faq .acc-head{padding:18px 16px 18px 18px;font-size:15.5px}
  .h-faq .acc-in p{padding:0 18px 20px;font-size:15px}
  .h-cta-wrap{padding:0 0 72px}
  .h-cta{padding:40px 24px;border-radius:20px;gap:28px}

  .h-sticky{
    position:fixed;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px));z-index:70;
    display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:8px;border-radius:16px;
    background:rgba(255,255,255,.96);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
    box-shadow:0 18px 40px -12px rgba(11,31,58,.4),0 0 0 1px rgba(11,31,58,.08);
    transform:translateY(calc(100% + 30px));visibility:hidden;transition:transform .3s ease,visibility .3s;
  }
  .h-sticky.show{transform:none;visibility:visible}
  .h-sticky .btn{padding:13px 16px;font-size:15px;border-radius:10px}
}
@media (max-width:600px){
  /* на телефоні бічне меню макета сховане (style.css) — таблиця на всю ширину, дві колонки */
  .h-frame{padding:6px;border-radius:16px}
  .h-frame .mi{grid-template-columns:minmax(0,1fr)}
  .h-frame .mi-row{grid-template-columns:minmax(0,1fr) auto}
  .h-frame .mi-top{flex-wrap:wrap}
}
@media (max-width:520px){
  .h-chip{font-size:12.5px;padding:5px 11px}
  .h-hero-cta .btn{width:100%}
  .h-hero-note{margin-top:26px;padding-top:20px}
  .h-stat{padding:20px 16px 18px}
  .h-stat b{font-size:32px}
  .h-cta-actions,.h-cta-actions .btn-group{width:100%}
  .h-cta-actions .btn{width:100%}
}
@media print{
  .h-sticky,.h-float{display:none!important}
  .reveal-on [data-reveal]{opacity:1!important;translate:none!important}
}
