/* ==========================================================================
   مجموعة الفهد التجارية — الأنماط الخاصة (تُحمَّل بعد Bootstrap RTL)
   ========================================================================== */

:root {
  /* هوية المجموعة */
  --ink: #0b1015;
  --ink-soft: #16202a;
  --gold: #c39a4e;
  --gold-soft: #e2c88f;
  --gold-600: #9c7530;
  --ivory: #f6f2ea;
  --paper: #ffffff;

  /* ألوان القطاعات */
  --estate: #b5722f;
  --consult: #14524f;
  --trade: #7a2b2b;
  --tech: #2b3a78;

  --line: rgba(11, 16, 21, 0.12);
  --line-strong: rgba(11, 16, 21, 0.2);
  --line-ivory: rgba(246, 242, 234, 0.14);
  --muted: rgba(11, 16, 21, 0.68);
  --muted-ivory: rgba(246, 242, 234, 0.64);

  /* تجاوزات Bootstrap */
  --bs-body-bg: var(--paper);
  --bs-body-color: #1b2229;
  --bs-border-color: var(--line);
  --bs-link-color: var(--gold-600);
  --bs-link-hover-color: var(--ink);
  --bs-body-font-family: "IBM Plex Sans Arabic", "Tajawal", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bs-body-font-size: 1rem;
  --bs-body-line-height: 1.95;
  --bs-heading-font-family: "Tajawal", "IBM Plex Sans Arabic", system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--paper);
  color: #1b2229;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, .font-heading {
  font-family: var(--bs-heading-font-family);
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}

a {
  text-decoration: none;
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

.container,
.container-lg,
.container-xl {
  max-width: 1200px;
}

/* الأرقام اللاتينية داخل النصوص العربية */
.tnum {
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------- العناوين */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-600);
}

.eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 1px;
  background: currentColor;
}

.eyebrow--plain::before {
  display: none;
}

.eyebrow--dark {
  color: var(--gold);
}

.rule-gold {
  display: block;
  width: 3.25rem;
  height: 2px;
  background: var(--gold);
  border: 0;
  opacity: 1;
  margin: 0;
}

.section-title {
  font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2.05rem);
  margin-top: 1.1rem;
}

.section-lead {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 2;
  color: var(--muted);
  max-width: 56rem;
}

.tone-dark .section-lead,
.tone-dark .text-muted-body {
  color: var(--muted-ivory);
}

.tone-dark h1,
.tone-dark h2,
.tone-dark h3,
.tone-dark h4,
.tone-dark .section-title {
  color: var(--ivory);
}

.text-muted-body {
  color: var(--muted);
}

/* --------------------------------------------------------------- الأقسام */

.section {
  padding-block: clamp(3.5rem, 2.5rem + 3vw, 5.5rem);
}

.tone-ivory {
  background: var(--ivory);
}

.tone-paper {
  background: var(--paper);
}

.tone-dark {
  background: var(--ink);
  color: var(--ivory);
}

.section--pattern {
  position: relative;
}

.section--pattern::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/pattern-fahd.svg");
  background-repeat: repeat;
  background-size: 240px 240px;
  opacity: 0.5;
  pointer-events: none;
}

.tone-paper.section--pattern::before {
  opacity: 0.35;
}

.section > .container {
  position: relative;
  z-index: 1;
}

/* ------------------------------------------------------------- الأزرار */

.btn {
  border-radius: 0;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.85rem 1.75rem;
  border-width: 1px;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.btn-gold:hover,
.btn-gold:focus {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
  color: var(--ink);
}

.btn-ink {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--ivory);
}

.btn-ink:hover,
.btn-ink:focus {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-ivory);
  color: var(--ivory);
}

