/* ==========================================================================
   أسس السداد — مكوّنات الموقع (Agent A)
   الألوان مأخوذة من قالب مشاريع: بني ذهبي #927f59 / غامق #3b3836 / بيج #f0ede8 / ذهبي فاتح #d8c08a
   ========================================================================== */

:root {
  --o-brown: #927f59;
  --o-brown-2: #8f805e;
  --o-dark: #3b3836;
  --o-darker: #2b2826;
  --o-beige: #f0ede8;
  --o-gold: #d8c08a;
  --o-gold-2: #f0ce89;
  --o-text: #4a4643;
  --o-muted: #7a7a7a;
  --o-line: #e4ddd1;
  --o-wa: #25d366;
  --o-radius: 14px;
  --o-shadow: 0 10px 30px rgba(59, 56, 54, .10);
  --o-header-h: 86px;
  --o-lines: url("../img/ui/lines-1.png");
}

/* (القواعد الأساسية لا تُطبّق على الرئيسية المبنية بقالب مشاريع: html.o-tpl) */
/* ---------- أساسيات ---------- */
:where(:root:not(.o-tpl)) *, :where(:root:not(.o-tpl)) *::before, :where(:root:not(.o-tpl)) *::after { box-sizing: border-box; }
:where(:root:not(.o-tpl)) { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
:where(:root:not(.o-tpl)) body {
  margin: 0;
  font-family: "Cairo", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.9;
  color: var(--o-text);
  background: #fff;
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
}
:where(:root:not(.o-tpl)) img { max-width: 100%; height: auto; }
:where(:root:not(.o-tpl)) a { color: var(--o-brown); text-decoration: none; transition: color .2s; }
:where(:root:not(.o-tpl)) a:hover { color: var(--o-dark); }
:where(:root:not(.o-tpl)) :is(h1, h2, h3, h4, h5, h6) { color: var(--o-dark); line-height: 1.45; margin: 0 0 .6em; font-weight: 800; }
:where(:root:not(.o-tpl)) h1 { font-size: clamp(28px, 4vw, 46px); }
:where(:root:not(.o-tpl)) h2 { font-size: clamp(24px, 3vw, 34px); }
:where(:root:not(.o-tpl)) h3 { font-size: clamp(19px, 2.2vw, 24px); }
:where(:root:not(.o-tpl)) h4 { font-size: 19px; }
:where(:root:not(.o-tpl)) p { margin: 0 0 1em; }
.o-skip { position: absolute; right: 12px; top: 12px; z-index: 100001; background: var(--o-dark); color: #fff; padding: 8px 16px; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
.o-skip:focus { clip-path: none; width: auto; height: auto; }
.screen-reader-text, .o-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.o-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.o-container--narrow { max-width: 900px; }

/* ==========================================================================
   الهيدر
   ========================================================================== */
.o-header {
  position: relative;
  z-index: 1000;
  width: 100%;
  background: var(--o-dark);
  transition: background .35s, box-shadow .35s, padding .35s;
}
.o-header__bar {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--o-header-h);
  padding-top: 10px;
  padding-bottom: 10px;
}
.o-header .brand-wordmark { flex: 0 0 auto; }
.o-header .brand-wordmark .brand-name { font-size: 40px !important; }
.o-header .brand-wordmark .brand-tagline { font-size: 13px !important; }

/* الرئيسية: شفاف فوق الفيديو */
.o-header--home { position: absolute; top: 0; right: 0; left: 0; background: transparent; }
.o-header--home::after {
  content: ""; position: absolute; right: 0; left: 0; bottom: 0; height: 1px;
  background: rgba(146, 127, 89, .3);
}
/* الصفحات الداخلية: بني ثابت بالخطوط */
.o-header--inner { background-color: var(--o-dark); }

/* عند النزول */
.o-header.is-sticky {
  position: fixed; top: 0; right: 0; left: 0;
  background: rgba(59, 56, 54, .97);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .18);
  animation: oHeaderDown .35s ease;
}
.o-header.is-sticky .o-header__bar { min-height: 70px; }
.o-header.is-sticky .brand-wordmark .brand-name { font-size: 32px !important; }
@keyframes oHeaderDown { from { transform: translateY(-100%); } to { transform: none; } }
body.o-inner.has-sticky { padding-top: var(--o-header-h); }

