:root {
  --green-50:  #f0faf4;
  --green-100: #d4f0e0;
  --green-200: #a8dfc2;
  --green-300: #6ec49a;
  --green-400: #3d9e6a;
  --green-500: #2d8057;
  --green-600: #1f6342;
  --green-700: #174d33;
  --green-800: #0f3522;
  --green-900: #091e13;
  --sand:      #faf8f3;
  --sand-dark: #f0ece0;
  --ink:       #141a13;
  --ink-soft:  #3a4438;
  --muted:     #7a8c7d;
  --serif: 'Playfair Display', Georgia, serif;
  --sans:  'DM Sans', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--sand); color: var(--ink); line-height: 1.6; overflow-x: hidden; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 70px;
  background: rgba(250,248,243,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(61,158,106,0.12);
  transition: box-shadow .3s;
}
nav.scrolled { box-shadow: 0 2px 20px rgba(20,60,30,0.08); }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-icon { width: 36px; height: 36px; background: var(--green-500); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.nav-logo-icon svg { width: 20px; height: 20px; fill: white; }
.nav-logo-text { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 14px; color: var(--ink-soft); text-decoration: none; font-weight: 400; transition: color .2s; }
.nav-links a:hover { color: var(--green-500); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.btn-ghost { font-size: 14px; color: var(--ink-soft); text-decoration: none; font-weight: 500; padding: 8px 16px; border-radius: 8px; transition: all .2s; background: none; border: none; cursor: pointer; font-family: var(--sans); }
.btn-ghost:hover { background: var(--green-50); color: var(--green-600); }
.btn-primary {
  font-family: var(--sans); font-size: 14px; font-weight: 500; color: white;
  background: var(--green-500); border: none; border-radius: 10px;
  padding: 10px 20px; cursor: pointer; text-decoration: none;
  transition: background .2s, transform .15s;
  display: inline-flex; align-items: center; gap: 6px;
}
.btn-primary:hover { background: var(--green-600); transform: translateY(-1px); }
.btn-primary.btn-large { font-size: 16px; padding: 14px 28px; border-radius: 12px; }
.btn-outline {
  font-size: 14px; font-weight: 500; color: var(--green-600);
  border: 1.5px solid var(--green-400); background: transparent; border-radius: 10px;
  padding: 10px 20px; text-decoration: none; transition: all .2s;
  display: inline-flex; align-items: center; gap: 6px;
}
.btn-outline:hover { background: var(--green-50); transform: translateY(-1px); }
.btn-outline.btn-large { font-size: 16px; padding: 14px 28px; border-radius: 12px; }

/* BREADCRUMB */
.breadcrumb-bar { padding: 100px 5% 0; max-width: 900px; margin: 0 auto; }
.breadcrumb-bar .article-breadcrumb { padding: 0; }
.article-breadcrumb { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--muted); padding: 100px 5% 0; max-width: 760px; margin: 0 auto; }
.article-breadcrumb a { color: var(--muted); text-decoration: none; }
.article-breadcrumb a:hover { color: var(--green-600); }
.article-breadcrumb .sep { color: var(--sand-dark); }
.article-breadcrumb .current { color: var(--ink-soft); }

/* HERO (landing-style, used by city pages) */
.hero {
  min-height: 92vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 120px 5% 80px;
  background: linear-gradient(160deg, var(--green-900) 0%, var(--green-700) 60%, var(--green-500) 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: 'بسم الله الرحمن الرحيم';
  position: absolute; top: 100px; right: 5%; font-size: 18px;
  color: rgba(255,255,255,0.12); font-family: var(--serif); letter-spacing: .1em;
  pointer-events: none;
}
.hero-bg-circle { position: absolute; border-radius: 50%; pointer-events: none; }
.hero-bg-circle.c1 { width: 600px; height: 600px; background: radial-gradient(circle, rgba(61,158,106,0.18) 0%, transparent 70%); top: -200px; left: -100px; }
.hero-bg-circle.c2 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%); bottom: -100px; right: -50px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 99px; padding: 6px 16px; font-size: 13px; color: rgba(255,255,255,0.85); font-weight: 500; margin-bottom: 24px; }
.hero h1 { font-family: var(--serif); font-size: clamp(34px, 5vw, 60px); font-weight: 700; color: white; line-height: 1.15; margin-bottom: 20px; max-width: 800px; }
.hero h1 em { font-style: italic; color: var(--green-200); }
.hero-sub { font-size: clamp(16px, 2vw, 19px); color: rgba(255,255,255,0.7); max-width: 620px; margin-bottom: 36px; line-height: 1.7; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-bottom: 48px; }
.hero-trust { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; justify-content: center; }
.trust-item { text-align: center; }
.trust-item .num { font-family: var(--serif); font-size: 24px; font-weight: 700; color: white; }
.trust-item .label { font-size: 12px; color: rgba(255,255,255,0.55); }
.trust-divider { width: 1px; height: 36px; background: rgba(255,255,255,0.15); }

