/* JEFAMED LLC — company site (static). Arabic / English in the same page: [lang] blocks shown by html[data-l]. */
:root {
  --bg: #f7f9fc; --card: #ffffff; --ink: #0f1d33; --mut: #5b6b82; --line: #e3e9f2;
  --brand: #0f4c81; --brand2: #13a89e; --soft: #eaf2fb; --shadow: 0 6px 24px rgba(15, 29, 51, .07);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #0b1220; --card: #121b2d; --ink: #e7edf7; --mut: #9fb0c8; --line: #22304a; --soft: #14243d; --shadow: none; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
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; }
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); } a:hover { color: var(--brand2); }
.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; letter-spacing: .5px; }
.logo img { width: 38px; height: 38px; }
.logo span small { display: block; font-size: 11px; font-weight: 600; color: var(--mut); letter-spacing: 0; }
nav.links { display: flex; gap: 6px; 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); }
.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; }
.hero { padding: 64px 0 40px; }
.hero h1 { font-size: clamp(28px, 5vw, 44px); line-height: 1.25; margin: 0 0 14px; }
.hero p.lead { font-size: 19px; color: var(--mut); max-width: 720px; margin: 0 0 22px; }
.btn { display: inline-block; text-decoration: none; background: var(--brand); color: #fff; border-radius: 10px; padding: 10px 18px; font-weight: 700; }
.btn:hover { background: var(--brand2); color: #fff; }
.btn.ghost { background: transparent; color: var(--brand); border: 1px solid var(--line); }
section { padding: 36px 0; }
h2 { font-size: 26px; margin: 0 0 8px; }
.sub { color: var(--mut); margin: 0 0 22px; }
.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: 6px 0 6px; font-size: 19px; }
.card p { margin: 0 0 10px; color: var(--mut); font-size: 15px; }
.icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 24px; background: var(--soft); }
.tag { display: inline-block; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 2px 10px; }
.tag.live { background: #dcfce7; color: #166534; } .tag.soon { background: #fef3c7; color: #92400e; }
.card ul { margin: 0 0 10px; padding-inline-start: 18px; color: var(--mut); font-size: 14px; }
.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; } .doc h2 { font-size: 20px; margin-top: 26px; }
.doc .meta { color: var(--mut); font-size: 14px; }
.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; }
footer .wrap { display: flex; gap: 14px; justify-content: space-between; flex-wrap: wrap; }
footer a { color: var(--mut); }
@media (max-width: 640px) { header.top .wrap { padding: 8px 16px; } nav.links a { padding: 4px 6px; font-size: 14px; } .hero { padding: 40px 0 24px; } }
