/* مولّد تلقائي من docs/design/home-v1.html — scripts/staging/build_home.py */
.tp-home{--brand:#14b3d1;      
    --brand-d:#0a8fb0;    
    --brand-l:#e6f8fc;    
    --ink:#0d2a3a;        
    --mut:#567080;        
    --sun:#ffa21f;        
    --sun-d:#e8870a;
    --cream:#fff7ea;      
    --berry:#ff5d7a;      
    --wa:#22c55e;         
    --line:#dcecf2;
    --card:#ffffff;
    --bg:#f7fcfe;}
.tp-home *{box-sizing:border-box;margin:0;padding:0}
.tp-home{font-family:'Cairo',Tahoma,sans-serif;color:var(--ink);background:var(--bg);line-height:1.6}
.tp-home a{color:inherit;text-decoration:none}
.tp-home img{display:block;max-width:100%}
.tp-home .wrap{max-width:1240px;margin:0 auto;padding:0 32px}
.tp-home .btn{display:inline-flex;align-items:center;gap:8px;font-weight:800;border-radius:999px;padding:13px 26px;font-size:17px;white-space:nowrap}
.tp-home .btn-sun{background:var(--sun);color:#fff;box-shadow:0 8px 20px -8px rgba(255,162,31,.8)}
.tp-home .btn-brand{background:var(--brand);color:#fff;box-shadow:0 8px 20px -8px rgba(20,179,209,.8)}
.tp-home .btn-ghost{background:#fff;color:var(--brand-d);border:2px solid #fff}
.tp-home .btn-wa{background:var(--wa);color:#fff}
.tp-home .ico{width:20px;height:20px;flex:none}
.tp-home .eyebrow{display:inline-block;background:var(--brand-l);color:var(--brand-d);font-weight:800;font-size:14px;border-radius:999px;padding:4px 14px;margin-bottom:10px}
.tp-home h2.sec{font-size:36px;font-weight:900;line-height:1.3}
.tp-home p.sub{color:var(--mut);font-size:18px;margin-top:6px}
.tp-home section{padding:72px 0}
.tp-home .head-c{text-align:center;margin-bottom:36px}
.tp-home .hero{background:radial-gradient(1200px 500px at 85% -10%,#7fe3f5 0%,rgba(127,227,245,0) 60%),linear-gradient(135deg,#14b3d1 0%,#0fa3c4 45%,#0b8db3 100%);color:#fff;padding:64px 0 96px;position:relative;overflow:hidden}
.tp-home .hero::before{content:"";position:absolute;width:520px;height:520px;border-radius:50%;background:rgba(255,255,255,.08);left:-160px;bottom:-260px}
.tp-home .hero .wrap{display:grid;grid-template-columns:1fr 1.05fr;gap:48px;align-items:center;position:relative}
.tp-home .hero .tag{display:inline-flex;gap:8px;align-items:center;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.35);border-radius:999px;padding:6px 16px;font-weight:700;font-size:15px}
.tp-home .hero h1{font-size:46px;font-weight:900;line-height:1.25;margin:18px 0 14px}
.tp-home .hero h1 em{font-style:normal;color:#fff3c4}
.tp-home .hero p{font-size:20px;opacity:.95;max-width:560px}
.tp-home .hero .acts{display:flex;gap:12px;margin-top:28px;flex-wrap:wrap}
.tp-home .hero .chips{display:flex;gap:18px;margin-top:30px;flex-wrap:wrap;font-weight:700;font-size:15px}
.tp-home .hero .chips span{display:inline-flex;align-items:center;gap:6px}
.tp-home .hero .chips span::before{content:"✓";display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#fff;color:var(--brand-d);font-size:13px;font-weight:900}
.tp-home .hero .pic{position:relative}
.tp-home .hero .pic img{border-radius:28px;box-shadow:0 30px 60px -20px rgba(4,50,70,.55);border:6px solid rgba(255,255,255,.6)}
.tp-home .hero .float{position:absolute;background:#fff;color:var(--ink);border-radius:18px;padding:12px 16px;box-shadow:0 16px 30px -12px rgba(4,50,70,.45);display:flex;align-items:center;gap:10px;font-weight:800;font-size:15px}
.tp-home .hero .float small{display:block;color:var(--mut);font-weight:600;font-size:12px}
.tp-home .hero .float .dot{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;font-size:20px}
.tp-home .hero .f1{right:-22px;bottom:-26px}
.tp-home .hero .f1 .dot{background:var(--cream)}
.tp-home .hero .f2{left:-18px;top:26px}
.tp-home .hero .f2 .dot{background:var(--brand-l)}
.tp-home .wave{position:absolute;bottom:-1px;left:0;right:0;height:60px}
.tp-home .stats{margin-top:-58px;position:relative;z-index:2;padding:0}
.tp-home .stats .box{background:#fff;border-radius:24px;box-shadow:0 20px 50px -24px rgba(13,42,58,.35);display:grid;grid-template-columns:repeat(4,1fr);padding:26px 10px}
.tp-home .stat{text-align:center;border-inline-start:1px solid var(--line)}
.tp-home .stat:first-child{border:0}
.tp-home .stat b{display:block;font-size:40px;font-weight:900;color:var(--brand-d);line-height:1.2}
.tp-home .stat span{color:var(--mut);font-weight:700}
.tp-home .tbd{font-size:12px;color:var(--sun-d);font-weight:800}
.tp-home .cats{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.tp-home .cat{background:#fff;border-radius:22px;overflow:hidden;border:1px solid var(--line);transition:.2s}
.tp-home .cat .im{aspect-ratio:1/0.8;overflow:hidden;background:var(--brand-l)}
.tp-home .cat .im img{width:100%;height:100%;object-fit:cover}
.tp-home .cat .tx{padding:16px 18px 20px}
.tp-home .cat h3{font-size:22px;font-weight:900}
.tp-home .cat p{color:var(--mut);font-size:15px;margin:4px 0 12px}
.tp-home .cat .subs{display:flex;flex-wrap:wrap;gap:6px}
.tp-home .cat .subs span{background:var(--brand-l);color:var(--brand-d);font-weight:700;font-size:13px;border-radius:999px;padding:3px 11px}
.tp-home .cat .more{display:flex;justify-content:space-between;align-items:center;margin-top:14px;font-weight:800;color:var(--brand-d)}
.tp-home .cat .more i{font-style:normal;background:var(--brand);color:#fff;width:32px;height:32px;border-radius:50%;display:grid;place-items:center}
.tp-home .cat.c2 .im{background:#fff3e0}
.tp-home .cat.c3 .im{background:#eaf9ef}
.tp-home .cat.c4 .im{background:#fdecef}
.tp-home .biz{background:var(--cream)}
.tp-home .bizgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.tp-home .b{background:#fff;border-radius:20px;padding:24px 22px;border:2px solid transparent;position:relative}
.tp-home .b .em{width:58px;height:58px;border-radius:16px;display:grid;place-items:center;font-size:30px;margin-bottom:14px}
.tp-home .b h3{font-size:21px;font-weight:900}
.tp-home .b p{color:var(--mut);font-size:15px;margin-top:4px}
.tp-home .b .go{margin-top:14px;font-weight:800;color:var(--brand-d);font-size:15px}
.tp-home .b1 .em{background:#fff1d6}
.tp-home .b2 .em{background:#ffe3ea}
.tp-home .b3 .em{background:#e3f7fb}
.tp-home .b4 .em{background:#e6f7ea}
.tp-home .b.hl{border-color:var(--sun)}
.tp-home .season{padding:0 0 72px;background:var(--cream)}
.tp-home .sbox{border-radius:28px;background:linear-gradient(120deg,#ff7a59 0%,#ff9f43 55%,#ffc24b 100%);color:#fff;display:grid;grid-template-columns:1.2fr 1fr;align-items:center;overflow:hidden;position:relative}
.tp-home .sbox .t{padding:40px 44px}
.tp-home .sbox .t .eyebrow{background:rgba(255,255,255,.25);color:#fff}
.tp-home .sbox h2{font-size:38px;font-weight:900;line-height:1.3}
.tp-home .sbox p{font-size:18px;opacity:.95;margin:8px 0 22px;max-width:520px}
.tp-home .sbox .pics{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:24px}
.tp-home .sbox .pics img{border-radius:18px;border:4px solid rgba(255,255,255,.55);aspect-ratio:1;object-fit:cover}
.tp-home .moon{position:absolute;top:22px;left:46%;font-size:44px;opacity:.9}
.tp-home .prods{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.tp-home .p{background:#fff;border-radius:22px;border:1px solid var(--line);overflow:hidden}
.tp-home .p .im{aspect-ratio:1;position:relative}
.tp-home .p .im img{width:100%;height:100%;object-fit:cover}
.tp-home .p .badge{position:absolute;top:12px;right:12px;background:#fff;color:var(--brand-d);font-weight:800;font-size:12px;border-radius:999px;padding:3px 10px;box-shadow:0 4px 10px -4px rgba(0,0,0,.2)}
.tp-home .p .tx{padding:14px 16px 18px}
.tp-home .p h3{font-size:19px;font-weight:900}
.tp-home .p .spec{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 12px}
.tp-home .p .spec span{font-size:13px;font-weight:700;color:var(--mut);background:var(--bg);border:1px solid var(--line);border-radius:8px;padding:1px 8px}
.tp-home .p .row{display:flex;gap:8px}
.tp-home .p .row .btn{padding:10px 14px;font-size:15px;flex:1;justify-content:center}
.tp-home .p .wa-mini{flex:0 0 44px !important;padding:0 !important;height:44px}
.tp-home .how{background:#fff}
.tp-home .steps{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;position:relative}
.tp-home .st{text-align:center;padding:10px 20px}
.tp-home .st .n{width:76px;height:76px;margin:0 auto 14px;border-radius:50%;background:var(--brand-l);color:var(--brand-d);font-size:34px;font-weight:900;display:grid;place-items:center;border:4px solid #fff;box-shadow:0 0 0 2px var(--brand)}
.tp-home .st:nth-child(3) .n{background:var(--sun);color:#fff;box-shadow:0 0 0 2px var(--sun)}
.tp-home .st h3{font-size:22px;font-weight:900}
.tp-home .st p{color:var(--mut)}
.tp-home .steps::before{content:"";position:absolute;top:48px;right:18%;left:18%;border-top:3px dashed #b9e6f0;z-index:0}
.tp-home .st{position:relative;z-index:1}
.tp-home .fac .wrap{display:grid;grid-template-columns:1fr 1.1fr;gap:56px;align-items:center}
.tp-home .fac .ph{position:relative}
.tp-home .fac .ph img{border-radius:26px;aspect-ratio:1/1.05;object-fit:cover;width:100%}
.tp-home .fac .ph .lbl{position:absolute;bottom:20px;right:20px;background:var(--brand);color:#fff;border-radius:16px;padding:10px 18px;font-weight:800}
.tp-home .fac ul{list-style:none;margin:22px 0 28px;display:grid;gap:14px}
.tp-home .fac li{display:flex;gap:12px;align-items:flex-start;font-size:17px}
.tp-home .fac li b{display:block}
.tp-home .fac li span{color:var(--mut);font-size:15px}
.tp-home .fac li .k{flex:none;width:44px;height:44px;border-radius:12px;background:var(--brand-l);display:grid;place-items:center;font-size:22px}
.tp-home .mats{display:flex;gap:8px;margin-top:4px}
.tp-home .mats span{font-weight:900;font-size:14px;border-radius:8px;padding:3px 10px;background:var(--ink);color:#fff}
.tp-home .clients{padding:40px 0;background:var(--bg);border-block:1px solid var(--line)}
.tp-home .clients .wrap{display:flex;align-items:center;gap:30px}
.tp-home .clients h4{font-size:18px;font-weight:900;white-space:nowrap}
.tp-home .logos.trust{gap:12px}
.tp-home .logos{display:flex;gap:16px;flex:1}
.tp-home .logos span{flex:1;height:56px;border-radius:14px;border:2px dashed #c9e3ec;display:grid;place-items:center;color:#9bb7c4;font-weight:700;font-size:13px;background:#fff}
.tp-home .logos.trust span{display:flex;align-items:center;justify-content:center;gap:6px;border:1px solid var(--line);color:var(--ink);font-size:15px;font-weight:800;padding:10px 12px;height:auto;min-height:60px;text-align:center;white-space:nowrap}
.tp-home .logos.trust b{color:var(--brand-d);font-size:20px;font-weight:900}
.tp-home .quote{padding:64px 0}
.tp-home .qbox{background:linear-gradient(135deg,var(--ink) 0%,#123f55 100%);border-radius:30px;color:#fff;padding:44px 48px;display:grid;grid-template-columns:1.3fr 1fr;gap:32px;align-items:center;position:relative;overflow:hidden}
.tp-home .qbox::after{content:"";position:absolute;width:300px;height:300px;border-radius:50%;background:var(--brand);opacity:.25;left:-80px;top:-120px}
.tp-home .qbox h2{font-size:36px;font-weight:900;line-height:1.3}
.tp-home .qbox p{color:#bfe3ee;font-size:18px;margin-top:6px}
.tp-home .qform{background:#fff;border-radius:20px;padding:20px;display:grid;gap:10px;position:relative;z-index:1}
.tp-home .qform .f{border:1px solid var(--line);border-radius:12px;padding:11px 14px;color:#8aa3b0;font-size:15px;background:var(--bg)}
.tp-home .qform .two{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.tp-home .qform .btn{justify-content:center}
@media (max-width:760px){
.tp-home .wrap{padding:0 16px}
.tp-home section{padding:48px 0}
.tp-home h2.sec{font-size:26px}
.tp-home p.sub{font-size:16px}
.tp-home .hero{padding:32px 0 80px}
.tp-home .hero .wrap{grid-template-columns:1fr;gap:28px}
.tp-home .hero h1{font-size:33px}
.tp-home .hero p{font-size:17px}
.tp-home .hero .acts .btn{flex:1;justify-content:center;padding:12px 10px;font-size:15px}
.tp-home .hero .chips{gap:10px;font-size:13px}
.tp-home .hero .f1{right:8px;bottom:-20px}
.tp-home .hero .f2{display:none}
.tp-home .stats{margin-top:-46px}
.tp-home .stats .box{grid-template-columns:repeat(2,1fr);row-gap:18px;padding:18px 6px}
.tp-home .stat:nth-child(3){border:0}
.tp-home .stat b{font-size:30px}
.tp-home .cats,.tp-home .prods{grid-template-columns:1fr 1fr;gap:12px}
.tp-home .cat .tx{padding:12px}
.tp-home .cat h3{font-size:17px}
.tp-home .cat p,.tp-home .cat .subs{display:none}
.tp-home .bizgrid{grid-template-columns:1fr 1fr;gap:12px}
.tp-home .b{padding:16px 14px}
.tp-home .b .em{width:46px;height:46px;font-size:24px}
.tp-home .b h3{font-size:17px}
.tp-home .b p{display:none}
.tp-home .sbox{grid-template-columns:1fr}
.tp-home .sbox .t{padding:28px 22px 6px}
.tp-home .sbox h2{font-size:27px}
.tp-home .sbox .pics{padding:16px}
.tp-home .moon{left:20px;top:16px;font-size:34px}
.tp-home .p h3{font-size:16px}
.tp-home .p .spec span:nth-child(n+3){display:none}
.tp-home .p .row .btn{font-size:13px;padding:9px 6px}
.tp-home .p .wa-mini{flex:0 0 38px !important;height:38px}
.tp-home .steps{grid-template-columns:1fr;gap:6px}
.tp-home .steps::before{display:none}
.tp-home .st{display:grid;grid-template-columns:64px 1fr;text-align:right;gap:0 14px;align-items:center}
.tp-home .st .n{width:58px;height:58px;font-size:26px;margin:0;grid-row:span 2}
.tp-home .st h3{font-size:19px}
.tp-home .fac .wrap{grid-template-columns:1fr;gap:28px}
.tp-home .clients .wrap{flex-direction:column;align-items:stretch;gap:14px}
.tp-home .logos span:nth-child(n+4){display:none}
.tp-home .logos.trust{flex-direction:column;gap:10px}
.tp-home .logos.trust span:nth-child(n+4){display:flex}
.tp-home .qbox{grid-template-columns:1fr;padding:28px 20px}
.tp-home .qbox h2{font-size:26px}
}

/* ---- مكمّلات للنسخة اللايف ---- */
.tp-home{font-family:var(--tp-font,'Cairo'),Tahoma,sans-serif;background:var(--bg);overflow-x:hidden}
.tp-home h1,.tp-home h2,.tp-home h3,.tp-home h4{font-family:inherit;color:inherit;letter-spacing:0}
.tp-home a:hover{text-decoration:none}
.tp-home .btn{border:0;line-height:1.4}
.tp-home .btn-sun:hover{background:var(--sun-d);color:#fff}
.tp-home .btn-brand:hover{background:var(--brand-d);color:#fff}
.tp-home .p .im{display:block}
.tp-home .p h3 a:hover{color:var(--brand-d)}
.tp-home .qlist{display:grid;gap:10px;color:var(--ink);font-weight:800;font-size:17px;padding:4px 6px 8px}
.tp-home .qlist span{background:var(--bg);border:1px solid var(--line);border-radius:12px;padding:10px 14px}
.elementor-widget-html:has(.tp-home){margin:0}
.tp-home .wave{background:var(--bg);clip-path:ellipse(70% 100% at 50% 100%)}
/* الهيدر بتاع الثيم absolute فوق المحتوى (توب بار 40 + هيدر 82) */
@media (min-width:992px){.tp-home .hero{padding-top:186px}}
.tp-home .ico,.tp-wa-float .i-wa{display:inline-block;background:currentColor;-webkit-mask:var(--m) center/contain no-repeat;mask:var(--m) center/contain no-repeat}
.tp-home .i-arr{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='M15 6l-6 6 6 6'/%3E%3C/svg%3E")}
.tp-home .i-wa,.tp-wa-float .i-wa{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2Zm5.4 14.1c-.2.6-1.3 1.2-1.8 1.2-.5.1-1 .2-3.3-.7-2.8-1.1-4.6-4-4.7-4.2-.1-.2-1.1-1.5-1.1-2.9 0-1.4.7-2 1-2.3.2-.3.5-.3.7-.3h.5c.2 0 .4 0 .6.5l.8 2c.1.2.1.4 0 .5l-.4.6-.4.4c-.1.1-.3.3-.1.6.2.3.8 1.3 1.6 2.1 1.1 1 2 1.3 2.3 1.4.3.2.5.1.6-.1l.9-1c.2-.3.4-.2.6-.1l1.9.9c.3.1.5.2.5.3.1.2.1.7-.1 1.4Z'/%3E%3C/svg%3E")}
.tp-wa-float .i-wa{width:32px;height:32px;color:#fff}
.tp-home .cat .more i .ico{background:#fff;width:18px;height:18px}
/* CSS قديم (roots-ai-bridge) بيغيّر لون الفقرات، و.row بتاعة Bootstrap */
.tp-home .hero p,.tp-home .sbox p{color:#fff !important;opacity:.95}
.tp-home .qbox p{color:#bfe3ee !important}
.tp-home p.sub,.tp-home .cat p,.tp-home .b p,.tp-home .st p,.tp-home .fac li span{color:var(--mut) !important}
.tp-home .p .row{margin:0;flex-wrap:nowrap}
/* roots-ai-bridge: body.home .btn {gradient !important} → نرجّع ألوان الأزرار */
html body .tp-home .btn.btn-sun{background:var(--sun) !important;color:#fff !important}
html body .tp-home .btn.btn-sun:hover{background:var(--sun-d) !important}
html body .tp-home .btn.btn-brand{background:var(--brand) !important;color:#fff !important}
html body .tp-home .btn.btn-brand:hover{background:var(--brand-d) !important}
html body .tp-home .btn.btn-wa{background:var(--wa) !important;color:#fff !important}
html body .tp-home .btn.btn-ghost{background:#fff !important;color:var(--brand-d) !important}
html body .tp-home .qbox .btn.btn-ghost{background:transparent !important;color:#fff !important}
