:root {
  --accent: #0277bd;
  --accent-dark: #01579b;
  --ink: #1c1c1c;
  --muted: #4f5b66;
  --paper: #ffffff;
  --sand: #eef7fc;
  --line: #d3e6f3;
  --radius: 12px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.8;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.35; margin: 0 0 .6em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h2::after { content: ""; display: block; width: 56px; height: 4px; background: var(--accent); border-radius: 2px; margin-top: .4em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; right: -999px; }
.skip:focus { right: 16px; top: 8px; background: var(--paper); padding: 8px 12px; z-index: 100; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.brand img { width: 104px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--accent); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

/* Buttons */
.btn { display: inline-block; background: var(--accent); color: #fff !important; text-decoration: none; font-weight: 700; padding: 12px 22px; border-radius: 999px; border: 2px solid var(--accent); cursor: pointer; font: inherit; font-weight: 700; }
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-ghost { background: transparent; color: var(--accent) !important; }
.btn-ghost:hover { background: var(--accent); color: #fff !important; }
.btn-sm { padding: 6px 16px; }

/* Hero */
.hero { padding: 56px 0 32px; background: linear-gradient(180deg, var(--sand), var(--paper)); }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.eyebrow { color: var(--accent); font-weight: 700; margin-bottom: .4em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.creds { font-size: .9rem; color: var(--muted); border-inline-start: 3px solid var(--accent); padding-inline-start: 12px; }
.hero-logo img { width: 100%; max-width: 440px; margin-inline: auto; }
.stats { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stats li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-align: center; }
.stats strong { display: block; font-size: 1.9rem; color: var(--accent); line-height: 1.2; }
.stats li > span { color: var(--muted); font-size: .95rem; }

/* Sections */
.section { padding: 72px 0; }
.section.alt { background: var(--sand); }
.section-lead { color: var(--muted); max-width: 48em; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card ul { padding-inline-start: 1.1em; margin: 0; }
.card li { margin-bottom: .5em; }
.card h3 { color: var(--accent); }
.principle .quote { font-size: 1.1rem; font-weight: 700; }
.checks { padding-inline-start: 1.2em; margin: 0; }
.checks li { margin-bottom: .7em; }
.tags { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; font-size: .95rem; }
.section:not(.alt) .tags li { background: var(--sand); }
.sub { margin-top: 40px; }
.note { color: var(--muted); font-size: .95rem; margin-top: 24px; }

/* Method */
.points { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; counter-reset: none; }
.points li { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; font-weight: 500; background: var(--sand); }
.points span { display: block; color: var(--accent); font-weight: 700; direction: ltr; text-align: right; }
.kpi { border-inline-start: 4px solid var(--accent); padding: 8px 16px; }
.kpi strong { display: block; font-size: 1.4rem; }
.kpi span { color: var(--muted); }

/* Table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { padding: 12px 16px; text-align: right; border-bottom: 1px solid var(--line); }
th { background: var(--ink); color: #fff; font-weight: 500; }
tbody tr:last-child td { border-bottom: 0; }
.partners { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.partners li { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; font-weight: 500; }

/* Team */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.member { border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--radius); padding: 18px; }
.member h3 { margin-bottom: .2em; }
.member .role { color: var(--accent); font-weight: 500; margin-bottom: .4em; }
.member p { margin: 0; color: var(--muted); font-size: .95rem; }
.member p + p { margin-top: 6px; }

/* Contact */
.contact-list { margin: 16px 0 24px; }
.contact-list dt { font-weight: 700; margin-top: 12px; }
.contact-list dd { margin: 0; }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 500; }
.form input, .form select, .form textarea { font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.hp { display: none; }

/* Footer */
.site-footer { background: var(--ink); color: #ddd; padding: 32px 0 80px; font-size: .95rem; }
.site-footer p { margin: 0 0 .4em; }

/* WhatsApp */
.wa-float { position: fixed; left: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.25); z-index: 60; }
.wa-float svg { width: 30px; height: 30px; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .two-col { grid-template-columns: 1fr; }
  .hero-logo { order: -1; }
  .hero-logo img { max-width: 300px; }
  .grid-3, .team { grid-template-columns: 1fr 1fr; }
  .points { grid-template-columns: repeat(2, 1fr); }
  .partners { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 72px; inset-inline: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .nav a.btn { margin-top: 10px; text-align: center; border-bottom: 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .section { padding: 52px 0; }
  .grid-3, .team, .partners { grid-template-columns: 1fr; }
}
