/* دفتر الشام / DaftarSham — product site (static). Arabic / English in one page: [lang] blocks shown by html[data-l].
   Colours from the app: MegaSham green #0F6E56 and jasmine orange #EF9F27. */
:root {
  --bg: #f6f8f7; --card: #ffffff; --ink: #10231d; --mut: #55675f; --line: #dfe7e3;
  --brand: #0F6E56; --brand-ink: #0b5948; --accent: #EF9F27; --accent-ink: #8a5300; --soft: #e8f3ef; --soft2: #fdf3e2;
  --shadow: 0 6px 24px rgba(16, 35, 29, .07);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c1613; --card: #13211c; --ink: #e6f0ec; --mut: #9db3aa; --line: #233a32;
    --brand: #2fae8b; --brand-ink: #5cc9a8; --accent: #f2b04d; --accent-ink: #f2b04d; --soft: #16302a; --soft2: #2b2414; --shadow: none;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'Tajawal', 'Segoe UI', Tahoma, Arial, sans-serif; line-height: 1.75; font-size: 16px; overflow-x: hidden; }
html[data-l="en"] body { font-family: 'Inter', 'Segoe UI', Arial, sans-serif; line-height: 1.65; }
html[data-l="ar"] [lang="en"], html[data-l="en"] [lang="ar"] { display: none !important; }
a { color: var(--brand-ink); } a:hover { color: var(--accent-ink); }
img { max-width: 100%; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

header.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--card) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 19px; }
.logo img { width: 40px; height: 40px; border-radius: 10px; }
.logo small { display: block; font-size: 11px; font-weight: 600; color: var(--mut); line-height: 1.2; }
nav.links { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
nav.links a { text-decoration: none; color: var(--ink); padding: 6px 10px; border-radius: 8px; font-size: 15px; }
nav.links a:hover { background: var(--soft); color: var(--ink); }
.lang-btn { font: inherit; font-size: 14px; border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 999px; padding: 4px 12px; cursor: pointer; }

.btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; background: var(--brand); color: #fff; border: 1px solid var(--brand); border-radius: 12px; padding: 11px 20px; font-weight: 700; font-size: 16px; }
.btn:hover { background: var(--brand-ink); border-color: var(--brand-ink); color: #fff; }
.btn.ghost { background: var(--card); color: var(--brand-ink); border-color: var(--line); }
.btn.ghost:hover { background: var(--soft); color: var(--brand-ink); }
.btn.off { background: var(--card); color: var(--mut); border-color: var(--line); cursor: default; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn small { font-weight: 500; font-size: 12px; opacity: .85; }

.hero { padding-top: 56px; padding-bottom: 36px; display: grid; grid-template-columns: 1.25fr .75fr; gap: 32px; align-items: center; }
.hero h1 { font-size: clamp(30px, 5.2vw, 48px); line-height: 1.22; margin: 0 0 14px; }
.hero h1 em { font-style: normal; color: var(--brand-ink); }
.hero p.lead { font-size: 19px; color: var(--mut); margin: 0 0 22px; max-width: 620px; }
.hero .cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero .art { display: grid; place-items: center; }
.hero .art img { width: min(280px, 70vw); height: auto; border-radius: 56px; box-shadow: 0 18px 50px rgba(15, 110, 86, .28); }
.pill { display: inline-block; background: var(--soft2); color: var(--accent-ink); font-weight: 700; font-size: 13px; border-radius: 999px; padding: 3px 12px; margin-bottom: 14px; }
.facts { display: flex; gap: 8px 18px; flex-wrap: wrap; margin: 18px 0 0; padding: 0; list-style: none; color: var(--mut); font-size: 14px; }
.facts li::before { content: '✓'; color: var(--brand-ink); font-weight: 800; margin-inline-end: 6px; }

section { padding: 40px 0; }
h2 { font-size: 28px; margin: 0 0 6px; line-height: 1.3; }
.sub { color: var(--mut); margin: 0 0 24px; max-width: 720px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px; box-shadow: var(--shadow); }
.card h3 { margin: 10px 0 6px; font-size: 18px; line-height: 1.4; }
.card p { margin: 0; color: var(--mut); font-size: 15px; }
.icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--soft); color: var(--brand-ink); }
.icon svg { width: 24px; height: 24px; }

.trades { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.trades li { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 15px; }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.steps .card { position: relative; padding-top: 22px; }
.steps .card::before { counter-increment: s; content: counter(s); position: absolute; top: -14px; inset-inline-start: 18px; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #3a2400; font-weight: 800; display: grid; place-items: center; }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; }
.plan.main { border: 2px solid var(--brand); }
.plan .price { font-size: 34px; font-weight: 800; margin: 6px 0 0; line-height: 1.2; }
.plan .price small { font-size: 15px; font-weight: 500; color: var(--mut); }
.plan ul { margin: 14px 0 18px; padding: 0; list-style: none; color: var(--mut); font-size: 15px; flex: 1; }
.plan li { padding: 5px 0; } .plan li::before { content: '✓'; color: var(--brand-ink); font-weight: 800; margin-inline-end: 8px; }
.plan .btn { justify-content: center; }
.fine { color: var(--mut); font-size: 13px; margin-top: 14px; }

details.q { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin: 0 0 10px; }
details.q summary { cursor: pointer; font-weight: 700; list-style: none; }
details.q summary::-webkit-details-marker { display: none; }
details.q summary::before { content: '+'; display: inline-block; width: 20px; color: var(--brand-ink); font-weight: 800; }
details.q[open] summary::before { content: '−'; }
details.q p { margin: 8px 0 2px; color: var(--mut); }

.band { background: var(--brand); color: #fff; border-radius: 20px; padding: 28px; display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.band h2 { color: #fff; } .band p { margin: 0; opacity: .9; }
.band .btn { background: #fff; color: #0b5948; border-color: #fff; } .band .btn:hover { background: var(--soft2); color: #0b5948; }

.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.ltr { direction: ltr; unicode-bidi: embed; display: inline-block; }
.doc { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; margin: 24px 0; box-shadow: var(--shadow); }
.doc h1 { font-size: 28px; margin-top: 0; line-height: 1.3; } .doc h2 { font-size: 20px; margin-top: 26px; }
.doc .meta { color: var(--mut); font-size: 14px; }
.doc li { margin-bottom: 4px; }
.note { background: var(--soft); border-radius: 10px; padding: 12px 14px; }

footer { border-top: 1px solid var(--line); padding: 24px 0 40px; color: var(--mut); font-size: 14px; margin-top: 24px; }
footer .wrap { display: flex; gap: 10px 14px; justify-content: space-between; flex-wrap: wrap; }
footer a { color: var(--mut); }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding-top: 28px; padding-bottom: 20px; gap: 18px; }
  .hero .art { order: -1; } .hero .art img { width: 132px; border-radius: 30px; }
  .hero p.lead { font-size: 17px; }
  header.top .wrap { padding: 8px 16px; } nav.links a { padding: 4px 6px; font-size: 14px; }
  nav.links .hide-sm { display: none; }
  h2 { font-size: 24px; }
  .band { padding: 22px; }
}
