/* ============================================================
   КадроОпора v3 — управляемый кадровый проект
   Premium B2B design system
   ============================================================ */
:root{
  --bg-main: #06111F;
  --bg-secondary: #0B1828;
  --surface: #102033;
  --surface-light: #15273A;
  --surface-2: #1A2E44;
  --gold: #C9A45C;
  --gold-light: #E3C98D;
  --gold-dim: rgba(201,164,92,.20);
  --gold-line: rgba(201,164,92,.32);
  --text-primary: #F5F6F7;
  --text-secondary: #A9B2BE;
  --text-dim: #66707C;
  --border: rgba(255,255,255,.10);
  --border-strong: rgba(255,255,255,.18);
  --paper: #F6F4EF;
  --paper-ink: #0E1626;
  --paper-soft: #5B6472;
  --ok: #7FBF95;
  --danger: #D97C6B;
  --radius: 2px;
  --ease: cubic-bezier(.16,.8,.24,1);
  --maxw: 1260px;
  --shadow-lift: 0 24px 60px -30px rgba(0,0,0,.6);
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;overflow-x:hidden;width:100%;}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important;scroll-behavior:auto !important;}
}
body{
  font-family:'Inter',-apple-system,sans-serif;
  background:var(--bg-main);
  color:var(--text-primary);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
  line-height:1.55;
  font-size:16px;
}
img{display:block;max-width:100%;height:auto;}
a{color:inherit;text-decoration:none;}
button{font-family:inherit;cursor:pointer;}
ul{list-style:none;}
.container{width:min(var(--maxw),92%);margin:0 auto;}
h1,h2,h3,h4{font-family:'Playfair Display',serif;font-weight:600;line-height:1.08;letter-spacing:-.01em;color:var(--text-primary);}
section{position:relative;padding:118px 0;}
section.on-paper{background:var(--paper);color:var(--paper-ink);}
section.on-paper h1,section.on-paper h2,section.on-paper h3,section.on-paper h4{color:var(--paper-ink);}
section.on-secondary{background:var(--bg-secondary);}
section.on-surface{background:var(--surface);}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);}

