/* الموقع العام — نشاطات العراق */
@font-face { font-family: 'Tajawal'; font-weight: 400; font-display: swap; src: url(fonts/tajawal-400-ar.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }
@font-face { font-family: 'Tajawal'; font-weight: 500; font-display: swap; src: url(fonts/tajawal-500-ar.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }
@font-face { font-family: 'Tajawal'; font-weight: 700; font-display: swap; src: url(fonts/tajawal-700-ar.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }
@font-face { font-family: 'Tajawal'; font-weight: 800; font-display: swap; src: url(fonts/tajawal-800-ar.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }
@font-face { font-family: 'Tajawal'; font-weight: 400; font-display: swap; src: url(fonts/tajawal-400-lat.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: 'Tajawal'; font-weight: 700 800; font-display: swap; src: url(fonts/tajawal-700-lat.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F; }

:root {
  --bg: #f5f7f6; --card: #ffffff; --ink: #10231f; --soft: #52645f; --line: #e3e9e7;
  --brand: #0b5f5a; --brand-2: #0e8a7f; --accent: #ff9f1c; --track: #e8eeec;
  --asia: #e4002b; --zain: #1b1b1b; --korek: #00a0df;
  --radius: 18px; --shadow: 0 1px 2px rgba(16,35,31,.06), 0 8px 24px -12px rgba(16,35,31,.18);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0d1614; --card: #14211e; --ink: #e8f1ee; --soft: #9db1ab; --line: #24342f; --brand: #13a091; --brand-2: #5fd3c2; --track: #22332e; --zain: #e8e8e8; --shadow: 0 1px 2px rgba(0,0,0,.3); color-scheme: dark; }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 'Tajawal', system-ui, sans-serif; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 560px; }

/* الرأس */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 19px; white-space: nowrap; }
.nav { display: flex; gap: 4px; }
.nav a { text-decoration: none; color: var(--soft); font-weight: 500; padding: 8px 12px; border-radius: 10px; }
.nav a:hover { background: var(--track); color: var(--ink); }
.nav { align-items: center; }
.nav a { white-space: nowrap; }
.nav .login-btn { display: inline-flex; align-items: center; gap: 6px; margin-inline-start: 6px; padding: 7px 14px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-weight: 700; }
.nav .login-btn:hover { border-color: var(--brand-2); }
.nav .login-btn.on { background: var(--brand); border-color: var(--brand); color: #fff; }

/* البطل */
.hero { padding: 56px 0 40px; background:
  radial-gradient(900px 300px at 85% -10%, color-mix(in srgb, var(--brand-2) 22%, transparent), transparent 70%),
  radial-gradient(600px 260px at 0% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%); }
.hero.small { padding: 36px 0 28px; }
.hero[style*="--c"] { background: radial-gradient(800px 260px at 90% -20%, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 6px 12px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); color: var(--soft); font-size: 14px; }
.eyebrow b { color: var(--brand); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
h1 { margin: 0; font-size: clamp(26px, 5vw, 40px); font-weight: 800; line-height: 1.25; }
.big { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 8px 0 6px; }
.big b { font-size: clamp(54px, 13vw, 104px); font-weight: 800; line-height: 1; color: var(--brand); letter-spacing: -1px; font-variant-numeric: tabular-nums; direction: ltr; }
.hero.small .big b { font-size: clamp(44px, 10vw, 72px); color: var(--c, var(--brand)); }
.big span { font-size: clamp(18px, 3vw, 24px); font-weight: 700; color: var(--soft); }
.lead { margin: 0; max-width: 620px; color: var(--soft); font-size: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.chips li { padding: 8px 14px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); font-size: 15px; color: var(--soft); }
.chips b { color: var(--ink); }
.crumbs { margin: 0 0 12px; color: var(--soft); font-size: 14px; }
.crumbs a { text-decoration: none; color: var(--brand); }
.hero-cat { display: flex; align-items: center; gap: 14px; }

/* الأقسام */
.sec { padding: 36px 0; }
.sec.alt { background: var(--card); border-block: 1px solid var(--line); }
h2 { margin: 0 0 18px; font-size: 22px; font-weight: 800; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 12px; }
.tile { --c: var(--brand); position: relative; display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); text-decoration: none; box-shadow: var(--shadow); transition: transform .15s, border-color .15s; }
a.tile:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--c) 50%, var(--line)); }
.tile .tn { font-weight: 700; font-size: 15.5px; line-height: 1.35; min-height: 2.7em; }
.tile.flat .tn { min-height: 0; }
.tile b { font-size: 26px; font-weight: 800; color: var(--c); font-variant-numeric: tabular-nums; direction: ltr; text-align: right; }
.tile.muted b { color: var(--soft); }
.sec.alt .tile { background: var(--bg); }
.ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--c); }
.ic svg { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ic.big { width: 60px; height: 60px; border-radius: 18px; }
.ic.sm { width: 26px; height: 26px; border-radius: 8px; }
.bar { display: block; height: 6px; border-radius: 6px; background: var(--track); overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--w); border-radius: 6px; background: var(--c, var(--brand-2)); }
.js .bar i { animation: grow .9s cubic-bezier(.2,.8,.2,1) both; }
@keyframes grow { from { width: 0; } }

/* المحافظات */
.sec[style*="--c"] .bar i { background: var(--c); }
.muted-note { margin: 12px 0 0; color: var(--soft); font-size: 14px; }
.rows { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 6px 28px; }
.rows a { display: grid; grid-template-columns: 26px minmax(80px, 130px) 1fr auto; align-items: center; gap: 10px; padding: 9px 8px; border-radius: 12px; text-decoration: none; }
.rows a:hover { background: var(--track); }
.rows .rk { color: var(--soft); font-size: 13px; text-align: center; }
.rows .rn { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rows b { font-variant-numeric: tabular-nums; min-width: 56px; text-align: left; direction: ltr; }
.rows a[href="#"] { pointer-events: none; }
.rows.wide a { grid-template-columns: 26px minmax(0, 1fr) minmax(48px, 26%) auto; }
.rows.wide .rn { white-space: normal; overflow: visible; line-height: 1.4; }

/* الشبكات */
.net { display: flex; height: 18px; border-radius: 10px; overflow: hidden; background: var(--track); }
.net .seg { width: var(--w); }
.seg.asia, .net-l i.asia { background: var(--asia); }
.seg.zain, .net-l i.zain { background: var(--zain); }
.seg.korek, .net-l i.korek { background: var(--korek); }
.net-l { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 12px 0 0; padding: 0; list-style: none; color: var(--soft); }
.net-l i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-left: 6px; }
.net-l b { color: var(--ink); }

/* حبوب الأقسام */
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px 6px 14px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); text-decoration: none; font-size: 14.5px; }
.pills a:hover { border-color: var(--c); }
.pills b { color: var(--soft); font-weight: 500; }

