/* Border Nexus — كحلي #0b1626 / ذهبي برونزي #b08d57 / عاجي #f7f3ec
   روح الموقع الرسمي (لوحات بشريط علوي، تسميات ملكية، بطاقات منظمة) بتصميم أعمق */

:root {
  --navy: #0b1626;
  --navy-2: #102036;
  --navy-3: #1a2d4a;
  --navy-4: #253b5c;
  --gold: #b08d57;
  --gold-2: #c9a56f;
  --gold-3: #e3c998;
  --gold-soft: #f1e8d8;
  --ivory: #f7f3ec;
  --paper: #fcfaf6;
  --line: #e6ded0;
  --line-2: #d8cdb9;
  --ink: #0f1a2b;
  --slate: #5a6577;
  --slate-2: #8b95a5;
  --wrap: 1200px;
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.2, .75, .2, 1);
  --shadow: 0 1px 2px rgba(11, 22, 38, .06), 0 12px 32px -16px rgba(11, 22, 38, .22);
  --shadow-lg: 0 1px 3px rgba(11, 22, 38, .08), 0 16px 36px -20px rgba(11, 22, 38, .3);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 16.5px; line-height: 1.65; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--gold); color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
@media (min-width: 720px) { .wrap { width: min(var(--wrap), 100% - 64px); } }
.mono { font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ——— الشريط العلوي والرأس ——— */
.utility { background: var(--navy); color: var(--slate-2); font-size: 13px; }
.utility-row { display: flex; justify-content: space-between; align-items: center; height: 36px; }
.utility a { color: var(--gold-3); text-decoration: none; font-weight: 600; }
.utility a:hover { color: #fff; }
@media (max-width: 640px) { .utility .mono { display: none; } .utility-row { justify-content: flex-end; } }

.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text b { font-size: 18px; font-weight: 800; letter-spacing: -.02em; color: var(--navy); }
.brand-text b i { font-style: normal; color: var(--gold); }
.brand-text span { font-size: 11.5px; color: var(--slate); font-weight: 500; letter-spacing: .02em; margin-top: 2px; }
.brand-light .brand-text b { color: #fff; }
.brand-light .brand-text b i { color: var(--gold-2); }
.brand-light .brand-text span { color: var(--slate-2); }

.nav { display: none; gap: 30px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 600; color: var(--navy-3); position: relative; padding: 6px 0; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--navy); }
.header-cta { display: none !important; }
@media (min-width: 980px) { .nav { display: flex; } .header-cta { display: inline-flex !important; } }

.menu-btn { margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: #fff; display: grid; place-content: center; gap: 6px; cursor: pointer; }
.menu-btn span { display: block; width: 20px; height: 2px; background: var(--navy); transition: transform .3s var(--ease); }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (min-width: 980px) { .menu-btn { display: none; } }
.mobile-nav { display: none; flex-direction: column; padding: 6px 16px 18px; border-top: 1px solid var(--line); background: var(--paper); }
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 14px 2px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 17px; color: var(--navy); }
.mobile-nav a:last-child { border: 0; color: var(--gold); }
@media (min-width: 980px) { .mobile-nav { display: none !important; } }

/* ——— الأزرار والعناوين ——— */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 8px; font: 600 15.5px/1 var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .25s, color .25s, border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-3); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #9a7745; }
.btn-line { border-color: var(--line-2); color: var(--navy); background: #fff; }
.btn-line:hover { border-color: var(--navy); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.kicker { display: inline-block; font-size: 14px; font-weight: 700; color: var(--gold); }
h1, h2, h3 { margin: 0; }
.h1 { font-size: clamp(36px, 4.2vw, 56px); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.h1 em, .h2 em { font-style: normal; color: var(--gold); }
.h2 { font-size: clamp(32px, 3.8vw, 50px); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; color: var(--navy); }
.dark .h2 { color: #fff; }
.dark .h2 em, .dark .h1 em { color: var(--gold-2); }
.h3 { font-size: 20px; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; color: var(--navy); }
.lead { font-size: clamp(17px, 1.4vw, 19.5px); line-height: 1.65; color: var(--slate); max-width: 640px; margin: 0; }
.dark .lead { color: #aeb9c9; }

.section { padding: clamp(80px, 10vw, 130px) 0; }
.section-sm { padding: clamp(56px, 7vw, 90px) 0; }
.ivory { background: var(--ivory); }
.dark { background: var(--navy); color: #fff; }
.head { display: grid; gap: 18px; margin-bottom: clamp(40px, 5vw, 64px); max-width: 760px; }
.head.center { margin-inline: auto; text-align: center; justify-items: center; }
@media (min-width: 960px) { .head.split { max-width: none; grid-template-columns: 1fr 1fr; align-items: end; gap: 60px; } }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ——— البطل (كحلي داكن) ——— */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; border-bottom: 3px solid var(--gold); }
.hero-in { position: relative; display: grid; gap: 56px; align-items: center; padding: clamp(56px, 7vw, 96px) 0 clamp(56px, 7vw, 88px); }
@media (min-width: 1040px) { .hero-in { grid-template-columns: 1.05fr .95fr; gap: 50px; } }
.hero .kicker { color: var(--gold-2); }
.hero h1 { margin: 22px 0 24px; }
.hero .lead { margin-bottom: 36px; color: #b9c4d3; }
.load > * { animation: rise .9s var(--ease) both; }
.load > *:nth-child(2) { animation-delay: .07s; } .load > *:nth-child(3) { animation-delay: .14s; } .load > *:nth-child(4) { animation-delay: .21s; } .load > *:nth-child(5) { animation-delay: .28s; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }

.assure { display: grid; gap: 18px 28px; margin-top: 44px; padding-top: 30px; border-top: 1px solid rgba(201,165,111,.18); }
@media (min-width: 560px) { .assure { grid-template-columns: 1fr 1fr; } }
.assure div { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: start; }
.assure b { display: block; font-size: 15px; color: #fff; }
.assure span { font-size: 13.5px; color: #93a0b3; line-height: 1.5; }
.ico { width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; background: rgba(201,165,111,.1); border: 1px solid rgba(201,165,111,.28); color: var(--gold-2); }
.ico svg { width: 19px; height: 19px; }

/* لوحة المشروع (رسم بالكود) + بطاقة الصندوق فوقها */
.stack { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; align-content: center; }
.stack > .tracker { grid-column: 1 / -1; }
.panel { background: #fff; color: var(--ink); border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; }
.panel-strip { background: var(--navy-2); color: var(--gold-3); padding: 12px 18px; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; border-bottom: 1px solid var(--gold); }
.panel-strip img { width: 22px; height: 22px; }
.panel-body { padding: 20px 22px 22px; }
.tracker { width: 100%; animation: rise 1.1s .15s var(--ease) both; }
.tracker-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.tracker-top b { font-size: 18px; color: var(--navy); }
.tracker-top .mono { color: var(--gold); margin-left: 8px; }
.state { font-size: 12px; font-weight: 700; color: var(--navy); display: inline-flex; align-items: center; gap: 7px; }
.state::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.progress { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 18px; }
.progress div { display: grid; gap: 6px; font-size: 11px; color: var(--slate); }
.progress div::before { content: ''; height: 4px; border-radius: 3px; background: var(--line); }
.progress .done::before { background: var(--gold); }
.progress .now::before { background: linear-gradient(90deg, var(--navy) 60%, var(--line) 60%); }
.progress .now { color: var(--navy); font-weight: 700; }
.rows { display: grid; gap: 8px; }
.rows div { display: flex; justify-content: space-between; gap: 10px; padding: 11px 14px; background: var(--ivory); border-radius: 8px; font-size: 13.5px; color: var(--slate); }
.rows div b { color: var(--navy); font-weight: 700; }
.rows .ok b::before { content: '✓  '; color: var(--gold); }
.chat-card { animation: rise 1.1s .3s var(--ease) both; }
.chat-card .panel-strip { background: var(--navy-3); }
.bubbles { display: grid; gap: 7px; padding: 14px; background: var(--ivory); font-size: 12.5px; }
.bub { max-width: 85%; padding: 7px 10px; border-radius: 8px; background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.05); line-height: 1.4; }
.bub.out { justify-self: end; background: #e8edf4; }
.bub small { display: block; text-align: right; font-size: 10px; color: var(--slate-2); }
.bub .ticks { color: #3b82f6; }
.bub.new { animation: pop .6s 1.6s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.97); } }
.float-note { animation: rise 1.1s .4s var(--ease) both; }

@media (max-width: 640px) { .stack { grid-template-columns: 1fr; } }

/* ——— شريط الضمانات ——— */
.band { background: var(--navy-2); border-top: 1px solid rgba(201,165,111,.2); border-bottom: 3px solid var(--gold); color: #fff; }
.band-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.band-in > div { display: grid; grid-template-columns: 38px 1fr; gap: 14px; padding: 24px 20px; border-left: 1px solid rgba(201,165,111,.14); }
.band-in > div:first-child { border-left: 0; }
.band b { display: block; font-size: 15px; }
.band span { font-size: 13.5px; color: #9aa7b9; }

/* ——— بطاقات الخدمات (شريط كحلي علوي كالموقع الرسمي) ——— */
.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.card:hover { border-color: var(--gold-2); }
.card-strip { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; background: var(--navy); color: var(--gold-3); }
.card-strip .ico { width: 36px; height: 36px; }
.card-strip .mono { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); }
.card-body { padding: 22px 22px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body p { margin: 0; color: var(--slate); font-size: 15.5px; }
.bullets { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 7px; }
.bullets li { position: relative; padding-left: 18px; font-size: 14.5px; color: var(--ink); }
.bullets li::before { content: ''; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.card-foot { margin-top: auto; padding: 14px 22px; border-top: 1px dashed var(--line-2); display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 700; color: var(--navy); }
.card-foot .arr { color: var(--gold); transition: transform .3s var(--ease); }
.card:hover .card-foot .arr { transform: translateX(5px); }
.card.featured { border-color: var(--gold-2); box-shadow: 0 0 0 1px var(--gold-2) inset; }
.card.featured .card-strip { background: var(--gold); color: var(--navy); }
.card.featured .card-strip .mono { color: var(--navy); }
.card.featured .card-strip .ico { background: rgba(11,22,38,.12); border-color: rgba(11,22,38,.25); color: var(--navy); }

/* ——— المنتج (صندوق واتساب) ——— */
.product { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1000px) { .product { grid-template-columns: 1fr 1fr; gap: 80px; } }
.flist { display: grid; gap: 14px; margin: 30px 0 36px; }
.fitem { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 16px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid rgba(201,165,111,.14); transition: border-color .3s, background .3s; }
.fitem:hover { border-color: rgba(201,165,111,.4); background: rgba(201,165,111,.05); }
.fitem .ico { width: 44px; height: 44px; }
.fitem b { display: block; font-size: 16px; color: #fff; margin-bottom: 2px; }
.fitem span { font-size: 14.5px; color: #9eabbd; }
.light .fitem { background: #fff; border-color: var(--line); }
.light .fitem b { color: var(--navy); }
.light .fitem span { color: var(--slate); }
.light .fitem .ico { background: var(--gold-soft); border-color: var(--gold-2); color: #8f6f40; }

.phone { width: min(320px, 86vw); margin-inline: auto; aspect-ratio: 9 / 18.6; background: #05080e; border-radius: 46px; padding: 11px; position: relative; box-shadow: 0 30px 60px -30px rgba(0,0,0,.7), inset 0 0 0 1.5px #3a4658; }
.phone-screen { height: 100%; border-radius: 36px; overflow: hidden; background: var(--ivory); display: flex; flex-direction: column; color: var(--ink); }
.phone-top { background: var(--navy); padding: 36px 16px 12px; display: flex; align-items: center; gap: 10px; color: #fff; border-bottom: 2px solid var(--gold); }
.phone-top b { display: block; font-size: 14px; }
.phone-top small { color: var(--slate-2); font-size: 11px; }
.av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 11.5px; font-weight: 700; color: #fff; flex: none; }
.phone .bubbles { flex: 1; align-content: end; }
.voice { display: flex; align-items: center; gap: 8px; min-width: 150px; }
.voice i { width: 0; height: 0; border-left: 9px solid var(--navy); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.voice em { flex: 1; height: 16px; background: repeating-linear-gradient(90deg, var(--slate-2) 0 2px, transparent 2px 4px); }
.note-b { justify-self: end; background: var(--gold-soft); border: 1px dashed var(--gold-2); font-size: 12px; }
.note-b::before { content: 'Internal note'; display: block; font: 500 9.5px var(--mono); text-transform: uppercase; letter-spacing: .1em; color: #8f6f40; }
.compose { margin: 0 10px 12px; padding: 10px 12px; background: #fff; border-radius: 10px; display: flex; justify-content: space-between; color: var(--slate-2); font-size: 12px; }
.compose b { color: var(--gold); }
.notif { position: absolute; left: 20px; right: 20px; top: 52px; background: rgba(252,250,246,.97); border-radius: 16px; padding: 10px 12px; display: grid; grid-template-columns: 32px 1fr; gap: 10px; align-items: center; color: var(--ink); font-size: 12px; box-shadow: 0 14px 30px rgba(0,0,0,.4); animation: notif 6.5s 1.2s var(--ease) infinite; }
.notif b { display: flex; justify-content: space-between; font-size: 12.5px; }
.notif b span { font-weight: 400; color: var(--slate); font-size: 11px; }
@keyframes notif { 0%, 100% { opacity: 0; transform: translateY(-14px); } 10%, 45% { opacity: 1; transform: none; } 55% { opacity: 0; transform: translateY(-14px); } }
@media (prefers-reduced-motion: reduce) { .notif { animation: none; } }

/* ——— الخطوات (خط زمني) ——— */
.timeline { display: grid; gap: 18px; counter-reset: t; }
@media (min-width: 980px) { .timeline { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.tl { position: relative; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 12px; padding: 26px 22px 24px; }
.tl .n { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--gold-3); display: grid; place-items: center; font: 600 14px var(--mono); margin-bottom: 16px; }
.tl p { margin: 8px 0 0; color: var(--slate); font-size: 15px; }
@media (min-width: 980px) {
  .tl:not(:last-child)::after { content: ''; position: absolute; top: 46px; right: -21px; width: 22px; height: 2px; background: repeating-linear-gradient(90deg, var(--gold) 0 4px, transparent 4px 8px); }
}

/* ——— المبادئ (لوحات بشريط) ——— */
.pgrid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px; display: grid; gap: 12px; align-content: start; }
.pcard .ico { background: var(--gold-soft); border-color: var(--gold-2); color: #8f6f40; }
.pcard p { margin: 0; color: var(--slate); font-size: 15px; }

/* ——— لمن ——— */
.who { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.who div { background: #fff; padding: 22px; }
.who b { display: block; color: var(--navy); margin-bottom: 4px; }
.who span { font-size: 14.5px; color: var(--slate); }

/* ——— نداء الختام ——— */
.cta-box { position: relative; overflow: hidden; border-radius: 14px; background: var(--navy); color: #fff; padding: clamp(36px, 6vw, 64px); display: grid; gap: 30px; border: 1px solid rgba(201,165,111,.3); }
@media (min-width: 900px) { .cta-box { grid-template-columns: 1.4fr auto; align-items: center; } }
.cta-box .lead { color: #aeb9c9; margin-top: 14px; }

/* ——— صفحات داخلية ——— */
.page-hero { position: relative; background: var(--navy); color: #fff; padding: clamp(60px, 8vw, 100px) 0 clamp(50px, 6vw, 80px); border-bottom: 3px solid var(--gold); overflow: hidden; }
.page-hero .wrap { position: relative; }
.page-hero .kicker { color: var(--gold-2); }
.page-hero h1 { margin: 18px 0 18px; font-size: clamp(38px, 5vw, 62px); }
.page-hero .lead { color: #b9c4d3; }
.crumbs { font-size: 13px; color: var(--slate-2); margin-bottom: 14px; }
.crumbs a { color: var(--gold-3); text-decoration: none; }

.detail { display: grid; gap: 28px; padding: clamp(50px, 6vw, 80px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 120px; }
@media (min-width: 960px) { .detail { grid-template-columns: .85fr 1.15fr; gap: 70px; } }
.detail-head .num { font: 600 13px var(--mono); color: var(--gold); display: inline-flex; align-items: center; gap: 10px; }
.detail-head .num .ico { background: var(--navy); border-color: var(--navy); color: var(--gold-3); }
.detail-head h2 { margin-top: 16px; }
.detail-body > p { margin: 0 0 16px; color: var(--slate); }
.checks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 640px) { .checks.two { grid-template-columns: 1fr 1fr; } }
.checks li { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--navy); }
.checks li::before { content: ''; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 5px; background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%238f6f40' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; border: 1px solid var(--gold-2); }

.steps { display: grid; gap: 16px; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 24px; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 12px; }
.step .n { width: 56px; height: 56px; border-radius: 12px; background: var(--navy); color: var(--gold-3); display: grid; place-items: center; font: 600 17px var(--mono); }
.step p { margin: 6px 0 0; color: var(--slate); }

.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; color: var(--navy); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: '+'; color: var(--gold); font-size: 22px; line-height: 1; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin: 0 0 18px; color: var(--slate); }

.prose { max-width: 780px; }
.prose h2 { font-size: 26px; color: var(--navy); margin: 44px 0 12px; letter-spacing: -.02em; }
.prose p, .prose li { color: var(--slate); }
.prose a { color: var(--navy); font-weight: 600; }
.prose ul { padding-left: 20px; }

/* ——— التواصل ——— */
.contact-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 980px) { .contact-grid { grid-template-columns: .85fr 1.15fr; gap: 60px; } }
.form-panel .panel-body { padding: 26px; }
.form { display: grid; gap: 16px; }
@media (min-width: 640px) { .form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } }
.field { display: grid; gap: 7px; }
.field > span { font-size: 13.5px; font-weight: 700; color: var(--navy); }
.field input, .field textarea { font: inherit; font-size: 16px; padding: 13px 14px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(176,141,87,.22); }
.field textarea { min-height: 150px; resize: vertical; }
.choice { display: flex; flex-wrap: wrap; gap: 8px; }
.choice label { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span { display: inline-block; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; font-size: 14.5px; font-weight: 600; color: var(--navy); cursor: pointer; transition: all .2s; }
.choice input:checked + span { background: var(--navy); color: var(--gold-3); border-color: var(--navy); }
.choice input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.form-status { font-size: 15px; margin: 0; }
.form-status.ok { color: #1e6b45; }
.form-status.err { color: #b4321d; }
.side { display: grid; gap: 14px; margin-top: 30px; }
.side div { display: grid; grid-template-columns: 38px 1fr; gap: 12px; padding: 16px; background: rgba(255,255,255,.04); border: 1px solid rgba(201,165,111,.18); border-radius: 12px; }
.side b { display: block; color: #fff; }
.side span { color: #9eabbd; font-size: 14.5px; }

/* ——— التذييل ——— */
.site-footer { background: var(--navy); color: #aeb9c9; border-top: 3px solid var(--gold); }
.footer-top { display: grid; gap: 50px; padding: 70px 0 50px; }
@media (min-width: 960px) { .footer-top { grid-template-columns: 1.1fr 1.4fr; gap: 80px; } }
.footer-brand p { margin: 20px 0 26px; max-width: 380px; font-size: 15px; color: #93a0b3; }
.footer-cols { display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.footer-h { font: 500 11.5px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); margin: 0 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer ul a { text-decoration: none; color: #e4e9f0; font-size: 15px; }
.site-footer ul a:hover { color: var(--gold-3); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 22px 0 28px; border-top: 1px solid rgba(201,165,111,.16); font-size: 13.5px; color: #7f8ba0; }

/* ——— المجالات الثلاثة ——— */
.pillars { display: grid; gap: 20px; }
@media (min-width: 960px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; scroll-margin-top: 120px; }
.pillar-head { background: var(--navy); color: #fff; padding: 22px 24px; border-bottom: 3px solid var(--gold); }
.pillar-head .mono { color: var(--gold-2); }
.pillar-head h3 { font-size: 30px; font-weight: 800; letter-spacing: -.03em; margin: 6px 0 2px; }
.pillar-head p { margin: 0; color: #aeb9c9; font-size: 15px; }
.pillar ul { list-style: none; margin: 0; padding: 8px 0; }
.pillar li a { display: flex; justify-content: space-between; align-items: center; padding: 14px 24px; text-decoration: none; font-weight: 600; color: var(--navy); border-bottom: 1px solid var(--line); transition: background .2s, color .2s; }
.pillar li:last-child a { border-bottom: 0; }
.pillar li a::after { content: '›'; color: var(--gold); font-size: 20px; line-height: 1; }
.pillar li a:hover { background: var(--ivory); color: #000; }

/* قسم كل مجال بصفحة الخدمات */
.group-head { display: flex; align-items: center; gap: 16px; padding: 46px 0 6px; border-bottom: 3px solid var(--gold); scroll-margin-top: 110px; }
.group-head .tag { background: var(--navy); color: var(--gold-3); font: 600 13px var(--mono); padding: 8px 12px; border-radius: 6px; }
.group-head h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 800; letter-spacing: -.03em; color: var(--navy); }
.group-head p { margin: 0 0 0 auto; color: var(--slate); font-size: 15px; }
@media (max-width: 700px) { .group-head { flex-wrap: wrap; } .group-head p { margin: 0; width: 100%; } }

/* ——— صفحة التواصل ——— */
.contact-info .h3 { margin-bottom: 18px; }
.next { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; }
.next li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.next .n { width: 44px; height: 44px; border-radius: 10px; background: var(--navy); color: var(--gold-3); display: grid; place-items: center; font: 600 14px var(--mono); }
.next b { display: block; color: var(--navy); }
.next li span span { color: var(--slate); font-size: 15px; }
.info-box { padding: 18px 20px; background: var(--gold-soft); border: 1px solid var(--gold-2); border-left: 4px solid var(--gold); border-radius: 10px; }
.info-box b { display: block; color: var(--navy); margin-bottom: 4px; }
.info-box span { color: var(--slate); font-size: 15px; }
.field small { font-weight: 500; color: var(--slate-2); }
.form-end { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding-top: 6px; }
