/* موقع شركة زهرة دجلة — الألوان متغيرات فقط ولها قيم للوضع المظلم */
:root {
  --brand: #1B4A86;
  --brand-deep: #0F2F5C;
  --brand-soft: #E9F1FB;
  --accent: #1B4A86;
  --tigris: #2E9BCB;
  --gold: #E2A12E;
  --gold-light: #F6CF6A;
  --gold-text: #9A6B12;
  --gold-soft: #FDF4E1;
  --bg: #FFFFFF;
  --surface: #F4F7FB;
  --card: #FFFFFF;
  --ink: #12203A;
  --muted: #56657D;
  --line: #E2E8F1;
  --header-bg: rgba(255, 255, 255, 0.88);
  --shadow: 0 12px 32px rgba(15, 47, 92, 0.08);
  --on-brand: #FFFFFF;
  --on-brand-muted: rgba(255, 255, 255, 0.78);
  --radius: 20px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #2459A0;
    --brand-deep: #0A1F3E;
    --brand-soft: rgba(110, 164, 232, 0.12);
    --accent: #8CB6EE;
    --gold-text: #F2C45C;
    --gold-soft: rgba(242, 196, 92, 0.12);
    --bg: #0B1424;
    --surface: #0F1B2F;
    --card: #13223A;
    --ink: #E8EEF7;
    --muted: #9FB0C8;
    --line: #22334F;
    --header-bg: rgba(11, 20, 36, 0.86);
    --shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Cairo', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.4; }
p { margin: 0; }
.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

.ic { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[dir='ltr'] .ic-flip { transform: scaleX(-1); }

/* الأزرار */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 24px; border-radius: 14px;
  font: inherit; font-weight: 700; font-size: 16px; line-height: 1.5;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn .ic { width: 20px; height: 20px; }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-deep); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--card); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-gold { background: var(--gold); color: #1F1503; }
.btn-gold:hover { background: var(--gold-light); }
.btn-light { border-color: rgba(255, 255, 255, 0.35); color: #FFFFFF; }
.btn-light:hover { border-color: #FFFFFF; }

/* الشريط العلوي */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand-logo img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav a { padding: 8px 14px; border-radius: 10px; font-weight: 600; font-size: 15.5px; color: var(--muted); }
.nav a:hover { color: var(--accent); background: var(--brand-soft); }
.lang {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px;
  font-weight: 700; font-size: 14px; color: var(--ink);
}
.lang:hover { border-color: var(--accent); color: var(--accent); }
.lang .ic { width: 18px; height: 18px; }
.menu-btn {
  display: none; margin-inline-start: auto;
  width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--card); color: var(--ink);
  align-items: center; justify-content: center; cursor: pointer;
}
.menu-btn .ic-close { display: none; }

/* الواجهة الرئيسية */
.hero {
  position: relative; overflow: hidden;
  padding: 72px 0 96px;
  background:
    radial-gradient(60% 70% at 88% 10%, var(--brand-soft), transparent 70%),
    radial-gradient(40% 50% at 8% 90%, var(--gold-soft), transparent 70%),
    var(--bg);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--gold-soft); color: var(--gold-text);
  font-weight: 700; font-size: 14px;
}
.eyebrow img { width: 20px; height: 20px; }
.hero h1 { margin-top: 20px; font-weight: 800; letter-spacing: -0.01em; }
.hero h1 .hl { display: block; color: var(--accent); font-size: clamp(3rem, 7.2vw, 5.4rem); line-height: 1.25; }
.hero h1 .sub { display: block; margin-top: 6px; font-size: clamp(1.3rem, 2.4vw, 1.85rem); font-weight: 700; line-height: 1.5; }
.hero .lead { margin-top: 18px; font-size: 1.15rem; color: var(--muted); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; color: var(--muted); font-weight: 600; font-size: 15px; }
.hero-tags span { display: inline-flex; align-items: center; gap: 8px; }
.hero-tags .ic { width: 20px; height: 20px; color: var(--tigris); }

.hero-visual { position: relative; justify-self: center; width: min(440px, 100%); aspect-ratio: 1; }
.hero-card {
  position: absolute; inset: 0; border-radius: 36px; overflow: hidden;
  background: radial-gradient(80% 80% at 30% 20%, #2B66AE, var(--brand-deep));
  box-shadow: 0 30px 60px rgba(15, 47, 92, 0.28);
  display: grid; place-items: center;
}
.hero-card::before, .hero-card::after {
  content: ''; position: absolute; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
}
.hero-card::before { width: 78%; aspect-ratio: 1; }
.hero-card::after { width: 112%; aspect-ratio: 1; border-color: rgba(246, 207, 106, 0.16); }
.hero-card img { width: 64%; position: relative; z-index: 1; }
.chip {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: 16px;
  background: var(--card); color: var(--ink);
  box-shadow: var(--shadow); border: 1px solid var(--line);
  font-weight: 700; font-size: 14.5px; white-space: nowrap;
}
.chip .ic { width: 22px; height: 22px; color: var(--accent); }
.chip-1 { top: 9%; inset-inline-end: -6%; }
.chip-2 { top: 46%; inset-inline-start: -9%; }
.chip-3 { bottom: 7%; inset-inline-end: 2%; }
.chip-3 img { width: 26px; height: 26px; border-radius: 8px; }

.wave-divider { position: absolute; inset-inline: 0; bottom: -1px; height: 48px; width: 100%; color: var(--surface); }

/* الأقسام */
.section { padding: 92px 0; }
.section-alt { background: var(--surface); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: 14px; font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; }
.section-head p { margin-top: 12px; color: var(--muted); font-size: 1.08rem; }
.split .section-head, .about-text .section-head { margin-bottom: 20px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; display: flex; flex-direction: column; gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { font-size: 1.3rem; font-weight: 800; }
.card p { color: var(--muted); }
.card .more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent); }
.card .more .ic { width: 18px; height: 18px; }
.icon-tile {
  width: 58px; height: 58px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--brand-soft); color: var(--accent);
}
.icon-tile .ic { width: 28px; height: 28px; }
.icon-tile.gold { background: var(--gold-soft); color: var(--gold-text); }
.icon-tile.hala { background: #17295A; padding: 0; overflow: hidden; }
.icon-tile.hala img { width: 100%; height: 100%; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse .split-media { order: -1; }
.features { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; }
.features li { display: flex; gap: 14px; align-items: flex-start; }
.features .icon-tile { width: 44px; height: 44px; border-radius: 12px; }
.features .icon-tile .ic { width: 22px; height: 22px; }
.features strong { display: block; font-weight: 700; }
.features span { color: var(--muted); font-size: 15.5px; }

/* لوحات توضيحية */
.panel {
  background: var(--card); border: 1px solid var(--line); border-radius: 28px;
  padding: 28px; box-shadow: var(--shadow); max-width: 480px; margin-inline: auto; width: 100%;
}
.panel-title { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.1rem; }
.panel-title .icon-tile { width: 44px; height: 44px; border-radius: 12px; }
.steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; }
.steps li { position: relative; display: flex; gap: 16px; padding-bottom: 22px; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: ''; position: absolute; inset-inline-start: 15px; top: 34px; bottom: 4px;
  border-inline-start: 2px dashed var(--line);
}
.steps li:last-child::before { display: none; }
.dot {
  width: 32px; height: 32px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: var(--brand); color: #FFFFFF;
}
.dot .ic { width: 18px; height: 18px; stroke-width: 2.4; }
.dot.done { background: var(--tigris); }
.dot.gold { background: var(--gold); color: #1F1503; }
.steps strong { display: block; font-weight: 700; }
.steps span { color: var(--muted); font-size: 15px; }

.route { margin-top: 22px; display: grid; gap: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.route div { display: flex; align-items: center; gap: 14px; padding: 14px 18px; }
.route div + div { border-top: 1px solid var(--line); }
.route .ic { color: var(--tigris); }
.route div:last-child .ic { color: var(--gold); }
.route small { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; }
.route b { font-weight: 700; }
.driver { margin-top: 18px; display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 18px; background: var(--surface); }
.driver .icon-tile { width: 46px; height: 46px; border-radius: 50%; }
.driver-info { flex: 1; }
.driver b { display: block; font-weight: 700; }
.driver small { color: var(--muted); font-size: 13.5px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-text); font-weight: 700; font-size: 13px; }
.badge .ic { width: 16px; height: 16px; }

/* قسم تطبيق هلا */
.hala {
  position: relative; overflow: hidden;
  padding: 92px 0; color: #FFFFFF;
  background: radial-gradient(70% 90% at 90% 0%, #23407F, #0E1C40 70%);
}
.hala::after {
  content: ''; position: absolute; width: 520px; aspect-ratio: 1; border-radius: 50%;
  inset-inline-end: -200px; top: -280px; border: 60px solid rgba(255, 255, 255, 0.04);
}
.hala-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; gap: 64px; align-items: center; }
.hala-visual { position: relative; width: 340px; aspect-ratio: 1; display: grid; place-items: center; }
.hala-visual::before, .hala-visual::after {
  content: ''; position: absolute; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.1);
}
.hala-visual::before { inset: 0; }
.hala-visual::after { inset: 16%; border-color: rgba(246, 207, 106, 0.22); }
.hala-logo { position: relative; z-index: 1; width: 200px; height: 200px; border-radius: 48px; box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35); border: 1px solid rgba(255, 255, 255, 0.14); }
.hala .eyebrow { background: rgba(246, 207, 106, 0.14); color: var(--gold-light); }
.hala h2 { margin-top: 14px; font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
.hala p.lead { margin-top: 12px; color: var(--on-brand-muted); font-size: 1.1rem; max-width: 40em; }
.hala-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; margin: 26px 0 0; padding: 0; list-style: none; }
.hala-features li { display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, 0.92); font-weight: 600; }
.hala-features .ic { width: 22px; height: 22px; color: var(--gold-light); }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 18px; border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.06);
}
.store .ic { width: 26px; height: 26px; }
.store small { display: block; font-size: 12px; color: var(--gold-light); line-height: 1.3; font-weight: 700; }
.store b { display: block; font-size: 16px; line-height: 1.3; direction: ltr; text-align: start; }
.hala-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* من نحن */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-text p + p { margin-top: 14px; }
.about-text p { color: var(--muted); font-size: 1.05rem; }
.legal-name { margin-top: 22px; padding: 16px 20px; border-radius: 16px; border: 1px dashed var(--line); background: var(--card); font-weight: 700; }
.legal-name small { display: block; color: var(--muted); font-weight: 600; font-size: 13.5px; }
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.value { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.value h3 { margin-top: 14px; font-size: 1.12rem; font-weight: 800; }
.value p { margin-top: 4px; color: var(--muted); font-size: 15px; }

/* تواصل معنا */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
a.contact-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.contact-card small { display: block; color: var(--muted); font-size: 14px; line-height: 1.5; }
.contact-card b { display: block; font-weight: 800; font-size: 1.05rem; line-height: 1.6; }

/* التذييل */
.site-footer { background: var(--brand-deep); color: var(--on-brand-muted); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-grid img { height: 52px; width: auto; }
.footer-grid p { margin-top: 16px; font-size: 15px; max-width: 30em; }
.footer-grid h4 { margin: 0 0 14px; color: #FFFFFF; font-size: 1rem; font-weight: 800; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.footer-grid a:hover { color: var(--gold-light); }
.footer-bottom {
  margin-top: 48px; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 14px;
}

/* صفحة غير موجودة */
.not-found { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 64px 0; }
.not-found img { width: 120px; margin: 0 auto 20px; }
.not-found h1 { font-size: 2rem; font-weight: 800; }
.not-found p { margin: 10px 0 26px; color: var(--muted); }

/* الشاشات المتوسطة والصغيرة */
@media (max-width: 1240px) {
  .chip-1 { inset-inline-end: -2%; }
  .chip-2 { inset-inline-start: -5%; }
}
@media (max-width: 1040px) {
  .nav a { padding: 8px 10px; font-size: 15px; }
}
@media (max-width: 960px) {
  .header-row { height: 68px; }
  .brand-logo img { height: 40px; }
  .menu-btn { display: inline-flex; }
  .nav {
    display: none; position: absolute; top: 100%; inset-inline: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 16px 18px; background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav a { padding: 12px 14px; font-size: 16px; }
  .nav .lang { align-self: flex-start; margin-top: 8px; }
  .site-header.open .nav { display: flex; }
  .site-header.open .menu-btn .ic-menu { display: none; }
  .site-header.open .menu-btn .ic-close { display: block; }
  .hero { padding: 48px 0 88px; }
  .hero-grid, .split, .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .split.reverse .split-media { order: 0; }
  .hero-visual { width: min(360px, 82%); margin-top: 8px; }
  .cards, .contact-cards { grid-template-columns: 1fr; }
  .hala-grid { grid-template-columns: 1fr; gap: 28px; }
  .hala-visual { order: -1; width: 200px; justify-self: start; }
  .hala-logo { width: 120px; height: 120px; border-radius: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .section, .hala { padding: 72px 0; }
}
@media (min-width: 640px) and (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .chip { font-size: 13px; padding: 8px 12px; gap: 8px; }
  .chip .ic { width: 18px; height: 18px; }
  .chip-1 { inset-inline-end: -4%; }
  .chip-2 { inset-inline-start: -6%; }
  .hala-features, .values { grid-template-columns: 1fr; }
  .panel { padding: 22px 18px; border-radius: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card, .contact-card { transition: none; }
}