/* ---------- typography ---------- */
.eyebrow{display:inline-flex;align-items:center;gap:10px;font-size:.72rem;letter-spacing:.2em;text-transform:uppercase;font-weight:700;color:var(--gold);margin-bottom:20px;}
.eyebrow::before{content:"";width:26px;height:1px;background:var(--gold);}
.eyebrow.center::before{display:none;}
h2.section-title{font-size:clamp(2rem,3.4vw,2.9rem);}
.section-lede{color:var(--text-secondary);font-size:1.05rem;line-height:1.75;margin-top:18px;max-width:640px;}
.on-paper .section-lede{color:var(--paper-soft);}
.sec-head{max-width:700px;margin-bottom:60px;}
.sec-head.center{margin-inline:auto;text-align:center;}
.sec-head.center .eyebrow{justify-content:center;}
.demo-tag{display:inline-flex;align-items:center;gap:8px;font-size:.7rem;color:var(--text-dim);border:1px dashed var(--border-strong);padding:6px 13px;border-radius:20px;margin-top:16px;}
.on-paper .demo-tag{color:var(--paper-soft);border-color:rgba(14,22,38,.2);}
.anchor-line{font-family:'Playfair Display',serif;font-style:italic;font-size:1.3rem;color:var(--gold-light);line-height:1.5;}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:16px 28px;border-radius:var(--radius);font-weight:600;font-size:.9rem;border:1px solid transparent;transition:all .3s var(--ease);white-space:nowrap;position:relative;}
.btn-gold{background:linear-gradient(180deg,var(--gold-light),var(--gold));color:#0A1729;}
.btn-gold:hover{filter:brightness(1.06);transform:translateY(-2px);box-shadow:0 18px 34px -14px rgba(201,164,92,.5);}
.btn-gold .arrow{transition:transform .3s var(--ease);}
.btn-gold:hover .arrow{transform:translateX(4px);}
.btn-ghost{border-color:rgba(255,255,255,.28);color:#fff;background:transparent;}
.btn-ghost:hover{border-color:#fff;background:rgba(255,255,255,.06);}
.btn-outline-dark{border-color:rgba(14,22,38,.28);color:var(--paper-ink);}
.btn-outline-dark:hover{background:var(--paper-ink);color:#fff;}
.btn-sm{padding:11px 20px;font-size:.8rem;}
.btn:disabled{opacity:.5;cursor:not-allowed;}
.btn:focus-visible{outline:2px solid var(--gold);outline-offset:3px;}
.btn.is-loading{color:transparent;pointer-events:none;}
.btn.is-loading::after{content:"";position:absolute;width:16px;height:16px;border:2px solid rgba(10,23,41,.35);border-top-color:#0A1729;border-radius:50%;animation:spin .7s linear infinite;}
@keyframes spin{to{transform:rotate(360deg);}}

/* ---------- reveal ---------- */
.reveal{opacity:0;transform:translateY(22px);transition:opacity .75s var(--ease),transform .75s var(--ease);}
.reveal.in{opacity:1;transform:translateY(0);}
.stagger>*{transition-delay:calc(var(--i,0) * 80ms);}

/* ============ SCROLL PROGRESS ============ */
#scrollProgress{position:fixed;top:0;left:0;height:2px;background:linear-gradient(90deg,var(--gold),var(--gold-light));width:0%;z-index:300;transition:width .1s linear;}

/* ============ HEADER ============ */
header{position:fixed;inset:0 0 auto 0;z-index:200;padding:24px 0;transition:all .4s var(--ease);}
header.scrolled{background:rgba(6,17,31,.88);backdrop-filter:blur(16px) saturate(140%);padding:13px 0;border-bottom:1px solid var(--border);}
header .container{display:flex;align-items:center;justify-content:space-between;gap:24px;}
.brand{display:flex;align-items:center;gap:12px;}
.brand img{height:36px;}
.brand-text b{display:block;font-family:'Playfair Display',serif;color:#fff;font-size:1.1rem;font-weight:700;}
.brand-text span{display:block;font-size:.56rem;letter-spacing:.15em;text-transform:uppercase;color:var(--gold-light);margin-top:2px;}
nav.nav-links{display:flex;align-items:center;gap:26px;}
nav.nav-links a{color:rgba(255,255,255,.78);font-size:.83rem;font-weight:500;position:relative;padding:4px 0;}
nav.nav-links a::after{content:"";position:absolute;left:0;bottom:-2px;width:0;height:1px;background:var(--gold);transition:width .3s var(--ease);}
nav.nav-links a:hover{color:#fff;}
nav.nav-links a:hover::after{width:100%;}
.header-right{display:flex;align-items:center;gap:16px;}
.burger{display:none;width:44px;height:44px;border-radius:50%;border:1px solid var(--border);background:rgba(255,255,255,.04);flex-direction:column;align-items:center;justify-content:center;gap:5px;}
.burger span{width:18px;height:1.5px;background:#fff;transition:all .3s var(--ease);}
.burger.open span:nth-child(1){transform:translateY(6.5px) rotate(45deg);}
.burger.open span:nth-child(2){opacity:0;}
.burger.open span:nth-child(3){transform:translateY(-6.5px) rotate(-45deg);}
.mobile-menu{position:fixed;inset:0;background:rgba(6,17,31,.98);backdrop-filter:blur(10px);z-index:190;display:flex;flex-direction:column;justify-content:center;gap:4px;padding:100px 32px 60px;transform:translateY(-100%);opacity:0;transition:transform .5s var(--ease),opacity .4s ease;pointer-events:none;overflow-y:auto;}
.mobile-menu.open{transform:translateY(0);opacity:1;pointer-events:auto;}
.mobile-menu a{font-family:'Playfair Display',serif;font-size:1.5rem;color:#fff;padding:12px 0;border-bottom:1px solid var(--border);}
.mobile-menu .btn{margin-top:26px;width:100%;}

/* ============ HERO ============ */
.hero{min-height:100vh;display:flex;align-items:center;background:var(--bg-main);position:relative;overflow:hidden;padding-top:130px;padding-bottom:60px;}
.hero-bg{position:absolute;inset:0;z-index:0;}
.hero-bg img{width:100%;height:100%;object-fit:cover;object-position:center 20%;opacity:.42;}
.hero-bg::after{content:"";position:absolute;inset:0;background:
  linear-gradient(105deg, rgba(6,17,31,.99) 10%, rgba(6,17,31,.92) 40%, rgba(6,17,31,.55) 72%, rgba(6,17,31,.28) 100%),
  linear-gradient(0deg, rgba(6,17,31,.98), rgba(6,17,31,.15) 45%);}
.hero-grid{position:relative;z-index:2;display:grid;grid-template-columns:1.15fr .85fr;gap:50px;align-items:center;}
.hero h1{font-size:clamp(2.1rem,4vw,3.7rem);color:#fff;max-width:660px;}
.hero-sub{color:var(--text-secondary);font-size:1.04rem;margin-top:22px;max-width:560px;line-height:1.7;}
.hero-sub strong{color:#fff;font-weight:600;}
.hero-offer{margin-top:22px;padding:18px 22px;background:rgba(255,255,255,.04);border-left:2px solid var(--gold);font-size:.96rem;color:var(--text-secondary);max-width:560px;line-height:1.65;}
.hero-checklist{margin-top:22px;display:grid;grid-template-columns:1fr 1fr;gap:10px 20px;max-width:560px;}
.hero-checklist li{display:flex;gap:9px;align-items:flex-start;font-size:.86rem;color:var(--text-secondary);}
.hero-checklist svg{flex-shrink:0;margin-top:2px;width:15px;height:15px;stroke:var(--gold);}
.hero-note{margin-top:20px;font-size:.85rem;color:var(--text-dim);font-style:italic;}
.hero-actions{display:flex;flex-wrap:wrap;gap:16px;margin-top:32px;align-items:center;}
.hero-flow{margin-top:14px;font-size:.78rem;color:var(--text-dim);letter-spacing:.05em;text-transform:uppercase;display:flex;align-items:center;gap:8px;}
.hero-flow b{color:var(--gold-light);font-weight:700;}

/* hero data panel */
.hero-panel{background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius);padding:30px;box-shadow:var(--shadow-lift);position:relative;overflow:hidden;}
.hero-panel::before{content:"";position:absolute;inset:0;background-image:radial-gradient(circle,rgba(201,164,92,.12) 1px,transparent 1px);background-size:20px 20px;pointer-events:none;}
.hp-row{position:relative;z-index:1;display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:22px;}
.hp-row span.lbl{display:block;font-size:.7rem;text-transform:uppercase;letter-spacing:.1em;color:var(--text-dim);}
.hp-row b.val{display:block;font-family:'Playfair Display',serif;font-size:1.9rem;color:var(--gold-light);margin-top:6px;}
.hp-status{display:inline-flex;align-items:center;gap:7px;font-size:.72rem;color:var(--text-secondary);background:rgba(255,255,255,.04);padding:6px 12px;border-radius:20px;border:1px solid var(--border);}
.hp-status .dot{width:6px;height:6px;border-radius:50%;background:var(--gold);box-shadow:0 0 0 3px rgba(201,164,92,.2);}
.hp-check{position:relative;z-index:1;display:flex;flex-direction:column;gap:11px;margin-bottom:22px;}
.hp-check div{display:flex;align-items:center;gap:10px;font-size:.86rem;color:var(--text-secondary);}
.hp-check svg{width:16px;height:16px;stroke:var(--gold);flex-shrink:0;}
.hp-route{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;padding-top:18px;border-top:1px solid var(--border);}
.flag-chip{display:inline-flex;align-items:center;gap:8px;font-size:.78rem;color:var(--text-secondary);font-weight:600;}
.flag-chip svg{width:22px;height:15px;border-radius:2px;box-shadow:0 0 0 1px var(--border-strong);}
.hp-route .line{flex:1;height:1px;background:linear-gradient(90deg,var(--gold-dim),var(--gold),var(--gold-dim));margin:0 12px;position:relative;}
.hp-route .line::before{content:"";position:absolute;top:50%;left:0;width:6px;height:6px;border-radius:50%;background:var(--gold-light);transform:translateY(-50%);animation:travel 3.4s linear infinite;box-shadow:0 0 10px 2px rgba(228,201,141,.7);}
@keyframes travel{0%{left:0;opacity:0;}8%{opacity:1;}92%{opacity:1;}100%{left:100%;opacity:0;}}

/* ============ POST-HERO STRIP ============ */
.post-hero-strip{background:var(--gold);padding:22px 0;}
.strip-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;}
.strip-inner p{color:var(--bg-main);font-weight:700;font-size:1.02rem;max-width:600px;}
.strip-inner a{display:inline-flex;align-items:center;gap:8px;color:var(--bg-main);font-weight:700;font-size:.92rem;border-bottom:1px solid rgba(6,17,31,.4);padding-bottom:2px;}

/* ============ COST CHAIN ============ */
.cost-chain{display:flex;align-items:stretch;gap:0;margin-top:10px;position:relative;}
.cost-chain::before{content:"";position:absolute;top:34px;left:5%;right:5%;height:1px;background:repeating-linear-gradient(90deg,var(--gold-line) 0 8px,transparent 8px 16px);z-index:0;}
.cc-item{flex:1;text-align:center;padding:0 10px;position:relative;z-index:1;cursor:default;}
.cc-icon{width:68px;height:68px;border-radius:50%;background:var(--surface);border:1px solid var(--border-strong);display:flex;align-items:center;justify-content:center;margin:0 auto 18px;transition:all .3s var(--ease);}
.cc-icon svg{width:26px;height:26px;stroke:var(--gold);transition:all .3s var(--ease);}
.cc-item:hover .cc-icon{border-color:var(--gold);background:var(--surface-light);transform:scale(1.06);}
.cc-item h4{font-size:.92rem;font-family:'Inter',sans-serif;font-weight:600;margin-bottom:8px;}
.cc-item p{font-size:.78rem;color:var(--text-dim);line-height:1.5;max-height:0;overflow:hidden;opacity:0;transition:max-height .4s var(--ease),opacity .3s ease;}
.cc-item:hover p{max-height:80px;opacity:1;}
.cost-final{text-align:center;margin-top:56px;}

/* ============ CALCULATOR + CHART ============ */
.calc-wrap{display:grid;grid-template-columns:.95fr 1.05fr;gap:0;background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius);overflow:hidden;}
.calc-inputs{padding:44px;border-right:1px solid var(--border);}
.calc-field{margin-bottom:26px;}
.calc-field:last-child{margin-bottom:0;}
.calc-field label{display:flex;justify-content:space-between;font-size:.78rem;text-transform:uppercase;letter-spacing:.06em;color:var(--text-secondary);margin-bottom:10px;font-weight:600;}
.calc-field label b{color:var(--gold-light);font-family:'Playfair Display',serif;font-size:1.05rem;text-transform:none;letter-spacing:0;}
.calc-field input[type=range]{width:100%;}
.calc-field input[type=number]{width:100%;background:var(--bg-secondary);border:1px solid var(--border);color:#fff;padding:12px 13px;font-size:.92rem;border-radius:var(--radius);}
.calc-field input[type=number]:focus{outline:none;border-color:var(--gold);}
input[type=range]{-webkit-appearance:none;appearance:none;height:2px;background:var(--gold-line);border-radius:2px;}
input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:20px;height:20px;border-radius:50%;background:linear-gradient(180deg,var(--gold-light),var(--gold));border:3px solid var(--bg-main);cursor:pointer;box-shadow:0 4px 14px -3px rgba(201,164,92,.7);}
input[type=range]::-moz-range-thumb{width:20px;height:20px;border-radius:50%;background:linear-gradient(180deg,var(--gold-light),var(--gold));border:3px solid var(--bg-main);cursor:pointer;}
.calc-output{padding:44px;background:var(--bg-secondary);display:flex;flex-direction:column;}
.calc-formula{font-size:.82rem;color:var(--text-dim);letter-spacing:.02em;margin-bottom:6px;}
.calc-result{font-family:'Playfair Display',serif;font-size:clamp(2.1rem,4vw,3rem);color:var(--gold-light);font-weight:700;margin-bottom:22px;}
.calc-chart-holder{flex:1;min-height:180px;position:relative;}
.calc-chart-holder canvas{width:100%;height:180px;display:block;}
.calc-disclaimer{margin-top:18px;font-size:.76rem;color:var(--text-dim);line-height:1.55;padding-top:16px;border-top:1px solid var(--border);}

/* ============ VERIFICATION SCHEME ============ */
.verify-flow{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;margin:10px 0 50px;}
.vf-node{flex:1;min-width:120px;text-align:center;padding:22px 12px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);opacity:.4;transition:all .5s var(--ease);}
.vf-node.active{opacity:1;border-color:var(--gold-line);background:var(--surface-light);}
.vf-node span{font-size:.84rem;font-weight:600;color:var(--text-primary);}
.vf-arrow{color:var(--text-dim);font-size:1.1rem;}
.verify-anchor{text-align:center;padding:50px 20px;}

/* ============ ANALYTICAL LAYOUT (director gets) ============ */
.analytics-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--border);border:1px solid var(--border);}
.an-card{background:var(--bg-secondary);padding:32px 26px;transition:background .3s ease;}
.an-card:hover{background:var(--surface);}
.an-card .an-num{font-family:'Playfair Display',serif;color:var(--gold);font-size:1.5rem;margin-bottom:16px;}
.an-card h4{font-size:.94rem;margin-bottom:9px;}
.an-card p{font-size:.8rem;color:var(--text-secondary);line-height:1.6;}
.analytics-note{margin-top:24px;font-size:.85rem;color:var(--text-dim);font-style:italic;}

/* ============ CANDIDATE CARDS ============ */
.candidate-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;}
.cand-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;cursor:pointer;transition:all .3s var(--ease);}
.cand-card:hover,.cand-card.open{border-color:var(--gold-line);transform:translateY(-3px);}
.cand-photo{aspect-ratio:4/3.2;overflow:hidden;position:relative;}
.cand-photo img{width:100%;height:100%;object-fit:cover;transition:transform .6s var(--ease);filter:saturate(.95);}
.cand-card:hover .cand-photo img{transform:scale(1.05);}
.cand-id{position:absolute;top:12px;left:12px;background:rgba(6,17,31,.72);backdrop-filter:blur(6px);color:var(--gold-light);font-size:.72rem;font-weight:700;padding:5px 10px;border-radius:20px;}
.cand-id-row{margin-bottom:12px;}
.cand-id-badge{display:inline-flex;align-items:center;font-size:.72rem;font-weight:700;color:var(--gold-light);background:var(--gold-dim);border:1px solid var(--gold-line);padding:5px 11px;border-radius:20px;}
.cand-body{padding:22px;}
.cand-body h4{font-size:1.02rem;margin-bottom:4px;}
.cand-body .cand-exp{font-size:.82rem;color:var(--text-dim);margin-bottom:14px;}
.cand-status-row{display:flex;flex-wrap:wrap;gap:8px;}
.cand-status-row span{display:inline-flex;align-items:center;gap:5px;font-size:.7rem;color:var(--text-secondary);background:rgba(255,255,255,.04);padding:5px 9px;border-radius:14px;border:1px solid var(--border);}
.cand-status-row svg{width:11px;height:11px;stroke:var(--gold);}
.cand-detail{max-height:0;overflow:hidden;transition:max-height .5s var(--ease);}
.cand-card.open .cand-detail{max-height:220px;}
.cand-detail-inner{padding:0 20px 20px;border-top:1px solid var(--border);margin-top:14px;padding-top:14px;}
.cand-detail-inner div{display:flex;justify-content:space-between;font-size:.82rem;padding:6px 0;color:var(--text-secondary);}
.cand-detail-inner b{color:var(--text-primary);font-weight:600;}
.cand-final-status{margin-top:16px;display:inline-flex;align-items:center;gap:6px;color:var(--ok);font-size:.82rem;font-weight:700;}

/* chain: experience -> confirmed */
.cand-chain{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:50px;}
.cand-chain span{font-size:.82rem;color:var(--text-secondary);padding:9px 16px;border:1px solid var(--border);border-radius:20px;background:var(--surface);}
.cand-chain .sep{color:var(--gold);border:none;background:none;padding:0;}

/* ============ ONE WINDOW ============ */
.chaos-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-bottom:56px;}
.chaos-chip{padding:10px 18px;border:1px solid var(--border);border-radius:20px;font-size:.82rem;color:var(--text-dim);background:var(--surface);}
.hub-flow{display:flex;flex-direction:column;align-items:center;gap:16px;}
.hub-node{width:120px;height:120px;border-radius:50%;background:var(--gold-dim);border:1px solid var(--gold-line);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;}
.hub-node img{height:26px;margin-bottom:6px;}
.hub-node b{font-family:'Playfair Display',serif;color:var(--gold-light);font-size:.95rem;}
.hub-arrow{color:var(--gold);font-size:1.3rem;}
.hub-result{text-align:center;font-size:.95rem;color:var(--text-secondary);max-width:420px;}

/* ============ DASHBOARD ============ */
.dash-panel{background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius);padding:40px;}
.dash-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;flex-wrap:wrap;gap:14px;}
.dash-top .dt-need b{display:block;font-family:'Playfair Display',serif;font-size:1.7rem;color:var(--gold-light);}
.dash-top .dt-need span{font-size:.75rem;text-transform:uppercase;letter-spacing:.08em;color:var(--text-dim);}
.dash-rows{display:flex;flex-direction:column;gap:22px;}
.dash-row{display:grid;grid-template-columns:200px 1fr 90px;align-items:center;gap:18px;}
.dash-row .dr-label{font-size:.88rem;color:var(--text-secondary);}
.dash-bar-bg{height:9px;background:rgba(255,255,255,.06);border-radius:8px;overflow:hidden;}
.dash-bar-fill{height:100%;border-radius:8px;width:0;background:linear-gradient(90deg,var(--gold),var(--gold-light));transition:width 1.3s var(--ease);}
.dash-row .dr-val{text-align:right;font-family:'Playfair Display',serif;color:var(--gold-light);font-size:1rem;font-weight:700;}