.btn-ghost:hover,
.btn-ghost:focus {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-outline-ink {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-outline-ink:hover,
.btn-outline-ink:focus {
  border-color: var(--gold);
  color: var(--gold-600);
}

.btn-outline-gold {
  background: transparent;
  border-color: rgba(195, 154, 78, 0.5);
  color: var(--gold);
}

.btn-outline-gold:hover,
.btn-outline-gold:focus {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.btn-nav {
  padding: 0.55rem 1.15rem;
  font-size: 0.85rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
}

.link-arrow .arrow {
  transition: transform 0.3s ease;
}

.link-arrow:hover {
  color: var(--gold-600);
}

.link-arrow:hover .arrow {
  transform: translateX(-4px);
}

.link-arrow--gold {
  color: var(--gold);
}

/* ------------------------------------------------------------- الترويسة */

.site-header {
  background: rgba(11, 16, 21, 0.96);
  border-bottom: 1px solid var(--line-ivory);
  backdrop-filter: blur(8px);
}

.site-header .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-block: 0.85rem;
}

.site-header .brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.site-header .brand-name {
  font-family: var(--bs-heading-font-family);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ivory);
}

.site-header .brand-latin {
  font-size: 0.6rem;
  letter-spacing: 0.34em;
  color: var(--gold);
  text-transform: uppercase;
}

.site-header .nav-link {
  color: rgba(246, 242, 234, 0.78);
  font-size: 0.92rem;
  font-weight: 600;
  padding-inline: 0.9rem;
  position: relative;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus {
  color: var(--gold);
}

.site-header .nav-link.is-active {
  color: var(--gold);
}

.site-header .nav-link.is-active::after {
  content: "";
  position: absolute;
  inset-inline: 0.9rem;
  bottom: 0.2rem;
  height: 2px;
  background: var(--gold);
}

.navbar-toggler {
  border-color: var(--line-ivory);
  padding: 0.4rem 0.6rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23F6F2EA' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.dropdown-menu {
  border-radius: 0;
  border-color: var(--line-ivory);
  background: var(--ink-soft);
  padding: 0.4rem;
}

.dropdown-item {
  color: rgba(246, 242, 234, 0.78);
  font-size: 0.9rem;
  padding: 0.55rem 0.75rem;
  white-space: normal;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: rgba(195, 154, 78, 0.12);
  color: var(--gold);
}

.dropdown-item .unit-code {
  color: rgba(246, 242, 234, 0.4);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
}

/* --------------------------------------------------------------- الأغلفة */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: var(--ivory);
  padding-block: clamp(3.5rem, 2rem + 6vw, 6.5rem) clamp(2.5rem, 2rem + 3vw, 4.5rem);
}

.hero__image {
  position: absolute;
  inset: 0;
  z-index: -20;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -10;
  background: linear-gradient(to bottom, rgba(11, 16, 21, 0.76), rgba(11, 16, 21, 0.48) 55%, var(--ink));
}

.hero__pattern {
  position: absolute;
  inset: 0;
  z-index: -10;
  background-image: url("../assets/pattern-fahd.svg");
  background-repeat: repeat;
  background-size: 240px 240px;
  opacity: 0.7;
  pointer-events: none;
}

.hero h1 {
  color: var(--ivory);
  font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.9rem);
  line-height: 1.18;
  font-weight: 800;
  margin-top: 1.6rem;
}

.hero__lead {
  margin-top: 1.6rem;
  max-width: 46rem;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.12rem);
  line-height: 2.05;
  color: rgba(246, 242, 234, 0.74);
}

.gold-text {
  background: linear-gradient(100deg, var(--gold) 10%, var(--gold-soft) 55%, var(--gold) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.badge-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid rgba(195, 154, 78, 0.35);
  padding: 0.42rem 0.9rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

/* شريط القطاعات داخل الغلاف */
.sector-strip {
  display: grid;
  gap: 1px;
  background: var(--line-ivory);
  border: 1px solid var(--line-ivory);
  grid-template-columns: 1fr;
  margin-top: clamp(2.5rem, 2rem + 3vw, 4rem);
}

@media (min-width: 576px) {
  .sector-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .sector-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

.sector-strip > li {
  background: rgba(11, 16, 21, 0.8);
  padding: 1.25rem;
}

.sector-strip .code {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(246, 242, 234, 0.45);
}

.sector-strip .name {
  display: block;
  margin-top: 0.75rem;
  font-family: var(--bs-heading-font-family);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--ivory);
  transition: color 0.25s ease;
}

.sector-strip a:hover .name {
  color: var(--gold);
}

.sector-strip .units {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: rgba(246, 242, 234, 0.5);
}

.dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  transform: rotate(45deg);
  background: var(--gold);
  flex: 0 0 auto;
}

.dot--sm {
  width: 0.38rem;
  height: 0.38rem;
}

/* غلاف الصفحات الداخلية */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: var(--ivory);
  padding-block: clamp(2.75rem, 2rem + 4vw, 4.75rem);
}

