/* ==========================================================================
   جائزة صنّاع الأثر — واجهة الموقع
   1. المتغيرات  2. الأساسيات  3. المكوّنات  4. الترويسة والتذييل
   5. الأقسام   6. الصفحات الداخلية  7. نموذج الترشح  8. الاستجابة
   ========================================================================== */

/* 1. المتغيرات --------------------------------------------------------- */
:root {
    --navy: #001B6A;
    --deep: #000F3D;
    --royal: #0B46C2;
    --cyan: #16BCFF;
    --cyan-ink: #0077B3;         /* سماوي داكن للنصوص على الأبيض (تباين AA) */
    --sky: #DDF3FF;
    --ice: #F3F7FC;
    --gold: #C6A15B;
    --ink: #0E1530;
    --grey: #5D6579;
    --line: #DCE2EC;
    --ok: #12805C;
    --bad: #C2362B;

    --font: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow: 0 12px 40px -18px rgba(0, 27, 106, .35);
    --container: 1200px;
    --gutter: clamp(16px, 4vw, 32px);
    --header-h: 76px;
    --dark-grad: radial-gradient(110% 90% at 0% 100%, #0B46C2 0%, rgba(11, 70, 194, 0) 55%),
                 radial-gradient(70% 70% at 100% 0%, #06308F 0%, rgba(6, 48, 143, 0) 60%),
                 linear-gradient(160deg, var(--navy) 0%, var(--deep) 100%);
}

/* 2. الأساسيات --------------------------------------------------------- */
*, *::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; direction: rtl; text-align: right; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--royal); text-decoration: none; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { margin: 0; color: var(--navy); line-height: 1.35; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; top: -60px; right: 16px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 10px; }
.skip:focus { top: 12px; color: #fff; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1em; height: 1em; flex: none; }
.muted { color: var(--grey); }

/* 3. المكوّنات --------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 50px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent;
    font-weight: 600; font-size: 16px; line-height: 1; white-space: nowrap; transition: .2s ease;
}
.btn .icon { width: 20px; height: 20px; }
.btn-primary { background: var(--cyan); color: var(--navy); }
.btn-primary:hover { background: #fff; color: var(--navy); box-shadow: 0 8px 24px -8px rgba(22, 188, 255, .8); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--royal); color: #fff; }
.btn-outline { border-color: currentColor; color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--navy); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn-lg { min-height: 58px; padding: 0 34px; font-size: 17px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--royal); }
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--cyan); border-radius: 2px; }
.on-dark .kicker { color: var(--cyan); }

.sec { padding-block: clamp(64px, 9vw, 112px); }
.sec-ice { background: var(--ice); }
.sec-dark { background: var(--dark-grad); color: #fff; position: relative; overflow: hidden; }
.sec-dark h2, .sec-dark h3 { color: #fff; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(32px, 5vw, 56px); flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(28px, 4vw, 42px); margin-top: 8px; }
.sec-head .lead { max-width: 520px; color: var(--grey); font-size: 18px; font-weight: 300; }
.sec-dark .sec-head .lead { color: rgba(255, 255, 255, .8); }

/* نقش «أعمدة الأثر» المستوحى من الشعار */
.pattern {
    position: absolute; inset: 0; pointer-events: none; opacity: .06;
    background-image: url("../img/brand/pattern-white.svg"); background-size: 360px auto;
}
.pattern-light { opacity: .5; background-image: url("../img/brand/pattern-sky.svg"); }

.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; background: var(--sky); color: var(--navy); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); display: inline-block; }
.dot-live { box-shadow: 0 0 0 0 rgba(22, 188, 255, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(22, 188, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(22, 188, 255, 0); } }

.icon-badge { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--sky); color: var(--navy); flex: none; }
.icon-badge .icon { width: 32px; height: 32px; }
.icon-badge.is-navy { background: var(--navy); color: #fff; }

/* 4. الترويسة والتذييل -------------------------------------------------- */
.patron-bar { background: var(--deep); color: rgba(255, 255, 255, .82); font-size: 13.5px; text-align: center; padding: 8px var(--gutter); line-height: 1.6; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 30px -20px rgba(0, 27, 106, .4); }
.header-in { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand img { height: 44px; width: auto; }
.nav { display: flex; gap: 4px; margin-inline-start: auto; }
.nav a { padding: 8px 12px; border-radius: 10px; color: var(--ink); font-size: 15.5px; font-weight: 500; white-space: nowrap; }
.nav a:hover { background: var(--ice); color: var(--navy); }
.nav a.is-active { color: var(--navy); font-weight: 700; background: var(--sky); }
.header-cta { margin-inline-start: 8px; }
.menu-btn { display: none; margin-inline-start: auto; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 20px; height: 2px; background: currentColor; margin: auto; position: relative; transition: .2s; border-radius: 2px; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.nav-open .menu-btn span { background: transparent; }
.nav-open .menu-btn span::before { top: 0; transform: rotate(45deg); }
.nav-open .menu-btn span::after { top: 0; transform: rotate(-45deg); }

.site-footer { background: var(--deep); color: rgba(255, 255, 255, .75); padding-top: 72px; font-size: 15.5px; position: relative; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; position: relative; }
.foot-brand img { height: 92px; width: auto; }
.foot-brand p { margin-top: 18px; max-width: 320px; font-weight: 300; }
.site-footer h3 { color: #fff; font-size: 17px; margin-bottom: 16px; }
.site-footer a { color: rgba(255, 255, 255, .8); }
.site-footer a:hover { color: var(--cyan); }
.foot-links li { margin-bottom: 8px; }
.foot-contact li { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.foot-contact .icon { width: 22px; height: 22px; color: var(--cyan); --icon-dot: #fff; }
.partners-strip { margin-top: 56px; background: #fff; border-radius: var(--radius) var(--radius) 0 0; padding: 26px var(--gutter); display: flex; align-items: center; justify-content: center; gap: clamp(20px, 5vw, 64px); flex-wrap: wrap; position: relative; }
.partner { display: flex; align-items: center; gap: 14px; color: var(--grey); font-size: 13.5px; }
.partner img { height: 58px; width: auto; }
.partner-sep { width: 1px; height: 46px; background: var(--line); }
.copyright { background: #000A2B; text-align: center; padding: 16px var(--gutter); font-size: 13.5px; color: rgba(255, 255, 255, .6); position: relative; }

.mobile-cta { display: none; }

/* 5. أقسام الرئيسية ----------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: var(--dark-grad); color: #fff; min-height: min(760px, calc(100vh - var(--header-h) - 38px)); display: flex; align-items: center; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .22; mix-blend-mode: luminosity; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(0, 15, 61, .95) 0%, rgba(0, 27, 106, .82) 45%, rgba(0, 27, 106, .35) 100%); }
.hero-mark { position: absolute; left: -6%; bottom: -14%; width: min(640px, 55vw); opacity: .09; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; padding-block: 72px; width: 100%; }
.hero h1 { color: #fff; font-size: clamp(40px, 6.4vw, 78px); line-height: 1.2; margin-top: 18px; }
.hero h1 span { color: var(--cyan); }
.hero .sub { font-size: clamp(18px, 2vw, 22px); font-weight: 300; color: rgba(255, 255, 255, .9); margin-top: 10px; }
.hero .tagline { margin-top: 22px; font-size: 18px; max-width: 560px; color: rgba(255, 255, 255, .78); font-weight: 300; }
.hero-actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.status-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); font-size: 15px; font-weight: 500; }
.hero-card { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); border-radius: 24px; padding: 30px; backdrop-filter: blur(10px); }
.hero-card h2 { color: #fff; font-size: 18px; font-weight: 600; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 18px; direction: rtl; }
.countdown div { background: rgba(0, 15, 61, .55); border-radius: 14px; padding: 14px 6px; text-align: center; }
.countdown b { display: block; font-size: 34px; font-weight: 600; color: #fff; line-height: 1.1; font-variant-numeric: tabular-nums; }
.countdown span { font-size: 13px; color: rgba(255, 255, 255, .7); }
.hero-card .deadline { margin-top: 18px; display: flex; justify-content: space-between; font-size: 15px; color: rgba(255, 255, 255, .8); border-top: 1px solid rgba(255, 255, 255, .16); padding-top: 16px; }
.hero-card .deadline b { color: var(--cyan); }
.hero-sponsor { margin-top: 22px; display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 16px; padding: 12px 16px; }
.hero-sponsor small { color: var(--grey); font-size: 13px; line-height: 1.5; }
.hero-sponsor img { height: 48px; width: auto; }

.stats { position: relative; margin-top: -1px; background: var(--navy); color: #fff; }
.stats-in { display: grid; grid-template-columns: repeat(2, 1fr); }
.stat { padding: 30px 20px; text-align: center; border-inline-start: 1px solid rgba(255, 255, 255, .12); }
.stat:first-child { border: 0; }
.stat b { display: block; font-size: clamp(30px, 3.4vw, 42px); font-weight: 300; color: #fff; line-height: 1.2; }
.stat span { color: var(--cyan); font-size: 15px; font-weight: 600; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: 28px; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.about-media .badge { position: absolute; bottom: -26px; inset-inline-start: -10px; background: var(--navy); color: #fff; border-radius: 22px; padding: 20px 24px; max-width: 280px; box-shadow: var(--shadow); }
.about-media .badge b { color: var(--cyan); display: block; font-size: 15px; }
.about-text h2 { font-size: clamp(28px, 3.6vw, 40px); margin: 10px 0 20px; }
.about-text .lead { font-size: 19px; font-weight: 300; color: var(--ink); }
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.vm div { border-top: 2px solid var(--line); padding-top: 14px; position: relative; }
.vm div::before { content: ""; position: absolute; top: -2px; right: 0; width: 40px; height: 2px; background: var(--cyan); }
.vm h3 { font-size: 17px; color: var(--royal); }
.vm p { font-size: 15.5px; color: var(--grey); margin-top: 4px; }

.tracks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.track-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px 28px; transition: .25s ease; overflow: hidden; }
.track-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.track-card .num { position: absolute; top: 18px; left: 24px; font-size: 44px; font-weight: 700; color: transparent; -webkit-text-stroke: 1.2px #CFE3F7; line-height: 1; direction: ltr; }
.track-card .pre { margin-top: 22px; font-size: 14px; font-weight: 600; color: var(--cyan-ink); }
.track-card h3 { font-size: 22px; }
.track-card p { color: var(--grey); font-size: 15.5px; margin-top: 6px; flex: 1; }
.track-card .links { display: flex; gap: 16px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 600; }
.track-card .links a { display: inline-flex; gap: 6px; align-items: center; }
.sec-ice .track-card { border-color: transparent; }

.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.why { padding: 10px 26px 0; border-inline-start: 1px solid rgba(255, 255, 255, .14); }
.why:first-child { border: 0; padding-inline-start: 0; }
.why .ring { width: 76px; height: 76px; border-radius: 50%; border: 1.5px solid rgba(22, 188, 255, .6); display: grid; place-items: center; color: #fff; }
.why .ring .icon { width: 36px; height: 36px; }
.why .n { display: block; margin-top: 26px; font-size: 26px; font-weight: 700; color: transparent; -webkit-text-stroke: 1px var(--cyan); direction: ltr; text-align: right; }
.why h3 { font-size: 21px; margin-top: 6px; }

.stages { display: flex; align-items: stretch; gap: 12px; height: 440px; border-bottom: 3px solid var(--navy); }
.stage { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; }
.stage .cap { width: 14px; height: 14px; border-radius: 50%; background: var(--cyan); margin-bottom: 10px; }
.stage .col { width: 100%; border-radius: 70px 70px 0 0; background: linear-gradient(180deg, var(--royal), var(--navy)); color: #fff; text-align: center; padding: 26px 10px 18px; }
.stage .col b { display: block; font-size: 26px; font-weight: 300; direction: ltr; line-height: 1; }
.stage .col .icon { width: 30px; height: 30px; margin: 14px auto 10px; }
.stage .col span { display: block; font-size: 15px; font-weight: 600; line-height: 1.5; }
.stage .col small { display: block; font-size: 12.5px; opacity: .75; margin-top: 4px; }
.stage:last-child .col { background: linear-gradient(180deg, var(--cyan), #0E8FE8); }
.stage:last-child .cap { background: var(--navy); }

.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.tl { border-radius: 20px; padding: 24px; background: #fff; border: 1px solid var(--line); position: relative; }
.tl .icon-badge { width: 52px; height: 52px; }
.tl .icon-badge .icon { width: 26px; height: 26px; }
.tl h3 { font-size: 18px; margin-top: 16px; }
.tl .date { font-size: 16px; font-weight: 600; color: var(--royal); margin-top: 4px; }
.tl.is-current { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(22, 188, 255, .15); }
.tl.is-current::after { content: "المرحلة الحالية"; position: absolute; top: 18px; left: 18px; font-size: 12.5px; font-weight: 600; color: var(--navy); background: var(--sky); padding: 3px 12px; border-radius: 99px; }
.tl.is-done { opacity: .6; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; top: 32px; right: 10%; left: 10%; height: 2px; background: repeating-linear-gradient(270deg, var(--line) 0 10px, transparent 10px 18px); }
.step { position: relative; text-align: center; }
.step .icon-badge { margin: 0 auto; box-shadow: 0 0 0 8px #fff; }
.sec-ice .step .icon-badge { box-shadow: 0 0 0 8px var(--ice); }
.step b { display: block; margin-top: 16px; font-size: 14px; color: var(--cyan-ink); }
.step p { font-size: 16.5px; font-weight: 600; color: var(--navy); margin-top: 4px; }

.faq { max-width: 900px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 18.5px; font-weight: 600; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23001B6A' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; transition: .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--cyan); }
.faq .ans { padding: 0 0 24px; color: var(--grey); font-size: 16.5px; max-width: 760px; }

.cta-band { position: relative; overflow: hidden; border-radius: 32px; background: var(--dark-grad); color: #fff; padding: clamp(36px, 6vw, 64px); display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.4vw, 38px); }
.cta-band p { color: rgba(255, 255, 255, .8); margin-top: 8px; font-weight: 300; font-size: 18px; }
.cta-band .stair { position: absolute; left: 3%; bottom: 0; width: 220px; opacity: .14; }
.cta-band > * { position: relative; }

.sponsor-sec { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.sponsor-logo { background: #fff; border-radius: 28px; padding: 40px; display: grid; place-items: center; min-height: 240px; border: 1px solid var(--line); }
.sponsor-logo img { max-height: 150px; width: auto; }
.sponsor-sec .patron { font-size: 15px; color: var(--grey); margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.sponsor-sec h2 { font-size: clamp(24px, 3vw, 32px); margin-top: 6px; }

/* 6. الصفحات الداخلية -------------------------------------------------- */
.page-hero { position: relative; overflow: hidden; background: var(--dark-grad); color: #fff; padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 7vw, 80px); }
.page-hero h1 { color: #fff; font-size: clamp(34px, 5vw, 56px); margin-top: 10px; }
.page-hero p { margin-top: 12px; max-width: 680px; color: rgba(255, 255, 255, .82); font-size: 19px; font-weight: 300; }
.crumbs { display: flex; gap: 8px; font-size: 14.5px; color: rgba(255, 255, 255, .65); }
.crumbs a { color: rgba(255, 255, 255, .85); }
.page-hero .hero-mark { width: 380px; bottom: -30%; left: 2%; }

.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.value { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px 22px; }
.value h3 { font-size: 20px; margin-top: 16px; }
.value p { font-size: 15px; color: var(--grey); margin-top: 6px; }
.goals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 26px; counter-reset: g; }
.goal { border-top: 2px solid var(--line); padding-top: 16px; position: relative; }
.goal::before { content: ""; position: absolute; top: -2px; right: 0; width: 44px; height: 2px; background: var(--cyan); }
.goal b { display: block; font-size: 34px; font-weight: 700; color: transparent; -webkit-text-stroke: 1.2px var(--cyan); direction: ltr; text-align: right; line-height: 1.1; }
.goal p { font-weight: 600; color: var(--navy); margin-top: 10px; }
.committees { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.committee { display: flex; align-items: center; gap: 16px; padding: 22px; border-radius: 18px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); font-size: 18px; font-weight: 600; color: #fff; }
.committee .icon { width: 34px; height: 34px; color: var(--cyan); --icon-dot: #fff; }

.track-row { display: grid; grid-template-columns: 340px 1fr; gap: 40px; padding: 40px; border-radius: 26px; background: #fff; border: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 20px); }
.track-row + .track-row { margin-top: 22px; }
.track-row .meta h2 { font-size: 26px; margin-top: 18px; }
.track-row .meta p { color: var(--grey); margin-top: 6px; }
.track-row .meta .btn { margin-top: 22px; }
.track-row .meta .pre { font-size: 14px; font-weight: 600; color: var(--cyan-ink); margin-top: 18px; }
.weights h3 { font-size: 16px; color: var(--royal); margin-bottom: 4px; }
.weight { margin-top: 16px; }
.weight .lbl { display: flex; justify-content: space-between; gap: 12px; font-size: 16px; }
.weight .lbl b { color: var(--navy); direction: ltr; }
.weight .bar { height: 10px; border-radius: 10px; background: var(--ice); margin-top: 6px; overflow: hidden; }
.weight .bar i { display: block; height: 100%; border-radius: 10px; background: linear-gradient(270deg, var(--navy), var(--royal) 70%, var(--cyan)); transform-origin: right; }

.track-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.track-tabs a { padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--navy); font-weight: 600; font-size: 15px; display: inline-flex; gap: 8px; align-items: center; }
.track-tabs a .icon { width: 20px; height: 20px; }
.track-tabs a:hover { border-color: var(--cyan); }

.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.checklist li { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 500; color: var(--navy); }
.checklist .n { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--cyan); display: grid; place-items: center; font-weight: 700; font-size: 15px; direction: ltr; }
.docs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.doc { border-radius: 20px; padding: 24px; background: #fff; border: 1px solid var(--line); }
.doc .icon-badge { width: 52px; height: 52px; }
.doc .icon-badge .icon { width: 26px; height: 26px; }
.doc h3 { font-size: 17px; margin-top: 16px; }
.doc small { color: var(--grey); }
.doc .fmt { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--bad); background: #FDECEA; border-radius: 6px; padding: 1px 10px; direction: ltr; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.list-card { border-radius: 24px; padding: 32px; background: #fff; border: 1px solid var(--line); }
.list-card h3 { display: flex; align-items: center; gap: 12px; font-size: 21px; }
.list-card h3 .icon { width: 30px; height: 30px; }
.list-card li { display: flex; gap: 12px; margin-top: 14px; font-size: 17px; }
.list-card li::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); margin-top: 11px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; }
.contact-cards li { display: flex; gap: 16px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-cards h3 { font-size: 17px; }
.contact-cards p { color: var(--grey); }

.notice { display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; border-radius: 16px; background: var(--sky); color: var(--navy); font-weight: 500; }
.notice .icon { width: 26px; height: 26px; margin-top: 2px; }
.notice.is-warn { background: #FFF5E0; color: #7A4B00; }
.notice.is-ok { background: #E3F6EE; color: #0B5A41; }
.notice.is-err { background: #FDECEA; color: #8E1F16; }

/* 7. النماذج ونموذج الترشح ---------------------------------------------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: clamp(24px, 4vw, 44px); box-shadow: 0 30px 80px -60px rgba(0, 27, 106, .5); }
.field { display: block; margin-bottom: 20px; }
.field > span { display: block; font-weight: 600; color: var(--navy); font-size: 15.5px; margin-bottom: 8px; }
.field > span i { color: var(--bad); font-style: normal; }
.field input:not([type=checkbox]):not([type=radio]):not([type=file]), .field select, .field textarea {
    width: 100%; min-height: 52px; padding: 12px 16px; font: inherit; font-size: 16px; color: var(--ink);
    background: #fff; border: 1.5px solid var(--line); border-radius: 14px; transition: .15s;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.8; }
.field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23001B6A' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") left 14px center / 18px no-repeat; padding-left: 42px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(22, 188, 255, .18); }
.field .hint { display: block; font-size: 14px; color: var(--grey); margin-top: 6px; }
.field .err { display: none; font-size: 14px; color: var(--bad); margin-top: 6px; font-weight: 500; }
.field.has-error input, .field.has-error select, .field.has-error textarea, .field.has-error .drop { border-color: var(--bad); }
.field.has-error .err { display: block; }
.field input[dir=ltr] { text-align: right; }
.grid-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.grid-fields .full { grid-column: 1 / -1; }

.wizard-progress { display: flex; gap: 8px; margin-bottom: 36px; counter-reset: wp; }
.wizard-progress li { flex: 1; font-size: 14px; font-weight: 600; color: var(--grey); }
.wizard-progress li::before { content: ""; display: block; height: 6px; border-radius: 6px; background: var(--line); margin-bottom: 10px; transition: .3s; }
.wizard-progress li.is-done::before, .wizard-progress li.is-active::before { background: var(--cyan); }
.wizard-progress li.is-active { color: var(--navy); }
.wizard-progress li b { color: var(--cyan-ink); margin-inline-end: 4px; }
.step-panel h2 { font-size: 24px; margin-bottom: 6px; }
.step-panel > p { color: var(--grey); margin-bottom: 26px; }
.js .step-panel:not(.is-active) { display: none; }
.wizard-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }

.track-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.track-picker label { position: relative; cursor: pointer; }
.track-picker input { position: absolute; opacity: 0; }
.track-picker .opt { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 20px; border-radius: 18px; border: 1.5px solid var(--line); transition: .15s; }
.track-picker .opt .icon { width: 34px; height: 34px; color: var(--navy); }
.track-picker .opt strong { color: var(--navy); font-size: 16.5px; line-height: 1.4; }
.track-picker .opt small { color: var(--grey); font-size: 14px; line-height: 1.6; }
.track-picker input:checked + .opt { border-color: var(--cyan); background: var(--sky); box-shadow: 0 0 0 3px rgba(22, 188, 255, .2); }
.track-picker input:focus-visible + .opt { outline: 3px solid var(--cyan); outline-offset: 2px; }

.drop { position: relative; display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1.5px dashed #B9C6DA; border-radius: 16px; background: var(--ice); transition: .15s; }
.drop:hover, .drop.is-over { border-color: var(--cyan); background: var(--sky); }
.drop input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop .icon { width: 34px; height: 34px; color: var(--navy); }
.drop strong { display: block; color: var(--navy); font-size: 15.5px; }
.drop small { color: var(--grey); font-size: 13.5px; }
.drop.has-file { border-style: solid; border-color: var(--ok); background: #EEF9F4; }
.drop.has-file small { color: var(--ok); font-weight: 600; }

.check { display: flex; gap: 12px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); cursor: pointer; font-size: 16.5px; }
.check input { flex: none; width: 22px; height: 22px; margin-top: 4px; accent-color: var(--navy); }
.word-count { float: left; font-size: 13.5px; color: var(--grey); }
.word-count.over { color: var(--bad); font-weight: 600; }

.review dl { display: grid; grid-template-columns: 220px 1fr; gap: 10px 20px; margin: 0; font-size: 15.5px; }
.review dt { color: var(--grey); }
.review dd { margin: 0; font-weight: 600; color: var(--navy); }
.review h3 { font-size: 17px; margin: 24px 0 10px; color: var(--royal); }

.success { text-align: center; max-width: 720px; margin-inline: auto; }
.success .tick { width: 96px; height: 96px; border-radius: 50%; background: #E3F6EE; color: var(--ok); display: grid; place-items: center; margin: 0 auto 24px; }
.success .tick .icon { width: 50px; height: 50px; --icon-dot: var(--ok); }
.success .ref { display: inline-block; margin: 20px 0; padding: 14px 32px; border-radius: 16px; background: var(--navy); color: #fff; font-size: 28px; font-weight: 600; letter-spacing: 1px; direction: ltr; }

.tpl-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tpl-link { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); color: var(--navy); transition: .2s; }
.tpl-link:hover { border-color: var(--cyan); box-shadow: var(--shadow); }
.tpl-link .icon { width: 34px; height: 34px; }
.tpl-link span { flex: 1; }
.tpl-link strong { display: block; font-size: 15.5px; line-height: 1.5; }
.tpl-link small { color: var(--grey); }
.tpl-link b { color: var(--royal); font-size: 14px; white-space: nowrap; }
.tpl-inline { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-weight: 600; font-size: 15px; }
.tpl-inline .icon { width: 22px; height: 22px; }
@media (max-width: 1080px) { .tpl-links { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .tpl-links { grid-template-columns: 1fr; } }
.brand-sep { width: 1px; height: 34px; background: var(--line); flex: none; }
.brand-council { height: 40px; width: auto; flex: none; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: #fff; --icon-dot: var(--cyan); }
.socials a:hover { background: var(--cyan); color: var(--navy); --icon-dot: var(--navy); }
.socials .icon { width: 20px; height: 20px; }
.copy-in { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; }
@media (max-width: 1280px) { .brand-council { height: 34px; } }
@media (max-width: 760px) { .brand-council { height: 30px; } .brand-sep { height: 26px; } .copy-in { justify-content: center; text-align: center; } }
@media (max-width: 400px) { .brand-sep, .brand-council { display: none; } }
/* 8. الاستجابة ---------------------------------------------------------
   شاشة كبيرة > 1280 | حاسوب 1081–1280 | لوحي أفقي 901–1080 | لوحي 761–900 | جوال ≤ 760 | جوال صغير < 360 */
@media (min-width: 1600px) {
    :root { --container: 1320px; }
    body { font-size: 18px; }
}
@media (max-width: 1280px) {
    .nav a { padding: 8px 9px; font-size: 14.5px; }
    .header-in { gap: 18px; }
}
@media (max-width: 1080px) {
    .menu-btn { display: grid; place-items: center; }
    .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 2px; background: #fff; padding: 12px var(--gutter) 24px; border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -30px rgba(0, 0, 0, .3); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s; max-height: calc(100vh - var(--header-h)); overflow: auto; }
    .nav a { padding: 14px 12px; font-size: 17px; }
    .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
    .header-cta { margin-inline-start: auto; }
    .menu-btn { margin-inline-start: 0; }
    .tracks-grid { grid-template-columns: repeat(2, 1fr); }
    .values { grid-template-columns: repeat(3, 1fr); }
    .goals, .docs { grid-template-columns: repeat(2, 1fr); }
    .timeline { grid-template-columns: repeat(2, 1fr); }
    .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
    .foot-brand { grid-column: 1 / -1; }
    .track-row { grid-template-columns: 1fr; gap: 24px; }
    .why-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 0; }
    .why:nth-child(3) { border: 0; padding-inline-start: 0; }
    .track-picker { grid-template-columns: repeat(2, 1fr); }
    .stage .col { padding: 20px 6px 14px; }
    .stage .col span { font-size: 13.5px; }
    .stage .col b { font-size: 22px; }
}
@media (max-width: 900px) {
    .hero { min-height: 0; }
    .hero-in { grid-template-columns: 1fr; padding-block: 56px; gap: 32px; }
    .hero-card { max-width: 560px; }
    .about-grid, .sponsor-sec, .contact-grid { grid-template-columns: 1fr; }
    .about-media { max-width: 620px; }
    .sec-head { align-items: flex-start; }
    .stages { height: 400px; gap: 6px; }
    .stage .col { border-radius: 40px 40px 0 0; }
    .stage .col .icon { width: 24px; height: 24px; margin: 10px auto 6px; }
    .stage .col small { display: none; }
    .checklist { grid-template-columns: 1fr; }
    .committees { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 760px) {
    :root { --header-h: 66px; }
    body { font-size: 16px; }
    .patron-bar { font-size: 12px; padding-block: 6px; }
    .brand img { height: 36px; }
    .header-cta { display: none; }
    .menu-btn { margin-inline-start: auto; }
    .sec { padding-block: 56px; }
    .sec-head { margin-bottom: 28px; gap: 16px; }
    .sec-head .lead { font-size: 16px; }
    .hero h1 { margin-top: 14px; }
    .hero .tagline { font-size: 16px; margin-top: 14px; }
    .hero-actions .btn { flex: 1 1 100%; }
    .hero-card { padding: 22px; border-radius: 20px; }
    .countdown { gap: 6px; }
    .countdown b { font-size: 28px; }
    .stats-in { grid-template-columns: repeat(2, 1fr); }
    .stat { padding: 22px 12px; border-top: 1px solid rgba(255, 255, 255, .12); }
    .stat:nth-child(odd) { border-inline-start: 0; }
    .vm, .two-col, .grid-fields { grid-template-columns: 1fr; }
    .about-media .badge { position: relative; inset: auto; margin: -36px 16px 0; max-width: none; }
    /* بطاقات المسارات: أفقية ومضغوطة */
    .tracks-grid { grid-template-columns: 1fr; gap: 14px; }
    .track-card { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; padding: 22px 20px; }
    .track-card .icon-badge { width: 56px; height: 56px; grid-row: span 3; }
    .track-card .icon-badge .icon { width: 28px; height: 28px; }
    .track-card .pre { margin-top: 0; }
    .track-card h3 { font-size: 19px; }
    .track-card .num { font-size: 34px; top: 14px; left: 16px; }
    .track-card .links, .track-card .weights { grid-column: 1 / -1; }
    .track-card .links { margin-top: 14px; padding-top: 14px; justify-content: space-between; }
    .why-grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
    .why, .why:first-child, .why:nth-child(3) { border: 0; padding: 0; }
    .why .ring { width: 60px; height: 60px; }
    .why .ring .icon { width: 28px; height: 28px; }
    .why .n { margin-top: 14px; font-size: 20px; }
    .why h3 { font-size: 17px; }
    /* المراحل: قائمة عمودية */
    .stages { flex-direction: column; align-items: stretch; height: auto; border: 0; gap: 8px; }
    .stage { flex-direction: row; }
    .stage .cap { display: none; }
    .stage .col { height: auto !important; border-radius: 16px; display: grid; grid-template-columns: 36px 30px 1fr; align-items: center; gap: 12px; text-align: right; padding: 14px 18px; }
    .stage .col .icon { margin: 0; }
    .stage .col span { font-size: 15px; }
    .stage .col small { display: inline; margin: 0 6px 0 0; }
    /* الجدول الزمني: صفوف أفقية */
    .timeline { grid-template-columns: 1fr; gap: 10px; }
    .tl { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; align-items: center; padding: 16px 18px; }
    .tl .icon-badge { grid-row: span 2; width: 48px; height: 48px; }
    .tl h3 { margin: 0; font-size: 16.5px; }
    .tl .date { margin: 0; font-size: 15px; }
    .tl.is-current::after { top: 12px; left: 12px; font-size: 11.5px; }
    .steps { grid-template-columns: 1fr 1fr; gap: 26px 14px; }
    .steps::before { display: none; }
    .step p { font-size: 15px; }
    .values { grid-template-columns: 1fr 1fr; gap: 12px; }
    .value:last-child { grid-column: 1 / -1; }
    .value { padding: 20px 16px; }
    .value h3 { font-size: 17px; }
    .goals { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
    .goal b { font-size: 26px; }
    .goal p { font-size: 15px; }
    .committees { grid-template-columns: 1fr; }
    .docs { grid-template-columns: 1fr 1fr; gap: 12px; }
    .doc { padding: 18px 16px; }
    .doc h3 { font-size: 15px; }
    .track-tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scrollbar-width: none; }
    .track-tabs::-webkit-scrollbar { display: none; }
    .track-tabs a { flex: none; }
    .track-row { padding: 24px 20px; border-radius: 20px; }
    .track-row .meta h2 { font-size: 22px; }
    .track-row .meta .btn { width: 100%; }
    .weight .lbl { font-size: 15px; }
    .faq summary { font-size: 16.5px; padding: 18px 0; }
    .cta-band { border-radius: 22px; text-align: center; justify-content: center; }
    .cta-band .btn { width: 100%; }
    .sponsor-logo { min-height: 180px; padding: 28px; }
    .page-hero p { font-size: 16.5px; }
    .page-hero .hero-mark { width: 240px; }
    /* التذييل */
    .site-footer { padding-top: 52px; }
    .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
    .foot-grid > div:last-child { grid-column: 1 / -1; }
    .foot-brand img { height: 76px; }
    .partners-strip { flex-direction: column; gap: 18px; }
    .partner-sep { width: 60%; height: 1px; }
    /* النماذج */
    .form-card { border-radius: 20px; }
    .wizard-progress { margin-bottom: 26px; }
    .wizard-progress li span { display: none; }
    .wizard-progress li b { font-size: 13px; }
    .wizard-nav { position: sticky; bottom: 0; background: #fff; margin-inline: -24px; padding: 14px 24px calc(14px + env(safe-area-inset-bottom)); z-index: 5; }
    .wizard-nav .btn { flex: 1; min-height: 48px; padding: 0 14px; }
    .track-picker { grid-template-columns: 1fr; gap: 10px; }
    .track-picker .opt { flex-direction: row; align-items: center; gap: 14px; padding: 14px 16px; }
    .track-picker .opt .icon { width: 30px; height: 30px; }
    .track-picker .opt small { display: none; }
    .drop { padding: 14px 16px; }
    .review dl { grid-template-columns: 1fr; gap: 2px; }
    .review dd { margin-bottom: 10px; }
    .success .ref { font-size: 22px; padding: 12px 20px; }
    .mobile-cta { display: flex; position: fixed; bottom: 0; inset-inline: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); }
    .mobile-cta .btn { flex: 1; }
    body.has-mobile-cta { padding-bottom: 72px; }
}
@media (max-width: 359px) {
    :root { --gutter: 14px; }
    .hero h1 { font-size: 36px; }
    .countdown b { font-size: 23px; }
    .countdown span { font-size: 11.5px; }
    .why-grid, .goals, .docs, .values { grid-template-columns: 1fr; }
    .value:last-child { grid-column: auto; }
    .steps { grid-template-columns: 1fr; }
}@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .js .reveal { opacity: 1 !important; transform: none !important; }
    .js .weight .bar i { transform: none !important; }
}

/* حركة الظهور عند التمرير */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .weight .bar i { transform: scaleX(0); transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.js .is-in .weight .bar i, .js .weight.is-in .bar i { transform: scaleX(1); }

@media print {
    .site-header, .site-footer, .patron-bar, .mobile-cta { display: none; }
}
