/* شيتات إكسل جاهزة — تنسيق الموقع */
:root {
  --ink: #101b15;
  --body: #2c3a33;
  --muted: #5f7168;
  --brand: #0f6b43;
  --brand-dark: #0a5033;
  --brand-soft: #eaf3ee;
  --gold: #a9761f;
  --wa: #1c9e4d;
  --wa-dark: #17853f;
  --line: #e2e8e4;
  --bg: #fcfcfa;
  --card: #ffffff;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(16, 27, 21, .05), 0 8px 24px -18px rgba(16, 27, 21, .35);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: "Segoe UI", Tahoma, "Noto Sans Arabic", "Noto Kufi Arabic", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { color: var(--ink); line-height: 1.35; margin: 0; }
h1 { font-size: clamp(28px, 6vw, 40px); letter-spacing: -.2px; }
h2 { font-size: 24px; }
h3 { font-size: 19px; }

p { margin: 0 0 12px; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-dark); }
img { max-width: 100%; height: auto; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(252, 252, 250, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { max-width: 1080px; margin: 0 auto; padding: 10px 20px 0; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
}
.brand img { width: 38px; height: 38px; border-radius: 50%; display: block; }
.brand-name { font-weight: 800; font-size: 17px; letter-spacing: -.1px; }

.site-nav {
  display: flex; gap: 4px; overflow-x: auto;
  padding: 8px 0 9px;
  scrollbar-width: none;
}
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a {
  flex: 0 0 auto;
  padding: 6px 10px; border-radius: 999px;
  text-decoration: none; color: var(--muted);
  font-size: 14px; white-space: nowrap;
  border: 1px solid transparent;
}
.site-nav a:hover { color: var(--brand-dark); }
.site-nav a[aria-current="page"] {
  color: var(--brand-dark); background: var(--brand-soft);
  border-color: #cfe3d8; font-weight: 700;
}

/* ---------- hero ---------- */
.hero { padding: 26px 0 6px; }
.hero-grid { display: grid; gap: 24px; }
.eyebrow {
  font-size: 13px; font-weight: 800; letter-spacing: .4px;
  color: var(--brand); margin: 0 0 8px;
}
.lede { font-size: 18px; color: var(--body); margin-top: 10px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 16px; }
.hero-points {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  list-style: none; margin: 0; padding: 0;
  color: var(--muted); font-size: 15px;
}
.hero-points li { position: relative; padding-inline-start: 20px; }
.hero-points li::before {
  content: "✓"; position: absolute; inset-inline-start: 0;
  color: var(--brand); font-weight: 800;
}
.hero-media img {
  width: 100%; border-radius: var(--radius);
  border: 1px solid var(--line); background: #fff;
  box-shadow: var(--shadow);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 20px; border-radius: 12px;
  font-size: 16px; font-weight: 700; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .15s ease, transform .05s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); }
.btn-ghost { background: #fff; color: var(--brand-dark); border-color: #cfe3d8; }
.btn-ghost:hover { background: var(--brand-soft); }
.btn-lg { padding: 15px 24px; font-size: 17px; }
.btn-wide { width: 100%; }

/* ---------- sections ---------- */
.section { padding: 34px 0 6px; }
.section-head { margin-bottom: 16px; }
.section-head h2 { margin-bottom: 4px; }
.section-head p { color: var(--muted); font-size: 16px; }

.page-head { padding: 26px 20px 4px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs span { margin: 0 6px; }

/* ---------- bundle banner ---------- */
.bundle-banner {
  display: grid; gap: 16px;
  background: linear-gradient(135deg, #0f6b43, #0a5033);
  color: #eaf6ef;
  border-radius: 20px;
  padding: 24px 22px;
}
.bundle-banner h2 { color: #fff; font-size: 22px; margin-bottom: 6px; }
.bundle-banner .eyebrow { color: #b8e0c6; }
.bundle-banner strong { color: #fff; }
.bundle-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.bundle-banner .btn-primary { background: #fff; color: var(--brand-dark); }
.bundle-banner .btn-primary:hover { background: #eaf6ef; }

/* ---------- cards ---------- */
.grid { display: grid; gap: 18px; }
.card {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
}
.card-featured { border-color: #bfdccb; }
.card-media { display: block; background: #f1f5f2; border-bottom: 1px solid var(--line); padding: 10px; }
.card-media img { width: 100%; height: auto; display: block; border-radius: 8px; }
.card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: 6px; }
.card-body h3 a { color: inherit; text-decoration: none; }
.card-desc { color: var(--muted); font-size: 15.5px; margin-bottom: 12px; }
.badge {
  align-self: flex-start;
  background: #fdf3e2; color: var(--gold);
  border: 1px solid #f0dcb8;
  font-size: 12.5px; font-weight: 800;
  padding: 3px 10px; border-radius: 999px; margin-bottom: 10px;
}
.price { display: flex; align-items: baseline; gap: 10px; margin: auto 0 12px; }
.price strong { font-size: 24px; color: var(--brand-dark); }
.price-was { color: var(--muted); text-decoration: line-through; font-size: 15px; }
.price-lg strong { font-size: 30px; }
.card-actions { display: grid; gap: 8px; grid-template-columns: 1fr; }
.card-actions .btn { width: 100%; padding: 11px 14px; font-size: 15.5px; }

/* ---------- steps ---------- */
.steps {
  list-style: none; counter-reset: step;
  margin: 0; padding: 0; display: grid; gap: 12px;
}
.steps li {
  counter-increment: step;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 14px 16px;
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 16px;
}
.steps li::before {
  content: counter(step);
  flex: 0 0 30px; height: 30px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand-dark);
  font-weight: 800; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}

.note {
  background: #fff; border: 1px solid var(--line);
  border-inline-start: 4px solid var(--brand);
  border-radius: 12px; padding: 14px 16px;
  color: var(--muted); font-size: 15.5px; margin: 18px 0 0;
}

/* ---------- lists ---------- */
.who-list, .feature-list, .sheet-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 10px;
}
.who-list li, .feature-list li {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 16px;
  font-size: 16px;
  position: relative; padding-inline-start: 40px;
}
.who-list li::before, .feature-list li::before {
  content: "✓"; position: absolute; inset-inline-start: 14px;
  color: var(--brand); font-weight: 800;
}
.sheet-list { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.sheet-list li {
  background: var(--brand-soft); color: var(--brand-dark);
  border-radius: 10px; padding: 8px 12px; font-size: 14.5px; font-weight: 600;
}

/* ---------- product page ---------- */
.buy-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
  margin-top: 18px;
}
.buy-row .price { margin: 0; }
.buy-row .btn { flex: 1 1 220px; }

.shots { display: grid; gap: 18px; }
.shot { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; box-shadow: var(--shadow); }
.shot img { width: 100%; height: auto; display: block; border-radius: 10px; }
.shot figcaption { color: var(--muted); font-size: 14px; padding: 8px 4px 2px; }
.caption-note { color: var(--muted); font-size: 14px; margin-top: 10px; }

/* ---------- faq ---------- */
.faq details {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 16px; margin-bottom: 10px;
}
.faq summary { font-weight: 700; color: var(--ink); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: left; color: var(--brand); font-weight: 800; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 10px 0 0; color: var(--muted); font-size: 16px; }

/* ---------- contact ---------- */
.contact-strip {
  display: grid; gap: 14px; align-items: center;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px; margin-top: 26px; margin-bottom: 10px;
  box-shadow: var(--shadow);
}
.contact-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; text-align: center;
  box-shadow: var(--shadow);
}
.contact-label { color: var(--muted); font-size: 14px; margin-bottom: 4px; }
.phone-big { font-size: 30px; font-weight: 800; margin: 0 0 16px; }
.contact-card .btn { width: 100%; max-width: 320px; }
.contact-card .caption-note { margin-top: 14px; }

.quick-links { display: grid; gap: 10px; }
.quick-links .btn { width: 100%; }

.phone { direction: ltr; unicode-bidi: embed; text-decoration: none; font-weight: 700; }

/* ---------- sticky bar ---------- */
.sticky-bar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, .97);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.sticky-price { font-size: 14px; font-weight: 700; color: var(--ink); }
.sticky-bar .btn { padding: 11px 16px; font-size: 15px; }

/* ---------- footer ---------- */
.site-footer {
  margin-top: 40px; padding: 28px 0 30px;
  background: #fff; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 15px;
}
.footer-grid { display: grid; gap: 18px; }
.footer-brand { color: var(--ink); font-weight: 800; font-size: 17px; }
.footer-title { color: var(--ink); font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.footer-note {
  margin-top: 22px; padding-top: 16px;
  border-top: 1px solid var(--line); font-size: 14px;
}

@media (min-width: 720px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; align-items: center; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .bundle-banner { grid-template-columns: 1fr auto; align-items: center; padding: 26px 28px; }
  .card-actions { grid-template-columns: 1fr auto; }
  .card-actions .btn { width: auto; }
  .contact-strip { grid-template-columns: 1fr auto; padding: 22px 26px; }
  .shots { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .quick-links { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 980px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .site-nav a { font-size: 15px; padding: 7px 14px; }
}

@media (max-width: 719px) {
  body { padding-bottom: 66px; }
  .section { padding: 28px 0 4px; }
}

@media (min-width: 720px) {
  .sticky-bar { display: none; }
}

/* ---------- homepage: hero, feature strip, product rows ---------- */
.home { background: #fbfaf6; }
.home .hero { padding: 28px 0 8px; }
.home .hero h1 { font-size: 27px; line-height: 1.45; letter-spacing: -.1px; }
.home .hero .lede { margin: 12px 0 16px; }
.home .hero-points { gap: 6px 18px; margin-bottom: 20px; }
.home .hero-actions { margin: 0; }
.home .badge { background: #fbeee8; color: #b4562f; border-color: #eed6c9; }
.home .bundle-banner { background: #0a3d2a; }
.home .section-head .eyebrow { margin-bottom: 2px; }

.feature-strip {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr);
}
.feature-strip li {
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 14px 16px 16px;
  box-shadow: var(--shadow);
}
.feature-num {
  display: inline-block; margin-bottom: 8px;
  background: #fbeee8; color: #b4562f;
  border-radius: 999px; padding: 2px 9px;
  font-size: 12.5px; font-weight: 800; letter-spacing: .6px;
}
.feature-strip h3 { font-size: 16.5px; margin-bottom: 4px; }
.feature-strip p { color: var(--muted); font-size: 14.5px; line-height: 1.7; margin: 0; }

.sheet-rows { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.sheet-rows li {
  display: grid; grid-template-columns: 1fr auto; align-items: center;
  gap: 4px 14px; padding: 12px 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
}
.sheet-rows .row-name {
  grid-column: 1 / -1; font-size: 16.5px; font-weight: 700;
  color: var(--ink); text-decoration: none;
}
.sheet-rows .row-price {
  grid-column: 1; justify-self: start;
  color: var(--brand-dark); font-weight: 800; font-size: 16px; white-space: nowrap;
}
.sheet-rows .btn {
  grid-column: 2; justify-self: end;
  padding: 8px 18px; font-size: 14.5px; border-radius: 10px;
}

@media (min-width: 720px) {
  .home .hero h1 { font-size: 30px; }
  .home .hero-points { margin-bottom: 22px; }
  .sheet-rows li { grid-template-columns: 1fr auto auto; padding: 12px 18px; gap: 4px 18px; }
  .sheet-rows .row-name { grid-column: 1; }
  .sheet-rows .row-price { grid-column: 2; justify-self: end; }
  .sheet-rows .btn { grid-column: 3; justify-self: end; }
}

@media (min-width: 980px) {
  .home .hero h1 { font-size: 37px; }
  .feature-strip { grid-template-columns: repeat(4, 1fr); gap: 14px; }
}

/* ---------- ERP product page ---------- */
.price-note { color: var(--muted); font-size: 14.5px; }
.demo-box {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow);
}
.demo-box h2 { margin-bottom: 6px; }
.demo-box .demo-line { font-size: 16px; margin-bottom: 6px; }
.demo-box .demo-actions { margin: 14px 0 0; }
.shot-phone img { max-width: 620px; margin-inline: auto; }
.erp-band .card-body h2 { font-size: 22px; margin-bottom: 6px; }
.erp-band .card-body h2 a { color: inherit; text-decoration: none; }
@media (min-width: 720px) {
  .erp-band { flex-direction: row; align-items: stretch; }
  .erp-band .card-media { flex: 0 0 46%; border-bottom: 0; border-inline-end: 1px solid var(--line); display: flex; align-items: center; }
  .erp-band .card-body { flex: 1; justify-content: center; padding: 24px; }
  .erp-band .card-actions { grid-template-columns: 1fr auto; }
  .erp-band .card-actions .btn { width: auto; }
}
.buy-row .price { flex-wrap: wrap; }

/* gutters: .section/.hero shorthands were zeroing .wrap's side padding */
.wrap { padding-left: 20px; padding-right: 20px; }
