/* صفحات SEO الإنجليزية — نفس هوية الأكاديمية */
:root {
  --green-950: #04382a; --green-900: #064e3b; --green-700: #047857; --green-50: #ecfdf5;
  --gold: #fbbf24; --gold-dark: #b45309; --paper: #faf8f5; --ink: #1c1917; --muted: #57534e; --line: #e7e5e4;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.7 'Cairo', system-ui, -apple-system, 'Segoe UI', sans-serif; }
a { color: var(--green-700); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

.top { background: var(--green-900); color: #fff; position: sticky; top: 0; z-index: 5; }
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; }
.brand img { background: var(--green-950); border-radius: 10px; padding: 2px; }
.top nav { display: flex; gap: 4px; flex-wrap: wrap; flex: 1; }
.top nav a { color: #d1fae5; text-decoration: none; font-size: 15px; padding: 6px 10px; border-radius: 8px; }
.top nav a:hover, .top nav a[aria-current] { background: rgba(255,255,255,.1); color: #fff; }
.top-cta { display: flex; align-items: center; gap: 10px; }
.lang { color: #d1fae5; text-decoration: none; font-size: 15px; }

.btn { display: inline-block; background: var(--gold); color: var(--ink); font-weight: 700; text-decoration: none; padding: 12px 22px; border-radius: 12px; }
.btn:hover { background: #fcd34d; }
.btn.small { padding: 7px 14px; font-size: 15px; }
.btn.ghost { background: transparent; border: 1.5px solid var(--green-900); color: var(--green-900); }
.btn.ghost.light { border-color: rgba(255,255,255,.4); color: #fff; }
.btn.ghost.light:hover { background: rgba(255,255,255,.08); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero { margin: 0; background-color: var(--green-950); color: #fff; padding: 56px 0 64px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cg fill='none' stroke='%23fcd34d' stroke-opacity='.09'%3E%3Crect x='15' y='15' width='30' height='30'/%3E%3Crect x='15' y='15' width='30' height='30' transform='rotate(45 30 30)'/%3E%3Ccircle cx='30' cy='30' r='6'/%3E%3C/g%3E%3C/svg%3E"); }
.verse { font-family: 'Amiri', serif; font-size: clamp(40px, 7vw, 68px); line-height: 1.5; color: #fde68a; margin: 0; }
.verse-en { color: rgba(209,250,229,.75); font-size: 15px; margin: 0 0 28px; }
.hero h1 { font-size: clamp(28px, 4.2vw, 44px); line-height: 1.2; margin: 0 0 14px; max-width: 22ch; }
.lead { font-size: 19px; color: #ecfdf5; max-width: 62ch; margin: 0; }

.body { padding-top: 24px; padding-bottom: 48px; }
section { margin: 48px 0; }
h2 { font-size: 28px; line-height: 1.25; color: var(--green-900); margin: 0 0 16px; }
h3 { font-size: 19px; margin: 0 0 4px; }
section > p { max-width: 68ch; color: #292524; }

.programs { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.programs a { display: block; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; text-decoration: none; color: var(--ink); }
.programs a:hover { border-color: var(--gold); }
.programs p { color: var(--muted); font-size: 16px; margin: 6px 0 12px; }
.programs span { color: var(--green-700); font-weight: 700; font-size: 15px; }

.why { list-style: none; padding: 0; margin: 0; display: grid; gap: 28px 32px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.why li { border-top: 3px solid var(--gold); padding-top: 12px; }
.why p { margin: 0; color: var(--muted); font-size: 16px; }

.ticks { list-style: none; padding: 0; margin: 0; max-width: 70ch; }
.ticks li { position: relative; padding-left: 28px; margin: 10px 0; }
.ticks li::before { content: ''; position: absolute; left: 4px; top: 11px; width: 9px; height: 9px; background: var(--gold-dark); transform: rotate(45deg); }

.steps { background: var(--green-50); border-radius: 28px; padding: 32px; }
.steps ol { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.steps li { counter-increment: s; position: relative; padding-left: 56px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--green-900); color: var(--gold); font-weight: 700; display: grid; place-items: center; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }

.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 18px; margin: 10px 0; max-width: 80ch; }
.faq summary { cursor: pointer; font-weight: 700; padding: 12px 0; }
.faq details p { margin: 0 0 14px; color: var(--muted); }
.links { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.links a { display: inline-block; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 14px; text-decoration: none; }

footer { background: var(--green-950); color: #d6d3d1; padding: 32px 0; font-size: 15px; }
footer a { color: #fde68a; }
footer .small { color: #a8a29e; font-size: 13px; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .top nav { order: 3; flex-basis: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .top nav a { white-space: nowrap; }
  .top-cta { margin-left: auto; }
  .hero { padding: 40px 0 48px; }
  .steps { padding: 24px 20px; }
}

/* ===== المدونة ===== */
.hero-post { padding: 40px 0 44px; }
.hero-post h1 { max-width: 28ch; }
.crumbs { font-size: 14px; color: rgba(209,250,229,.75); margin-bottom: 12px; }
.crumbs a { color: #fde68a; text-decoration: none; }
.meta { color: rgba(209,250,229,.7); font-size: 14px; margin: 16px 0 0; }
.post { max-width: 68ch; font-size: 18px; line-height: 1.8; }
.post h2 { font-size: 24px; margin: 36px 0 10px; }
.post p, .post li { color: #292524; }
.post ul, .post ol { padding-left: 22px; }
.post li { margin: 6px 0; }
.post blockquote { margin: 28px 0; padding: 16px 20px; background: #fffdf6; border-left: 4px solid var(--gold); border-radius: 0 12px 12px 0; color: var(--green-950); font-weight: 600; }
.post-cta { max-width: 68ch; background: var(--green-50); border-radius: 24px; padding: 24px 28px; margin: 40px 0; }
.post-cta h2 { margin-bottom: 4px; }
.post-cta .cta-row { margin-top: 16px; }
.post-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.post-list a { display: block; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; text-decoration: none; color: var(--ink); }
.post-list a:hover { border-color: var(--gold); }
.post-list p { color: var(--muted); font-size: 15px; margin: 6px 0 12px; }
.post-list span { color: var(--green-700); font-weight: 700; font-size: 15px; }