.page-hero__image {
  position: absolute;
  inset: 0;
  z-index: -20;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.page-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -10;
  background: linear-gradient(to bottom, rgba(11, 16, 21, 0.78), rgba(11, 16, 21, 0.4) 50%, var(--ink));
}

.page-hero h1 {
  color: var(--ivory);
  font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3rem);
  font-weight: 800;
  margin-top: 1.25rem;
}

.page-hero__tagline {
  margin-top: 0.9rem;
  font-family: var(--bs-heading-font-family);
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--gold-soft);
}

.page-hero__lead {
  margin-top: 1.1rem;
  max-width: 46rem;
  font-size: 1rem;
  line-height: 2.05;
  color: rgba(246, 242, 234, 0.72);
}

.breadcrumb {
  margin: 0;
  font-size: 0.82rem;
}

.breadcrumb-item,
.breadcrumb-item a {
  color: rgba(246, 242, 234, 0.6);
}

.breadcrumb-item a:hover {
  color: var(--gold);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "‹";
  color: rgba(246, 242, 234, 0.35);
}

/* شريط المؤشرات */
.metric-strip {
  display: grid;
  gap: 1px;
  background: var(--line-ivory);
  border: 1px solid var(--line-ivory);
  grid-template-columns: repeat(2, 1fr);
  margin-top: 2.5rem;
}

@media (min-width: 992px) {
  .metric-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

.metric-strip--inline {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(9rem, auto));
}

@media (min-width: 768px) {
  .metric-strip--inline {
    grid-template-columns: repeat(3, minmax(9rem, auto));
  }
}

.metric-strip > li {
  background: rgba(11, 16, 21, 0.72);
  padding: 1.15rem 1.5rem;
}

.metric-strip .value {
  display: block;
  font-family: var(--bs-heading-font-family);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
}

.metric-strip .label {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: rgba(246, 242, 234, 0.65);
}

/* شريط المؤشرات على الخلفية الفاتحة */
.metric-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 992px) {
  .metric-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.metric-grid > li {
  background: var(--ivory);
  padding: 1.75rem 1.25rem;
}

.metric-grid .value {
  display: block;
  font-family: var(--bs-heading-font-family);
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
}

.metric-grid .label {
  display: block;
  margin-top: 0.7rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
}

.metric-grid .note {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ------------------------------------------------------------------ بطاقات */

.card-flat {
  border: 1px solid var(--line);
  background: var(--paper);
  height: 100%;
}

.card-flat--ivory {
  background: var(--ivory);
}

.card-pad {
  padding: 1.6rem;
}

.sector-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--paper);
  height: 100%;
  overflow: hidden;
}

.sector-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.sector-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.sector-card:hover .sector-card__media img {
  transform: scale(1.04);
}

.sector-card__media::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 3px;
  background: var(--accent, var(--gold));
}