/* ============ FUNNEL ============ */
.funnel-wrap{display:flex;align-items:flex-end;justify-content:center;gap:6px;margin-top:20px;height:220px;}
.funnel-bar{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;flex:1;max-width:110px;cursor:pointer;position:relative;}
.funnel-fill{width:100%;background:linear-gradient(180deg,var(--gold-light),var(--gold));border-radius:3px 3px 0 0;height:0;transition:height 1.1s var(--ease);}
.funnel-bar .fb-val{margin-top:10px;font-family:'Playfair Display',serif;color:var(--gold-light);font-weight:700;font-size:1.1rem;}
.funnel-bar .fb-label{margin-top:4px;font-size:.72rem;color:var(--text-dim);text-align:center;}
.funnel-tooltip{position:absolute;bottom:calc(100% + 12px);left:50%;transform:translateX(-50%);background:var(--bg-secondary);border:1px solid var(--gold-line);padding:10px 14px;border-radius:var(--radius);font-size:.76rem;color:var(--text-secondary);white-space:normal;width:150px;text-align:center;opacity:0;pointer-events:none;transition:opacity .25s ease;z-index:5;}
.funnel-bar:first-child .funnel-tooltip{left:0;transform:translateX(0);}
.funnel-bar:last-child .funnel-tooltip{left:auto;right:0;transform:translateX(0);}
.funnel-bar:hover .funnel-tooltip{opacity:1;}

