:root {
  --ink: #15243a;
  --muted: #5a6675;
  --brand: #d7972d;
  --brand-dark: #a9660f;
  --surface: #ffffff;
  --soft: #f5f7fa;
  --line: #dee4eb;
  --dark: #0b1728;
  --radius: 16px;
  --shadow: 0 14px 38px rgba(15, 30, 52, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Tahoma, Arial, "Noto Sans Arabic", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  text-align: right;
}
a { color: #8e5507; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; height: auto; display: block; }

.skip-link { position: absolute; right: 1rem; top: -5rem; background: #fff; padding: .65rem 1rem; z-index: 10; border-radius: 0 0 8px 8px; }
.skip-link:focus { top: 0; }
.container { width: min(1160px, calc(100% - 2rem)); margin: 0 auto; }
.narrow { width: min(800px, calc(100% - 2rem)); margin: 0 auto; }

.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 4; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.17rem; white-space: nowrap; }
.brand img { width: 48px; height: 40px; object-fit: contain; }
.brand small { display: block; font-size: .72rem; font-weight: 500; color: var(--muted); line-height: 1.1; }
.site-nav { display: flex; gap: 1.05rem; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.site-nav a { color: var(--ink); font-size: .94rem; font-weight: 700; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--brand-dark); }

.hero { position: relative; min-height: 585px; display: grid; align-items: center; overflow: hidden; background: var(--dark); color: #fff; }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 14, 26, .92) 0%, rgba(5, 14, 26, .75) 44%, rgba(5, 14, 26, .18) 100%); }
.hero-content { position: relative; z-index: 1; max-width: 650px; padding: 5rem 0; }
.eyebrow { display: inline-block; color: #f5c976; font-weight: 800; font-size: .9rem; letter-spacing: .02em; margin-bottom: .85rem; }
h1, h2, h3 { color: var(--ink); line-height: 1.32; margin: 0 0 .75rem; }
h1 { font-size: clamp(2rem, 4.7vw, 3.8rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.25rem); }
h3 { font-size: 1.18rem; margin-top: 1.65rem; }
.hero h1 { color: #fff; max-width: 650px; }
.hero p { font-size: clamp(1rem, 1.6vw, 1.18rem); max-width: 610px; margin: 1.1rem 0 1.8rem; color: #eef2f7; }
.actions { display: flex; gap: .85rem; flex-wrap: wrap; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; border-radius: 8px; padding: .7rem 1.15rem; font-weight: 800; border: 1px solid transparent; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--brand); color: #15100a; }
.button-primary:hover { background: #efb74e; color: #15100a; }
.button-secondary { border-color: rgba(255,255,255,.72); color: #fff; background: rgba(5,14,26,.28); }
.button-secondary:hover { background: #fff; color: var(--dark); }

.section { padding: 4.6rem 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 720px; margin-bottom: 2rem; }
.section-head p { color: var(--muted); margin: 0; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.card { background: #fff; padding: 1.45rem; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 4px 18px rgba(15, 30, 52, .05); }
.card h3 { margin-top: 0; }
.card p { color: var(--muted); margin: 0; }
.card-icon { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 1rem; background: #fff4dd; color: var(--brand-dark); font-size: 1.25rem; font-weight: 900; }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.7rem; align-items: center; }
.split-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split-media img { width: 100%; }
.list-check { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.list-check li { position: relative; padding-right: 1.65rem; margin: .55rem 0; }
.list-check li::before { content: "✓"; color: var(--brand-dark); font-weight: 900; position: absolute; right: 0; }

.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.35rem; }
.blog-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.blog-card img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.blog-card-body { padding: 1.35rem; display: flex; flex-direction: column; flex: 1; }
.blog-card p { color: var(--muted); margin: 0 0 1rem; }
.blog-card .text-link { margin-top: auto; font-weight: 800; }

.contact-panel { background: var(--dark); color: #fff; border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 3.2rem); display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.contact-panel h2 { color: #fff; }
.contact-panel p { color: #dbe3ed; margin: .3rem 0 0; }
.contact-panel .button-secondary { white-space: nowrap; }
.notice { background: #fff8e9; border-right: 4px solid var(--brand); padding: 1rem 1.1rem; color: #58401a; border-radius: 6px; margin-top: 1.4rem; }

.page-hero { background: linear-gradient(135deg, #101f35, #203e5d); color: #fff; padding: 5rem 0 3.8rem; }
.page-hero h1 { color: #fff; max-width: 900px; }
.page-hero p { color: #dae4ef; max-width: 760px; margin: .9rem 0 0; }
.breadcrumb { color: #d5dfeb; font-size: .9rem; margin-bottom: 1rem; }
.breadcrumb a { color: #f5c976; }
.article { padding: 3.5rem 0 5rem; }
.article-header { border-bottom: 1px solid var(--line); padding-bottom: 1.25rem; margin-bottom: 2rem; }
.article-meta { color: var(--muted); font-size: .9rem; }
.article p { margin: 0 0 1.2rem; }
.article ul, .article ol { padding-right: 1.35rem; margin: .6rem 0 1.3rem; }
.article li { margin: .45rem 0; }
.article table { width: 100%; margin: 1.2rem 0 1.6rem; border-collapse: collapse; font-size: .94rem; }
.article th, .article td { padding: .85rem; border: 1px solid var(--line); vertical-align: top; }
.article th { background: var(--soft); }
.article blockquote { margin: 1.5rem 0; padding: .8rem 1.1rem; border-right: 4px solid var(--brand); background: #fff8e9; color: #513e22; }
.article .callout { background: var(--soft); padding: 1.25rem; border-radius: 10px; margin: 1.7rem 0; }
.article .callout h2 { font-size: 1.35rem; }
.article .article-cta { margin-top: 2.5rem; padding: 1.5rem; background: #102137; color: #fff; border-radius: var(--radius); }
.article .article-cta h2, .article .article-cta a { color: #fff; }
.article .article-cta p { color: #d9e4ef; }

.site-footer { background: #091421; color: #cad5e0; padding: 2.3rem 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1.5rem; }
.site-footer h2 { color: #fff; font-size: 1.08rem; }
.site-footer p { margin: .3rem 0; font-size: .92rem; }
.site-footer a { color: #e7ba68; }
.copyright { border-top: 1px solid rgba(255,255,255,.14); padding-top: 1.2rem; margin-top: 1.5rem; color: #94a3b5; font-size: .82rem; }

@media (max-width: 780px) {
  .header-inner { min-height: auto; padding: .75rem 0; align-items: flex-start; flex-direction: column; gap: .55rem; }
  .site-nav { gap: .8rem; justify-content: flex-start; }
  .hero { min-height: 540px; }
  .hero-content { padding: 4rem 0; }
  .hero::after { background: linear-gradient(90deg, rgba(5, 14, 26, .9), rgba(5, 14, 26, .47)); }
  .grid, .blog-grid, .split, .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 0; }
  .contact-panel { align-items: flex-start; flex-direction: column; }
  .contact-panel .button-secondary { width: 100%; }
  .page-hero { padding: 3.7rem 0 2.8rem; }
  .article { padding-top: 2.5rem; }
  .article table { font-size: .83rem; }
  .article th, .article td { padding: .6rem; }
}