.sector-card__code {
  position: absolute;
  top: 1rem;
  inset-inline-start: 1rem;
  background: rgba(11, 16, 21, 0.85);
  padding: 0.2rem 0.6rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.sector-card__body {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.sector-card__title {
  font-size: 1.15rem;
  margin: 0;
}

.sector-card__tagline {
  margin-top: 0.7rem;
  font-family: var(--bs-heading-font-family);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--gold-600);
}

.sector-card__summary {
  margin-top: 0.9rem;
  font-size: 0.94rem;
  line-height: 2;
  color: var(--muted);
}

.sector-card__units {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.84rem;
  color: var(--muted);
}

.sector-card__foot {
  margin-top: auto;
  padding-top: 1.4rem;
}

/* بطاقة وحدة داخل صفحة القطاع */
.unit-row {
  display: grid;
  gap: 1px;
  background: var(--line-ivory);
  border: 1px solid var(--line-ivory);
  grid-template-columns: 1fr;
}

@media (min-width: 992px) {
  .unit-row {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.unit-row__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

@media (min-width: 992px) {
  .unit-row__media {
    aspect-ratio: auto;
    min-height: 300px;
  }
}

.unit-row__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.unit-row:hover .unit-row__media img {
  transform: scale(1.03);
}

.unit-row__code {
  position: absolute;
  top: 1.25rem;
  inset-inline-start: 1.25rem;
  background: rgba(11, 16, 21, 0.85);
  padding: 0.2rem 0.6rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.unit-row__body {
  background: var(--ink);
  padding: clamp(1.5rem, 1rem + 2vw, 2rem);
}

.unit-row__body h3 {
  color: var(--ivory);
  font-size: 1.35rem;
  margin: 0;
}

.unit-row__body .tagline {
  margin-top: 0.75rem;
  font-family: var(--bs-heading-font-family);
  font-weight: 500;
  color: var(--gold-soft);
}

.unit-row__body .summary {
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 2;
  color: rgba(246, 242, 234, 0.66);
}

.unit-row__highlights {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  list-style: none;
  padding: 0;
  font-size: 0.82rem;
  color: rgba(246, 242, 234, 0.58);
}

.unit-row__highlights .value {
  font-family: var(--bs-heading-font-family);
  font-weight: 700;
  color: var(--gold);
}

/* بطاقة الخدمة */
.service-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--ivory);
  padding: 1.6rem;
  height: 100%;
}

.service-card__index {
  font-family: var(--bs-heading-font-family);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(11, 16, 21, 0.3);
}

.service-card h4 {
  margin-top: 1rem;
  font-size: 1.05rem;
}

.service-card p {
  margin-top: 0.75rem;
  font-size: 0.92rem;
  line-height: 1.95;
  color: var(--muted);
  flex: 1;
}

.service-card ul {
  margin: 1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  list-style: none;
  padding-inline-start: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-card li {
  display: flex;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.service-card li::before {
  content: "";
  flex: 0 0 auto;
  width: 4px;
  height: 4px;
  margin-top: 0.7rem;
  border-radius: 50%;
  background: var(--gold);
}

/* المراحل */
.step-list {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  list-style: none;
  padding: 0;
}

@media (min-width: 768px) {
  .step-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .step-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step {
  position: relative;
  border-top: 2px solid var(--line);
  padding-top: 1.5rem;
}

.step::before {
  content: "";
  position: absolute;
  top: -2px;
  inset-inline-start: 0;
  width: 2.5rem;
  height: 2px;
  background: var(--gold);
}

.step__number {
  font-family: var(--bs-heading-font-family);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(11, 16, 21, 0.12);
}

.step h3 {
  margin-top: 1rem;
  font-size: 1.05rem;
}

.step p {
  margin-top: 0.75rem;
  font-size: 0.92rem;
  line-height: 1.95;
  color: var(--muted);
}

.step-list--dark {
  gap: 1px;
  background: var(--line-ivory);
  border: 1px solid var(--line-ivory);
}

@media (min-width: 992px) {
  .step-list--dark {
    grid-template-columns: repeat(5, 1fr);
  }
}

.step-list--dark .step {
  border-top: 0;
  padding: 1.5rem;
  background: var(--ink);
}

.step-list--dark .step::before {
  display: none;
}

.step-list--dark .step__number {
  color: rgba(195, 154, 78, 0.4);
}

.step-list--dark .step h3 {
  color: var(--ivory);
}

.step-list--dark .step p {
  color: rgba(246, 242, 234, 0.6);
}

/* شبكة المبادئ (لماذا الفهد / الحكامة) */
.principle-grid {
  display: grid;
  gap: 1px;
  background: var(--line-ivory);
  border: 1px solid var(--line-ivory);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .principle-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .principle-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.principle-grid > li {
  background: var(--ink);
  padding: 1.75rem;
}

.principle-grid .index {
  font-family: var(--bs-heading-font-family);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--gold);
}

.principle-grid h3 {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: var(--ivory);
}

.principle-grid p {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.95;
  color: rgba(246, 242, 234, 0.6);
}

.principle-grid--light {
  background: var(--line);
  border-color: var(--line);
}

.principle-grid--light > li {
  background: var(--paper);
}

.principle-grid--light h3 {
  color: var(--ink);
}

.principle-grid--light p {
  color: var(--muted);
}

/* القيم */
.value-item {
  display: flex;
  gap: 1.25rem;
  padding-block: 1.25rem;
}

.value-item .index {
  font-family: var(--bs-heading-font-family);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--gold-600);
  padding-top: 0.2rem;
}

.value-item h4 {
  font-size: 1rem;
}

.value-item p {
  margin-top: 0.5rem;
  font-size: 0.92rem;
  line-height: 1.95;
  color: var(--muted);
}

/* بطاقة القطاع المدمجة */
.compact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 0.92rem;
  color: var(--muted);
  height: 100%;
}

.compact-link:hover {
  border-color: rgba(195, 154, 78, 0.5);
  color: var(--ink);
}

/* الجدول المقارن */
.compare-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  text-align: start;
}

.compare-table th {
  padding: 1rem 1.5rem 1rem 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(11, 16, 21, 0.5);
  border-bottom: 2px solid var(--line-strong);
  vertical-align: bottom;
}

.compare-table td {
  padding: 1.25rem 1.5rem 1.25rem 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-size: 0.9rem;
  color: var(--muted);
}

.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-table .sector-name {
  font-family: var(--bs-heading-font-family);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
}

.compare-table ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.compare-table ul a {
  font-size: 0.88rem;
  color: var(--muted);
}

.compare-table ul a:hover {
  color: var(--gold-600);
}

/* ----------------------------------------------------------- الأسئلة الشائعة */

.faq-accordion .accordion-item {
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.faq-accordion .accordion-button {
  background: transparent;
  box-shadow: none;
  padding: 1.25rem 0;
  font-family: var(--bs-heading-font-family);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--gold-600);
}

.faq-accordion .accordion-button::after {
  background-size: 0.9rem;
  margin-inline-start: 1rem;
}

.faq-accordion .accordion-button:focus {
  box-shadow: none;
}

.faq-accordion .accordion-body {
  padding: 0 0 1.5rem;
  font-size: 0.95rem;
  line-height: 2;
  color: var(--muted);
}

.tone-dark .faq-accordion .accordion-item {
  border-bottom-color: var(--line-ivory);
}

.tone-dark .faq-accordion .accordion-button {
  color: var(--ivory);
}

.tone-dark .faq-accordion .accordion-button:not(.collapsed) {
  color: var(--gold);
}

.tone-dark .faq-accordion .accordion-button::after {
  filter: invert(1) sepia(1) saturate(2) hue-rotate(5deg);
}

.tone-dark .faq-accordion .accordion-body {
  color: var(--muted-ivory);
}

/* --------------------------------------------------------------- النموذج */

.form-panel {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: clamp(1.5rem, 1rem + 2vw, 2.25rem);
}

.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(11, 16, 21, 0.7);
  margin-bottom: 0.5rem;
}

.form-control,
.form-select {
  border-radius: 0;
  border-color: var(--line-strong);
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  background-color: var(--paper);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(195, 154, 78, 0.16);
}

.form-control::placeholder {
  color: rgba(11, 16, 21, 0.35);
}

.form-note {
  font-size: 0.82rem;
  color: var(--muted);
}

.form-alert {
  border-radius: 0;
  font-size: 0.92rem;
  padding: 1rem 1.25rem;
}

.form-alert--error {
  border: 1px solid rgba(122, 43, 43, 0.35);
  background: rgba(122, 43, 43, 0.06);
  color: #7a2b2b;
}

.form-success {
  border: 1px solid rgba(195, 154, 78, 0.45);
  background: rgba(195, 154, 78, 0.1);
  padding: 2rem;
}

.form-success h3 {
  font-size: 1.15rem;
}

/* بيانات التواصل */
.contact-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(11, 16, 21, 0.45);
}