/* ============ DEMO CABINET ============ */
.cabinet{background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius);overflow:hidden;}
.cabinet-head{padding:26px 34px;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:14px;}
.cabinet-head h4{font-size:1.1rem;}
.cabinet-progress{display:flex;align-items:center;gap:12px;}
.cabinet-progress .bar{width:160px;height:8px;background:rgba(255,255,255,.06);border-radius:8px;overflow:hidden;}
.cabinet-progress .fill{height:100%;background:linear-gradient(90deg,var(--gold),var(--gold-light));width:0;transition:width 1.2s var(--ease);}
.cabinet-tabs{display:flex;flex-wrap:wrap;border-bottom:1px solid var(--border);}
.cab-tab{padding:16px 22px;font-size:.85rem;color:var(--text-secondary);border-bottom:2px solid transparent;transition:all .25s ease;}
.cab-tab.active{color:var(--gold-light);border-color:var(--gold);}
.cab-tab:hover{color:#fff;}
.cabinet-body{padding:34px;min-height:140px;}
.cab-panel{display:none;}
.cab-panel.active{display:block;}
.cab-panel p{color:var(--text-secondary);font-size:.92rem;line-height:1.7;max-width:600px;}
.cab-panel ul{margin-top:14px;display:flex;flex-direction:column;gap:9px;}
.cab-panel li{font-size:.86rem;color:var(--text-secondary);display:flex;gap:10px;}
.cab-panel li svg{width:15px;height:15px;stroke:var(--gold);flex-shrink:0;margin-top:2px;}

/* ============ RISK TIMELINE (short) ============ */
.risk-timeline{display:flex;flex-direction:column;gap:0;max-width:700px;}
.risk-item{display:flex;gap:22px;padding:20px 0;border-left:1px solid var(--border);padding-left:28px;position:relative;}
.risk-item::before{content:"";position:absolute;left:-5px;top:26px;width:9px;height:9px;border-radius:50%;background:var(--gold);}
.risk-item b{color:var(--gold-light);font-family:'Playfair Display',serif;font-size:1rem;margin-right:10px;}
.risk-item span{color:var(--text-secondary);font-size:.94rem;}

/* ============ ALTERNATIVE COMPARISON ============ */
.alt-grid{display:grid;grid-template-columns:1fr 1fr;gap:2px;background:var(--border);border:1px solid var(--border);}
.alt-col{background:var(--bg-secondary);padding:38px 34px;}
.alt-col.highlight{background:var(--surface);}
.alt-col h4{font-size:1.05rem;margin-bottom:26px;color:#fff;}
.alt-col.highlight h4{color:var(--gold-light);}
.alt-step{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--border);font-size:.88rem;color:var(--text-secondary);}
.alt-step:last-child{border:none;}
.alt-step .as-num{width:22px;height:22px;border-radius:50%;border:1px solid var(--border-strong);display:flex;align-items:center;justify-content:center;font-size:.7rem;flex-shrink:0;color:var(--text-dim);}
.alt-col.highlight .as-num{border-color:var(--gold-line);color:var(--gold-light);}
.alt-bottom{text-align:center;margin-top:30px;font-family:'Playfair Display',serif;font-style:italic;font-size:1.15rem;color:var(--gold-light);}

/* ============ WHY INDIA ============ */
.why-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:60px;align-items:center;}
.why-list{display:flex;flex-direction:column;}
.why-item{display:flex;gap:18px;padding:20px 0;border-bottom:1px solid var(--border);}
.why-item:first-child{padding-top:0;}
.why-item .wi-ico{width:42px;height:42px;border-radius:50%;border:1px solid var(--gold-line);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.why-item .wi-ico svg{width:18px;height:18px;stroke:var(--gold-light);}
.why-item h4{font-size:.94rem;margin-bottom:6px;}
.why-item p{font-size:.84rem;color:var(--text-secondary);line-height:1.6;}
.why-visual{position:relative;border-radius:var(--radius);overflow:hidden;aspect-ratio:4/5;}
.why-visual img{width:100%;height:100%;object-fit:cover;}
.why-visual::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(6,17,31,0) 40%,rgba(6,17,31,.9) 100%);}
.why-visual .wv-caption{position:absolute;left:24px;right:24px;bottom:24px;z-index:1;}
.wv-caption p{color:#fff;font-family:'Playfair Display',serif;font-style:italic;font-size:1.15rem;line-height:1.5;}

/* ============ ROUTE MAP INDIA-RUSSIA ============ */
.route-panel{background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius);padding:56px 44px;position:relative;overflow:hidden;}
.route-panel::before{content:"";position:absolute;inset:0;background-image:radial-gradient(circle,rgba(201,164,92,.08) 1px,transparent 1px);background-size:26px 26px;pointer-events:none;}
.route-big{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;}
.route-country{display:flex;flex-direction:column;align-items:center;gap:16px;text-align:center;min-width:160px;cursor:default;}
.route-country .flag-big{width:72px;height:48px;border-radius:4px;box-shadow:0 0 0 1px var(--border-strong),var(--shadow-lift);transition:transform .3s var(--ease);}
.route-country:hover .flag-big{transform:scale(1.06);}
.route-country b{font-family:'Playfair Display',serif;color:#fff;font-size:1.3rem;}
.route-country .rc-tooltip{font-size:.8rem;color:var(--text-dim);max-width:190px;opacity:0;max-height:0;overflow:hidden;transition:opacity .3s ease,max-height .3s ease;}
.route-country:hover .rc-tooltip{opacity:1;max-height:60px;}
.route-track{flex:1;min-width:200px;position:relative;height:2px;background:linear-gradient(90deg,var(--gold-dim),var(--gold),var(--gold-dim));margin:0 6px;}
.route-track .rt-dot{position:absolute;top:50%;width:8px;height:8px;background:var(--gold-light);border-radius:50%;transform:translate(-50%,-50%);box-shadow:0 0 12px 3px rgba(228,201,141,.7);animation:travel2 4s linear infinite;}
@keyframes travel2{0%{left:0;opacity:0;}6%{opacity:1;}94%{opacity:1;}100%{left:100%;opacity:0;}}
.route-stages{position:relative;z-index:1;display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin-top:48px;}
.stage-chip{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border-radius:20px;background:rgba(255,255,255,.04);border:1px solid var(--border);color:var(--text-secondary);font-size:.8rem;font-weight:600;transition:all .3s ease;}
.stage-chip:hover{border-color:var(--gold-line);color:#fff;background:var(--gold-dim);}

/* ============ RUSSIA MAP (radial network) ============ */
.rumap-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center;}
@media(max-width:1080px){.rumap-grid{grid-template-columns:1fr;}}
.rumap-visual{background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius);padding:30px;}
.rumap-visual svg{width:100%;height:auto;}
.rumap-region{cursor:pointer;transition:all .3s ease;}
.rumap-legend{display:flex;flex-direction:column;gap:14px;margin-top:24px;}
.rumap-legend-item{display:flex;align-items:center;gap:12px;font-size:.86rem;color:var(--text-secondary);}
.rumap-legend-item .lg-dot{width:9px;height:9px;border-radius:50%;background:var(--gold);flex-shrink:0;}
.rumap-legend-item .lg-dot.pulse{animation:pulse 2.4s infinite;}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(201,164,92,.45);}70%{box-shadow:0 0 0 10px rgba(201,164,92,0);}100%{box-shadow:0 0 0 0 rgba(201,164,92,0);}}

