/* ==========================================================
   مباني — الأنماط العامة
   الألوان مأخوذة من الشعار: أسود، برتقالي، ورمادي إسمنتي
   ========================================================== */

:root {
  --ink: #17171A;
  --orange: #EA9940;
  --orange-deep: #A85A0E;
  --cement: #F3F0EA;
  --cement-dark: #EDE7DC;
  --line: #E4DFD6;
  --line-strong: #D9D3C8;
  --text-2: #4A4A50;
  --text-3: #5A5A60;
  --white: #FFFFFF;

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;

  --wrap: 1280px;
  --gutter: clamp(20px, 5vw, 80px);
  --section: clamp(64px, 9vw, 104px);

  --font: 'Cairo', Tahoma, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--cement);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; line-height: 1.4; font-weight: 800; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; top: -60px; right: 16px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 18px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--white { background: var(--white); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type scale ---------- */
.h-display { font-size: clamp(36px, 5.4vw, 66px); line-height: 1.3; }
.h-page    { font-size: clamp(32px, 4.4vw, 54px); }
.h-section { font-size: clamp(28px, 3.3vw, 42px); }
.h-card    { font-size: 21px; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--text-2); max-width: 62ch; }
.muted { color: var(--text-2); }
.kicker { font-size: 15px; font-weight: 800; color: var(--orange-deep); margin-bottom: 12px; display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border-radius: 12px;
  font-weight: 800; font-size: 16px; border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--orange { background: var(--orange); color: var(--ink); }
.btn--orange:hover { background: #F2A955; }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: #2C2C31; }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--sm { min-height: 46px; padding: 0 20px; font-size: 15px; }
.btn[disabled] { background: #CFC8BC; color: var(--text-3); cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link { font-weight: 800; color: var(--orange-deep); border-bottom: 2px solid var(--orange); padding-bottom: 1px; }
.text-link:hover { color: var(--ink); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.brand img { height: 50px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-weight: 700; font-size: 16px; color: var(--text-2); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--orange); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--white); cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1080px) {
  .nav {
    position: fixed; inset: 84px 0 auto 0; background: var(--white);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px; border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(23, 23, 26, .08);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--orange-deep); }
  .menu-toggle { display: inline-flex; }
  .header-actions .btn { display: none; }
}
@media (max-width: 560px) {
  .site-header .wrap { height: 70px; }
  .nav { inset: 70px 0 auto 0; }
  .brand img { height: 40px; }
}

/* ---------- Hatch motif (from the logo's stripes) ---------- */
.hatch {
  height: 18px;
  background: repeating-linear-gradient(-45deg, var(--ink) 0 8px, transparent 8px 16px);
}

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 88px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero__text { display: flex; flex-direction: column; gap: 24px; }
.hero__tag {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
  padding: 4px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line);
  font-size: 14px; font-weight: 700; color: var(--text-2);
}
.hero__tag::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--orange); transform: rotate(45deg); }
.hero__note { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--text-3); }
.hero__note svg { width: 18px; height: 18px; }
.hero__art { border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: var(--cement); aspect-ratio: 640 / 600; }
.hero__art img { width: 100%; height: 100%; object-fit: cover; }

.page-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(40px, 5vw, 64px); }
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.page-hero__text { display: flex; flex-direction: column; gap: 18px; }
.page-hero__art { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.page-hero__art img { width: 100%; height: auto; }
.page-hero--center .wrap { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.page-hero--center .lead { margin: 0 auto; }

@media (max-width: 900px) {
  .hero .wrap, .page-hero .wrap { grid-template-columns: 1fr; }
  .hero__art { order: 2; }
}

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 15px; color: var(--text-3); margin-bottom: 24px; }
.breadcrumb a:hover { color: var(--orange-deep); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 700; }

/* ---------- Split (text + image) ---------- */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split__art { border-radius: var(--radius-lg); overflow: hidden; background: var(--cement); }
.split__text { display: flex; flex-direction: column; gap: 20px; }
.split__text p { font-size: 18px; color: #3E3E44; }
.split--label { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); align-items: start; }
@media (max-width: 900px) { .split, .split--label { grid-template-columns: 1fr; } }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: 40px; }
.section-head > div { max-width: 720px; display: flex; flex-direction: column; gap: 10px; }
.section-head--center { justify-content: center; text-align: center; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 20px; }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1080px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } .grid--4 { gap: 12px; } }

.card {
  display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
}
a.card:hover { border-color: var(--ink); }
.card__img { aspect-ratio: 8 / 5; height: auto; object-fit: cover; width: 100%; background: var(--cement); }
.card__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 24px; flex-grow: 1; }
.card__body p { font-size: 15px; color: var(--text-2); }
.card__more { margin-top: auto; padding-top: 6px; font-size: 15px; font-weight: 800; color: var(--orange-deep); }
@media (max-width: 640px) {
  .grid--4 .card__body { padding: 12px 14px 16px; }
  .grid--4 .card__body p { display: none; }
  .grid--4 .h-card { font-size: 16px; }
}

