/* موقع شركة بوسينوفا (bnova.sa) — ملف CSS عادي بدون خطوة بناء. */
:root {
  --ink: #1b2f3c;
  --muted: #5d6c77;
  --head: #2a5870;
  --brand: #2e5c73;
  --brand-d: #1d3f52;
  --brand-dd: #13293a;
  --sand: #cbc3b5;
  --sand-l: #f2efea;
  --line: #e4e7ea;
  --white: #fff;
  --grad-btn: linear-gradient(90deg, #3c586a 0%, #7d8d95 55%, #cdc4b4 100%);
  --grad-sand: linear-gradient(90deg, #8b9195 0%, #b3b1ab 45%, #d3cabc 100%);
  --grad-icon: linear-gradient(135deg, #06b6d4 0%, #22c55e 100%);
  --grad-deep: linear-gradient(135deg, #13293a 0%, #1d3f52 48%, #2e5c73 100%);
  --radius: 28px;
  --shadow: 0 18px 50px -24px rgba(19, 41, 58, .45);
  --font: "Cairo", "IBM Plex Sans Arabic", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.85; color: var(--ink); background: #fff; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.3; font-weight: 800; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid #22c55e; outline-offset: 3px; border-radius: 8px; }

.c-wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }
.c-sr, .c-trap { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.c-trap { inset-inline-start: -9999px; }
.c-skip { position: absolute; top: -60px; inset-inline-start: 16px; z-index: 100; background: var(--brand); color: #fff; padding: 8px 16px; border-radius: 12px; }
.c-skip:focus { top: 16px; }
.c-icon { width: 24px; height: 24px; flex: none; }
.c-icon--sm { width: 18px; height: 18px; }
.c-center { text-align: center; margin-top: 44px; }

/* الأزرار */
.c-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 12px 28px; font: 700 16px/1.4 var(--font); border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; transition: transform .25s, box-shadow .25s, background-color .25s, color .25s, border-color .25s; }
.c-btn:hover { transform: translateY(-2px); }
.c-btn--grad { background: var(--grad-btn); color: #fff; box-shadow: 0 10px 24px -12px rgba(46, 92, 115, .8); }
.c-btn--grad:hover { box-shadow: 0 16px 30px -14px rgba(46, 92, 115, .9); }
.c-btn--brand { background: var(--brand); color: #fff; }
.c-btn--brand:hover { background: var(--brand-d); }
.c-btn--outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.c-btn--outline:hover { background: var(--brand); color: #fff; }
.c-btn--glass { color: #fff; border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .08); backdrop-filter: blur(6px); }
.c-btn--glass:hover { background: rgba(255, 255, 255, .18); }
.c-btn--light { background: #fff; color: var(--brand); }
.c-btn--sm { padding: 9px 18px; font-size: 14.5px; }
.c-btn--lg { padding: 15px 34px; font-size: 17px; }
.c-btn--block { width: 100%; }
.c-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* الرأس */
.c-head { position: fixed; inset: 14px 0 auto; z-index: 60; pointer-events: none; }
.c-head__bar { pointer-events: auto; display: flex; align-items: center; gap: 28px; background: rgba(255, 255, 255, .96); backdrop-filter: blur(14px); border-radius: 999px; padding: 10px 14px 10px 22px; padding-inline-start: 26px; box-shadow: 0 12px 40px -18px rgba(19, 41, 58, .5); transition: box-shadow .3s, padding .3s; }
.c-head.is-scrolled .c-head__bar { padding-block: 7px; box-shadow: 0 10px 34px -16px rgba(19, 41, 58, .6); }
.c-logo img { height: 46px; width: auto; }
.c-nav { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; }
.c-nav > a { position: relative; padding: 8px 16px; font-weight: 700; font-size: 17px; color: var(--ink); border-radius: 999px; transition: color .2s, background-color .2s; }
.c-nav > a:hover { color: var(--brand); background: var(--sand-l); }
.c-nav > a.is-active { color: var(--head); }
.c-nav > a.is-active::after { content: ""; position: absolute; inset-inline: 16px; bottom: 2px; height: 3px; border-radius: 3px; background: var(--brand); }
.c-nav__login { display: none; }
.c-login { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.c-burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--sand-l); color: var(--brand); cursor: pointer; align-items: center; justify-content: center; }
.c-burger__close { display: none; }

/* الواجهة */
.c-hero { position: relative; overflow: hidden; background: var(--grad-deep); color: #fff; padding: 170px 0 120px; isolation: isolate; }
.c-hero__glow, .c-phero__glow { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(45% 60% at 10% 15%, rgba(34, 197, 94, .20), transparent 70%),
  radial-gradient(40% 55% at 95% 95%, rgba(6, 182, 212, .22), transparent 70%),
  radial-gradient(30% 40% at 60% 40%, rgba(203, 195, 181, .10), transparent 70%); }
.c-hero::after { content: ""; position: absolute; inset: auto 0 -1px; height: 70px; background: #fff; border-radius: 50% 50% 0 0 / 100% 100% 0 0; z-index: -1; }
.c-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.c-hero h1 { font-size: clamp(38px, 5.2vw, 66px); line-height: 1.2; margin: 18px 0 22px; }
.c-hero h1 span { display: block; background: linear-gradient(90deg, #fff 0%, #e8e1d4 50%, #cbc3b5 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.c-hero__text p { font-size: 19px; color: rgba(255, 255, 255, .82); max-width: 560px; }
.c-plate { position: relative; justify-self: center; width: min(500px, 100%); display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .96); border-radius: 44px; padding: 44px 56px; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .65); }
.c-plate::before { content: ""; position: absolute; inset: -14px; border-radius: 56px; border: 1.5px solid rgba(255, 255, 255, .18); pointer-events: none; }
.c-plate img { width: 100%; max-width: 400px; }
.c-hero__grid { margin-bottom: 72px; }

/* مربعا الدخول */
.c-portal { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.c-portal__card { position: relative; display: flex; align-items: center; gap: 26px; min-height: 190px; padding: 34px 34px 40px; border-radius: 32px; background: #fff; color: var(--ink); box-shadow: 0 30px 70px -34px rgba(0, 0, 0, .6); transition: transform .3s, box-shadow .3s; }
.c-portal__card:hover { transform: translateY(-4px); box-shadow: 0 36px 80px -34px rgba(0, 0, 0, .7); }
.c-portal__icon { flex: none; width: 96px; height: 96px; border-radius: 28px; display: grid; place-items: center; background: var(--grad-icon); color: #fff; box-shadow: 0 14px 30px -14px rgba(34, 197, 94, .8); }
.c-portal__icon .c-icon { width: 48px; height: 48px; }
.c-portal__card--alt .c-portal__icon { background: linear-gradient(135deg, #3c586a, #cdc4b4); box-shadow: 0 14px 30px -14px rgba(46, 92, 115, .8); }
.c-portal__body { flex: 1; display: grid; gap: 4px; }
.c-portal__body small { font-size: 14px; font-weight: 700; color: #1f9a63; }
.c-portal__card--alt .c-portal__body small { color: #8a7e6a; }
.c-portal__body strong { font-size: 30px; line-height: 1.3; font-weight: 800; color: var(--head); }
.c-portal__body > span { color: var(--muted); font-size: 16px; }
.c-portal__go { position: absolute; inset-inline-end: 28px; bottom: -20px; display: inline-flex; align-items: center; gap: 8px; background: var(--brand); color: #fff; font-weight: 700; font-size: 15px; padding: 10px 22px; border-radius: 999px; box-shadow: 0 10px 24px -10px rgba(19, 41, 58, .7); transition: background-color .25s; }
.c-portal__card:hover .c-portal__go { background: var(--brand-d); }
.c-portal__card--alt .c-portal__go { background: var(--grad-btn); }

.c-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; letter-spacing: .2px; color: var(--brand); background: var(--sand-l); padding: 6px 16px; border-radius: 999px; }
.c-eyebrow--light { color: #e8e1d4; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); }

/* الأقسام */
.c-section { padding: 110px 0; }
.c-section--tint { background: linear-gradient(180deg, var(--sand-l), #fff); }
.c-heading { max-width: 720px; margin-bottom: 44px; }
.c-heading--center { margin-inline: auto; text-align: center; }
.c-heading h2 { font-size: clamp(30px, 3.5vw, 46px); color: var(--head); }
.c-heading h2::before { content: ""; display: inline-block; width: 22px; height: 4px; border-radius: 4px; background: currentColor; margin-inline-end: 14px; vertical-align: middle; opacity: .8; }
.c-heading--center h2::before { display: none; }
.c-heading .c-lead { margin-top: 16px; font-size: 18.5px; color: var(--muted); }
.c-heading--light h2 { color: #fff; }
.c-heading--light .c-lead { color: rgba(255, 255, 255, .75); }
.c-subtitle { font-size: 24px; color: var(--head); font-weight: 700; margin-bottom: 14px; }
.c-text { font-size: 18.5px; color: var(--muted); }

.c-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.c-split--top { align-items: start; }
.c-split--wide { grid-template-columns: .8fr 1.2fr; }
.c-split__media { display: flex; justify-content: center; }
.c-bmark { width: min(460px, 100%); }
.c-framed { position: relative; border-radius: 220px 220px 32px 32px; overflow: hidden; box-shadow: var(--shadow); width: min(500px, 100%); }
.c-framed img { width: 100%; aspect-ratio: 1 / 1.02; object-fit: cover; }
.c-framed::after { content: ""; position: absolute; width: 38%; aspect-ratio: 1; border-radius: 50%; inset: auto auto 8% -10%; background: rgba(160, 160, 160, .55); mix-blend-mode: multiply; }
.c-sticky { position: sticky; top: 120px; }

.c-vm { margin: 0; display: grid; gap: 26px; }
.c-vm > div { position: relative; padding: 24px 30px; border-radius: 24px; background: var(--sand-l); }
.c-vm > div::before { content: ""; position: absolute; inset-block: 24px; inset-inline-start: 0; width: 5px; border-radius: 5px; background: var(--grad-icon); }
.c-vm dt { font-size: 26px; font-weight: 800; color: var(--head); margin-bottom: 6px; }
.c-vm dd { margin: 0; font-size: 18px; color: var(--muted); }

/* محاور العمل */
.c-pillars { background: var(--brand); position: relative; overflow: hidden; }
.c-pillars::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; inset: -180px auto auto -160px; background: radial-gradient(circle, rgba(255, 255, 255, .08), transparent 65%); }
.c-pillars__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; position: relative; }
.c-pillars__list { display: grid; gap: 22px; }
.c-pill { display: flex; align-items: center; gap: 26px; background: #fff; border-radius: 999px; padding: 30px 46px; box-shadow: 0 20px 40px -26px rgba(0, 0, 0, .5); transition: transform .3s; }
.c-pill:hover { transform: translateX(-8px); }
.c-pill__num { flex: none; width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; font-weight: 800; color: #fff; background: var(--grad-icon); }
.c-pill h3 { font-size: 23px; color: var(--head); margin-bottom: 4px; }
.c-pill p { color: var(--muted); font-size: 16.5px; }
.c-pill--sand { background: var(--grad-sand); }
.c-pill--sand h3, .c-pill--sand p { color: #fff; }

/* الصور */
.c-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.c-photo { margin: 0; text-align: center; }
.c-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); transition: transform .4s; }
.c-photo:hover img { transform: scale(1.02); }
.c-photo h3 { margin-top: 20px; font-size: 21px; color: var(--head); font-weight: 700; }
.c-photo p { margin-top: 6px; color: var(--muted); font-size: 16.5px; }

/* شريط استقطاب المواهب */
.c-banner { padding: 0 0 20px; }
.c-banner__box { position: relative; overflow: hidden; border-radius: 36px; padding: 96px 64px; text-align: center; color: #fff; background: linear-gradient(90deg, rgba(19, 41, 58, .9), rgba(46, 92, 115, .78)), url("../images/company/handshake.jpg") center / cover; }
.c-banner__box h2 { font-size: clamp(30px, 4vw, 50px); margin-bottom: 18px; }
.c-banner__box p { max-width: 860px; margin: 0 auto 30px; font-size: 19px; color: rgba(255, 255, 255, .86); }

/* الأرقام */
.c-stats .c-heading { max-width: none; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.c-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.c-stat { text-align: center; padding: 10px 22px; }
.c-stat + .c-stat { border-inline-start: 1px solid var(--line); }
.c-stat strong { display: block; font-size: clamp(46px, 5vw, 72px); font-weight: 800; color: var(--head); line-height: 1.1; }
.c-stat strong span:first-child { color: #22a06b; }
.c-stat h3 { font-size: 24px; margin: 10px 0 8px; }
.c-stat p { color: var(--muted); font-size: 16px; }

/* بطاقات الخدمات */
.c-svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.c-svc { display: flex; align-items: center; gap: 30px; border-radius: 999px; padding: 34px 40px; padding-inline-end: 64px; color: #fff; min-height: 220px; transition: transform .3s, box-shadow .3s; }
.c-svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.c-svc--dark { background: var(--brand); }
.c-svc--sand { background: var(--grad-sand); }
.c-svc--wide { grid-column: 1 / -1; width: min(820px, 100%); margin-inline: auto; }
.c-svc__icon { flex: none; width: 128px; height: 128px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-icon); border: 12px solid #fff; box-shadow: 0 0 0 10px rgba(255, 255, 255, .18); }
.c-svc__icon .c-icon { width: 50px; height: 50px; color: #fff; }
.c-svc h3 { font-size: 25px; margin-bottom: 8px; }
.c-svc p { font-size: 16.5px; color: rgba(255, 255, 255, .86); }
.c-svc ul { display: grid; gap: 2px; }
.c-svc li { position: relative; padding-inline-start: 18px; font-size: 16.5px; color: rgba(255, 255, 255, .9); }
.c-svc li::before { content: ""; position: absolute; inset-inline-start: 0; top: .8em; width: 7px; height: 7px; border-radius: 50%; background: #fff; }

/* انطلق */
.c-cards { display: grid; gap: 24px; }
.c-card { position: relative; display: flex; align-items: center; gap: 26px; border-radius: 999px; padding: 26px 30px; padding-inline-end: 70px; background: #f4f4f2; transition: transform .3s, box-shadow .3s; }
.c-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.c-card img { flex: none; width: 150px; height: 150px; border-radius: 50%; background: #fff; }
.c-card h3 { font-size: 25px; color: var(--head); padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px solid rgba(0, 0, 0, .12); }
.c-card p { color: var(--muted); font-size: 16.5px; }
.c-card--brand { background: linear-gradient(90deg, #3a5a6d 0%, #8b999e 60%, #cdc5b7 100%); }
.c-card--brand h3, .c-card--brand p { color: #fff; }
.c-card--brand h3 { border-color: rgba(255, 255, 255, .35); }
.c-card__go { position: absolute; inset-inline-end: 22px; top: 50%; translate: 0 -50%; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--brand); box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .4); }

/* الشركاء */
.c-partners { background: #fff; padding-bottom: 90px; }
.c-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.c-marquee__track { display: flex; width: max-content; animation: c-marquee 36s linear infinite; }
.c-marquee:hover .c-marquee__track { animation-play-state: paused; }
.c-marquee__list { display: flex; align-items: center; gap: 80px; padding-inline-end: 80px; }
.c-marquee__list img { height: 72px; width: auto; max-width: 230px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; }
.c-marquee__list img:hover { filter: none; opacity: 1; }
@keyframes c-marquee { to { transform: translateX(50%); } }
.c-partners__cta { text-align: center; margin-top: 46px; }

/* رأس الصفحات الداخلية */
.c-phero { position: relative; overflow: hidden; isolation: isolate; background: var(--grad-deep); color: #fff; padding: 176px 0 96px; text-align: center; }
.c-phero::after { content: ""; position: absolute; inset: auto 0 -1px; height: 56px; background: #fff; border-radius: 50% 50% 0 0 / 100% 100% 0 0; z-index: -1; }
.c-phero h1 { font-size: clamp(36px, 5vw, 58px); margin: 14px 0 10px; }
.c-phero p { font-size: 19px; color: rgba(255, 255, 255, .8); }
.c-crumbs { display: inline-flex; gap: 10px; font-size: 15px; font-weight: 600; color: #e1d9cb; background: rgba(255, 255, 255, .08); padding: 5px 18px; border-radius: 999px; }
.c-crumbs a:hover { color: #fff; }

/* نموذج العمل */
.c-roles { display: grid; gap: 22px; margin: 30px 0 36px; }
.c-roles li { display: flex; gap: 18px; align-items: flex-start; }
.c-roles__icon { flex: none; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-d); color: #fff; }
.c-roles strong { display: block; font-size: 21px; color: var(--head); }
.c-roles span { color: var(--muted); font-size: 16.5px; }

/* اتصل بنا */
.c-contact__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 60px; align-items: start; }
.c-channels { display: grid; gap: 16px; }
.c-channels li { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 22px; background: var(--sand-l); }
.c-channels li > span { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--grad-icon); }
.c-channels small { display: block; font-size: 14px; color: var(--muted); font-weight: 600; }
.c-channels a, .c-channels p { font-size: 18px; font-weight: 700; color: var(--ink); }
.c-channels a:hover { color: var(--brand); }
.c-form-card { background: #fff; border-radius: 32px; padding: 44px; box-shadow: 0 30px 70px -36px rgba(19, 41, 58, .5); border: 1px solid var(--line); }
.c-form-card > h3 { font-size: 26px; color: var(--head); margin-bottom: 22px; }
.c-types { border: 0; padding: 0; margin: 0 0 20px; display: flex; gap: 10px; flex-wrap: wrap; }
.c-types label { cursor: pointer; }
.c-types input { position: absolute; opacity: 0; pointer-events: none; }
.c-types span { display: inline-block; padding: 8px 20px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 700; font-size: 15px; color: var(--muted); transition: all .2s; }
.c-types input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.c-types input:focus-visible + span { outline: 3px solid #22c55e; outline-offset: 2px; }
.c-field { margin-bottom: 18px; }
.c-field label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.c-field input, .c-field textarea, .c-subscribe input { width: 100%; font: 500 16px/1.6 var(--font); color: var(--ink); background: #fbfbfa; border: 1.5px solid #d6dce1; border-radius: 16px; padding: 12px 16px; transition: border-color .2s, box-shadow .2s; }
.c-field textarea { resize: vertical; min-height: 140px; }
.c-field input:focus, .c-field textarea:focus, .c-subscribe input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(46, 92, 115, .14); background: #fff; }
.c-field [aria-invalid="true"] { border-color: #dc2626; }
.c-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.c-error { color: #dc2626; font-size: 14px; margin-top: 6px; font-weight: 600; }
.c-done { text-align: center; padding: 30px 10px; }
.c-done__icon { width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-icon); color: #fff; }
.c-done__icon .c-icon { width: 40px; height: 40px; }
.c-done h3 { font-size: 28px; color: var(--head); }
.c-done p { color: var(--muted); margin: 8px 0 24px; font-size: 18px; }
.c-alert { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; font-weight: 700; font-size: 15px; }
.c-alert--ok { background: #e7f7ee; color: #15803d; }

/* منحة التحول الرقمي: البطاقة في الواجهة (أيقونات أقسام النظام مع شريط "منحة") */
.c-gcard { position: relative; justify-self: center; width: min(500px, 100%); display: block; overflow: hidden; border-radius: 40px; background: #fff; color: var(--ink); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .65); transition: transform .3s, box-shadow .3s; }
.c-gcard:hover { transform: translateY(-4px); box-shadow: 0 46px 96px -40px rgba(0, 0, 0, .75); }
.c-gcard__screen { position: relative; display: block; overflow: hidden; padding: 30px 34px 26px; background: radial-gradient(60% 80% at 90% 0%, rgba(142, 125, 255, .28), transparent 70%), radial-gradient(60% 80% at 0% 20%, rgba(62, 217, 195, .3), transparent 70%), #f6f5fb; }
.c-gcard__apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 330px; margin: 6px auto 0; }
.c-gcard__apps i { display: grid; place-items: center; aspect-ratio: 1; border-radius: 18px; color: #fff; box-shadow: 0 10px 18px -10px rgba(40, 30, 110, .6); }
.c-gcard__apps svg { width: 46%; height: 46%; }
.c-gcard__ribbon { position: absolute; top: 22px; inset-inline-end: -46px; transform: rotate(-45deg); padding: 5px 56px; background: linear-gradient(90deg, #f59e0b, #facc15); color: #3b2500; font-weight: 800; font-size: 15px; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .4); }
.c-gcard__body { display: block; padding: 20px 34px 24px; text-align: center; }
.c-gcard__title { display: block; font-size: clamp(30px, 3.2vw, 38px); line-height: 1.2; font-weight: 800; color: var(--head); }
.c-gcard__sub { display: block; margin-top: 8px; font-size: 15.5px; color: var(--muted); }
.c-gcard__status { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 10px; margin-top: 14px; }
.c-gcard__dates { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--brand-d); }
.c-gcard__dates .c-icon { color: var(--brand); }
.c-gcard__cta { width: 100%; margin-top: 18px; }
.c-gcard__by { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 14px; font-size: 14px; color: var(--muted); }
.c-gcard__by img { width: auto; height: 26px; }

/* حالة استقبال الطلبات: مفتوح / يفتح قريبًا / مغلق */
.c-gstatus { display: inline-flex; align-items: center; gap: 7px; padding: 5px 14px; border-radius: 999px; font-size: 14px; font-weight: 800; }
.c-gstatus::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 22%, transparent); }
.c-gstatus--open { background: #ecfdf5; color: #15803d; }
.c-gstatus--upcoming { background: #fff7ed; color: #c2410c; }
.c-gstatus--closed { background: #f1f5f9; color: #64748b; }

/* منحة التحول الرقمي: صفحة التفاصيل والنموذج */
.c-grant { padding: 70px 0 100px; background: linear-gradient(180deg, #f6f5f2, #fff 320px); }
.c-grant__form { scroll-margin-top: 110px; }
.c-grant__steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0 0 36px; padding: 0; list-style: none; }
.c-grant__steps li { display: flex; align-items: center; gap: 10px; padding: 8px 18px 8px 10px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); font-weight: 700; color: var(--muted); font-size: 15px; }
.c-grant__steps b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--sand-l); color: var(--brand-d); }
.c-grant__steps li.is-on { border-color: var(--brand); color: var(--brand-d); }
.c-grant__steps li.is-on b { background: var(--brand); color: #fff; }
.c-grant__steps li.is-done b { background: #22c55e; color: #fff; }
.c-grant__status { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin: 0 0 22px; padding: 16px 22px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 40px -30px rgba(19, 41, 58, .45); }
.c-grant__status .c-gstatus { font-size: 15px; padding: 6px 16px; }
.c-grant__status-dates { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 15px; color: var(--muted); }
.c-grant__status-dates div { display: flex; align-items: center; gap: 8px; }
.c-grant__status-dates b { color: var(--brand-d); }
.c-grant__status-dates .c-icon { color: var(--brand); }
.c-grant__left { padding: 6px 14px; border-radius: 999px; background: #fff7ed; color: #c2410c; font-size: 14px; font-weight: 800; }
.c-grant__closed-note { margin-top: 20px; padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, .1); border: 1.5px dashed rgba(255, 255, 255, .35); text-align: center; }
.c-grant__closed-note strong { display: block; font-size: 17px; }
.c-grant__closed-note p { margin-top: 4px; font-size: 14px; color: rgba(255, 255, 255, .82); }
.c-grant__card { position: relative; background: #fff; border-radius: 32px; padding: 36px; border: 1px solid var(--line); box-shadow: 0 30px 70px -40px rgba(19, 41, 58, .45); }
.c-grant__card h2 { font-size: 26px; color: var(--head); }
.c-grant__lead { color: var(--muted); margin-top: 4px; }
.c-grant__band { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center; margin-bottom: 28px; padding: 30px 34px; border-radius: 32px; color: #fff; box-shadow: 0 30px 70px -40px rgba(19, 41, 58, .7); background:
  radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .14) 1.2px, transparent 1.6px) 0 0 / 22px 22px,
  radial-gradient(70% 90% at 100% 0%, rgba(6, 182, 212, .45), transparent 60%),
  radial-gradient(60% 90% at 0% 100%, rgba(34, 197, 94, .4), transparent 60%),
  linear-gradient(160deg, #173246, #10263a); }
.c-grant__band-icon { display: grid; place-items: center; width: 88px; height: 88px; border-radius: 28px; background: var(--grad-icon); box-shadow: 0 16px 34px -14px rgba(34, 197, 94, .9); }
.c-grant__band-icon .c-icon { width: 46px; height: 46px; }
.c-grant__band h2 { font-size: 34px; }
.c-grant__band h2 span { background: linear-gradient(90deg, #5eead4, #86efac); -webkit-background-clip: text; background-clip: text; color: transparent; }
.c-grant__band p { color: rgba(255, 255, 255, .82); margin-top: 4px; }
.c-grant__stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.c-grant__stats span { padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); font-size: 14px; font-weight: 700; }
.c-grant__stats b { color: #86efac; }
.c-grant__pct { text-align: center; padding: 14px 24px; border-radius: 24px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); }
.c-grant__pct strong { display: block; font-size: 54px; line-height: 1; background: linear-gradient(135deg, #5eead4, #86efac); -webkit-background-clip: text; background-clip: text; color: transparent; }
.c-grant__pct small { font-size: 14px; color: rgba(255, 255, 255, .85); font-weight: 700; }
.c-grant__grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: 28px; align-items: start; }
.c-grant__services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 22px; }
.c-grant__services li { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 20px; background: #fbfbfa; border: 1px solid #eef0f2; }
.c-grant__services span { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 15px; background: var(--grad-icon); color: #fff; }
.c-grant__services li:nth-child(3n + 2) span { background: linear-gradient(135deg, #3c586a, #cdc4b4); }
.c-grant__services li:nth-child(3n) span { background: linear-gradient(135deg, #2e5c73, #06b6d4); }
.c-grant__services strong { display: block; font-size: 15.5px; line-height: 1.5; }
.c-grant__services small { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.c-grant__cost { position: sticky; top: 110px; overflow: hidden; border: 0; color: #fff; background: var(--grad-deep); }
.c-grant__cost h2 { color: #fff; }
.c-grant__ribbon { position: absolute; top: 22px; inset-inline-end: -44px; transform: rotate(-45deg); padding: 4px 52px; background: linear-gradient(90deg, #f59e0b, #facc15); color: #3b2500; font-weight: 800; font-size: 14px; }
.c-grant__total { display: flex; justify-content: space-between; align-items: baseline; margin: 22px 0 14px; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.c-grant__total strong { font-size: 30px; }
.c-grant__bar { display: flex; height: 14px; gap: 3px; border-radius: 999px; overflow: hidden; }
.c-grant__bar i:first-child { background: var(--grad-icon); }
.c-grant__bar i:last-child { background: var(--sand); }
.c-grant__split { display: grid; gap: 10px; margin-top: 16px; }
.c-grant__split div { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 18px; }
.c-grant__split small { display: block; font-size: 13px; opacity: .75; }
.c-grant__split .is-grant { background: rgba(34, 197, 94, .2); border: 1px solid rgba(134, 239, 172, .45); }
.c-grant__split .is-grant strong { color: #86efac; }
.c-grant__split .is-you { background: #fff; color: var(--ink); }
.c-grant__split .is-you strong { font-size: 26px; color: var(--brand-d); }
.c-grant__note { margin-top: 10px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .88); }
.c-grant__accept { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; padding: 14px 16px; border-radius: 18px; background: rgba(34, 197, 94, .14); border: 1.5px solid rgba(134, 239, 172, .5); font-size: 14.5px; line-height: 1.7; cursor: pointer; }
.c-grant__accept input { flex: none; appearance: none; width: 24px; height: 24px; margin: 2px 0 0; border-radius: 8px; border: 2px solid rgba(255, 255, 255, .7); background: transparent; cursor: pointer; display: grid; place-items: center; }
.c-grant__accept input:checked { background: #22c55e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat; border-color: #22c55e; }
.c-grant__accept input[aria-invalid="true"] { border-color: #fca5a5; }
.c-grant__accept-error { color: #fecaca; }
.c-grant__next { margin-top: 16px; }
.c-grant__fields { max-width: 880px; margin-inline: auto; }
.c-grant__fields h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; color: var(--head); margin: 8px 0 14px; }
.c-grant__fields h3::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.c-grant__summary { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 18px; background: var(--sand-l); margin-bottom: 22px; font-size: 15px; }
.c-grant__summary .c-icon { color: #16a34a; vertical-align: -3px; margin-inline-end: 4px; }
.c-grant__summary button { border: 0; background: none; padding: 0; font: 700 15px/1.6 var(--font); color: var(--brand); cursor: pointer; }
.c-grant__errors { margin: 0 0 18px; padding: 10px 14px; border-radius: 14px; background: #fef2f2; }
.c-field select { width: 100%; font: 500 16px/1.6 var(--font); color: var(--ink); background: #fbfbfa; border: 1.5px solid #d6dce1; border-radius: 16px; padding: 12px 16px; }
.c-field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(46, 92, 115, .14); background: #fff; }
.c-field select[aria-invalid="true"] { border-color: #dc2626; }
.c-grant__drop { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; border: 1.5px dashed #b9c3cb; background: #fbfbfa; color: var(--muted); font-size: 15px; cursor: pointer; transition: border-color .2s, background .2s; }
.c-grant__drop:hover, .c-grant__drop:focus-within, .c-grant__drop.is-over { border-color: var(--brand); background: #fff; }
.c-grant__drop[aria-invalid="true"] { border-color: #dc2626; }
.c-grant__drop.has-file { border-style: solid; border-color: #22c55e; color: var(--ink); }
.c-grant__drop b { color: var(--brand); }
.c-grant__drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.c-grant__actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; }
.c-grant__sent { max-width: 640px; margin-inline: auto; text-align: center; }
.c-grant__sent p { color: var(--muted); margin: 8px 0 18px; }
.c-grant__ref { display: inline-block; margin-bottom: 22px; padding: 8px 18px; border-radius: 999px; background: var(--sand-l); font-weight: 700; color: var(--brand-d); }
.c-grant__sent .c-btn { display: flex; width: fit-content; margin-inline: auto; }
/* بعد تحميل الصفحة تظهر خطوة وحدة (بدون جافاسكربت تظهر الخطوتان). */
.js [data-grant][data-step="1"] [data-grant-step="2"], .js [data-grant][data-step="2"] [data-grant-step="1"] { display: none; }

/* التذييل */
.c-foot { background: #f1efeb; margin-top: 20px; }
.c-foot__grid { display: grid; grid-template-columns: 1.25fr .9fr 1.25fr 1.3fr; gap: 44px; padding: 80px 0 60px; }
.c-foot__brand img { height: 60px; width: auto; margin-bottom: 18px; }
.c-foot__brand p { color: var(--muted); font-size: 16.5px; max-width: 320px; }
.c-foot h3 { font-size: 20px; color: var(--head); margin-bottom: 18px; }
.c-foot__links { display: grid; gap: 10px; }
.c-foot__links a { color: var(--ink); font-size: 16px; transition: color .2s; }
.c-foot__links a:hover { color: var(--brand); }
.c-foot__note { color: var(--muted); font-size: 15px; margin-bottom: 12px; }
.c-subscribe { display: flex; align-items: stretch; background: #fff; border-radius: 999px; padding: 5px; border: 1.5px solid #dcd8cf; }
.c-subscribe input { border: 0; background: transparent; border-radius: 999px; padding: 10px 16px; }
.c-subscribe input:focus { box-shadow: none; }
.c-subscribe button { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; background: var(--grad-btn); color: #fff; display: grid; place-items: center; }
.c-foot__contact { display: grid; gap: 8px; margin-top: 20px; }
.c-foot__contact li { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 15.5px; }
.c-foot__contact a:hover { color: var(--brand); }
.c-social { display: flex; gap: 10px; margin-top: 18px; }
.c-social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #d8d2c7; color: var(--brand-d); transition: background-color .2s, color .2s; }
.c-social a:hover { background: var(--brand); color: #fff; }
.c-foot__bottom { background: #d9d3c8; padding: 18px 0; text-align: center; font-size: 15.5px; color: var(--ink); }
.c-foot__bottom span { color: var(--brand); font-weight: 700; }

/* الظهور عند التمرير */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* الشاشات المتوسطة */
@media (max-width: 1180px) {
  .c-head__bar { gap: 16px; }
  .c-nav > a { padding: 8px 11px; font-size: 16px; }
  .c-logo img { height: 40px; }
}
@media (max-width: 1060px) {
  .c-burger { display: inline-flex; }
  .c-nav { position: absolute; inset: calc(100% + 10px) 0 auto; flex-direction: column; align-items: stretch; gap: 4px; background: #fff; border-radius: 26px; padding: 14px; box-shadow: 0 24px 60px -24px rgba(19, 41, 58, .55); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s; }
  .c-head.is-open .c-nav { opacity: 1; visibility: visible; transform: none; }
  .c-head.is-open .c-burger__open { display: none; }
  .c-head.is-open .c-burger__close { display: block; }
  .c-head__bar { position: relative; }
  .c-nav > a { padding: 12px 18px; font-size: 17px; }
  .c-nav > a.is-active { background: var(--sand-l); }
  .c-nav > a.is-active::after { display: none; }
  .c-hero__grid, .c-split, .c-split--wide, .c-pillars__grid, .c-contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .c-hero { padding-top: 150px; }
  .c-hero__text { text-align: center; }
  .c-plate { order: -1; width: min(420px, 100%); padding: 32px 40px; }
  .c-grant__grid { grid-template-columns: 1fr; }
  .c-grant__cost { position: relative; top: auto; }
  .c-grant__band { grid-template-columns: 1fr; text-align: center; }
  .c-grant__band-icon { margin: 0 auto; }
  .c-grant__stats { justify-content: center; }
  .c-hero__grid { margin-bottom: 56px; }
  .c-hero__text p { margin-inline: auto; }
  .c-hero .c-actions { justify-content: center; }
  .c-split__media { order: -1; }
  .c-sticky { position: static; }
  .c-stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .c-stat:nth-child(3) { border-inline-start: 0; }
  .c-foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .c-wrap { width: min(1240px, 100% - 32px); }
  .c-login { display: none; }
  .c-nav__login { display: grid; gap: 10px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
  .c-nav__login .c-btn { padding: 12px 18px; font-size: 16px; }
  .c-head__bar { padding: 8px 10px 8px 18px; padding-inline-start: 18px; justify-content: space-between; }
  .c-logo img { height: 36px; }
  .c-section { padding: 76px 0; }
  .c-hero { padding: 144px 0 90px; }
  .c-plate { padding: 26px 30px; border-radius: 32px; }
  .c-plate::before { border-radius: 42px; inset: -10px; }
  .c-gcard { border-radius: 32px; }
  .c-gcard__screen { padding: 26px 22px 22px; }
  .c-gcard__apps { gap: 10px; }
  .c-gcard__apps i { border-radius: 14px; }
  .c-gcard__body { padding: 18px 20px 22px; }
  .c-grant__status { justify-content: center; text-align: center; }
  .c-grant__status-dates { justify-content: center; }
  .c-grant { padding: 44px 0 70px; }
  .c-grant__steps { gap: 6px; }
  .c-grant__steps li { padding: 5px 10px 5px 6px; font-size: 13px; gap: 6px; }
  .c-grant__steps b { width: 24px; height: 24px; font-size: 13px; }
  .c-grant__card { padding: 24px 18px; border-radius: 26px; }
  .c-grant__band { padding: 26px 20px; border-radius: 26px; }
  .c-grant__band h2 { font-size: 26px; }
  .c-grant__services { grid-template-columns: 1fr; }
  .c-grant__actions { flex-direction: column-reverse; align-items: stretch; }
  .c-portal { grid-template-columns: 1fr; gap: 44px; }
  .c-portal__card { flex-direction: column; text-align: center; padding: 30px 22px 46px; }
  .c-portal__body strong { font-size: 25px; }
  .c-portal__go { inset-inline-end: auto; left: 50%; translate: -50% 0; }
  .c-heading { margin-bottom: 32px; }
  .c-pill { border-radius: 30px; padding: 22px; gap: 16px; align-items: flex-start; }
  .c-pill__num { width: 52px; height: 52px; font-size: 18px; }
  .c-pill h3 { font-size: 20px; }
  .c-photos, .c-svc-grid, .c-row { grid-template-columns: 1fr; }
  .c-svc { flex-direction: column; text-align: center; border-radius: 36px; padding: 30px 24px; gap: 18px; min-height: 0; }
  .c-svc ul { justify-items: center; }
  .c-svc__icon { width: 104px; height: 104px; border-width: 10px; }
  .c-svc__icon .c-icon { width: 42px; height: 42px; }
  .c-banner__box { padding: 64px 24px; border-radius: 28px; }
  .c-card { border-radius: 32px; flex-direction: column; text-align: center; padding: 26px 22px 30px; gap: 16px; }
  .c-card img { width: 120px; height: 120px; }
  .c-card__go { position: static; translate: none; margin: 0 auto; }
  .c-stats__grid { grid-template-columns: 1fr 1fr; }
  .c-stat { padding: 10px 8px; }
  .c-stat h3 { font-size: 19px; }
  .c-stat p { font-size: 14.5px; }
  .c-form-card { padding: 28px 20px; border-radius: 26px; }
  .c-foot__grid { grid-template-columns: 1fr; gap: 36px; padding: 60px 0 44px; }
  .c-marquee__list { gap: 48px; padding-inline-end: 48px; }
  .c-marquee__list img { height: 54px; }
  .c-phero { padding: 140px 0 80px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