/* ============ INDUSTRIES ============ */
.ind-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:2px;background:var(--border);border:1px solid var(--border);}
.ind-card{position:relative;aspect-ratio:4/4.6;overflow:hidden;background:var(--surface);}
.ind-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .7s var(--ease);filter:saturate(.9);}
.ind-card:hover img{transform:scale(1.03);}
.ind-card::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(6,17,31,.08) 26%,rgba(6,17,31,.96) 100%);}
.ind-body{position:absolute;inset:auto 0 0 0;z-index:2;padding:22px;}
.ind-ico{width:34px;height:34px;border-radius:50%;border:1px solid var(--gold-line);display:flex;align-items:center;justify-content:center;margin-bottom:12px;transition:all .3s ease;}
.ind-card:hover .ind-ico{background:var(--gold-dim);}
.ind-ico svg{width:15px;height:15px;stroke:var(--gold-light);}
.ind-body h4{color:#fff;font-size:1.02rem;margin-bottom:8px;}
.ind-body .ind-profs{font-size:.74rem;color:rgba(255,255,255,.55);margin-bottom:10px;}
.ind-body .ind-cta{font-size:.78rem;color:var(--gold-light);font-weight:600;opacity:0;max-height:0;overflow:hidden;transition:opacity .35s ease,max-height .35s ease;}
.ind-card:hover .ind-cta{opacity:1;max-height:30px;}

/* ============ PROJECT TIMELINE (11 steps) ============ */
.ptimeline{position:relative;padding-left:34px;}
.ptimeline::before{content:"";position:absolute;left:10px;top:6px;bottom:6px;width:1px;background:var(--border);}
.pt-step{position:relative;padding-bottom:34px;cursor:pointer;}
.pt-step:last-child{padding-bottom:0;}
.pt-step::before{content:"";position:absolute;left:-34px;top:2px;width:11px;height:11px;border-radius:50%;background:var(--bg-main);border:2px solid var(--text-dim);transition:all .4s ease;}
.pt-step.past::before{border-color:var(--gold);background:var(--gold);}
.pt-step.current::before{border-color:var(--gold-light);background:var(--gold-light);box-shadow:0 0 0 5px rgba(201,164,92,.22);}
.pt-step h4{font-size:.98rem;color:var(--text-dim);transition:color .4s ease;}
.pt-step.past h4,.pt-step.current h4{color:var(--text-primary);}
.pt-step.current h4{color:var(--gold-light);}
.pt-desc{max-height:0;overflow:hidden;transition:max-height .4s var(--ease);}
.pt-step.expanded .pt-desc{max-height:100px;}
.pt-desc p{font-size:.85rem;color:var(--text-secondary);padding-top:8px;max-width:520px;line-height:1.6;}

/* ============ WORKER SLIDER ============ */
.wcalc-card{background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius);padding:48px 44px;}
.wcalc-top{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;flex-wrap:wrap;margin-bottom:36px;}
.wcalc-value{font-family:'Playfair Display',serif;color:var(--gold-light);font-size:clamp(2.3rem,5vw,3.4rem);font-weight:700;}
.wcalc-value span{display:block;font-size:.95rem;color:var(--text-secondary);font-family:'Inter',sans-serif;font-weight:500;margin-top:6px;}
.range-ticks{display:flex;justify-content:space-between;margin-top:14px;}
.range-ticks span{font-size:.72rem;color:var(--text-dim);cursor:pointer;transition:color .3s;padding:4px;}
.range-ticks span:hover,.range-ticks span.active{color:var(--gold-light);}
.wcalc-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:34px;flex-wrap:wrap;}
.wcalc-note{color:var(--text-dim);font-size:.82rem;max-width:380px;line-height:1.6;}