/* SECTIONS (shared) */
.section-label { font-size: 11px; font-weight: 600; color: var(--green-500); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.section-label::before { content: ''; width: 24px; height: 2px; background: var(--green-400); border-radius: 2px; }
.section-heading { font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); font-weight: 700; color: var(--ink); line-height: 1.2; margin-bottom: 16px; }
.section-sub { font-size: 16px; color: var(--muted); line-height: 1.75; }

.problem-section { padding: 96px 5%; background: white; }
.problem-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.problem-points { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.problem-point { display: flex; gap: 14px; align-items: flex-start; }
.problem-icon { width: 36px; height: 36px; border-radius: 10px; background: #fef2f2; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; margin-top: 2px; }
.problem-text strong { display: block; font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.problem-text span { font-size: 14px; color: var(--muted); line-height: 1.6; }
.problem-cta-box { background: var(--green-900); border-radius: 24px; padding: 40px; color: white; }
.problem-cta-box h3 { font-family: var(--serif); font-size: 26px; font-weight: 700; margin-bottom: 12px; color: white; line-height: 1.3; }
.problem-cta-box p { font-size: 15px; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 28px; }
.problem-cta-box .btn-primary { background: var(--green-400); }
.problem-cta-box .btn-primary:hover { background: var(--green-300); }

.features-section { padding: 96px 5%; background: var(--sand); }
.features-inner { max-width: 1100px; margin: 0 auto; }
.features-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { background: white; border: 1.5px solid var(--sand-dark); border-radius: 20px; padding: 28px 24px; transition: border-color .2s, box-shadow .2s; }
.feature-card:hover { border-color: rgba(45,128,87,0.3); box-shadow: 0 8px 32px rgba(20,60,30,0.07); }
.feature-card-icon { font-size: 28px; margin-bottom: 14px; }
.feature-card-title { font-weight: 700; font-size: 16px; color: var(--ink); margin-bottom: 8px; }
.feature-card-desc { font-size: 14px; color: var(--muted); line-height: 1.65; }
.feature-card.highlight { background: var(--green-900); border-color: var(--green-700); }
.feature-card.highlight .feature-card-title { color: white; }
.feature-card.highlight .feature-card-desc { color: rgba(255,255,255,0.6); }

.mawarith-section { padding: 96px 5%; background: white; }
.mawarith-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.mawarith-table-wrap { background: var(--green-50); border: 1.5px solid var(--green-100); border-radius: 20px; overflow: hidden; }
.mawarith-table-header { background: var(--green-500); padding: 16px 20px; font-weight: 600; font-size: 14px; color: white; display: flex; align-items: center; gap: 10px; }
table.mawarith-table { width: 100%; border-collapse: collapse; }
table.mawarith-table th { background: var(--green-50); font-size: 12px; font-weight: 600; color: var(--green-600); text-transform: uppercase; letter-spacing: .05em; padding: 10px 16px; text-align: left; border-bottom: 1px solid var(--green-100); }
table.mawarith-table td { padding: 11px 16px; font-size: 14px; border-bottom: 1px solid var(--sand-dark); }
table.mawarith-table td:first-child { font-weight: 500; color: var(--ink); }
table.mawarith-table td:nth-child(2) { color: var(--muted); }
table.mawarith-table td:nth-child(3) { font-weight: 700; color: var(--green-600); }
table.mawarith-table td:last-child { font-size: 12px; color: var(--muted); }
table.mawarith-table tr:last-child td { border-bottom: none; }
.table-note { font-size: 12px; color: var(--muted); padding: 12px 16px; border-top: 1px solid var(--green-100); font-style: italic; }
.table-scroll-wrap { overflow-x: auto; }

.steps-section { padding: 96px 5%; background: var(--sand); }
.steps-inner { max-width: 900px; margin: 0 auto; }
.steps-header { text-align: center; margin-bottom: 56px; }
.steps-list { display: flex; flex-direction: column; gap: 0; }
.step-row { display: grid; grid-template-columns: 56px 1fr; gap: 24px; position: relative; padding-bottom: 40px; }
.step-row:last-child { padding-bottom: 0; }
.step-row:last-child .step-line { display: none; }
.step-num { width: 56px; height: 56px; border-radius: 50%; background: var(--green-500); color: white; font-family: var(--serif); font-size: 22px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; position: relative; z-index: 1; }
.step-line { position: absolute; left: 27px; top: 56px; bottom: 0; width: 2px; background: var(--green-100); }
.step-content { padding-top: 12px; }
.step-content h3 { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.step-content p { font-size: 15px; color: var(--muted); line-height: 1.7; }

.faq-section { padding: 96px 5%; background: white; }
.faq-inner { max-width: 800px; margin: 0 auto; }
.faq-header { text-align: center; margin-bottom: 48px; }
.faq-list { display: flex; flex-direction: column; gap: 0; border: 1.5px solid var(--sand-dark); border-radius: 16px; overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--sand-dark); }
.faq-item:last-child { border-bottom: none; }
.faq-question { width: 100%; text-align: left; background: none; border: none; padding: 20px 24px; font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--sans); transition: background .15s; }
.faq-question:hover { background: var(--green-50); }
.faq-question .icon { font-size: 20px; color: var(--green-500); font-weight: 300; flex-shrink: 0; transition: transform .2s; }
.faq-question.open .icon { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 24px 20px; font-size: 14px; color: var(--muted); line-height: 1.75; }
.faq-answer.open { display: block; }

.cta-section { padding: 96px 5%; background: var(--green-900); text-align: center; }
.cta-inner { max-width: 640px; margin: 0 auto; }
.cta-section .section-label { color: var(--green-200); justify-content: center; }
.cta-section .section-label::before { background: var(--green-300); }
.cta-section .section-heading { color: white; font-size: clamp(28px, 4vw, 44px); margin-bottom: 16px; }
.cta-section .section-sub { color: rgba(255,255,255,0.6); font-size: 16px; margin-bottom: 36px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.cta-note { font-size: 13px; color: rgba(255,255,255,0.4); }

footer { background: var(--green-900); border-top: 1px solid rgba(255,255,255,0.06); padding: 40px 5%; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.footer-logo-icon { width: 28px; height: 28px; background: var(--green-500); border-radius: 7px; display: flex; align-items: center; justify-content: center; }
.footer-logo-icon svg { width: 16px; height: 16px; fill: white; }
.footer-logo-text { font-family: var(--serif); font-size: 16px; font-weight: 700; color: white; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.45); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: white; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.3); }

/* ARTICLE (guides) */
.article-shell { max-width: 760px; margin: 0 auto; padding: 28px 5% 0; }
.article-header { padding: 12px 0 40px; border-bottom: 1px solid var(--sand-dark); margin-bottom: 40px; }
.article-eyebrow { font-size: 11px; font-weight: 600; color: var(--green-500); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.article-header h1 { font-family: var(--serif); font-size: clamp(30px, 4vw, 44px); font-weight: 700; color: var(--ink); line-height: 1.2; margin-bottom: 18px; text-wrap: balance; }
.article-dek { font-size: 17px; color: var(--muted); line-height: 1.7; max-width: 62ch; }
.article-meta { display: flex; gap: 16px; align-items: center; margin-top: 24px; font-size: 13px; color: var(--muted); }
.article-body { padding-bottom: 40px; }
.article-body h2 { font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--ink); margin: 44px 0 16px; line-height: 1.3; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { font-family: var(--sans); font-size: 17px; font-weight: 700; color: var(--ink); margin: 28px 0 12px; }
.article-body p { font-size: 16px; color: var(--ink-soft); line-height: 1.8; margin-bottom: 18px; max-width: 66ch; }
.article-body ul, .article-body ol { margin: 0 0 20px; padding-left: 22px; max-width: 66ch; }
.article-body li { font-size: 16px; color: var(--ink-soft); line-height: 1.8; margin-bottom: 8px; }
.article-body strong { color: var(--ink); }
.article-body blockquote { border-left: 3px solid var(--green-400); background: var(--green-50); padding: 18px 22px; border-radius: 0 12px 12px 0; margin: 24px 0; font-style: italic; color: var(--ink-soft); font-size: 15px; }
.pullout-box { background: var(--green-900); border-radius: 20px; padding: 32px; color: white; margin: 32px 0; }
.pullout-box h3 { font-family: var(--serif); font-size: 20px; font-weight: 700; color: white; margin-bottom: 10px; }
.pullout-box p { color: rgba(255,255,255,0.7); font-size: 14.5px; margin-bottom: 20px; }
.inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: var(--green-50); border: 1.5px solid var(--green-100); border-radius: 16px; padding: 20px 24px; margin: 32px 0; }
.inline-cta p { margin: 0; font-size: 14.5px; color: var(--ink-soft); max-width: 40ch; }
.related-guides { display: flex; flex-direction: column; gap: 10px; margin: 20px 0 40px; }
.related-guides a { display: block; padding: 14px 18px; background: white; border: 1.5px solid var(--sand-dark); border-radius: 12px; text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--ink); transition: border-color .2s; }
.related-guides a:hover { border-color: var(--green-400); color: var(--green-600); }
.related-guides a span { display: block; font-weight: 400; font-size: 13px; color: var(--muted); margin-top: 4px; }

/* GUIDES HUB */
.hub-hero { padding: 130px 5% 60px; max-width: 1000px; margin: 0 auto; text-align: center; }
.hub-hero h1 { font-family: var(--serif); font-size: clamp(32px, 4.5vw, 50px); font-weight: 700; color: var(--ink); margin-bottom: 16px; line-height: 1.15; text-wrap: balance; }
.hub-hero p { font-size: 17px; color: var(--muted); max-width: 56ch; margin: 0 auto; line-height: 1.7; }
.guide-grid { max-width: 1000px; margin: 0 auto; padding: 20px 5% 100px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.guide-card { background: white; border: 1.5px solid var(--sand-dark); border-radius: 18px; padding: 26px 24px; text-decoration: none; display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s, transform .2s; }
.guide-card:hover { border-color: rgba(45,128,87,0.35); box-shadow: 0 10px 32px rgba(20,60,30,0.08); transform: translateY(-2px); }
.guide-card .tag { font-size: 11px; font-weight: 600; color: var(--green-500); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.guide-card h2 { font-family: var(--serif); font-size: 19px; font-weight: 700; color: var(--ink); margin-bottom: 10px; line-height: 1.35; }
.guide-card p { font-size: 14px; color: var(--muted); line-height: 1.65; flex: 1; }
.guide-card .read-more { font-size: 13px; font-weight: 600; color: var(--green-600); margin-top: 16px; }
.guide-card.full { grid-column: 1 / -1; }

/* CITY SERVED STRIP */
.cities-strip { padding: 64px 5%; background: white; border-top: 1px solid var(--sand-dark); border-bottom: 1px solid var(--sand-dark); }
.cities-strip-inner { max-width: 1000px; margin: 0 auto; text-align: center; }
.cities-strip-inner .section-label { justify-content: center; }
.cities-strip-inner h2 { font-family: var(--serif); font-size: 24px; font-weight: 700; margin-bottom: 28px; }
.cities-grid { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.city-chip { padding: 10px 20px; background: var(--green-50); border: 1.5px solid var(--green-100); border-radius: 99px; font-size: 14px; font-weight: 500; color: var(--green-700); text-decoration: none; transition: all .2s; }
.city-chip:hover { background: var(--green-500); color: white; border-color: var(--green-500); }

/* MOBILE */
@media (max-width: 900px) {
  .problem-inner { grid-template-columns: 1fr; gap: 40px; }
  .mawarith-inner { grid-template-columns: 1fr; gap: 40px; }
  .features-grid { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-cta .nav-getstarted { display: none; }
}
@media (max-width: 640px) {
  .hero-trust { gap: 20px; }
  .trust-divider { display: none; }
  .hero-actions { flex-direction: column; align-items: center; }
}
