
/* Hafnak home · three standalone editorial illustrations · RTL + responsive */
.haf-home-viz{--hv-red:#f3133d;--hv-burgundy:#b60a2b;--hv-ink:#1e1b22;--hv-muted:#67636c;--hv-line:#eee2e6;position:relative;isolation:isolate;padding:76px 0;background:#fff;color:var(--hv-ink);direction:rtl;overflow:hidden}
.haf-home-viz *,.haf-home-viz *::before,.haf-home-viz *::after{box-sizing:border-box}
.haf-home-viz a{text-decoration:none}
.haf-home-viz--soft{background:linear-gradient(160deg,#fff8f9,#fff 56%,#fff6f7)}
.haf-home-viz .haf-wrap{width:min(1180px,calc(100% - 40px));margin-inline:auto}
.haf-home-viz__layout{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(28px,6vw,80px);align-items:center}
.haf-home-viz--reverse .haf-home-viz__layout{direction:ltr}
.haf-home-viz--reverse .haf-home-viz__copy,.haf-home-viz--reverse .haf-home-viz__scene{direction:rtl}
.haf-home-viz__copy{min-width:0}
.haf-home-viz__eyebrow{display:inline-flex;align-items:center;gap:9px;font-size:13px;font-weight:800;color:var(--hv-burgundy);margin-bottom:13px}
.haf-home-viz__eyebrow::before{content:"";width:24px;height:2px;border-radius:2px;background:var(--hv-red)}
.haf-home-viz__copy h2{font-size:clamp(27px,3.4vw,44px);line-height:1.5;letter-spacing:-.025em;margin:0 0 16px;font-weight:900;color:var(--hv-ink)}
.haf-home-viz__lead{font-size:15px;line-height:2.15;color:var(--hv-muted);margin:0 0 22px;max-width:460px}
.haf-home-viz__points{list-style:none;padding:0;margin:0 0 25px;display:grid;gap:10px}
.haf-home-viz__points li{display:flex;align-items:flex-start;gap:10px;font-size:14px;color:#3e3943;font-weight:650;line-height:1.8}
.haf-home-viz__points li::before{content:"✓";display:grid;place-items:center;flex:none;width:21px;height:21px;margin-top:2px;border-radius:50%;background:#ffeaf0;color:var(--hv-red);font-size:12px;font-weight:900}
.haf-home-viz__button{display:inline-flex;gap:12px;align-items:center;justify-content:center;min-height:48px;border-radius:12px;padding:10px 20px;background:var(--hv-ink);color:#fff!important;font-weight:800;font-size:14px;transition:transform .2s ease,background .2s ease}
.haf-home-viz__button:hover{background:var(--hv-burgundy);transform:translateY(-2px)}
.haf-home-viz__button span{font-size:18px}
.haf-home-viz__scene{width:100%;min-width:0;min-height:440px;position:relative;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at 58% 45%,#fff 0,transparent 56%),linear-gradient(145deg,#fff2f5,#f8f7fa 78%);border:1px solid #f0e4e8;border-radius:37px;box-shadow:0 18px 50px rgba(32,22,35,.045)}
.haf-home-viz__scene:before{content:"";position:absolute;width:270px;height:270px;border:1px solid rgba(241,19,61,.14);border-radius:50%;left:-85px;top:-90px;pointer-events:none}
.haf-home-viz__scene:after{content:"";position:absolute;width:120px;height:120px;border:1px solid rgba(241,19,61,.09);border-radius:50%;right:-50px;bottom:-55px;pointer-events:none}
.haf-home-viz__float{position:absolute;z-index:3;min-width:156px;padding:15px 18px;border:1px solid #eee6e9;background:#fff;border-radius:20px;box-shadow:0 18px 42px rgba(31,24,37,.12);text-align:right}
.haf-home-viz__float small{display:block;color:var(--hv-red);font-weight:750;font-size:12px;margin-bottom:5px}
.haf-home-viz__float strong{font-size:15px;color:#19151d;display:block;line-height:1.7}
.haf-home-viz__float--top{left:14px;top:76px}
.haf-home-viz__float--bottom{right:14px;bottom:65px}
.haf-home-viz__visual-note{position:absolute;z-index:2;bottom:10px;left:0;right:0;text-align:center;font-size:10px;color:#98909a;line-height:1.5}
/* finance smartphone */
.haf-home-viz__phone{position:relative;z-index:2;width:min(265px,58%);height:373px;background:#fff;border:10px solid #25242a;border-radius:42px;padding:27px 16px 17px;box-shadow:0 24px 54px rgba(42,26,34,.17)}
.haf-home-viz__phone::before{content:"";position:absolute;top:10px;left:50%;transform:translateX(-50%);width:74px;height:15px;border-radius:18px;background:#24242a}
.haf-home-viz__phone-head{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:15px;margin:10px 0 15px}
.haf-home-viz__phone-head b{font-size:15px}
.haf-home-viz__chip{font-size:9px;font-weight:750;padding:3px 7px;border-radius:8px;color:var(--hv-burgundy);background:#ffeaf0}
.haf-home-viz__metric{background:#fff2f5;border-radius:15px;padding:12px 14px;margin-bottom:11px}
.haf-home-viz__metric small{display:block;font-size:11px;color:#80747e}
.haf-home-viz__metric strong{font-size:23px;font-weight:900;letter-spacing:-.02em;display:block;line-height:1.4}
.haf-home-viz__metric em{font-style:normal;font-size:9px;color:#9d7981}
.haf-home-viz__bars{display:flex;align-items:flex-end;justify-content:space-between;gap:9px;height:62px;padding:4px 4px 0}
.haf-home-viz__bars i{display:block;flex:1;max-width:23px;height:var(--hv-h,50%);border-radius:8px 8px 2px 2px;background:linear-gradient(0deg,#ffd6df,#f43c62)}
/* invoice and stock visual */
.haf-home-viz__workspace{position:relative;width:min(350px,80%);z-index:2;background:#fff;border:1px solid #eee4e8;border-radius:25px;box-shadow:0 25px 56px rgba(29,24,30,.13);padding:22px 21px}
.haf-home-viz__workspace-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-bottom:14px;border-bottom:1px solid #f0e5e9}
.haf-home-viz__workspace-head strong{font-size:18px}
.haf-home-viz__workspace-head span{font-size:11px;color:#bd4863;background:#fff0f4;padding:5px 9px;border-radius:8px}
.haf-home-viz__invoice-row{display:flex;justify-content:space-between;gap:8px;padding:13px 0;border-bottom:1px dashed #eee2e7;color:#5e5660;font-size:13px}
.haf-home-viz__invoice-row b{font-weight:800;color:#28202a}
.haf-home-viz__invoice-total{display:flex;justify-content:space-between;align-items:center;background:#fff3f5;padding:13px;border-radius:13px;margin-top:14px;font-size:12px;color:#74636b}
.haf-home-viz__invoice-total strong{font-size:16px;color:#c70d36}
.haf-home-viz__stock{margin-top:18px;border:1px solid #eee6e8;padding:13px;border-radius:13px;background:#fff}
.haf-home-viz__stock-label{display:flex;justify-content:space-between;font-size:12px;margin-bottom:9px;color:#5b535d}
.haf-home-viz__stock-label b{color:#28232b}
.haf-home-viz__progress{height:8px;background:#f2edf0;border-radius:9px;overflow:hidden}
.haf-home-viz__progress i{display:block;height:100%;width:74%;background:linear-gradient(90deg,#f22851,#ff94ad);border-radius:9px}
/* three-step service journey */
.haf-home-viz__journey{position:relative;width:min(340px,78%);z-index:2;background:#fff;border-radius:24px;border:1px solid #eee3e7;box-shadow:0 27px 55px rgba(29,24,30,.13);padding:24px}
.haf-home-viz__journey-head{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-bottom:18px}
.haf-home-viz__journey-head strong{font-size:17px}
.haf-home-viz__journey-head small{font-size:11px;color:#c30c33;background:#fff0f4;padding:5px 9px;border-radius:9px}
.haf-home-viz__step{position:relative;display:flex;align-items:center;gap:12px;padding:11px 4px}
.haf-home-viz__step:not(:last-of-type):after{content:"";position:absolute;top:51px;right:20px;width:1px;height:22px;background:#ffd0da}
.haf-home-viz__step-number{flex:none;width:40px;height:40px;border-radius:13px;display:grid;place-items:center;color:var(--hv-red);background:#fff0f3;font-weight:900;font-size:15px}
.haf-home-viz__step strong,.haf-home-viz__step small{display:block}
.haf-home-viz__step strong{font-size:14px}
.haf-home-viz__step small{font-size:11px;color:#8d818c;margin-top:3px}
.haf-home-viz__journey-footer{display:flex;align-items:center;gap:8px;font-size:11px;color:#5d535e;padding:12px 0 0;margin-top:9px;border-top:1px solid #f2eaed}
.haf-home-viz__journey-footer i{width:7px;height:7px;background:#23b78a;border-radius:50%;display:inline-block}
@media(max-width:920px){
 .haf-home-viz{padding:56px 0}
 .haf-home-viz__layout{grid-template-columns:1fr;gap:27px}
 .haf-home-viz--reverse .haf-home-viz__layout{direction:rtl}
 .haf-home-viz__lead{max-width:680px}
 .haf-home-viz__scene{min-height:420px}
}
@media(max-width:540px){
 .haf-home-viz{padding:44px 0}
 .haf-home-viz .haf-wrap{width:min(100% - 28px,1180px)}
 .haf-home-viz__copy h2{font-size:28px}
 .haf-home-viz__lead{font-size:14px}
 .haf-home-viz__scene{min-height:360px;border-radius:25px}
 .haf-home-viz__phone{width:228px;height:329px;border-width:8px;border-radius:35px;padding:23px 14px 10px}
 .haf-home-viz__phone::before{top:8px;height:12px;width:63px}
 .haf-home-viz__phone-head{margin-top:9px;margin-bottom:12px}
 .haf-home-viz__metric{padding:10px 12px;margin-bottom:8px}
 .haf-home-viz__metric strong{font-size:20px}
 .haf-home-viz__bars{height:51px}
 .haf-home-viz__float{min-width:118px;padding:10px 11px;border-radius:13px;max-width:42%}
 .haf-home-viz__float strong{font-size:11px}
 .haf-home-viz__float small{font-size:10px}
 .haf-home-viz__float--top{left:6px;top:38px}
 .haf-home-viz__float--bottom{right:6px;bottom:36px}
 .haf-home-viz__workspace{width:86%;padding:17px 15px}
 .haf-home-viz__journey{width:84%;padding:18px}
 .haf-home-viz__visual-note{font-size:9px;bottom:7px}
}
@media(max-width:390px){.haf-home-viz__float{max-width:39%;min-width:106px}.haf-home-viz__float--top{left:3px}.haf-home-viz__float--bottom{right:3px}.haf-home-viz__phone{width:207px}}
@media(prefers-reduced-motion:reduce){.haf-home-viz__button{transition:none}.haf-home-viz__button:hover{transform:none}}