/* ============ EMPLOYER GETS ============ */
.gets-grid{display:grid;grid-template-columns:1fr 1fr;gap:2px;background:var(--border);border:1px solid var(--border);}
.gets-col{background:var(--bg-secondary);padding:38px 34px;}
.gets-col.highlight{background:var(--surface);}
.gets-col h4{font-size:1.05rem;margin-bottom:8px;}
.gets-col h4 em{color:var(--gold-light);font-style:italic;}
.gets-col .gc-sub{font-size:.82rem;color:var(--text-dim);margin-bottom:24px;}
.gets-item{display:flex;gap:12px;padding:11px 0;font-size:.88rem;color:var(--text-secondary);border-bottom:1px solid var(--border);}
.gets-item:last-child{border:none;}
.gets-item svg{width:15px;height:15px;stroke:var(--gold);flex-shrink:0;margin-top:2px;}

/* ============ PRE-FORM EDITORIAL ============ */
.preform{text-align:center;max-width:760px;margin:0 auto;}
.preform h2{font-size:clamp(1.9rem,3.6vw,2.7rem);}
.preform .pf-q{margin-top:22px;font-family:'Playfair Display',serif;font-style:italic;color:var(--gold-light);font-size:1.3rem;line-height:1.5;}
.preform .pf-free{margin-top:26px;font-family:'Playfair Display',serif;font-size:2.2rem;color:#fff;}
.preform .pf-anchor{margin-top:20px;color:var(--text-dim);font-size:.86rem;}

/* ============ FORM ============ */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;}
.contact-list{margin-top:32px;display:flex;flex-direction:column;gap:18px;}
.contact-list div{display:flex;align-items:center;gap:16px;color:#fff;font-size:.94rem;font-weight:600;}
.contact-list .ci{width:40px;height:40px;border:1px solid var(--gold-line);border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--gold-light);flex-shrink:0;}
.contact-list .ci svg{width:17px;height:17px;stroke:currentColor;}
.contact-list small{display:block;color:var(--text-dim);font-weight:400;font-size:.72rem;text-transform:uppercase;letter-spacing:.05em;margin-top:2px;}
form.cform{background:var(--paper);color:var(--paper-ink);padding:42px;border-top:2px solid var(--gold);border-radius:var(--radius);position:relative;}
.cform h3{font-size:1.2rem;margin-bottom:6px;}
.cform>p.cf-sub{color:var(--paper-soft);font-size:.85rem;margin-bottom:26px;}
.cform .frow{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px;}
.cf-field{margin-bottom:14px;}
.cf-field label{display:block;font-size:.7rem;text-transform:uppercase;letter-spacing:.05em;color:var(--paper-soft);margin-bottom:8px;font-weight:600;}
.cform input,.cform select,.cform textarea{width:100%;border:1px solid rgba(14,22,38,.18);padding:13px 14px;font-family:'Inter',sans-serif;font-size:.9rem;background:#fff;color:var(--paper-ink);border-radius:var(--radius);min-height:46px;transition:border-color .25s ease;}
.cform textarea{min-height:70px;}
.cform input:focus,.cform select:focus,.cform textarea:focus{outline:none;border-color:var(--gold);}
.cf-field.error input,.cf-field.error select{border-color:var(--danger);}
.cf-field .err-msg{display:none;color:var(--danger);font-size:.74rem;margin-top:6px;}
.cf-field.error .err-msg{display:block;}
.check-row{display:flex;align-items:flex-start;gap:10px;margin:14px 0 20px;}
.check-row input{width:16px;height:16px;min-height:auto;margin-top:3px;flex-shrink:0;accent-color:var(--gold);}
.check-row label{font-size:.78rem;color:var(--paper-soft);font-weight:400;line-height:1.5;text-transform:none;letter-spacing:0;}
.cform button{width:100%;justify-content:center;border:none;font-size:.94rem;}
.cform .fine{font-size:.7rem;color:var(--paper-soft);margin-top:12px;line-height:1.5;}
.form-panel{display:none;}
.form-panel.active{display:block;}
.state-box{text-align:center;padding:40px 20px;}
.state-icon{width:58px;height:58px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 20px;}
.state-icon.success{background:rgba(127,191,149,.15);border:1px solid var(--ok);color:var(--ok);}
.state-icon.error{background:rgba(217,124,107,.15);border:1px solid var(--danger);color:var(--danger);}
.state-icon svg{width:24px;height:24px;stroke:currentColor;}
.state-box h3{color:var(--paper-ink);margin-bottom:10px;}
.state-box p{color:var(--paper-soft);font-size:.9rem;line-height:1.6;max-width:380px;margin:0 auto;}
.state-box .btn{margin-top:24px;}

.hp-field{position:absolute;left:-9999px;top:-9999px;width:1px;height:1px;overflow:hidden;opacity:0;}

/* ============ TRUST ============ */
.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--border);border:1px solid var(--border);}
.trust-card{background:var(--bg-main);padding:32px 24px;}
.trust-card .tc-ico{width:38px;height:38px;border-radius:50%;border:1px solid var(--gold-line);display:flex;align-items:center;justify-content:center;margin-bottom:16px;}
.trust-card .tc-ico svg{width:16px;height:16px;stroke:var(--gold-light);}
.trust-card h4{font-size:.92rem;margin-bottom:8px;}
.trust-card p{font-size:.8rem;color:var(--text-secondary);line-height:1.6;}

