/* أصول الإدراك العقارية - صفحة الهبوط. هوية A: عنابي + كريمي + رملي ذهبي، خط Readex Pro */
.osool {
  --g9: #3A1612;      /* عنابي داكن جداً: الخلفيات الداكنة */
  --g7: #6B2D27;      /* العنابي الأساسي */
  --g5: #A0523F;      /* الطيني: عناوين صغيرة على الفاتح */
  --mint: #F6E7D8;    /* كريمي أغمق: رسائل وتمييز */
  --plaster: #FFF8F0; /* خلفية الصفحة */
  --sand: #FFF2E1;    /* الكريمي: أقسام بديلة */
  --gold: #E3BE84;    /* ذهبي الأزرار على الداكن */
  --gold-d: #C9A27E;  /* الرملي الذهبي */
  --ink: #1F0F0C;
  --muted: #6A5048;
  --line: rgba(107, 45, 39, 0.16);
  --wa: #25D366;
  --wa-d: #1DA851;
  --fd: "Readex Pro", "Noto Kufi Arabic", sans-serif;
  --fb: "Readex Pro", "Noto Sans Arabic", "Segoe UI", sans-serif;
  --r: 18px;
  --wrap: 1180px;
  direction: rtl;
  font-family: var(--fb);
  color: var(--ink);
  background: var(--plaster);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
html:has(.osool) { scroll-behavior: smooth; background: var(--g9, #3A1612); }
html:has(.osool) body { margin: 0; }
@media (prefers-reduced-motion: reduce) { html:has(.osool) { scroll-behavior: auto; } }
.osool *, .osool *::before, .osool *::after { box-sizing: border-box; }
.osool img { display: block; max-width: 100%; height: auto; }
.osool h1, .osool h2, .osool h3 { font-family: var(--fd); letter-spacing: normal; margin: 0; color: inherit; }
.osool p { margin: 0; }
.osool a { color: inherit; text-decoration: none; }
:where(.osool) ul, :where(.osool) ol { margin: 0; padding: 0; list-style: none; }
.osool section { scroll-margin-top: 76px; }
.o-wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }

/* المعين: نفس معين الرمز ومعين الكاف، يستخدم كعلامة ونقطة */
.o-dia { display: inline-block; width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); flex: none; }

.o-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; color: var(--g5); margin-bottom: 14px; }
.o-eyebrow--gold { color: var(--gold); }
.o-head { max-width: 720px; margin-bottom: 36px; }
.o-head h2 { font-size: clamp(27px, 4.2vw, 44px); line-height: 1.35; font-weight: 700; color: var(--g7); text-wrap: balance; }
.o-lead { margin-top: 14px; font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); max-width: 60ch; }
.o-head--light h2 { color: #fff; }
.o-head--light .o-lead { color: rgba(255, 255, 255, 0.78); }
.o-head--light .o-eyebrow { color: var(--gold); }

/* الشريط العلوي */
.o-bar { position: fixed; inset-inline: 0; top: 0; z-index: 50; background: rgba(58, 22, 18, 0.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.o-bar__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 66px; }
.o-bar__logo img { height: 44px; width: auto; }
.o-bar__nav { display: none; gap: 28px; color: rgba(255, 255, 255, 0.82); font-weight: 500; font-size: 15px; }
.o-bar__nav a { padding: 8px 0; border-bottom: 2px solid transparent; transition: border-color .2s, color .2s; }
.o-bar__nav a:hover { color: #fff; border-color: var(--gold); }
.o-bar__cta { font-family: var(--fd); font-weight: 700; font-size: 14px; color: var(--g9); background: var(--gold); padding: 10px 16px; border-radius: 999px; white-space: nowrap; transition: background .2s, transform .2s; }
.o-bar__cta:hover { background: #EDCFA0; transform: translateY(-1px); }
@media (min-width: 900px) { .o-bar__nav { display: flex; } .o-bar__logo img { height: 52px; } }

/* الواجهة الثابتة */
.o-hero { position: relative; min-height: 100svh; display: flex; align-items: flex-start; color: #fff; background: var(--g9); isolation: isolate; }
.o-hero__bg, .o-hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.o-hero__bg img { object-fit: cover; object-position: center bottom; }
.o-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(58, 22, 18, 0.92) 0%, rgba(58, 22, 18, 0.72) 42%, rgba(58, 22, 18, 0.15) 70%, rgba(58, 22, 18, 0.55) 100%); }
.o-hero__in { position: relative; z-index: 1; padding-top: 104px; padding-bottom: 48px; max-width: 680px; margin-inline-start: max(20px, calc((100% - var(--wrap)) / 2)); }
.o-hero__title { font-size: clamp(31px, 4.6vw, 54px); line-height: 1.3; font-weight: 700; text-wrap: balance; }
.o-hero__sub { margin-top: 20px; font-size: clamp(16px, 1.8vw, 20px); color: rgba(255, 255, 255, 0.84); max-width: 54ch; }
.o-hero__fit { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.o-hero__fit-label { font-weight: 600; color: var(--gold); font-size: 15px; }
.o-hero__fit ul { display: flex; flex-wrap: wrap; gap: 8px; }
.o-hero__fit li { font-size: 14px; font-weight: 600; padding: 7px 13px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.22); }
.o-hero__act { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.o-hero__micro { font-size: 14px; color: rgba(255, 255, 255, 0.72); }
@media (min-width: 761px) {
  .o-hero { align-items: center; }
  .o-hero__bg img { object-position: left center; }
  .o-hero__shade { background: linear-gradient(270deg, rgba(58, 22, 18, 0.94) 0%, rgba(58, 22, 18, 0.8) 38%, rgba(58, 22, 18, 0.2) 66%, rgba(58, 22, 18, 0) 100%); }
  .o-hero__in { padding-top: 110px; padding-bottom: 80px; }
}

/* الزر الرئيسي: ذهبي بنص عنابي على الخلفيات الداكنة */
.o-cta { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 26px 0 20px; border-radius: 14px; background: var(--gold); color: var(--g9); font-family: var(--fd); font-weight: 700; font-size: 18px; box-shadow: 0 10px 30px rgba(227, 190, 132, 0.28); transition: transform .2s, background .2s, box-shadow .2s; }
.o-cta svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: square; transition: transform .25s; }
.o-cta:hover { background: #EDCFA0; transform: translateY(-2px); box-shadow: 0 14px 34px rgba(227, 190, 132, 0.36); }
.o-cta:hover svg { transform: translateX(-4px); }
.o-cta:focus-visible, .o-bar__cta:focus-visible, .o-wa:focus-visible, .o-sticky:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* شريط الالتزامات */
.o-trust { background: var(--g7); color: #fff; }
.o-trust__list { display: grid; gap: 14px; padding: 22px 0; }
.o-trust li { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: 15.5px; }
.o-trust svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: square; stroke-linejoin: miter; }
@media (min-width: 761px) { .o-trust__list { grid-template-columns: repeat(3, 1fr); padding: 26px 0; } }

/* الخدمات */
.o-services { padding: 72px 0 80px; }
.o-cards { display: grid; gap: 20px; }
@media (min-width: 761px) { .o-cards { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
.o-card { background: #fff; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.o-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(58, 22, 18, 0.12); }
.o-card__media { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; }
.o-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.o-card:hover .o-card__media img { transform: scale(1.04); }
.o-card__body { position: relative; padding: 4px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.o-card__icon { position: absolute; top: -34px; inset-inline-start: 22px; width: 56px; height: 56px; border-radius: 14px; background: var(--g7); display: grid; place-items: center; box-shadow: 0 8px 20px rgba(58, 22, 18, 0.25); }
.o-card__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: square; stroke-linejoin: miter; }
.o-card h3 { margin-top: 30px; font-size: 23px; font-weight: 700; color: var(--g7); line-height: 1.4; }
.o-card p { color: var(--muted); font-size: 16px; }
.o-card .o-card__fit { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); color: var(--g5); font-weight: 600; font-size: 15px; }

/* الشروط: أعلى القسم قوس مثل قوس الباب في الرمز */
.o-elig { background: var(--g9); color: #fff; padding: calc(64px + 5vw) 0 84px; border-radius: 50% 50% 0 0 / 7vw 7vw 0 0; margin-top: -1px; position: relative; overflow: hidden; }
.o-elig::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 48px 48px; pointer-events: none; }
.o-elig .o-wrap { position: relative; }
.o-crit { display: grid; gap: 16px; }
@media (min-width: 761px) { .o-crit { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.o-crit li { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--r); padding: 26px 24px; display: flex; flex-direction: column; gap: 8px; }
.o-crit svg { width: 40px; height: 40px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: square; stroke-linejoin: miter; margin-bottom: 8px; }
.o-crit strong { font-family: var(--fd); font-size: 22px; font-weight: 700; line-height: 1.45; }
.o-crit span { color: rgba(255, 255, 255, 0.72); font-size: 15.5px; }
.o-note { margin-top: 24px; font-size: 14.5px; color: rgba(255, 255, 255, 0.66); display: flex; gap: 10px; align-items: center; }
.o-note::before { content: ""; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); flex: none; }

/* الخطوات */
.o-steps { padding: 80px 0; }
.o-steps__list { display: grid; gap: 14px; counter-reset: s; }
@media (min-width: 900px) { .o-steps__list { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.o-steps__list li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px 22px 24px; }
.o-steps__list b { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; font-family: var(--fd); font-size: 19px; font-weight: 700; color: var(--g9); position: relative; }
.o-steps__list b::before { content: ""; position: absolute; inset: 6px; background: var(--gold); transform: rotate(45deg); border-radius: 4px; z-index: -1; }
.o-steps__list li { isolation: isolate; }
.o-steps__list h3 { font-size: 19px; font-weight: 700; color: var(--g7); line-height: 1.45; }
.o-steps__list p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }

/* ليش نحن */
.o-why { background: var(--sand); padding: 80px 0; }
.o-why__grid { display: grid; gap: 34px; align-items: center; }
@media (min-width: 900px) { .o-why__grid { grid-template-columns: 0.9fr 1.1fr; gap: 64px; } }
.o-why__media { margin: 0; border-radius: 999px 999px var(--r) var(--r); overflow: hidden; aspect-ratio: 4 / 5; border: 6px solid #fff; box-shadow: 0 24px 50px rgba(58, 22, 18, 0.16); }
.o-why__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 70%; }
.o-why__list { display: grid; gap: 18px; }
.o-why__list li { display: flex; gap: 14px; align-items: flex-start; }
.o-why__list .o-dia { margin-top: 11px; }
.o-why__list strong { display: block; font-family: var(--fd); font-weight: 700; font-size: 19px; color: var(--g7); }
.o-why__list span { color: var(--muted); }

/* نموذج الأهلية */
.o-apply { background: var(--g7); padding: 84px 0; color: #fff; }
.o-apply__grid { display: grid; gap: 30px; }
@media (min-width: 980px) { .o-apply__grid { grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; } .o-apply__intro { position: sticky; top: 100px; } }
.o-apply__points { margin-top: 22px; display: grid; gap: 10px; }
.o-apply__points li { display: flex; gap: 10px; align-items: center; color: rgba(255, 255, 255, 0.86); }
.o-apply__points li::before { content: ""; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); flex: none; }
.o-form { background: var(--plaster); color: var(--ink); border-radius: 22px; padding: 26px 20px 22px; display: grid; gap: 22px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25); }
@media (min-width: 600px) { .o-form { padding: 34px 32px 28px; } }
.o-q { border: 0; margin: 0; padding: 0; min-width: 0; }
.o-q legend, .o-field > span { font-family: var(--fd); font-weight: 700; font-size: 17px; color: var(--g7); margin-bottom: 10px; padding: 0; }
.o-field > span small { font-family: var(--fb); font-weight: 400; color: var(--muted); font-size: 14px; }
.o-opts { display: grid; gap: 10px; }
.o-opts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.o-opts label { position: relative; cursor: pointer; }
.o-opts input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.o-opts span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 52px; padding: 8px 10px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: 15.5px; line-height: 1.4; transition: border-color .15s, background .15s, color .15s, box-shadow .15s; }
.o-opts label:hover span { border-color: var(--g5); }
.o-opts input:checked + span { border-color: var(--g7); background: var(--g7); color: #fff; box-shadow: inset 0 -3px 0 var(--gold); }
.o-opts input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.o-form__pair { display: grid; gap: 22px; }
@media (min-width: 600px) { .o-form__pair { grid-template-columns: 1fr 1fr; gap: 18px; } }
.o-field { display: flex; flex-direction: column; }
.o-field select, .o-field input { font: inherit; font-size: 16px; min-height: 52px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); width: 100%; appearance: none; -webkit-appearance: none; }
.o-field select { background-image: linear-gradient(45deg, transparent 50%, var(--g7) 50%), linear-gradient(135deg, var(--g7) 50%, transparent 50%); background-position: 18px 23px, 24px 23px; background-size: 6px 6px; background-repeat: no-repeat; padding-inline-start: 14px; }
.o-field select:focus, .o-field input:focus { outline: none; border-color: var(--g7); box-shadow: 0 0 0 3px rgba(227, 190, 132, 0.45); }
.o-err { display: block; min-height: 0; margin-top: 6px; color: #B3261E; font-size: 14px; font-weight: 600; font-style: normal; }
.o-err:empty { display: none; }
.o-q.is-bad span, .o-field.is-bad select { border-color: #B3261E; }
.o-form__msg { border-radius: 14px; padding: 16px 18px; background: var(--mint); color: var(--g7); font-weight: 600; border-inline-start: 4px solid var(--gold); }
.o-form__msg.is-warn { background: #F6E7D8; color: #5A2A22; border: 1px solid rgba(107, 45, 39, 0.2); }
.o-wa { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 60px; border: 0; border-radius: 14px; background: var(--wa); color: #06281A; font-family: var(--fd); font-weight: 700; font-size: 18.5px; cursor: pointer; transition: background .2s, transform .2s, box-shadow .2s; box-shadow: 0 10px 26px rgba(37, 211, 102, 0.3); }
.o-wa svg { width: 26px; height: 26px; }
.o-wa:hover { background: var(--wa-d); transform: translateY(-2px); }
.o-form__fine { font-size: 13.5px; color: var(--muted); text-align: center; margin-top: -8px; }

/* الأسئلة */
.o-faq { padding: 80px 0 88px; }
.o-faq__wrap { max-width: 880px; }
.o-faq__list { display: grid; gap: 12px; }
.o-faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
.o-faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-family: var(--fd); font-weight: 700; font-size: 17.5px; color: var(--g7); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.o-faq summary::-webkit-details-marker { display: none; }
.o-faq summary::after { content: ""; width: 10px; height: 10px; border-inline-end: 2.4px solid var(--g7); border-bottom: 2.4px solid var(--g7); transform: rotate(45deg); transition: transform .25s; flex: none; margin-top: -4px; }
.o-faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.o-faq details p { padding: 0 0 18px; color: var(--muted); }

/* التذييل */
.o-foot { background: var(--g9); color: rgba(255, 255, 255, 0.78); padding: 56px 0 120px; }
.o-foot__grid { display: grid; gap: 24px; align-items: center; }
@media (min-width: 761px) { .o-foot__grid { grid-template-columns: auto 1fr; gap: 56px; } .o-foot { padding-bottom: 56px; } }
.osool .o-foot__logo { height: 72px; width: auto; max-width: none; }
.o-foot__text { display: grid; gap: 6px; }
.o-foot__tag { font-family: var(--fd); font-weight: 700; color: #fff; font-size: 19px; }
.o-foot__fine { font-size: 13.5px; color: rgba(255, 255, 255, 0.55); }

/* زر ثابت للجوال */
.o-sticky { position: fixed; z-index: 60; inset-inline: 14px; bottom: calc(12px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; border-radius: 14px; background: var(--g7); color: #FFF2E1; border: 2px solid rgba(255, 242, 225, 0.85); font-family: var(--fd); font-weight: 700; font-size: 18px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3); transform: translateY(140%); transition: transform .3s ease; }
.o-sticky .o-dia { background: var(--gold); }
.o-sticky.is-on { transform: none; }
@media (min-width: 900px) { .o-sticky { display: none; } }
@media (prefers-reduced-motion: reduce) { .osool *, .osool *::before, .osool *::after { transition: none !important; animation: none !important; } }

/* دخول الواجهة: حركة تحويل فقط بدون إخفاء */
@keyframes o-rise { from { transform: translateY(18px); } to { transform: none; } }
.o-hero__in > * { animation: o-rise .8s cubic-bezier(.2,.7,.2,1) both; }
.o-hero__in > *:nth-child(2) { animation-delay: .06s; }
.o-hero__in > *:nth-child(3) { animation-delay: .12s; }
.o-hero__in > *:nth-child(4) { animation-delay: .18s; }
.o-hero__in > *:nth-child(5) { animation-delay: .24s; }

/* فصول الفيلم في النسخة المتحركة */
.osool .scroll-scrub { font-family: var(--fb); }
.osool .scroll-scrub__title { font-family: var(--fd); font-weight: 700; letter-spacing: normal; line-height: 1.3; }
.osool .scroll-scrub__body { font-family: var(--fb); line-height: 1.7; letter-spacing: normal; }
.osool .scroll-scrub__route { top: 84px; }
.osool .scroll-scrub__kicker, .osool .scroll-scrub__tags li, .osool .scroll-scrub__route-button { letter-spacing: normal; text-transform: none; font-family: var(--fb); }
.osool .scroll-scrub__actions .o-cta { margin-top: 8px; }

/* تركيز واضح للوحة المفاتيح على كل الروابط والأسئلة */
.osool a:focus-visible, .osool summary:focus-visible, .osool select:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.o-elig .o-dia, .o-hero .o-dia, .o-apply .o-dia { background: var(--gold); }
.o-dia { background: var(--g5); }

/* ظهور هادئ للأقسام مع النزول، ويتعطل مع تقليل الحركة */
.o-js .o-rv { opacity: 0; transform: translateY(14px); transition: opacity .45s ease, transform .45s cubic-bezier(.2,.7,.2,1); }
.o-js .o-rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .o-js .o-rv { opacity: 1; transform: none; } }
