/* ===== عقار اكسبرت — صفحة الهبوط ===== */

/* الخط: Cairo (self-hosted) — عربي + لاتيني */
@font-face { font-family: 'Cairo'; font-style: normal; font-weight: 400; font-display: swap; src: url('/landing/fonts/cairo-arabic-400-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'Cairo'; font-style: normal; font-weight: 700; font-display: swap; src: url('/landing/fonts/cairo-arabic-700-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'Cairo'; font-style: normal; font-weight: 800; font-display: swap; src: url('/landing/fonts/cairo-arabic-800-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'Cairo'; font-style: normal; font-weight: 900; font-display: swap; src: url('/landing/fonts/cairo-arabic-900-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'Cairo'; font-style: normal; font-weight: 400; font-display: swap; src: url('/landing/fonts/cairo-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cairo'; font-style: normal; font-weight: 700; font-display: swap; src: url('/landing/fonts/cairo-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cairo'; font-style: normal; font-weight: 800; font-display: swap; src: url('/landing/fonts/cairo-latin-800-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cairo'; font-style: normal; font-weight: 900; font-display: swap; src: url('/landing/fonts/cairo-latin-900-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --brand-50: #f0fdfa;
  --brand-100: #ccfbf1;
  --brand-600: #0d9488;
  --brand-700: #0f766e;
  --brand-800: #115e59;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --surface: #f8fafc;
  --wa: #1faa53;
  --radius: 18px;
  --shadow: 0 10px 30px -12px rgba(15, 118, 110, .18);
  --shadow-sm: 0 4px 14px -6px rgba(15, 23, 42, .12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
/* overflow-x على html مش body — على body بتخلي الـbody هو كونتينر السكرول وتكسر القفز بالأنكور */
html { scroll-behavior: smooth; overflow-x: hidden; }
/* عناوين الأقسام ماتتغطاش بالهيدر الثابت وقت القفز بالأنكور */
section[id] { scroll-margin-top: 4.6rem; }
body {
  font-family: 'Cairo', 'Segoe UI', system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }

/* ===== أزرار ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border: 0; cursor: pointer; font-family: inherit; font-weight: 700;
  border-radius: 999px; transition: transform .15s ease, background .15s ease, box-shadow .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-sm { padding: .45rem 1.05rem; font-size: .9rem; }
.btn-lg { padding: .8rem 1.7rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--brand-700); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--brand-800); }
.btn-outline { background: #fff; color: var(--brand-700); border: 2px solid var(--brand-100); }
.btn-outline:hover { border-color: var(--brand-600); background: var(--brand-50); }
.btn-ghost { background: transparent; color: var(--brand-700); }
.btn-ghost:hover { background: var(--brand-50); }
.btn-light { background: #fff; color: var(--brand-800); }
.btn-light:hover { background: var(--brand-50); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 10px 30px -12px rgba(31, 170, 83, .4); }
.btn-wa:hover { background: #178f45; }

/* ===== الهيدر ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  /* من غير backdrop-filter — البلور فوق الأنيميشنات بيخنق الرندر على الأجهزة الضعيفة */
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 1.25rem; padding-block: .65rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-weight: 900; font-size: 1.06rem; color: var(--brand-800); }
.brand-text small { font-size: .68rem; color: var(--muted); font-weight: 600; }
.main-nav { display: flex; gap: 1.35rem; margin-inline-start: auto; font-weight: 700; font-size: .93rem; color: var(--muted); }
.main-nav a:hover { color: var(--brand-700); }
.header-actions { display: flex; align-items: center; gap: .55rem; margin-inline-start: auto; }
.main-nav + .header-actions { margin-inline-start: 0; }
/* بوكس اللغة — خيارين ظاهرين، الشغّال متعلّم */
.lang-box {
  display: inline-flex; padding: 2px; gap: 2px;
  border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface);
}
.lang-opt {
  font-family: inherit; font-weight: 800; font-size: .8rem; cursor: pointer;
  border: 0; background: transparent; color: var(--muted);
  border-radius: 999px; padding: .28rem .8rem; line-height: 1.6;
  transition: background .15s ease, color .15s ease;
}
.lang-opt:hover { color: var(--brand-700); }
.lang-opt.is-active { background: var(--brand-700); color: #fff; }
.lang-opt:focus-visible { outline: 2px solid var(--brand-600); outline-offset: 2px; }

/* ===== الهيرو ===== */
.hero {
  position: relative;
  background:
    radial-gradient(52rem 30rem at 85% -10%, rgba(13, 148, 136, .14), transparent 60%),
    radial-gradient(40rem 26rem at 0% 110%, rgba(13, 148, 136, .1), transparent 55%),
    linear-gradient(180deg, var(--brand-50), #ffffff 68%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(15, 118, 110, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 118, 110, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(60rem 34rem at 60% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(60rem 34rem at 60% 0%, #000 30%, transparent 75%);
}
/* الهيرو عمود واحد — الداشبورد الوهمية اتشالت، البيان الكتابي هو البطل */
.hero-grid {
  position: relative;
  padding-block: 5rem 5.5rem;
}
.hero-copy { max-width: 46rem; }
.hero-sub { max-width: 42rem; }
.badge {
  display: inline-block; font-size: .82rem; font-weight: 800;
  color: var(--brand-800); background: var(--brand-100);
  border-radius: 999px; padding: .3rem 1rem; margin-bottom: 1.1rem;
}
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 900; line-height: 1.28; color: var(--ink); text-wrap: balance; }
/* الشعار — إنجليزي دايماً. في النسخة العربي بيقع توقيعاً تحت العنوان؛
   وفي الإنجليزي متخفي لأنه هو العنوان نفسه. */
.hero-slogan {
  margin-top: .9rem; font-size: clamp(.92rem, 1.3vw, 1.02rem); font-weight: 700;
  color: var(--brand-700); letter-spacing: .01em;
  padding-inline-start: .85rem; border-inline-start: 3px solid var(--brand-100);
}
html[lang="en"] .hero-slogan { display: none; }
.hero-sub { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--muted); margin-top: 1.1rem; max-width: 34rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.7rem; }
.hero-trust { margin-top: 1.15rem; font-size: .9rem; font-weight: 700; color: var(--brand-700); }

/* ===== شريط الأرقام ===== */
.stats { background: var(--brand-800); color: #fff; }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding-block: 1.6rem; text-align: center; }
.stat strong { display: block; font-size: clamp(1.05rem, 3vw, 1.45rem); font-weight: 900; color: var(--brand-100); }
.stat span { font-size: .85rem; font-weight: 600; opacity: .85; }

/* ===== الخدمات ===== */
.features { padding-block: 4.5rem; }
.sec-title { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 900; text-align: center; line-height: 1.4; }
.sec-sub { text-align: center; color: var(--muted); font-size: 1.05rem; max-width: 40rem; margin: .7rem auto 0; }
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.cards-grid-3 { grid-template-columns: repeat(3, 1fr); margin-top: 2.4rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.35rem 1.25rem; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.card-ic {
  width: 2.7rem; height: 2.7rem; display: flex; align-items: center; justify-content: center;
  color: var(--brand-700); background: var(--brand-50); border: 1px solid var(--brand-100);
  border-radius: .9rem; margin-bottom: .85rem;
}
.card-ic svg { width: 1.35rem; height: 1.35rem; }
.card h4 { font-size: 1.02rem; font-weight: 800; margin-bottom: .35rem; }
.card p { font-size: .88rem; color: var(--muted); }

/* ===== مناطقنا ===== */
.areas { padding-block: 4.5rem; background: var(--surface); }
.areas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin-top: 2.4rem; }
.area-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.5rem; transition: transform .2s ease, box-shadow .2s ease;
}
.area-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.area-card h3 { font-size: 1.25rem; font-weight: 900; color: var(--ink); margin-bottom: .4rem; }
.area-card p { font-size: .9rem; color: var(--muted); }
.area-main { background: linear-gradient(150deg, var(--brand-700), var(--brand-800)); border: 0; color: #fff; box-shadow: var(--shadow); }
.area-main h3 { color: #fff; }
.area-main p { color: rgba(240, 253, 250, .88); }
.area-badge {
  display: inline-block; background: rgba(204, 251, 241, .2); color: var(--brand-100);
  font-size: .75rem; font-weight: 900; border-radius: 999px; padding: .2rem .8rem; margin-bottom: .7rem;
}
/* نفس التاج للكروت البيضا — .area-badge ألوانه للكارت الجراديينت بس */
.area-tag {
  display: inline-block; background: var(--brand-50); color: var(--brand-700);
  border: 1px solid var(--brand-100);
  font-size: .72rem; font-weight: 800; border-radius: 999px; padding: .18rem .7rem; margin-bottom: .7rem;
}
.areas-note { text-align: center; margin-top: 1.6rem; font-size: .9rem; font-weight: 700; color: var(--muted); }

/* ===== إزاي بنشتغل — خطوات مرقّمة (الترتيب معلومة حقيقية مش زينة) ===== */
.process { padding-block: 4.5rem; }
.steps {
  list-style: none; counter-reset: none;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin-top: 2.4rem;
}
.step {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem 1.35rem 1.35rem;
}
.step-n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  background: var(--brand-700); color: #fff;
  font-size: .95rem; font-weight: 900; font-variant-numeric: tabular-nums;
  margin-bottom: .85rem;
}
.step h4 { font-size: 1.02rem; font-weight: 800; margin-bottom: .35rem; }
.step p { font-size: .88rem; color: var(--muted); }
/* الخط الرابط بين الخطوات — بيمشي مع اتجاه الصفحة */
.step:not(:last-child)::after {
  content: ''; position: absolute; top: 2.55rem; inset-inline-end: -1.1rem;
  width: 1.1rem; height: 1.5px; background: var(--line);
}

/* ===== عن المؤسس ===== */
.founder { padding-block: 4.5rem; background: var(--surface); }
.founder-card {
  position: relative; max-width: 48rem; margin-inline: auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.4rem 2.2rem 2rem; box-shadow: var(--shadow-sm);
}
.founder-mark {
  position: absolute; top: -1.3rem; inset-inline-start: 2rem;
  width: 2.6rem; height: 2.6rem; display: flex; align-items: center; justify-content: center;
  background: var(--brand-700); color: #fff; border-radius: 50%;
  font-size: 1.3rem; font-weight: 900; box-shadow: var(--shadow);
}
.founder-card blockquote p { font-size: 1.08rem; font-weight: 600; color: var(--ink); line-height: 1.9; }
.founder-card blockquote footer { margin-top: 1.2rem; display: flex; flex-direction: column; gap: .15rem; }
.founder-card blockquote footer strong { font-size: 1.05rem; font-weight: 900; color: var(--brand-800); }
.founder-card blockquote footer span { font-size: .85rem; color: var(--muted); font-weight: 600; }

/* ===== التواصل ===== */
.contact { padding-block: 4.5rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.6rem; align-items: center; }
.contact-copy .sec-title, .contact-copy .sec-sub { text-align: start; margin-inline: 0; }
.contact-copy .btn { margin-top: 1.5rem; }
.lead-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem 1.7rem; box-shadow: var(--shadow-sm);
}
.lead-form h3 { font-weight: 900; font-size: 1.2rem; margin-bottom: 1.1rem; }
.field { margin-bottom: .95rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.field label { display: block; font-size: .85rem; font-weight: 800; margin-bottom: .3rem; }
.field input, .field textarea, .field select {
  width: 100%; font-family: inherit; font-size: .95rem; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: .8rem; padding: .6rem .9rem;
  background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 1.2rem) 55%, calc(100% - 0.9rem) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
[dir="rtl"] .field select { background-position: 1.2rem 55%, 0.9rem 55%; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--brand-600); box-shadow: 0 0 0 3px rgba(13, 148, 136, .14);
}
.field input[dir="ltr"] { text-align: start; }
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
[dir="rtl"] .field input[dir="ltr"]::placeholder { text-align: right; }
.hp-field { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin-top: .8rem; font-size: .9rem; font-weight: 700; min-height: 1.4rem; }
.form-msg.ok { color: var(--brand-700); }
.form-msg.err { color: #b91c1c; }

/* ===== الفوتر ===== */
.site-footer { background: var(--ink); color: #cbd5e1; }
.footer-grid { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 2rem; padding-block: 2.6rem 1.4rem; }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text small { color: #94a3b8; }
.footer-brand p { font-size: .85rem; margin-top: .55rem; color: #94a3b8; }
.footer-nav { display: flex; flex-direction: column; gap: .55rem; font-size: .9rem; font-weight: 700; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(148, 163, 184, .18); padding-block: 1.1rem; font-size: .8rem; color: #94a3b8; }
.footer-social { margin-top: 1.15rem; }
.footer-social-t { display: block; font-size: .78rem; font-weight: 700; color: #94a3b8; margin-bottom: .55rem; }
.footer-social-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.footer-social-row a { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 9px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(148, 163, 184, .22); color: #cbd5e1; transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease; }
.footer-social-row a:hover { background: var(--brand-600); border-color: var(--brand-600); color: #fff; transform: translateY(-2px); }
.footer-social-row svg { width: 17px; height: 17px; fill: currentColor; }

/* ===== أنيميشن الظهور ===== */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .area-card, .step { transition: none; }
}

/* ===== ريسبونسيف ===== */
@media (max-width: 1020px) {
  .cards-grid, .cards-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .areas-grid { grid-template-columns: 1fr 1fr; }
  .area-main { grid-column: 1 / -1; }
  .hero-grid { padding-block: 3.4rem; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after { display: none; }
  .main-nav { display: none; }
}
@media (max-width: 720px) {
  .stats-row { grid-template-columns: repeat(3, 1fr); gap: .6rem; }
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .areas-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hide-sm { display: none; }
  .hero h1 br { display: none; }
}
@media (max-width: 480px) {
  .cards-grid, .cards-grid-3 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .brand-text small { display: none; }
  .hero-ctas .btn { width: 100%; }
}

/* ===== أسئلة شائعة (FAQ) ===== */
.faq { padding-block: 4.5rem; background: var(--surface); }
.faq-list { max-width: 44rem; margin: 2rem auto 0; display: grid; gap: .7rem; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 1.05rem 1.2rem; font-weight: 800; color: var(--brand-800); font-size: 1.02rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; font-weight: 700; color: var(--brand-600); line-height: 1; flex-shrink: 0; transition: transform .2s ease; }
.faq-item[open] summary { color: var(--brand-700); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 1.2rem 1.15rem; color: var(--muted); font-size: .98rem; line-height: 1.8; }
.faq-a p { margin: 0; }