/* ============ FAQ ============ */
.faq-list{max-width:820px;}
.faq-item{border-bottom:1px solid var(--border);}
.faq-q{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 4px;cursor:pointer;}
.faq-q h4{color:#fff;font-size:.98rem;font-family:'Inter',sans-serif;font-weight:600;}
.faq-plus{width:22px;height:22px;flex-shrink:0;position:relative;}
.faq-plus::before,.faq-plus::after{content:"";position:absolute;top:50%;left:50%;background:var(--gold);transform:translate(-50%,-50%);transition:transform .35s var(--ease);}
.faq-plus::before{width:14px;height:1.5px;}
.faq-plus::after{width:1.5px;height:14px;}
.faq-item.open .faq-plus::after{transform:translate(-50%,-50%) rotate(90deg) scale(0);}
.faq-a{max-height:0;overflow:hidden;transition:max-height .5s var(--ease);}
.faq-item.open .faq-a{max-height:260px;}
.faq-a p{color:var(--text-secondary);font-size:.9rem;line-height:1.7;padding:0 4px 22px;max-width:680px;}

/* ============ FOOTER ============ */
footer{background:var(--bg-main);color:var(--text-dim);padding:64px 0 140px;border-top:1px solid var(--border);}
.foot-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:46px;padding-bottom:44px;border-bottom:1px solid var(--border);}
.foot-brand{display:flex;align-items:center;gap:12px;margin-bottom:16px;}
.foot-brand img{height:32px;}
.foot-brand b{font-family:'Playfair Display',serif;color:#fff;font-size:1.05rem;}
.foot-desc{font-size:.85rem;line-height:1.7;max-width:290px;}
.foot-col h5{color:#fff;font-size:.76rem;text-transform:uppercase;letter-spacing:.08em;margin-bottom:18px;font-weight:700;}
.foot-col a,.foot-col span{display:block;color:var(--text-dim);font-size:.86rem;margin-bottom:11px;transition:color .3s;}
.foot-col a:hover{color:var(--gold-light);}
.foot-bottom{display:flex;justify-content:space-between;align-items:flex-start;padding-top:24px;font-size:.76rem;flex-wrap:wrap;gap:14px;}
.foot-bottom .fb-legal{max-width:640px;line-height:1.65;}

/* ============ STICKY CTA ============ */
.sticky-cta-desktop{position:fixed;right:28px;bottom:28px;z-index:150;opacity:0;transform:translateY(16px) scale(.96);pointer-events:none;transition:all .4s var(--ease);}
.sticky-cta-desktop.show{opacity:1;transform:translateY(0) scale(1);pointer-events:auto;}
.sticky-cta-mobile{display:none;position:fixed;left:0;right:0;bottom:0;z-index:150;background:rgba(6,17,31,.96);backdrop-filter:blur(14px);border-top:1px solid var(--border);padding:12px 16px;padding-bottom:calc(12px + env(safe-area-inset-bottom));transform:translateY(100%);transition:transform .4s var(--ease);}
.sticky-cta-mobile.show{transform:translateY(0);}
.sticky-cta-mobile .btn{width:100%;}

/* ---------- inline icon svg fallback stroke ---------- */
svg[stroke-width]{stroke:currentColor;fill:none;}
.gets-item svg{stroke:var(--gold);}
.hero-actions svg,.cost-final svg{stroke:currentColor;}

/* ============ grid overflow safety ============ */
[class*="-grid"]>*,[class*="-flow"]>*,[class*="-wrap"]>*,.dash-row>*{min-width:0;}
svg{max-width:100%;}

/* ============ RESPONSIVE ============ */
@media(max-width:1080px){
  nav.nav-links{display:none;}
  .burger{display:flex;}
  .hero-grid{grid-template-columns:1fr;}
  .hero-panel{max-width:520px;}
  .cost-chain{flex-direction:column;gap:22px;}
  .cost-chain::before{display:none;}
  .calc-wrap{grid-template-columns:1fr;}
  .calc-inputs{border-right:none;border-bottom:1px solid var(--border);}
  .analytics-grid{grid-template-columns:repeat(2,1fr);}
  .candidate-grid{grid-template-columns:repeat(2,1fr);}
  .why-grid{grid-template-columns:1fr;}
  .why-visual{aspect-ratio:16/9;}
  .ind-grid{grid-template-columns:repeat(2,1fr);}
  .alt-grid,.gets-grid{grid-template-columns:1fr;}
  .contact-grid{grid-template-columns:1fr;}
  .trust-grid{grid-template-columns:repeat(2,1fr);}
  .dash-row{grid-template-columns:130px 1fr 70px;gap:12px;}
  .foot-grid{grid-template-columns:1fr 1fr;gap:36px;}
  .sticky-cta-desktop{display:none;}
  .sticky-cta-mobile{display:block;}
  .hero-checklist{grid-template-columns:1fr;}
}
@media(max-width:480px){
  .header-right .btn-sm{display:none;}
  .brand-text span{display:none;}
  .brand img{height:30px;}
}
@media(max-width:640px){
  section{padding:76px 0;}
  .analytics-grid,.ind-grid,.trust-grid,.candidate-grid{grid-template-columns:1fr;}
  .foot-grid{grid-template-columns:1fr;}
  .route-big{flex-direction:column;}
  .route-track{width:2px;height:70px;transform:rotate(90deg);margin:20px 0;}
  .dash-row{grid-template-columns:1fr;gap:6px;}
  .dash-row .dr-val{text-align:left;}
  .cform .frow{grid-template-columns:1fr;}
  .strip-inner{flex-direction:column;align-items:flex-start;}
  .funnel-wrap{height:180px;}
  .cabinet-tabs{overflow-x:auto;flex-wrap:nowrap;}
  .cab-tab{flex-shrink:0;}
}

/* ---------- focus & accessibility ---------- */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{
  outline:2px solid var(--gold);outline-offset:2px;
}