.contact-value {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.98rem;
  color: var(--ink);
}

.tag-pending {
  display: inline-block;
  border: 1px solid rgba(195, 154, 78, 0.45);
  padding: 0.1rem 0.4rem;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--gold-600);
}

.contact-dark {
  border: 1px solid var(--line-ivory);
  background: var(--ink);
  color: var(--ivory);
  padding: 1.75rem;
}

.contact-dark h2 {
  color: var(--ivory);
  font-size: 1.1rem;
}

.contact-dark p {
  margin-top: 0.75rem;
  font-size: 0.92rem;
  line-height: 1.95;
  color: rgba(246, 242, 234, 0.65);
}

.contact-dark .contact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: rgba(246, 242, 234, 0.78);
}

.contact-dark .contact-link:hover {
  color: var(--gold);
}

.contact-dark .contact-link .arrow {
  transition: transform 0.3s ease;
}

.contact-dark .contact-link:hover .arrow {
  transform: translateX(-4px);
}

/* شريط الدعوة للتواصل */
.cta-band {
  background: var(--ink);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 2rem + 4vw, 4.5rem);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/pattern-fahd.svg");
  background-size: 240px 240px;
  opacity: 0.55;
  pointer-events: none;
}

.cta-band .container {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  color: var(--ivory);
  font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.2rem);
}

