/*
Theme Name: Asalah
Theme URI: https://asalah.sa
Author: Asalah Real Estate Valuation
Description: قالب خفيف خاص بأصالة للتقييم العقاري — بدون إضافات.
Version: 1.0.3
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: asalah
*/
html{scroll-behavior:smooth;overflow-x:clip}
body{overflow-x:clip}
body{margin:0;background:#F8F4EC;font-family:'Tajawal',system-ui,sans-serif;color:#1C2726;line-height:1.7}
a{color:#1E7A6E;text-decoration:none}a:hover{color:#0E2826}
img{max-width:100%;height:auto}
.zig{background-image:url(assets/najdi.svg);background-size:48px 24px}
.zigd{background-image:url(assets/najdi-dark.svg);background-size:48px 24px}
input,select,textarea,button{font-family:inherit}
:focus-visible{outline:2px solid #37AB9C;outline-offset:2px}
.asl-wrap{width:100%;min-height:100vh}
.asl-notice{position:fixed;inset:auto 16px 16px 16px;z-index:50;max-width:520px;margin:0 auto;background:#0E2826;color:#F4EFE6;padding:16px 20px;border-radius:12px;box-shadow:0 10px 30px rgba(0,0,0,.2);font-size:15px}
.asl-notice.err{background:#7A2E1E}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}
.asl-skip{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.asl-skip:focus{width:auto;height:auto;clip:auto;inset-inline-start:16px;top:16px;z-index:99;background:#fff;padding:8px 12px}
/* Honeypot: hidden without pushing the page wider (RTL-safe) */
form div[aria-hidden="true"]{position:absolute!important;left:auto!important;right:auto!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important}
/* ---------- Mobile ---------- */
@media (max-width:820px){
  header{position:sticky}
  header>div{padding:10px 18px!important;gap:8px 12px!important;flex-wrap:wrap!important}
  header>div>a:first-child img{height:34px!important}
  header nav{order:3;flex:1 0 100%;flex-wrap:nowrap!important;overflow-x:auto;gap:22px!important;font-size:14px!important;white-space:nowrap;padding:2px 0 6px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  header nav::-webkit-scrollbar{display:none}
  header>div>div{gap:12px!important}
  header>div>div a:last-child{padding:9px 16px!important;font-size:14px!important;min-height:40px!important}
  main section,main>div>section,footer>div{padding-left:20px!important;padding-right:20px!important}
  main section{padding-top:64px!important;padding-bottom:64px!important}
  main h1{font-size:clamp(32px,9vw,44px)!important;line-height:1.3!important}
  main h2{font-size:clamp(24px,7vw,34px)!important;line-height:1.4!important}
  main [style*="gap: 64px"],main [style*="gap: 72px"],main [style*="gap: 80px"]{gap:32px!important}
  main [style*="padding: 48px"],main [style*="padding: 56px"]{padding:28px 22px!important}
  main form [style*="grid-template-columns"]{grid-template-columns:1fr!important}
  main [style*="min-width: 3"],main [style*="min-width: 4"]{min-width:0!important}
  .asl-pricing{padding:16px 10px!important}
}
