/*
Theme Name: Asbab
Description: قالب أسباب المخصص، عربي وخفيف مع محتوى قابل للتحرير.
Version: 0.1.0
Text Domain: asbab
*/
:root{--bg:#FFFFFF;--ink:#19103D;--accent:#80CC28;--support:#18ABE3;--muted:#D6D2E2;--font:Tahoma,Arial,sans-serif;--radius:8px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--bg);font:16px/1.9 var(--font)}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}img{max-width:100%;height:auto;display:block}.wrap{width:min(1200px,calc(100% - 64px));margin-inline:auto}.opening{background:var(--ink);color:var(--bg)}.site-header{height:112px;display:flex;align-items:center;justify-content:space-between;gap:36px;border-bottom:1px solid #ffffff20}.brand{display:flex;align-items:center;gap:16px}.brand img{width:78px}.brand strong{font-size:24px}.brand span{font-size:11px;letter-spacing:4px;display:block;line-height:1.2}.nav{display:flex;align-items:center;gap:32px}.nav a:not(.button){font-size:14px}.button{display:inline-flex;justify-content:center;align-items:center;min-height:52px;padding:12px 28px;border:1px solid transparent;border-radius:var(--radius);font-size:15px;font-weight:700;line-height:1.5;white-space:nowrap;background:var(--accent);color:var(--ink);cursor:pointer}.button:hover{filter:brightness(1.06)}.button.secondary{background:transparent;border-color:#ffffff60;color:var(--bg)}a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid var(--support);outline-offset:5px}.hero{min-height:570px;display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:38px;padding-block:64px 88px}.hero h1{font-size:clamp(32px,3.6vw,50px);line-height:1.5;margin:0 0 24px;letter-spacing:-1.3px}.hero h1 span{display:block;color:var(--accent)}.hero p{max-width:520px;color:var(--muted);font-size:18px;line-height:2;margin:0 0 32px}.actions{display:flex;gap:14px;flex-wrap:wrap}.hero-art{margin:0;position:relative}.hero-art img{width:100%}.intro{padding-block:50px;display:grid;grid-template-columns:1fr 1.6fr;gap:64px;border-bottom:1px solid #19103d20}.intro h2{font-size:25px;margin:0;line-height:1.6}.intro p{margin:0;max-width:680px}.site-footer{display:flex;justify-content:space-between;gap:24px;padding-block:26px;font-size:12px}.mobile-nav{display:none}.skip-link{position:absolute;top:-100px;right:20px;background:var(--accent);color:var(--ink);padding:10px;z-index:99}.skip-link:focus{top:10px}.page-body{padding-block:64px;min-height:65vh;max-width:850px}.page-body h1{font-size:36px;line-height:1.5}.page-body p{max-width:720px}.quote-form{margin-top:32px;display:grid;gap:22px}.quote-form label{display:grid;gap:7px;font-weight:700}.quote-form input,.quote-form textarea{width:100%;padding:13px 16px;border:1px solid #19103d50;border-radius:8px;color:var(--ink);background:var(--bg)}.quote-form textarea{min-height:150px;resize:vertical}.quote-form .consent{display:flex;align-items:start;font-size:14px;font-weight:400}.consent input{width:18px;margin-top:7px}.quote-form button{justify-self:start}.notice{padding:16px;border:2px solid var(--accent)}.trap{position:absolute;left:-9999px}.privacy-note{font-size:13px}.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}
@media(max-width:900px){.wrap{width:calc(100% - 40px)}.site-header{height:92px}.nav{gap:18px}.hero{gap:24px;min-height:510px}.hero h1{font-size:34px}.hero p{font-size:16px}.button{padding:12px 20px}.intro{gap:30px}}
@media(max-width:680px){.wrap{width:calc(100% - 36px)}.site-header{height:84px;gap:12px}.brand img{width:57px}.brand strong{font-size:20px}.brand span{font-size:9px}.nav{display:none}.mobile-nav{display:block;position:relative}.mobile-nav summary{cursor:pointer;padding:10px 14px;border:1px solid #ffffff50;border-radius:8px;font-size:14px}.mobile-nav nav{position:absolute;z-index:5;inset-inline-end:0;top:52px;width:210px;padding:16px;background:var(--ink);border:1px solid #ffffff40;border-radius:8px;display:grid;gap:12px}.hero{display:flex;flex-direction:column;align-items:stretch;gap:16px;padding-block:36px 32px;min-height:0}.hero h1{font-size:clamp(27px,7.6vw,38px);line-height:1.55;letter-spacing:-.7px;margin-bottom:16px}.hero p{font-size:15px;line-height:1.9;margin-bottom:24px}.actions{gap:10px}.button{font-size:14px;padding:12px 18px;min-height:48px}.hero-art{width:80%;max-width:340px;margin:14px auto 0}.intro{display:block;padding-block:32px}.intro h2{font-size:22px;margin-bottom:16px}.intro p{font-size:14px}.site-footer{font-size:11px;flex-wrap:wrap;gap:8px}.page-body{padding-block:32px}.page-body h1{font-size:29px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* ASBAB: shared spacing, RTL navigation and content sections */
:root{--space-section:88px;--content-gap:32px;--surface:#F6F5F9;--text-secondary:#554D6B;--line:#E5E2EB}body{overflow-wrap:break-word}.wrap{width:min(1200px,calc(100% - 64px))}.site-header{height:112px;display:grid;grid-template-columns:auto minmax(0,1fr) 128px;gap:28px}.brand{justify-self:end;display:block}.brand img{width:112px;height:78px;object-fit:contain}.header-cta{justify-self:start}.nav{justify-content:center;min-width:0}.menu{display:flex;gap:24px;list-style:none;margin:0;padding:0;align-items:center;justify-content:center}.menu a{white-space:nowrap}.current-menu-item>a{color:var(--accent)}.hero{padding-block:56px 72px;min-height:540px;gap:48px}.hero h1{font-size:clamp(32px,3.4vw,47px);letter-spacing:-.6px;line-height:1.5}.hero p{font-size:18px;line-height:2;max-width:570px}.hero-art img{width:100%;height:auto}.section{padding-block:var(--space-section)}.section h2,.closing h2{font-size:clamp(27px,2.7vw,37px);line-height:1.5;letter-spacing:-.5px;margin:0 0 20px}.section-lead{font-size:18px;color:var(--text-secondary);max-width:700px;margin:0 0 36px}.surface{background:var(--surface)}.service-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 56px;margin:34px 0}.service-list article{padding:28px 0;border-top:1px solid var(--line)}.service-list h3{font-size:21px;line-height:1.6;margin:0 0 12px}.service-list h3 a{display:flex;justify-content:space-between;gap:20px;align-items:start}.service-list h3 a span{color:var(--text-secondary);font-weight:400}.service-list p{font-size:15px;color:var(--text-secondary);margin:0;max-width:520px}.text-link{font-weight:700;display:inline-block;text-decoration:underline;text-underline-offset:6px;margin-block:10px}.text-link:hover{color:var(--text-secondary)}.project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:48px 32px;margin-block:38px}.project-image{aspect-ratio:1.5;object-fit:cover;object-position:top;border:1px solid var(--line);border-radius:16px;width:100%;background:var(--bg)}.project h3{font-size:24px;line-height:1.5;margin:20px 0 8px}.project p{color:var(--text-secondary);font-size:15px;margin:0 0 8px;max-width:550px}.care-teaser{display:grid;grid-template-columns:1fr 1fr;gap:80px}.care-teaser p{color:var(--text-secondary);max-width:510px}.plain-list{list-style:none;margin:0;padding:0}.plain-list li{padding:22px 0;border-bottom:1px solid var(--line);display:grid;gap:5px}.plain-list li:first-child{padding-top:0}.plain-list strong{font-size:20px}.plain-list span{color:var(--text-secondary);font-size:15px}.process-section{background:var(--ink);color:var(--bg)}.process{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px;margin-top:40px}.process>div{border-top:2px solid var(--accent);padding-top:24px}.process h3{font-size:20px;line-height:1.5;margin:0 0 16px}.process p{font-size:15px;color:var(--muted);margin:0}.about-teaser{max-width:1200px;border-bottom:1px solid var(--line)}.about-teaser p{max-width:850px;font-size:19px;line-height:2;color:var(--text-secondary);margin:0 0 16px}.faq-section{max-width:950px}.faq-section details{border-bottom:1px solid var(--line);padding:22px 0}.faq-section summary{font-size:18px;font-weight:700;cursor:pointer}.faq-section details p{color:var(--text-secondary);margin:18px 0 0;max-width:800px}.closing{padding-block:64px;background:var(--surface);text-align:center}.closing p{max-width:620px;margin:0 auto 28px;color:var(--text-secondary)}.footer{background:var(--ink);color:var(--bg);padding-top:56px}.footer-main{display:grid;grid-template-columns:1fr 1fr 1fr;gap:64px;align-items:start;padding-bottom:48px}.footer-main p{color:var(--muted);font-size:14px;max-width:280px;margin:16px 0 24px}.footer-main h2{font-size:20px;line-height:1.5;margin:15px 0}.footer-brand{display:inline-block}.footer-brand img{width:120px;height:84px;object-fit:contain}.footer-links{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:12px 24px;padding:16px 0 0;margin:0;font-size:14px}.footer-bottom{border-top:1px solid #ffffff30;display:flex;justify-content:space-between;gap:24px;padding-block:22px;font-size:12px;color:var(--muted)}.legal-links{list-style:none;display:flex;gap:24px;flex-wrap:wrap;padding:0;margin:0}.page-body{max-width:1000px;padding-block:48px 80px}.page-body.wide-page{max-width:1200px}.breadcrumb{font-size:12px;color:var(--text-secondary);margin-bottom:24px;display:flex;gap:8px;flex-wrap:wrap}.page-body h1{font-size:clamp(30px,3.5vw,44px);line-height:1.5;margin:0 0 24px}.entry-content .lead{font-size:21px;line-height:1.9;color:var(--text-secondary);max-width:830px;margin:0 0 36px}.entry-content h2{font-size:26px;line-height:1.6;margin:40px 0 16px}.entry-content ul{padding-inline-start:24px}.entry-content li{margin-block:10px}.entry-content p{max-width:840px;margin-block:16px}.entry-content p .button{margin-inline-end:16px}.entry-content a:not(.button){text-underline-offset:5px}.entry-content .privacy-note a{text-decoration:underline}.entry-content table{border-collapse:collapse;width:100%;min-width:450px}.entry-content td,.entry-content th{padding:18px;border:1px solid var(--line);text-align:start}.entry-content th{background:var(--surface)}.table-scroll{overflow-x:auto;margin-block:24px}.care-list{display:grid;gap:24px;margin-block:32px}.care-list section{padding:32px;border:1px solid var(--line);border-radius:16px}.care-list h2{margin-top:0}.tool-status{padding:40px;background:var(--surface);border-radius:16px;margin-block:32px}.tool-status h2{margin-top:0}.project-detail-image{width:100%;height:auto;border:1px solid var(--line);border-radius:16px;margin-block:32px}.quote-form select{width:100%;padding:13px 16px;border:1px solid #19103d50;border-radius:8px;font:inherit;color:var(--ink);background:var(--bg)}.quote-form{max-width:760px}.quote-form .privacy-note{margin:0}.entry-content .quote-form p{font-size:13px}.entry-content .quote-form input[type=checkbox]{flex-shrink:0}.quote-form label{font-size:15px}details summary:focus-visible{outline:3px solid var(--support);outline-offset:4px}
@media(max-width:1100px){.menu{gap:16px}.nav a:not(.button){font-size:13px}.site-header{gap:18px;grid-template-columns:auto minmax(0,1fr) 110px}.brand img{width:100px}.hero h1{font-size:37px}.footer-main{gap:36px}}
@media(max-width:900px){:root{--space-section:64px}.wrap{width:calc(100% - 48px)}.site-header{grid-template-columns:auto 1fr 100px;height:98px}.nav{display:none}.mobile-nav{display:block;justify-self:center}.mobile-nav summary{list-style:none;padding:8px 14px;min-height:46px;min-width:48px;text-align:center;font-size:22px}.mobile-nav summary::-webkit-details-marker{display:none}.mobile-nav nav{inset-inline-end:auto;left:50%;transform:translateX(-50%);width:230px;top:58px}.mobile-nav .menu{display:grid;gap:0;justify-content:stretch}.mobile-nav .menu a{display:block;padding:8px 12px;font-size:15px}.hero{gap:32px;min-height:490px}.hero h1{font-size:33px}.hero p{font-size:16px}.service-list{gap:0 36px}.care-teaser{gap:40px}.process{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}.footer-main{grid-template-columns:1fr 1fr}.footer-main>div:last-child{grid-column:1/-1}.footer-bottom{flex-direction:column;gap:12px}.entry-content .lead{font-size:19px}}
@media(max-width:680px){:root{--space-section:48px}.wrap{width:calc(100% - 36px)}.site-header{grid-template-columns:auto 1fr 82px;gap:12px;height:96px}.header-cta{font-size:12px;padding:10px 13px;min-height:44px}.brand img{width:82px;height:63px}.mobile-nav summary{font-size:20px;padding:7px 10px}.hero{padding-block:36px 36px;gap:18px}.hero h1{font-size:clamp(24px,6.8vw,32px);line-height:1.6;margin-bottom:18px;letter-spacing:-.4px}.hero p{font-size:15px;line-height:1.9;margin-bottom:25px}.hero-art{max-width:350px;width:86%;margin:14px auto 0}.hero .actions .button{min-height:48px}.section h2,.closing h2{font-size:27px;margin-bottom:16px}.section-lead{font-size:16px;margin-bottom:28px}.service-list{display:block;margin-block:28px}.service-list article{padding:24px 0}.service-list h3{font-size:19px}.project-grid{display:block;margin-block:28px}.project{margin-bottom:36px}.project:last-child{margin-bottom:0}.project h3{font-size:22px}.care-teaser{display:block}.plain-list{margin-top:28px}.about-teaser p{font-size:17px}.process{gap:28px 20px}.process h3{font-size:18px}.process p{font-size:14px}.faq-section summary{font-size:16px}.faq-section details p{font-size:14px}.closing{padding-block:48px}.footer{padding-top:40px}.footer-main{display:block;padding-bottom:32px}.footer-main>div,.footer-main>nav{margin-bottom:28px}.footer-links{max-width:350px}.footer-bottom{font-size:11px}.legal-links{gap:12px 20px}.page-body{padding-block:32px 48px}.page-body h1{font-size:30px}.entry-content .lead{font-size:18px}.entry-content h2{font-size:23px;margin-top:32px}.entry-content p,.entry-content li{font-size:15px}.care-list section,.tool-status{padding:24px}.entry-content td,.entry-content th{padding:12px;font-size:14px}}
@media(max-width:360px){.wrap{width:calc(100% - 28px)}.site-header{gap:8px;grid-template-columns:auto 1fr 72px}.brand img{width:72px}.header-cta{font-size:11px;padding-inline:10px}.process{display:block}.process>div{margin-top:28px}.hero h1{font-size:23px}}