/* القائمة */
.o-nav { flex: 1 1 auto; }
.o-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; justify-content: center; gap: 4px; flex-wrap: nowrap; }
.o-nav__list > li { position: relative; }
.o-nav__list > li > a,
.o-nav__sub-toggle {
  display: block;
  padding: 10px 13px;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  background: none;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1.6;
  position: relative;
}
.o-nav__list > li > a::after,
.o-nav__sub-toggle::before {
  content: ""; position: absolute; right: 13px; left: 13px; bottom: 4px; height: 2px;
  background: var(--o-gold); transform: scaleX(0); transition: transform .25s;
}
.o-nav__list > li > a:hover::after,
.o-nav__list > li > a[aria-current="page"]::after,
.o-nav__has-sub:hover > .o-nav__sub-toggle::before { transform: scaleX(1); }
.o-nav__list > li > a:hover { color: var(--o-gold); }
.o-nav__sub-toggle::after {
  content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px;
  border-left: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(-45deg);
}
.o-nav__sub {
  list-style: none; margin: 0; padding: 8px 0;
  position: absolute; top: 100%; right: 0; min-width: 230px;
  background: #fff; border-radius: 10px; box-shadow: 0 14px 40px rgba(0, 0, 0, .18);
  border-top: 3px solid var(--o-brown);
  display: none;
}
.o-nav__has-sub:hover > .o-nav__sub,
.o-nav__has-sub:focus-within > .o-nav__sub,
.o-nav__has-sub.is-open > .o-nav__sub { display: block; animation: oSubIn .2s ease both; }
@keyframes oSubIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.o-nav__sub a { display: block; padding: 8px 18px; color: var(--o-dark); font-size: 15px; font-weight: 600; }
.o-nav__sub a:hover { background: var(--o-beige); color: var(--o-brown); }
.o-nav__list > li > a.o-nav__cta {
  background: var(--o-brown); border-radius: 40px; padding: 8px 20px; margin-right: 6px;
}
.o-nav__list > li > a.o-nav__cta::after { display: none; }
.o-nav__list > li > a.o-nav__cta:hover { background: var(--o-gold); color: var(--o-dark); }

.o-header__phone {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--o-gold); font-weight: 800; font-size: 17px; letter-spacing: .5px;
  direction: ltr;
}
.o-header__phone::before {
  content: ""; width: 34px; height: 34px; border-radius: 50%;
  background: var(--o-brown) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E") center / 18px no-repeat;
  order: 2;
}
.o-header__phone:hover { color: #fff; }

.o-burger {
  display: none; width: 46px; height: 46px; margin-right: auto;
  background: transparent; border: 1px solid rgba(216, 192, 138, .6); border-radius: 10px; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.o-burger span { display: block; width: 22px; height: 2px; background: #fff; transition: transform .3s, opacity .3s; }
.o-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.o-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.o-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1180px) {
  .o-nav__list > li > a, .o-nav__sub-toggle { padding: 10px 8px; font-size: 14px; }
  .o-header__phone { font-size: 15px; }
}
@media (max-width: 1024px) {
  :root { --o-header-h: 74px; }
  .o-burger { display: flex; }
  .o-header .brand-wordmark .brand-name { font-size: 32px !important; }
  .o-header .brand-wordmark .brand-tagline { font-size: 11px !important; }
  .o-header__phone { margin-right: auto; font-size: 0; gap: 0; }
  .o-header__phone::before { width: 40px; height: 40px; }
  .o-burger { margin-right: 10px; }
  .o-nav {
    position: absolute; top: 100%; right: 0; left: 0;
    background: var(--o-dark); border-top: 1px solid rgba(216, 192, 138, .25);
    max-height: 0; overflow: hidden; transition: max-height .4s ease;
    box-shadow: 0 16px 30px rgba(0, 0, 0, .25);
  }
  .o-nav.is-open { max-height: 85vh; overflow-y: auto; }
  .o-nav__list { flex-direction: column; align-items: stretch; padding: 10px 20px 20px; gap: 0; }
  .o-nav__list > li { border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .o-nav__list > li > a, .o-nav__sub-toggle { width: 100%; text-align: right; padding: 12px 4px; font-size: 16px; }
  .o-nav__list > li > a::after, .o-nav__sub-toggle::before { display: none; }
  .o-nav__sub-toggle::after { float: left; margin-top: 10px; }
  .o-nav__sub {
    position: static; box-shadow: none;
    background: rgba(255, 255, 255, .05); border: 0; border-radius: 8px;
    padding: 0; display: none;
  }
  .o-nav__has-sub:hover > .o-nav__sub, .o-nav__has-sub:focus-within > .o-nav__sub { display: none; }
  .o-nav__has-sub.is-open > .o-nav__sub { display: block; padding: 6px 0; animation: none; }
  .o-nav__sub a { color: #f3eee4; padding: 8px 16px; }
  .o-nav__sub a:hover { background: transparent; color: var(--o-gold); }
  .o-nav__list > li > a.o-nav__cta { margin: 14px 0 0; text-align: center; }
}

/* ==========================================================================
   شارة تقييم جوجل
   ========================================================================== */
.o-grev {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 9px;
  background: linear-gradient(135deg, #fbf6ea, #f3e9d2);
  border-bottom: 1px solid #e3d3ad;
  padding: 9px 16px; color: var(--o-dark); font-weight: 700; font-size: 14px; line-height: 1.6;
}
.o-grev:hover { color: var(--o-brown); }
.o-grev__stars { color: #e7a817; font-size: 18px; letter-spacing: 2px; }
.o-grev__cta { color: var(--o-brown); font-weight: 800; }
.o-home .o-grev { position: relative; z-index: 5; }

/* ==========================================================================
   الهيرو (الرئيسية) — مع hero.css
   ========================================================================== */
.o-hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  background: var(--o-darker);
  color: #fff;
  padding: calc(var(--o-header-h) + 40px) 0 70px;
}
/* صورة الخلفية الثابتة + زووم سينمائي بطيء */
.o-hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--o-darker) var(--o-lines) center / cover no-repeat; }
.o-hero .hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transform-origin: 50% 45%;
  animation: oHeroZoom 25s ease-in-out infinite alternate;
  filter: sepia(.35) saturate(1.15) contrast(1.05) brightness(.95);
  will-change: transform;
}
@keyframes oHeroZoom { from { transform: scale(1.02); } to { transform: scale(1.14) translate(-1%, -1%); } }
.o-hero__bg::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(150, 120, 70, .28) 0%, rgba(120, 95, 55, .18) 50%, rgba(60, 45, 25, .35) 100%);
  mix-blend-mode: soft-light;
}
@media (prefers-reduced-motion: reduce) { .o-hero .hero-bg { animation: none; } }
.o-hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(270deg, rgba(20, 18, 14, .82) 0%, rgba(20, 18, 14, .5) 55%, rgba(20, 18, 14, .3) 100%);
}
.o-hero .o-container { position: relative; z-index: 2; }
.o-hero__content { max-width: 820px; }
.o-hero .hero-title { font-size: clamp(24px, 2.9vw, 38px); margin: 0 0 6px; }
.o-hero__sub { color: #f3eee4; font-size: clamp(16px, 1.6vw, 19px); max-width: 720px; margin: 0 0 18px; }
.o-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.o-hero__scroll {
  position: absolute; z-index: 2; bottom: 22px; left: 50%; width: 26px; height: 42px; margin-left: -13px;
  border: 2px solid rgba(255, 255, 255, .7); border-radius: 14px;
}
.o-hero__scroll::after {
  content: ""; position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px;
  background: var(--o-gold); border-radius: 2px; animation: oScroll 1.6s infinite;
}
@keyframes oScroll { 0% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(14px); } }
.o-hero .hero-chips { margin-top: 4px; }
@media (max-width: 767px) {
  .o-hero { min-height: 92vh; padding-top: calc(var(--o-header-h) + 30px); }
  .o-hero__scroll { display: none; }
}