.chip { display: inline-block; padding: 3px 12px; border-radius: 8px; background: var(--cement); font-size: 14px; font-weight: 700; color: var(--text-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
a.chip:hover { background: var(--ink); color: var(--white); }

/* ---------- Steps (a real sequence) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.step { background: var(--cement); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.step__num {
  width: 60px; height: 60px; border-radius: 14px; background: var(--ink); color: var(--orange);
  font-size: 30px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 23px; }
.step p { color: var(--text-2); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Dark band ---------- */
.band {
  background: var(--ink); color: var(--white); border-radius: 28px; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); align-items: end;
}
.band__text { padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; gap: 18px; align-self: center; }
.band__text .kicker { color: var(--orange); }
.band__text p { color: #D6D3CD; font-size: 18px; }
.band__art img { width: 100%; height: auto; }
@media (max-width: 900px) { .band { grid-template-columns: 1fr; } }

.band--slim { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(28px, 4vw, 48px) clamp(24px, 5vw, 56px); flex-wrap: wrap; }
.band--slim p { color: #D6D3CD; }

/* ---------- CTA ---------- */
.cta { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cta .btn-row { justify-content: center; margin-top: 12px; }
.store-soon { display: none; }
.app-pending .store-link { display: none; }
.app-pending .store-soon { display: inline-flex; }

/* ---------- Mission / vision ---------- */
.statement { border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 14px; }
.statement p { font-size: clamp(20px, 2vw, 26px); font-weight: 700; line-height: 1.75; }
.statement--dark { background: var(--ink); color: var(--white); }
.statement--dark .kicker { color: var(--orange); }
.statement--orange { background: var(--orange); }
.statement--orange .kicker { color: var(--ink); }

.icon-tile { width: 52px; height: 52px; border-radius: 12px; background: var(--ink); display: flex; align-items: center; justify-content: center; flex: none; }
.icon-tile svg { width: 26px; height: 26px; stroke: var(--orange); }
.icon-tile--light { background: var(--cement); }
.icon-tile--light svg { stroke: var(--ink); }
.tile { background: var(--cement); border-radius: 18px; padding: 30px 26px; display: flex; flex-direction: column; gap: 12px; }
.tile p { color: var(--text-2); font-size: 16px; }
.section--white .tile { background: var(--cement); }
.tile--white { background: var(--white); border: 1px solid var(--line); }

/* ---------- Search & filters ---------- */
.search-field {
  display: flex; align-items: center; gap: 12px; width: 100%; max-width: 640px;
  min-height: 60px; padding: 0 20px; border-radius: 14px; background: var(--white); border: 1.5px solid var(--ink);
}
.search-field svg { width: 20px; height: 20px; flex: none; }
.search-field input { flex: 1; border: none; outline: none; background: transparent; font-size: 17px; min-width: 0; }
.filters { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.filters .field { flex: 1 1 200px; min-width: 0; }
.filters .field:first-child { flex: 2 1 280px; }
.filters .btn { flex: 0 0 auto; min-height: 52px; padding: 0 26px; font-size: 15px; }
@media (max-width: 560px) { .filters .field, .filters .btn { flex: 1 1 100%; } }
.no-results { display: none; margin-top: 24px; padding: 20px 24px; border-radius: 14px; border: 1.5px dashed #CFC8BC; color: var(--text-2); }
.no-results.is-visible { display: block; }

.empty {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px;
  padding: clamp(36px, 5vw, 56px) 24px; border-radius: 20px; border: 1.5px dashed #CFC8BC; background: var(--white);
}
.empty p { max-width: 52ch; color: var(--text-2); }

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 20px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field .label { font-size: 15px; font-weight: 700; }
.field input, .field select, .field textarea {
  min-height: 52px; padding: 10px 16px; border-radius: 12px; border: 1.5px solid var(--line-strong);
  background: var(--white); font-size: 16px; width: 100%;
}
.filters .field input, .filters .field select { background: var(--cement); border-color: transparent; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field .hint { font-size: 14px; color: var(--text-3); }
.field--wide { grid-column: 1 / -1; }
.file-drop { border: 1.5px dashed #CFC8BC; border-radius: 12px; background: var(--cement); padding: 18px; }
.file-drop input { width: 100%; max-width: 100%; font-size: 15px; }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; cursor: pointer; }
.check input { width: 22px; height: 22px; margin-top: 5px; accent-color: var(--ink); flex: none; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pill span {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 10px;
  border: 1.5px solid var(--line-strong); background: var(--white); font-weight: 700; font-size: 15px;
}
.pill input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.pill input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
fieldset { border: none; margin: 0; padding: 0; }
legend { font-size: 15px; font-weight: 700; margin-bottom: 10px; padding: 0; }
.form-status { display: none; padding: 16px 20px; border-radius: 12px; font-weight: 700; }
.form-status.is-error { display: block; background: #FBE9E7; color: #8A1C0C; }
.form-done { display: none; flex-direction: column; align-items: flex-start; gap: 14px; padding: 44px; border-radius: 20px; background: var(--cement); }
.form-done.is-visible { display: flex; }
.form-done__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--orange); display: flex; align-items: center; justify-content: center; }
.form-done p { font-size: 22px; font-weight: 800; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; font-size: 18px; font-weight: 800;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 32px; height: 32px; border-radius: 8px; background: var(--cement);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.faq details[open] summary::after { content: "−"; background: var(--orange); }
.faq details p { padding: 0 24px 22px; color: #3E3E44; }

/* ---------- Guide ---------- */
.stages { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1080px) { .stages { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .stages { grid-template-columns: 1fr 1fr; } }
.stage {
  text-align: right; display: flex; flex-direction: column; gap: 6px; padding: 0 0 18px;
  border-radius: 18px; background: var(--white); border: 1.5px solid var(--line); overflow: hidden; cursor: pointer;
}
.stage img { aspect-ratio: 8 / 5; object-fit: cover; width: 100%; margin-bottom: 8px; }
.stage__n { padding: 0 16px; font-size: 13px; font-weight: 800; color: var(--orange-deep); }
.stage__t { padding: 0 16px; font-size: 18px; font-weight: 800; line-height: 1.5; }
.stage__d { padding: 0 16px; font-size: 14px; line-height: 1.8; color: var(--text-2); }
.stage[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.stage[aria-pressed="true"] .stage__n { color: var(--orange); }
.stage[aria-pressed="true"] .stage__d { color: #D6D3CD; }
@media (max-width: 640px) { .stage__d { display: none; } }

.article-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 800px) { .article-list { grid-template-columns: 1fr; } }
.article-row { display: flex; align-items: center; gap: 18px; padding: 12px; border-radius: 16px; background: var(--cement); }
.article-row:hover { background: var(--cement-dark); }
.article-row img { width: 160px; aspect-ratio: 8 / 5; object-fit: cover; border-radius: 10px; flex: none; }
.article-row small { display: block; font-size: 13px; font-weight: 800; color: var(--orange-deep); }
.article-row strong { font-size: 18px; line-height: 1.6; }
@media (max-width: 480px) { .article-row img { width: 104px; } .article-row strong { font-size: 16px; } }
.article-row[hidden] { display: none; }

.note { padding: 18px 22px; border-radius: 12px; background: var(--cement-dark); font-size: 15px; color: #3E3E44; }

/* ---------- Article ---------- */
.article { max-width: 760px; margin: 0 auto; }
.article__cover { border-radius: var(--radius-lg); overflow: hidden; margin: 28px 0 40px; border: 1px solid var(--line); }
.article__body { font-size: 18px; line-height: 2; color: #2A2A2F; }
.article__body h2 { font-size: 26px; margin: 36px 0 12px; }
.article__body p + p { margin-top: 16px; }
.article__body ul { list-style: none; margin: 16px 0; display: flex; flex-direction: column; gap: 10px; }
.article__body li { position: relative; padding-right: 26px; }
.article__body li::before { content: ""; position: absolute; right: 0; top: 13px; width: 10px; height: 10px; background: var(--orange); transform: rotate(45deg); border-radius: 2px; }
.article__meta { font-size: 15px; color: var(--text-3); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--white); border-top: 6px solid var(--orange); padding: 64px 0 32px; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-logo { align-self: flex-start; background: var(--white); border-radius: 10px; padding: 8px 14px; }
.footer-logo img { height: 40px; width: auto; }
.footer-brand p { color: #D6D3CD; max-width: 40ch; }
.footer-col h2 { font-size: 15px; color: var(--orange); margin-bottom: 12px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: #E9E6E0; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid #34343A; font-size: 14px; color: #B5B1AA; }
.ltr { direction: ltr; unicode-bidi: embed; }

body { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; }

/* ---------- بطاقات الشركات المنشورة ---------- */
.company-card__head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 30px 22px 0; }
.company-card__head .h-card { font-size: 20px; line-height: 1.5; }
.company-logo { width: 88px; height: 88px; border-radius: 18px; object-fit: contain; background: var(--white); border: 1px solid var(--line); padding: 8px; flex: none; }
.company-logo--text { display: flex; align-items: center; justify-content: center; background: var(--ink); border-color: var(--ink); color: var(--orange); font-size: 34px; font-weight: 800; padding: 0; }
.company-card .card__body { gap: 12px; align-items: center; text-align: center; padding-top: 16px; }
.company-card .card__body .chips { justify-content: center; }
.company-card .card__body p { font-size: 15px; line-height: 1.8; }
.company-card .card__more { padding-top: 10px; }
.company-head { display: flex; align-items: center; gap: 18px; }
.company-head .company-logo { width: 104px; height: 104px; border-radius: 22px; }
.company-head .h-page { font-size: clamp(28px, 3.6vw, 44px); }
.company-card__cover { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; height: auto; background: var(--cement); }
.company-card__cover + .company-card__head { padding-top: 18px; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gallery__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); background: var(--white); }
.gallery__item:hover img { border-color: var(--ink); }
.field-card .card__body { padding: 24px 24px 28px; }
.field-card__title { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.field-card__title .chip { background: var(--ink); color: var(--orange); white-space: nowrap; }
.field-card__empty { font-size: 15px; color: var(--text-2); }
.active-filter { margin-top: 24px; padding: 14px 18px; border-radius: 12px; background: var(--cement-dark); display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.company-card--featured { border: 2px solid var(--orange); box-shadow: 0 14px 34px rgba(234, 153, 64, .22); }
.company-card--featured .company-card__head { padding-top: 46px; }
.company-card--featured .company-card__cover + .company-card__head { padding-top: 18px; }
.company-card { position: relative; }
.featured-badge {
  position: absolute; top: 0; inset-inline-start: 22px; z-index: 3;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 16px 8px; border-radius: 0 0 12px 12px;
  background: var(--orange); color: var(--ink);
  font-size: 14px; font-weight: 800; letter-spacing: .2px;
  box-shadow: 0 6px 16px rgba(23, 23, 26, .18);
}
.featured-badge::before { content: "★"; font-size: 15px; line-height: 1; }
.company-head .featured-badge {
  position: static; border-radius: 999px; padding: 6px 18px; margin-bottom: 10px;
  align-self: flex-start; font-size: 15px;
}

/* ---------- صفحة الباقات ---------- */
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; align-items: stretch; }
.plan-card {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 34px 30px 30px;
}
.plan-card--popular { border: 2px solid var(--orange); box-shadow: 0 16px 40px rgba(234, 153, 64, .2); }
.plan-card__tag {
  position: absolute; top: 0; inset-inline-start: 26px; padding: 6px 16px 7px; border-radius: 0 0 12px 12px;
  background: var(--orange); color: var(--ink); font-size: 14px; font-weight: 800;
}
.plan-card--popular .plan-card__name { margin-top: 10px; }
.plan-card__name { font-size: 24px; font-weight: 800; }
.plan-card__desc { color: var(--text-2); font-size: 15px; }
.plan-card__price { font-size: 42px; font-weight: 800; line-height: 1.3; margin-top: 8px; }
.plan-card__cur { font-size: 18px; font-weight: 700; color: var(--text-2); }
.plan-card__duration { font-size: 15px; color: var(--text-3); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.plan-card__features { display: flex; flex-direction: column; gap: 12px; padding: 16px 0 8px; }
.plan-card__features li { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; line-height: 1.7; }
.plan-card__features svg { flex: none; margin-top: 5px; color: var(--orange-deep); }
.plan-card__cta { margin-top: auto; }
.plan-card__closed { margin-top: auto; padding-top: 14px; font-size: 15px; font-weight: 700; color: var(--text-3); }

/* ---------- شريط البحث في الرئيسية وصفحة المجالات ---------- */
.search-band { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; }
.search-band--plain { background: transparent; border: none; padding: 0 0 32px; }
.site-search { display: flex; flex-direction: column; gap: 12px; }
.site-search__title { font-size: 20px; font-weight: 800; }
.site-search__row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.site-search__row .field { flex: 1 1 200px; min-width: 0; }
.site-search__row .field--grow { flex: 3 1 320px; }
.site-search__row .btn { flex: 0 0 auto; min-height: 56px; padding: 0 32px; }
.site-search__input { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--line-strong); background: var(--white); }
.search-band--plain .site-search__input, .search-band--plain .site-search select { background: var(--white); }
.site-search__input svg { flex: none; color: var(--text-3); }
.site-search__input input { flex: 1; min-width: 0; border: none; outline: none; background: transparent; font-size: 16px; }
.site-search select { min-height: 56px; border-radius: 12px; border: 1.5px solid var(--line-strong); padding: 0 14px; background: var(--white); font-size: 16px; width: 100%; }
.site-search__input:focus-within, .site-search select:focus { border-color: var(--ink); outline: none; }
.site-search__note { font-size: 14px; color: var(--text-3); }
@media (max-width: 640px) { .site-search__row .btn { flex: 1 1 100%; } }