.cta-band p {
  margin-top: 1rem;
  max-width: 44rem;
  color: rgba(246, 242, 234, 0.68);
  line-height: 2;
}

/* --------------------------------------------------------------- التذييل */

.site-footer {
  background: var(--ink);
  color: rgba(246, 242, 234, 0.7);
  border-top: 1px solid var(--line-ivory);
  padding-block: 3.5rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/pattern-fahd.svg");
  background-size: 240px 240px;
  opacity: 0.4;
  pointer-events: none;
}

.site-footer .container {
  position: relative;
  z-index: 1;
}

.site-footer h2 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ivory);
  margin-bottom: 1.25rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.site-footer a {
  font-size: 0.9rem;
  color: rgba(246, 242, 234, 0.72);
}

.site-footer a:hover {
  color: var(--gold);
}

.site-footer .brand-name {
  font-family: var(--bs-heading-font-family);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ivory);
}

.site-footer .brand-latin {
  font-size: 0.6rem;
  letter-spacing: 0.34em;
  color: var(--gold);
  text-transform: uppercase;
}

.site-footer .about {
  margin-top: 1.25rem;
  font-size: 0.92rem;
  line-height: 2;
  color: rgba(246, 242, 234, 0.62);
}

.site-footer .legal {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-ivory);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(246, 242, 234, 0.45);
}

/* --------------------------------------------------------------- الحركة */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* زر العودة إلى الأعلى */
.back-to-top {
  position: fixed;
  inset-inline-end: 1.25rem;
  bottom: 1.25rem;
  z-index: 1030;
  width: 2.75rem;
  height: 2.75rem;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  background: var(--ink);
  color: var(--ivory);
  cursor: pointer;
}

.back-to-top.is-shown {
  display: flex;
}

.back-to-top:hover {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

/* صفحة الخطأ */
.error-code {
  font-family: var(--bs-heading-font-family);
  font-size: clamp(4rem, 3rem + 6vw, 7rem);
  font-weight: 800;
  line-height: 1;
  color: rgba(195, 154, 78, 0.28);
}

/* صفحة انتظرونا قريباً */
.coming-soon-page .site-header .navbar .container {
  justify-content: space-between;
}

.coming-soon {
  min-height: calc(100vh - 4.5rem);
  display: flex;
  align-items: center;
  padding-block: clamp(4rem, 3rem + 5vw, 7rem);
}

.coming-soon .container {
  width: 100%;
}

.coming-soon__content {
  max-width: 40rem;
  margin-inline: auto;
}

.coming-soon__brand {
  margin: 1.75rem 0 0;
  font-family: var(--bs-heading-font-family);
  font-size: clamp(1.05rem, 0.95rem + 0.45vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold);
}

.coming-soon h1 {
  margin-top: 0.65rem;
  font-size: clamp(2.4rem, 1.6rem + 3.8vw, 4.2rem);
}

.coming-soon .hero__lead {
  max-width: 34rem;
}

.coming-soon__sectors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: clamp(3rem, 2rem + 3vw, 4.5rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-ivory);
}

.coming-soon__sectors li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.coming-soon__sectors .dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
}

.coming-soon__sectors .code {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.coming-soon__sectors .name {
  font-size: 0.88rem;
  color: rgba(246, 242, 234, 0.7);
}

.coming-soon__legal {
  margin-top: 0;
  border-top: 0;
  padding-top: 0;
}

@media (min-width: 768px) {
  .coming-soon__sectors {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* تحسينات الطباعة */
@media print {
  .site-header,
  .site-footer,
  .back-to-top,
  .cta-band {
    display: none !important;
  }
}