/* ==========================================================================
   الأقسام والعناوين
   ========================================================================== */
.o-section { position: relative; padding: 90px 0; background: #fff; }
.o-section--tight { padding: 56px 0; }
.o-section--light { background: var(--o-beige); }
.o-section--dark { background: var(--o-dark); color: #e9e4da; }
.o-section--brown,
.o-banner {
  background-color: var(--o-brown);
  background-image: var(--o-lines);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
}
.o-section--brown h1, .o-section--brown h2, .o-section--brown h3, .o-section--brown h4,
.o-section--dark h1, .o-section--dark h2, .o-section--dark h3, .o-section--dark h4 { color: #fff; }
.o-section--brown a:not(.o-btn):not(.o-card), .o-section--dark a:not(.o-btn):not(.o-card) { color: #fff3d6; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); }
.o-section--brown p, .o-section--brown li { color: #fff; }

/* عنوان بالخط الذهبي الرأسي */
.o-title {
  position: relative;
  padding-right: 22px;
  margin-bottom: 26px;
  font-weight: 800;
}
.o-title::before {
  content: "";
  position: absolute; right: 0; top: .2em; bottom: .2em;
  width: 4px; border-radius: 2px;
  background: linear-gradient(180deg, var(--o-gold), var(--o-brown));
}
.o-section--brown .o-title::before, .o-section--dark .o-title::before, .o-banner .o-title::before { background: var(--o-gold); }
.o-title--center { text-align: center; padding-right: 0; padding-bottom: 16px; }
.o-title--center::before { right: 50%; top: auto; bottom: 0; width: 70px; height: 3px; transform: translateX(50%); }
.o-eyebrow { display: inline-block; color: var(--o-brown); font-weight: 800; font-size: 14px; letter-spacing: 1px; margin-bottom: 8px; }
.o-section--brown .o-eyebrow, .o-section--dark .o-eyebrow { color: var(--o-gold); }
.o-lead { font-size: 19px; line-height: 2; color: inherit; }
.o-muted { color: var(--o-muted); }
.o-center { text-align: center; }
.o-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 50px; align-items: start; }
.o-split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 900px) { .o-split, .o-split--even { grid-template-columns: 1fr; gap: 24px; } .o-section { padding: 64px 0; } }

/* ==========================================================================
   بانر الصفحات الداخلية (زي بانر صفحة مجلس الإدارة)
   ========================================================================== */
.o-banner { padding: 130px 0 110px; text-align: right; position: relative; }
.o-banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(43, 40, 38, .25), rgba(43, 40, 38, 0) 60%);
  pointer-events: none;
}
.o-banner .o-container { position: relative; z-index: 1; }
.o-banner__title {
  color: #fff; font-size: clamp(30px, 4.6vw, 56px); font-weight: 900; line-height: 1.3; margin: 0 0 14px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, .15);
  animation: oUp .9s cubic-bezier(.2, .7, .2, 1) both;
}
.o-banner__sub { color: #fff; font-size: 18px; max-width: 820px; margin: 0; opacity: .95; animation: oUp .9s .15s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes oUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (max-width: 767px) { .o-banner { padding: 70px 0 60px; } }

/* breadcrumb */
.o-breadcrumb { margin-bottom: 18px; font-size: 14px; }
.o-breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.o-breadcrumb li { color: rgba(255, 255, 255, .85); }
.o-breadcrumb li + li::before { content: "‹"; margin-left: 6px; color: var(--o-gold); }
.o-breadcrumb a { color: #fff; }
.o-breadcrumb a:hover { color: var(--o-gold); }
.o-section .o-breadcrumb li, .o-section .o-breadcrumb a { color: var(--o-muted); }

/* ==========================================================================
   نص المقالات (rich text)
   ========================================================================== */
.o-prose { font-size: 17.5px; line-height: 2.05; color: var(--o-text); }
.o-prose > *:first-child { margin-top: 0; }
.o-prose h2 { position: relative; padding-right: 20px; margin: 1.8em 0 .7em; font-size: clamp(22px, 2.6vw, 30px); }
.o-prose h2::before { content: ""; position: absolute; right: 0; top: .25em; bottom: .25em; width: 4px; border-radius: 2px; background: var(--o-brown); }
.o-prose h3 { margin: 1.5em 0 .6em; font-size: clamp(19px, 2.1vw, 23px); color: var(--o-brown); }
.o-prose h4 { margin: 1.3em 0 .5em; }
.o-prose p { margin: 0 0 1.15em; }
.o-prose a { color: var(--o-brown); font-weight: 700; text-decoration: underline; text-decoration-color: rgba(146, 127, 89, .35); text-underline-offset: 4px; }
.o-prose a:hover { color: var(--o-dark); text-decoration-color: var(--o-dark); }
.o-prose ul, .o-prose ol { margin: 0 0 1.3em; padding-right: 1.4em; }
.o-prose li { margin-bottom: .45em; }
.o-prose ul li::marker { color: var(--o-brown); }
.o-prose ol li::marker { color: var(--o-brown); font-weight: 800; }
.o-prose img { border-radius: var(--o-radius); margin: 1em 0; }
.o-prose figure { margin: 1.5em 0; }
.o-prose figcaption { font-size: 14px; color: var(--o-muted); text-align: center; }
.o-prose blockquote, .o-quote {
  margin: 1.5em 0; padding: 18px 24px;
  background: var(--o-beige); border-right: 4px solid var(--o-brown); border-radius: 0 10px 10px 0;
  color: var(--o-dark); font-weight: 600;
}
.o-prose hr { border: 0; height: 1px; background: var(--o-line); margin: 2em 0; }
.o-section--brown .o-prose, .o-section--dark .o-prose { color: #fff; }
.o-section--brown .o-prose h3, .o-section--dark .o-prose h3 { color: var(--o-gold); }

/* جداول */
.o-table-wrap { width: 100%; overflow-x: auto; margin: 1.5em 0; border-radius: var(--o-radius); box-shadow: var(--o-shadow); }
.o-prose table, .o-table { width: 100%; border-collapse: collapse; background: #fff; font-size: 16px; min-width: 520px; }
.o-prose table th, .o-table th { background: var(--o-dark); color: #fff; font-weight: 700; padding: 12px 14px; text-align: right; }
.o-prose table td, .o-table td { padding: 11px 14px; border-bottom: 1px solid var(--o-line); color: var(--o-text); }
.o-prose table tr:nth-child(even) td, .o-table tr:nth-child(even) td { background: #faf8f4; }

/* ==========================================================================
   البطاقات والشبكات
   ========================================================================== */
.o-grid { display: grid; gap: 24px; }
.o-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.o-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.o-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .o-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .o-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .o-grid--2, .o-grid--3, .o-grid--4 { grid-template-columns: 1fr; } }

.o-card {
  display: flex; flex-direction: column;
  position: relative;
  background: #fff;
  border: 1px solid var(--o-line);
  border-radius: var(--o-radius);
  padding: 28px 24px;
  box-shadow: var(--o-shadow);
  color: var(--o-text);
  transition: transform .3s, box-shadow .3s, border-color .3s;
  overflow: hidden;
}
.o-card::before {
  content: ""; position: absolute; top: 0; right: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--o-gold), var(--o-brown));
  transform: scaleX(0); transform-origin: right; transition: transform .35s;
}
.o-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(59, 56, 54, .16); border-color: rgba(146, 127, 89, .45); }
.o-card:hover::before { transform: scaleX(1); }
.o-card__icon {
  width: 56px; height: 56px; border-radius: 14px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--o-beige); color: var(--o-brown); font-size: 24px; font-weight: 900;
}
.o-card__icon img { width: 34px; height: 34px; object-fit: contain; }
.o-card__title { font-size: 21px; margin: 0 0 10px; color: var(--o-dark); }
.o-card__text { margin: 0 0 14px; }
.o-card ul { margin: 0 0 16px; padding: 0; list-style: none; }
.o-card ul li { position: relative; padding-right: 22px; margin-bottom: 6px; }
.o-card ul li::before { content: ""; position: absolute; right: 2px; top: .75em; width: 8px; height: 8px; border-radius: 50%; background: var(--o-brown); }
.o-card__link { margin-top: auto; font-weight: 800; color: var(--o-brown); display: inline-flex; align-items: center; gap: 8px; }
.o-card__link::after { content: "←"; transition: transform .25s; }
.o-card:hover .o-card__link::after { transform: translateX(-5px); }
.o-card--city { text-align: center; align-items: center; justify-content: center; min-height: 140px; background: var(--o-dark) var(--o-lines) center / cover no-repeat; border: 0; }
.o-card--city .o-card__title { color: #fff; margin: 0; }
.o-section--brown .o-card, .o-section--dark .o-card { color: var(--o-text); }
.o-section--brown .o-card a.o-card__link, .o-section--dark .o-card a.o-card__link { color: var(--o-brown); text-decoration: none; }

/* قائمة بعلامات صح */
.o-list-check { list-style: none; margin: 0 0 1.2em; padding: 0; }
.o-list-check li { position: relative; padding-right: 32px; margin-bottom: 10px; }
.o-list-check li::before {
  content: "✓"; position: absolute; right: 0; top: .2em;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--o-gold); color: var(--o-dark); font-size: 13px; font-weight: 900; line-height: 22px; text-align: center;
}

/* صندوق */
.o-box { background: #fff; border: 1px solid var(--o-line); border-right: 4px solid var(--o-brown); border-radius: var(--o-radius); padding: 24px 26px; box-shadow: var(--o-shadow); color: var(--o-text); }
.o-section--brown .o-box, .o-section--dark .o-box { color: var(--o-text); }
.o-section--brown .o-box h2, .o-section--brown .o-box h3, .o-section--brown .o-box h4,
.o-section--dark .o-box h2, .o-section--dark .o-box h3, .o-section--dark .o-box h4 { color: var(--o-dark); }
.o-section--brown .o-box p, .o-section--brown .o-box li { color: var(--o-text); }

/* ميزات صغيرة (أيقونة + نص) */
.o-features { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.o-features li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 40px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(216, 192, 138, .55);
  color: #fff; font-weight: 700; font-size: 15px;
}
.o-features li::before { content: "✓"; color: var(--o-gold); font-weight: 900; }
.o-section .o-features li { background: var(--o-beige); color: var(--o-dark); border-color: rgba(146, 127, 89, .35); }
.o-section--brown .o-features li, .o-section--dark .o-features li, .o-hero .o-features li { background: rgba(255, 255, 255, .1); color: #fff; }

/* أزرار التبويب/الروابط السريعة */
.o-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.o-pills a, .o-pills button {
  display: inline-block; padding: 9px 20px; border-radius: 40px;
  border: 1px solid var(--o-brown); color: var(--o-brown); background: #fff;
  font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; text-decoration: none !important;
  transition: background .25s, color .25s;
}
.o-pills a:hover, .o-pills a.is-active, .o-pills button:hover, .o-pills button.is-active { background: var(--o-brown); color: #fff; }
.o-section--brown .o-pills a, .o-section--dark .o-pills a { background: transparent; color: #fff !important; border-color: var(--o-gold); }
.o-section--brown .o-pills a:hover, .o-section--dark .o-pills a:hover { background: var(--o-gold); color: var(--o-dark) !important; }

/* قيم مرقّمة */
.o-values { counter-reset: none; }
.o-value { background: rgba(255, 255, 255, .08); border: 1px solid rgba(216, 192, 138, .45); border-radius: var(--o-radius); padding: 26px 24px; }
.o-value h2, .o-value h3 { font-size: 22px; color: var(--o-gold) !important; margin-bottom: 10px; }
.o-value p { margin: 0; }

/* ==========================================================================
   الأسئلة الشائعة
   ========================================================================== */
.o-faq { display: flex; flex-direction: column; gap: 12px; }
.o-faq__item {
  background: #fff; border: 1px solid var(--o-line); border-radius: 12px;
  box-shadow: 0 4px 14px rgba(59, 56, 54, .05); overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
}
.o-faq__item[open] { border-color: rgba(146, 127, 89, .55); box-shadow: var(--o-shadow); }
.o-faq__q {
  list-style: none; cursor: pointer; position: relative;
  padding: 16px 22px 16px 56px; font-weight: 800; color: var(--o-dark); font-size: 17px; line-height: 1.7;
}
.o-faq__q::-webkit-details-marker { display: none; }
.o-faq__q > h2, .o-faq__q > h3, .o-faq__q > h4 { display: inline; font-size: inherit; margin: 0; color: inherit; line-height: inherit; }
.o-faq__q::after {
  content: "+"; position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--o-beige); color: var(--o-brown); font-size: 20px; font-weight: 900; line-height: 28px; text-align: center;
  transition: transform .3s, background .3s, color .3s;
}
.o-faq__item[open] > .o-faq__q::after { content: "−"; background: var(--o-brown); color: #fff; }
.o-faq__q:hover { color: var(--o-brown); }
.o-faq__a { padding: 0 22px 18px; color: var(--o-text); }
.o-faq__a > *:last-child { margin-bottom: 0; }
.o-faq__a ul, .o-faq__a ol { padding-right: 1.3em; margin: 0 0 .8em; }
.o-section--brown .o-faq__a p, .o-section--brown .o-faq__a li,
.o-section--dark .o-faq__a p, .o-section--dark .o-faq__a li { color: var(--o-text); }
.o-section--brown .o-faq__a a, .o-section--dark .o-faq__a a { color: var(--o-brown) !important; }

/* ==========================================================================
   الأزرار
   ========================================================================== */
.o-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: 40px; border: 2px solid transparent;
  font-family: inherit; font-size: 16px; font-weight: 800; line-height: 1.4;
  cursor: pointer; text-decoration: none !important; white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s, transform .25s, box-shadow .25s;
}
.o-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0, 0, 0, .15); }
.o-btn--gold { background: var(--o-gold); color: var(--o-dark) !important; }
.o-btn--gold:hover { background: #e6d09f; }
.o-btn--brown { background: var(--o-brown); color: #fff !important; }
.o-btn--brown:hover { background: var(--o-dark); }
.o-btn--wa { background: var(--o-wa); color: #fff !important; }
.o-btn--wa:hover { background: #1fb457; }
.o-btn--outline { background: transparent; border-color: currentColor; color: var(--o-brown) !important; }
.o-section--brown .o-btn--outline, .o-section--dark .o-btn--outline, .o-hero .o-btn--outline, .o-cta .o-btn--outline { color: #fff !important; }
.o-btn--sm { padding: 8px 18px; font-size: 14px; }
.o-btn--block { width: 100%; }

/* ==========================================================================
   CTA
   ========================================================================== */
.o-cta {
  background: var(--o-dark) var(--o-lines) center / cover no-repeat;
  color: #fff; padding: 64px 0;
}
.o-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.o-cta__title { color: #fff; margin: 0 0 8px; font-size: clamp(22px, 2.8vw, 32px); }
.o-cta__text { margin: 0; color: #eee6d6; font-size: 17px; }
.o-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* شريط التواصل */
.o-contact-strip { display: flex; flex-wrap: wrap; gap: 16px; }
.o-contact-strip__item {
  flex: 1 1 220px; display: flex; flex-direction: column; gap: 2px;
  padding: 18px 22px; border-radius: var(--o-radius);
  background: #fff; border: 1px solid var(--o-line); box-shadow: var(--o-shadow); color: var(--o-dark) !important; text-decoration: none !important;
}
.o-contact-strip__item strong { font-size: 22px; color: var(--o-brown); direction: ltr; text-align: right; }
.o-contact-strip__label { font-size: 14px; color: var(--o-muted); }
.o-contact-strip__item:hover { border-color: var(--o-brown); }

/* أيقونات التواصل (صورة + عنوان) */
.o-iconbox { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 24px 16px; border-radius: var(--o-radius); background: #fff; border: 1px solid var(--o-line); box-shadow: var(--o-shadow); color: var(--o-dark) !important; text-decoration: none !important; transition: transform .3s; }
.o-iconbox:hover { transform: translateY(-4px); }
.o-iconbox img { width: 64px; height: 64px; object-fit: contain; }
.o-iconbox h3 { font-size: 18px; margin: 0; }

/* خريطة */
.o-map { border-radius: var(--o-radius); overflow: hidden; box-shadow: var(--o-shadow); line-height: 0; }
.o-map iframe { width: 100%; height: 380px; border: 0; }

/* ==========================================================================
   إحصائيات + خطوات
   ========================================================================== */
.o-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 20px; }
.o-stat { text-align: center; padding: 26px 16px; border-radius: var(--o-radius); background: rgba(255, 255, 255, .08); border: 1px solid rgba(216, 192, 138, .4); }
.o-section:not(.o-section--brown):not(.o-section--dark) .o-stat { background: var(--o-beige); border-color: var(--o-line); }
.o-stat__num { display: block; font-size: 42px; font-weight: 900; color: var(--o-gold); line-height: 1.2; }
.o-section:not(.o-section--brown):not(.o-section--dark) .o-stat__num { color: var(--o-brown); }
.o-stat__label { display: block; font-weight: 700; margin-top: 4px; }

.o-steps { list-style: none; margin: 0; padding: 0; counter-reset: ostep; display: grid; gap: 18px; }
.o-steps > li {
  counter-increment: ostep; position: relative;
  padding: 22px 80px 22px 22px; background: #fff; border: 1px solid var(--o-line); border-radius: var(--o-radius); box-shadow: var(--o-shadow);
}
.o-steps > li::before {
  content: counter(ostep); position: absolute; right: 20px; top: 20px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--o-brown); color: #fff; font-weight: 900; font-size: 20px; line-height: 44px; text-align: center;
}
.o-steps > li h3 { font-size: 19px; margin-bottom: 6px; }
.o-steps > li p:last-child { margin: 0; }
.o-section--brown .o-steps > li p, .o-section--dark .o-steps > li p { color: var(--o-text); }
.o-section--brown .o-steps > li h3, .o-section--dark .o-steps > li h3 { color: var(--o-dark); }

/* ==========================================================================
   النماذج
   ========================================================================== */
.o-form { display: grid; gap: 16px; }
.o-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 640px) { .o-form__row { grid-template-columns: 1fr; } }
.o-field { display: flex; flex-direction: column; gap: 6px; }
.o-form label, .o-field label { font-weight: 700; color: var(--o-dark); font-size: 15px; }
.o-form input[type="text"], .o-form input[type="tel"], .o-form input[type="email"], .o-form input[type="number"],
.o-form input[type="date"], .o-form input[type="search"], .o-form input[type="url"], .o-form input:not([type]),
.o-form select, .o-form textarea {
  width: 100%; padding: 12px 16px;
  font-family: inherit; font-size: 16px; color: var(--o-dark);
  background: #fff; border: 1px solid #d8d0c2; border-radius: 10px;
  transition: border-color .2s, box-shadow .2s; direction: rtl;
}
.o-form textarea { min-height: 130px; resize: vertical; }
.o-form input:focus, .o-form select:focus, .o-form textarea:focus { outline: 0; border-color: var(--o-brown); box-shadow: 0 0 0 3px rgba(146, 127, 89, .2); }
.o-form input[type="checkbox"], .o-form input[type="radio"] { accent-color: var(--o-brown); width: 18px; height: 18px; }
.o-form button[type="submit"], .o-form input[type="submit"] { justify-self: start; }
.o-form-card { background: #fff; border-radius: var(--o-radius); padding: 32px; box-shadow: var(--o-shadow); border-top: 4px solid var(--o-brown); color: var(--o-text); }

/* ==========================================================================
   سحابة الروابط + مشاهدة المزيد
   ========================================================================== */
.o-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.o-tags a {
  display: inline-block; padding: 6px 14px; border-radius: 30px;
  background: var(--o-beige); border: 1px solid rgba(146, 127, 89, .25);
  color: var(--o-dark) !important; font-size: 14px; font-weight: 600; text-decoration: none !important;
  transition: background .2s, color .2s;
}
.o-tags a:hover { background: var(--o-brown); color: #fff !important; }
.o-section--brown .o-tags a, .o-section--dark .o-tags a { background: rgba(255, 255, 255, .1); color: #fff !important; border-color: rgba(216, 192, 138, .45); }
.js .o-more { max-height: 0; overflow: hidden; transition: max-height .5s ease; }
.js .o-more.is-open { max-height: none; }
.o-more-toggle { margin-top: 18px; }
.o-legacy-links { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; font-size: 14px; }

/* صور */
.o-img { display: block; width: 100%; border-radius: var(--o-radius); box-shadow: var(--o-shadow); }
.o-media { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
@media (max-width: 900px) { .o-media { grid-template-columns: 1fr; } }

/* مودال */
.o-modal { position: fixed; inset: 0; z-index: 100000; display: none; align-items: center; justify-content: center; background: rgba(0, 0, 0, .55); }
.o-modal__box { background: #fff; max-width: 430px; margin: 20px; border-radius: 16px; padding: 34px 26px; text-align: center; border-top: 4px solid var(--o-brown); box-shadow: 0 10px 40px rgba(0, 0, 0, .3); }

/* ==========================================================================
   الفوتر
   ========================================================================== */
.o-footer { background: var(--o-dark); color: #d9d3c8; padding-top: 70px; font-size: 15px; }
.o-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.o-footer .brand-wordmark { margin-bottom: 18px; }
.o-footer .brand-wordmark .brand-name { font-size: 42px !important; }
.o-footer .brand-wordmark .brand-tagline { font-size: 13px !important; color: var(--o-gold); }
.o-footer p { color: #d9d3c8; line-height: 2; }
.o-footer__title { position: relative; color: #fff; font-weight: 800; font-size: 18px; margin-bottom: 18px; padding-right: 14px; }
.o-footer__title::before { content: ""; position: absolute; right: 0; top: .25em; bottom: .25em; width: 3px; background: var(--o-gold); border-radius: 2px; }
.o-footer__links { list-style: none; margin: 0; padding: 0; }
.o-footer__links li { margin-bottom: 8px; }
.o-footer a { color: #e9e4da; }
.o-footer a:hover { color: var(--o-gold); }
.o-footer__contact { margin: 0 0 6px; font-weight: 800; }
.o-footer__contact a { color: var(--o-gold); }
.o-footer__bottom { border-top: 1px solid rgba(216, 192, 138, .2); padding: 18px 0; text-align: center; font-size: 14px; color: #b9b2a5; background: var(--o-darker); }
.o-footer__bottom a { color: var(--o-gold); }
@media (max-width: 900px) { .o-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .o-footer__grid { grid-template-columns: 1fr; gap: 28px; } .o-footer { padding-top: 50px; } }

/* ==========================================================================
   الأزرار العائمة
   ========================================================================== */
.o-fab { position: fixed; right: 18px; bottom: 24px; z-index: 99999; display: flex; flex-direction: column; gap: 14px; }
.o-fab__btn {
  position: relative; width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
  animation: oPulse 2s ease-in-out infinite;
}
.o-fab__btn--wa { background: var(--o-wa); }
.o-fab__btn--call { background: var(--o-brown); animation-delay: 1s; }
.o-fab__label {
  position: absolute; right: 70px; top: 50%; transform: translateY(-50%);
  padding: 6px 13px; border-radius: 22px; white-space: nowrap; pointer-events: none;
  color: #fff; font-weight: 700; font-size: 13px; line-height: 1.5; box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}
.o-fab__btn--wa .o-fab__label { background: var(--o-wa); }
.o-fab__btn--call .o-fab__label { background: var(--o-brown); }
@keyframes oPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@media (max-width: 600px) {
  .o-fab { right: 12px; bottom: 16px; gap: 10px; }
  .o-fab__btn { width: 50px; height: 50px; }
  .o-fab__label { right: 58px; font-size: 11px; padding: 4px 9px; }
}

/* ==========================================================================
   ظهور متحرك
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js [data-reveal="2"] { transition-delay: .12s; }
.js [data-reveal="3"] { transition-delay: .24s; }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .o-fab__btn, .o-banner__title, .o-banner__sub { animation: none; }
  html { scroll-behavior: auto; }
}

/* إضافات */
.o-footer__logo { display: block; width: 72px; height: 72px; border-radius: 50%; margin-bottom: 12px; background: #fff; padding: 4px; object-fit: contain; }
.o-card > h2 { font-size: 22px; margin: 0 0 12px; color: var(--o-dark); }
.o-hero__band { margin-top: 26px; }
.o-hero__band h2 { color: #fff; font-size: clamp(20px, 2.4vw, 28px); margin: 0 0 10px; }
.o-hero__band h2 span { color: var(--o-gold); }
.o-hero__band p { color: #f3eee4; margin: 0; }
.o-iconbox[hidden], .o-hide { display: none !important; }
.o-iconbox h3 { color: var(--o-dark) !important; }
.o-tags--center, .o-tags--feat { justify-content: center; }
.o-tags--feat a { background: var(--o-brown); color: #fff !important; border-color: var(--o-brown); font-size: 15px; font-weight: 700; padding: 9px 18px; }
.o-tags--feat a:hover { background: var(--o-dark); }

.o-more-toggle, .o-btn { max-width: 100%; }
.o-more-toggle { white-space: normal; text-align: center; }
@media (max-width: 1024px) {
  .o-nav:not(.is-open) { visibility: hidden; }
}