/* دعوة */
.cta { padding: 32px 0; background: var(--brand); color: #fff; }
.cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.cta h2 { margin: 0 0 4px; color: #fff; }
.cta p { margin: 0; opacity: .85; }
.btn-wa { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 14px; background: #25d366; color: #06301b; font-weight: 800; text-decoration: none; }

/* النموذج */
.form { display: grid; gap: 16px; padding: 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.form label { display: grid; gap: 6px; font-weight: 700; }
.form input, .form textarea { font: inherit; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); }
.form input:focus, .form textarea:focus { outline: 2px solid var(--brand-2); outline-offset: 1px; }
.form button { font: inherit; font-weight: 800; padding: 13px; border: 0; border-radius: 12px; background: var(--brand); color: #fff; cursor: pointer; }
.note { padding: 14px 16px; border-radius: 12px; margin-bottom: 14px; font-weight: 700; }
.note.ok { background: color-mix(in srgb, #22c55e 15%, var(--card)); }
.note.err { background: color-mix(in srgb, #ef4444 15%, var(--card)); }

/* التذييل */
.foot { padding: 28px 0 40px; color: var(--soft); font-size: 14px; }
.foot p { margin: 6px 0; }
.foot a { color: var(--brand); }

@media (max-width: 560px) {
  .hero { padding: 36px 0 28px; }
  .tiles { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .tile { padding: 13px; }
  .tile b { font-size: 22px; }
  .rows { grid-template-columns: 1fr; }
  .rows a { grid-template-columns: 22px 92px 1fr auto; gap: 8px; }
  .rows.wide a { grid-template-columns: 22px minmax(0, 1fr) 56px auto; }
  .nav a { padding: 8px 7px; font-size: 14.5px; }
  .nav .login-btn { padding: 6px 10px; margin-inline-start: 2px; }
}
@media (max-width: 440px) {
  .nav a:not(.login-btn):not(.join-btn) { display: none; }  /* الأقسام والمحافظات بنفس الصفحة — يكفي التمرير */
  .brand span { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ── سجّل نشاطك ── */
.nav .join-btn { padding: 7px 14px; border-radius: 10px; background: var(--accent); color: #2b1a00; font-weight: 800; text-decoration: none; }
.form select { font: inherit; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); max-width: 100%; }
.form .check { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; line-height: 1.6; }
.form .check input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--brand); }
.hint { margin: 0; color: var(--soft); font-size: 14px; }
.hint.center { text-align: center; margin-top: 12px; }
.btn-wa.big { display: flex; justify-content: center; font-size: 19px; padding: 16px 22px; }
.join-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.join-cta h2 { margin: 0 0 6px; }
.btn-join { display: inline-flex; padding: 14px 26px; border-radius: 14px; background: var(--accent); color: #2b1a00; font-weight: 800; text-decoration: none; font-size: 17px; }
@media (max-width: 560px) { .nav .join-btn { padding: 6px 10px; font-size: 14px; } .brand span { font-size: 16px; } }
@media (max-width: 360px) { .brand span { display: none; } }

/* ═══ واجهة الموردين ═══ */
.hero.sell { padding: 48px 0 44px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 36px; align-items: center; }
.hero-txt h1 { font-size: clamp(30px, 5.4vw, 50px); }
.hero-txt .lead { margin-top: 10px; font-size: clamp(17px, 2.4vw, 20px); }
.btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn-main { display: inline-flex; justify-content: center; align-items: center; padding: 14px 26px; border-radius: 14px; background: var(--accent); color: #2b1a00; font: inherit; font-weight: 800; font-size: 17px; text-decoration: none; border: 0; cursor: pointer; box-shadow: 0 8px 20px -10px color-mix(in srgb, var(--accent) 80%, transparent); }
.btn-main:hover { filter: brightness(1.05); }
.btn-line { display: inline-flex; align-items: center; padding: 13px 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-weight: 700; text-decoration: none; }
.btn-line:hover { border-color: var(--brand-2); }
.hero-art { display: grid; justify-items: center; gap: 10px; }
.art-cap { margin: 0; color: var(--soft); font-size: 14px; }

/* موبايل واتساب (رسم) */
.phone { width: min(330px, 100%); border-radius: 26px; overflow: hidden; background: #efeae2; border: 8px solid #1c2826; box-shadow: var(--shadow), 0 30px 60px -30px rgba(0,0,0,.35); }
.ph-top { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #075e54; color: #fff; }
.ph-top .av { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; }
.ph-top b { display: block; font-size: 15px; line-height: 1.2; }
.ph-top small { opacity: .8; font-size: 12px; }
.ph-body { padding: 16px 12px 22px; min-height: 170px; background: #efeae2 radial-gradient(circle at 20% 20%, rgba(0,0,0,.025) 2px, transparent 3px) 0 0 / 22px 22px; }
.msg { position: relative; max-width: 92%; padding: 9px 12px 20px; border-radius: 4px 14px 14px 14px; background: #fff; color: #111; font-size: 15px; line-height: 1.7; box-shadow: 0 1px 1px rgba(0,0,0,.12); overflow-wrap: anywhere; }
.msg time { position: absolute; left: 10px; bottom: 4px; color: #667781; font-size: 11px; }

/* الخطوات */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; gap: 4px; padding: 18px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.steps .n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: color-mix(in srgb, var(--brand-2) 16%, transparent); color: var(--brand); font-weight: 800; margin-bottom: 6px; }
.steps b { font-size: 18px; }
.steps li > span:last-child { color: var(--soft); }

/* الحاسبة والسعر */
.calc-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 16px; align-items: stretch; }
.price-card { display: grid; align-content: center; justify-items: center; gap: 2px; padding: 24px; border-radius: var(--radius); background: var(--brand); color: #fff; text-align: center; }
.price-card b { font-size: clamp(44px, 7vw, 64px); font-weight: 800; line-height: 1.1; direction: ltr; }
.price-card span { opacity: .9; font-weight: 700; }
.price-card small { margin-top: 8px; padding: 4px 12px; border-radius: 99px; background: rgba(255,255,255,.14); }
.calc { display: grid; gap: 14px; padding: 20px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.calc h2 { margin: 0; }
.calc-in { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.calc label { display: grid; gap: 6px; font-weight: 700; }
.calc select, .order-grid select { font: inherit; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); min-width: 0; width: 100%; }
.calc-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; transition: opacity .2s; }
.calc-out.busy { opacity: .55; }
.calc-out div { display: grid; padding: 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); text-align: center; }
.calc-out b { font-size: clamp(22px, 4vw, 30px); font-weight: 800; font-variant-numeric: tabular-nums; direction: ltr; }
.calc-out span { color: var(--soft); font-size: 13.5px; }
.calc-out .hl { border-color: color-mix(in srgb, var(--brand-2) 55%, var(--line)); background: color-mix(in srgb, var(--brand-2) 9%, var(--card)); }
.calc-out .hl b { color: var(--brand); }
.calc-out .wait-msg { display: none; grid-column: 1 / -1; margin: 0; padding: 14px; border-radius: 14px; border: 1px dashed var(--line); text-align: center; color: var(--soft); font-weight: 600; }
.calc-out.wait > div { display: none; }
.calc-out.wait .wait-msg { display: block; }
.calc .btn-main { justify-self: start; }

/* الشروط */
.rules { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.rules ul { margin: 0; padding: 16px 18px; list-style: none; display: grid; gap: 10px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.rules li { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.rules li::before { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: 14px; font-weight: 800; }
.rules .yes li::before { content: '✓'; background: color-mix(in srgb, #22c55e 18%, transparent); color: #15803d; }
.rules .no li::before { content: '✕'; background: color-mix(in srgb, #ef4444 15%, transparent); color: #dc2626; }

/* السوق */
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 18px; }
.sec-head h2 { margin: 0; }
.sec-head p { margin: 0; color: var(--soft); }
.sec-head b { color: var(--brand); font-size: 20px; font-weight: 800; }
.pills.govs { margin-top: 18px; }
.sec.tight { padding: 0 0 8px; margin-top: -6px; }
.reach-cta { --c: var(--brand); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 16px 18px; border-radius: var(--radius); text-decoration: none;
  background: color-mix(in srgb, var(--c) 9%, var(--card)); border: 1px solid color-mix(in srgb, var(--c) 30%, var(--line)); }
.reach-cta b { display: block; font-size: 17px; }
.reach-cta small { color: var(--soft); font-size: 14.5px; }
.reach-cta .go { padding: 10px 18px; border-radius: 12px; background: var(--accent); color: #2b1a00; font-weight: 800; white-space: nowrap; }
a.tile.flat:hover { transform: translateY(-2px); }

/* اطلب حملة */
.order-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; align-items: start; }
.order-side { position: sticky; top: 76px; display: grid; gap: 12px; justify-items: center; }
.order-side .calc-out, .order-side .hint { width: 100%; }
.warn { color: #dc2626; font-weight: 800; }

@media (max-width: 860px) {
  .hero-grid, .calc-grid, .order-grid { grid-template-columns: 1fr; }
  .hero-art { order: 2; }
  .order-side { position: static; }
}
@media (max-width: 560px) {
  .steps, .rules, .calc-in { grid-template-columns: 1fr; }
  .calc-out span { font-size: 12.5px; }
  .btns > a { flex: 1 1 100%; justify-content: center; }
  .calc .btn-main { justify-self: stretch; }
}
@media (prefers-color-scheme: dark) {
  .phone { border-color: #000; }
  .rules .yes li::before { color: #4ade80; } .rules .no li::before { color: #f87171; }
}

.foot-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; justify-content: center; text-align: center; padding: 18px 16px; border: 1px solid var(--line, #e3ece9); border-radius: 14px; background: #f4faf8; color: var(--ink, #0f2d2a); text-decoration: none; }
.foot-brand b { font-size: 18px; color: var(--brand); }
.foot-brand span { font-size: 14px; color: var(--soft); }
.foot-brand em { font-style: normal; font-weight: 700; color: var(--brand); }
.foot-brand:hover { background: #eaf5f2; }

/* اطلب حملة: الاختيار الجاي من الخارطة (أكثر من نشاط أو لحد المنطقة) */
.picked { display: grid; gap: 4px; padding: 12px 14px; border-radius: var(--radius); border: 1px dashed var(--line); background: var(--card); }
.picked span { font-size: 13px; opacity: .7; }
.picked b { font-size: 16px; }
.picked a { font-size: 13px; justify-self: start; }
