:root {
  --green-900: #0b3b35;
  --green-800: #0e4d45;
  --green-700: #136157;
  --green-100: #e3efe9;
  --gold: #c9a227;
  --gold-soft: #f3e8c4;
  --cream: #fbf8f1;
  --paper: #ffffff;
  --ink: #1d2a27;
  --muted: #5b6b67;
  --line: #e6e0d2;
  --wa: #1fa855;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(16, 40, 36, .06), 0 8px 24px rgba(16, 40, 36, .07);
  --max: 1140px;
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --arabic: "Amiri", "Traditional Arabic", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green-700); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; color: var(--green-900); }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section.alt { background: var(--paper); border-block: 1px solid var(--line); }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 640px; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 241, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green-900); }
.brand-mark { width: 40px; height: 40px; border-radius: 12px; background: var(--green-800); color: var(--gold-soft); display: grid; place-items: center; font: 700 1.25rem/1 var(--arabic); }
.brand-name { font-family: var(--serif); font-size: 1.25rem; line-height: 1; }
.brand-name small { display: block; font: 500 .68rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-links a { text-decoration: none; color: var(--ink); font-size: .95rem; padding: 8px 12px; border-radius: 10px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--green-100); color: var(--green-900); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; font-size: 1.3rem; cursor: pointer; color: var(--ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font: 600 1rem/1 var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green-800); color: #fff; }
.btn-primary:hover { background: var(--green-900); box-shadow: var(--shadow); }
.btn-gold { background: var(--gold); color: var(--green-900); }
.btn-outline { border-color: var(--green-800); color: var(--green-800); background: transparent; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-sm { padding: 9px 16px; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 80px 0 72px; background:
  radial-gradient(1200px 500px at 85% -10%, rgba(201, 162, 39, .16), transparent 60%),
  var(--cream); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23c9a227' stroke-opacity='.18'%3E%3Cpath d='M40 8l9 23 23 9-23 9-9 23-9-23-23-9 23-9z'/%3E%3Crect x='22' y='22' width='36' height='36' transform='rotate(45 40 40)'/%3E%3C/g%3E%3C/svg%3E");
  mask-image: linear-gradient(to left, #000 10%, transparent 70%); -webkit-mask-image: linear-gradient(to left, #000 10%, transparent 70%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero .arabic { font: 400 1.6rem/1.6 var(--arabic); color: var(--gold); margin-bottom: 8px; direction: rtl; }
.hero-card { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.hero-card h3 { margin-bottom: 14px; }
.trust-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.trust-list li { display: flex; gap: 12px; align-items: flex-start; }
.trust-list .ic { flex: 0 0 36px; height: 36px; border-radius: 10px; background: var(--green-100); display: grid; place-items: center; font-size: 1.1rem; }
.trust-list strong { display: block; color: var(--green-900); }
.trust-list span { color: var(--muted); font-size: .92rem; }
.hero-note { margin-top: 18px; font-size: .9rem; color: var(--muted); }

/* Strip */
.strip { background: var(--green-800); color: #e9f2ee; padding: 18px 0; }
.strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; font-size: .95rem; }
.strip li::before { content: "✦ "; color: var(--gold); }

/* Cards / grids */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card .ic-lg { width: 52px; height: 52px; border-radius: 14px; background: var(--gold-soft); display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 14px; }
.card p:last-child { margin-bottom: 0; }
.card .meta { font-size: .88rem; color: var(--muted); }
.tag { display: inline-block; font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--green-100); color: var(--green-800); margin: 0 6px 6px 0; }
.tag.gold { background: var(--gold-soft); color: #7a5f0c; }

/* Steps */
.steps { counter-reset: s; }
.step { position: relative; padding-left: 64px; }
.step::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--green-800); color: var(--gold-soft); display: grid; place-items: center; font: 1.3rem var(--serif); }

/* Pricing */
.region-switch { display: inline-flex; padding: 5px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; gap: 4px; margin: 8px 0 32px; flex-wrap: wrap; justify-content: center; }
.region-switch button { border: 0; background: transparent; padding: 9px 18px; border-radius: 999px; font: 600 .92rem var(--sans); color: var(--muted); cursor: pointer; }
.region-switch button[aria-pressed="true"] { background: var(--green-800); color: #fff; }
.plan { position: relative; display: flex; flex-direction: column; }
.plan.popular { border: 2px solid var(--gold); }
.plan .badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--gold); color: var(--green-900); font-size: .75rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.plan .price { font: 2.6rem/1 var(--serif); color: var(--green-900); margin: 10px 0 2px; }
.plan .price small { font: 500 .95rem var(--sans); color: var(--muted); }
.plan .per { font-size: .85rem; color: var(--muted); margin-bottom: 16px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; font-size: .95rem; }
.plan li::before { content: "✓"; color: var(--green-700); font-weight: 700; margin-right: 8px; }
.plan .btn { margin-top: auto; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
th { background: var(--green-100); color: var(--green-900); font-weight: 600; }
tr:last-child td { border-bottom: 0; }

/* FAQ */
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; color: var(--green-900); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--gold); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding-bottom: 18px; color: var(--muted); }

/* Forms */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--green-900); }
input, select, textarea { width: 100%; padding: 12px 14px; border: 1px solid #d9d2c2; border-radius: 12px; font: 1rem var(--sans); background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(19, 97, 87, .2); border-color: var(--green-700); }
.hint { font-size: .85rem; color: var(--muted); }
.radio-row { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-row label { display: flex; align-items: center; gap: 8px; font-weight: 500; border: 1px solid #d9d2c2; border-radius: 12px; padding: 10px 14px; background: #fff; cursor: pointer; margin: 0; }
.radio-row input { width: auto; }

/* Page header */
.page-head { padding: 64px 0 40px; background: linear-gradient(180deg, var(--green-100), var(--cream)); border-bottom: 1px solid var(--line); }
.page-head .lead { margin-bottom: 0; }

/* CTA band */
.cta-band { background: var(--green-900); color: #e9f2ee; border-radius: 28px; padding: 48px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c8dbd4; margin: 0; }
.cta-band .btn-row { justify-content: flex-end; }

/* Notice */
.notice { background: var(--gold-soft); border: 1px solid #e8d79c; border-radius: 14px; padding: 16px 18px; font-size: .95rem; }

/* Footer */
.site-footer { background: var(--green-900); color: #c8dbd4; padding: 56px 0 28px; margin-top: 72px; font-size: .93rem; }
.site-footer a { color: #e9f2ee; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: var(--gold-soft); font: 600 .8rem var(--sans); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 36px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(31, 168, 85, .4); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .cta-band { grid-template-columns: 1fr; }
  .cta-band .btn-row { justify-content: flex-start; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--cream); border-bottom: 1px solid var(--line); padding: 10px 16px 18px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; }
}
@media (max-width: 620px) {
  .container { padding: 0 16px; }
  .section { padding: 52px 0; }
  .hero { padding: 48px 0; }
  .grid-2, .grid-3, .grid-4, .form .row, .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 22px; border-radius: 20px; }
  .card { padding: 22px; }
}

[hidden] { display: none !important; }
.grid-trial { grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: start; }
@media (max-width: 960px) { .grid-trial { grid-template-columns: 1fr; } }

/* ================= v2 design upgrade ================= */
body { background: #faf7ef; }
.brand-mark { width: 42px; height: 46px; background: none; border-radius: 0; display: block; flex: 0 0 auto; }
.brand-name { font-size: 1.4rem; }
.brand-ar { font: 700 1.1rem/1 var(--arabic); color: var(--gold); margin-left: 2px; }
.icon { width: 24px; height: 24px; display: inline-block; vertical-align: middle; flex: 0 0 auto; }
.ic .icon { width: 20px; height: 20px; color: var(--green-700); }
.card .ic-lg { color: #8a6a0c; }
.card .ic-lg .icon { width: 26px; height: 26px; }
.btn .icon { width: 18px; height: 18px; }
a.card { transition: transform .2s, box-shadow .2s, border-color .2s; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d9cfae; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 600; color: var(--green-700); font-size: .92rem; }
.card-link .icon { width: 16px; height: 16px; transition: transform .2s; }
a.card:hover .card-link .icon { transform: translateX(3px); }

/* Hero v2 */
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.hero-badges li { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; color: var(--green-900); background: rgba(255,255,255,.7); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; }
.hero-badges .icon { width: 16px; height: 16px; color: var(--green-700); }
.report-wrap { position: relative; }
.report-wrap::before { content: ""; position: absolute; inset: 24px -18px -18px 24px; background: var(--green-800); border-radius: 28px; transform: rotate(3deg); opacity: .95; }
.report { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 24px; box-shadow: 0 20px 50px rgba(11,59,53,.18); }
.report-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.report-top .who { display: flex; gap: 12px; align-items: center; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--gold-soft); color: #7a5f0c; display: grid; place-items: center; font: 600 1rem var(--sans); flex: 0 0 auto; }
.report-top strong { display: block; color: var(--green-900); }
.report-top span { font-size: .84rem; color: var(--muted); }
.sample { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #7a5f0c; background: var(--gold-soft); padding: 4px 8px; border-radius: 6px; white-space: nowrap; }
.metric { margin-bottom: 14px; }
.metric-row { display: flex; justify-content: space-between; font-size: .88rem; margin-bottom: 6px; color: var(--ink); }
.metric-row b { color: var(--green-900); }
.bar { height: 8px; background: var(--green-100); border-radius: 99px; overflow: hidden; }
.bar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--green-700), #2f8f7f); border-radius: 99px; }
.bar.gold > i { background: linear-gradient(90deg, #c9a227, #e0bf52); }
.skills { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0; }
.skills span { font-size: .78rem; padding: 4px 10px; border-radius: 99px; background: var(--green-100); color: var(--green-800); }
.skills span.next { background: #fff; border: 1px dashed #c9bfa1; color: var(--muted); }
.note { background: var(--cream); border-left: 3px solid var(--gold); border-radius: 10px; padding: 12px 14px; font-size: .9rem; color: var(--ink); }
.note small { display: block; color: var(--muted); margin-top: 4px; }
.report-foot { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 16px; font-size: .84rem; color: var(--muted); }
.report-foot span { display: inline-flex; align-items: center; gap: 6px; }
.report-foot .icon { width: 16px; height: 16px; color: var(--green-700); }

/* Trust row */
.trust-row { background: var(--paper); border-block: 1px solid var(--line); padding: 22px 0; }
.trust-row ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trust-row li { display: flex; align-items: center; gap: 12px; font-size: .92rem; color: var(--ink); }
.trust-row li .icon { width: 22px; height: 22px; color: #8a6a0c; }
.trust-row strong { display: block; color: var(--green-900); font-size: .95rem; }

/* Safety by design (dark) */
.safety { background: var(--green-900); color: #c8dbd4; position: relative; overflow: hidden; }
.safety::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(201,162,39,.07); }
.safety h2 { color: #fff; }
.safety .lead { color: #a9c4bb; }
.safety-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 32px; position: relative; z-index: 1; }
.safety-item { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 22px; }
.safety-item .icon { width: 28px; height: 28px; color: var(--gold); margin-bottom: 12px; }
.safety-item strong { display: block; color: #fff; font-size: 1.02rem; margin-bottom: 6px; }
.safety-item p { margin: 0; font-size: .92rem; }
.safety .btn-outline { border-color: rgba(255,255,255,.35); color: #fff; }

/* Timeline */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 23px; left: 12%; right: 12%; border-top: 2px dashed #d9cfae; }
.tl-step { position: relative; text-align: center; padding: 0 8px; }
.tl-num { width: 48px; height: 48px; margin: 0 auto 16px; border-radius: 50%; background: var(--green-800); color: var(--gold-soft); display: grid; place-items: center; font: 1.35rem var(--serif); box-shadow: 0 0 0 8px var(--paper); position: relative; }
.tl-step p { color: var(--muted); margin: 0; }

/* Mobile sticky CTA */
.mobile-cta { display: none; }
@media (max-width: 720px) {
  .mobile-cta { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(250,247,239,.96); backdrop-filter: blur(8px); border-top: 1px solid var(--line); }
  .mobile-cta .btn { flex: 1; padding: 13px 12px; font-size: .95rem; }
  .mobile-cta .btn-wa { flex: 0 0 auto; }
  body.has-mobile-cta { padding-bottom: 76px; }
  body.has-mobile-cta .wa-float { display: none; }
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .trust-row ul, .safety-grid { grid-template-columns: repeat(2, 1fr); }
  .report-wrap { max-width: 520px; }
}
@media (max-width: 620px) {
  .trust-row ul, .safety-grid, .timeline { grid-template-columns: 1fr; }
  .timeline::before { display: none; }
  .tl-step { text-align: left; display: grid; grid-template-columns: 48px 1fr; gap: 4px 16px; }
  .tl-num { margin: 0; grid-row: span 2; }
  .tl-step h3 { margin: 6px 0 2px; }
  .report-wrap::before { inset: 16px -8px -10px 14px; }
  .report { padding: 18px; }
  .brand-ar { display: none; }
}

.notice .icon { width: 18px; height: 18px; margin-right: 4px; color: #7a5f0c; vertical-align: -3px; }


/* ================= v3: Iznik tile palette + Islamic patterns ================= */
:root {
  --green-900: #0a3d36; --green-800: #0b5247; --green-700: #12665a; --green-100: #e2efea;
  --gold: #c29a2e; --gold-soft: #f3e7c3;
  --tile: #1e6e86; --tile-700: #175a6e; --tile-100: #e1eef2;
  --cream: #faf6ec; --line: #e7dfcc;
  --girih-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23c29a2e' stroke-opacity='0.2' stroke-width='1'%3E%3Crect x='27' y='27' width='26' height='26'/%3E%3Crect x='27' y='27' width='26' height='26' transform='rotate%2845 40 40%29'/%3E%3Crect x='-13' y='-13' width='26' height='26'/%3E%3Crect x='-13' y='-13' width='26' height='26' transform='rotate%2845 0 0%29'/%3E%3Crect x='67' y='-13' width='26' height='26'/%3E%3Crect x='67' y='-13' width='26' height='26' transform='rotate%2845 80 0%29'/%3E%3Crect x='-13' y='67' width='26' height='26'/%3E%3Crect x='-13' y='67' width='26' height='26' transform='rotate%2845 0 80%29'/%3E%3Crect x='67' y='67' width='26' height='26'/%3E%3Crect x='67' y='67' width='26' height='26' transform='rotate%2845 80 80%29'/%3E%3Cpath d='M40 -8L48 0L40 8L32 0Z'/%3E%3Cpath d='M40 72L48 80L40 88L32 80Z'/%3E%3Cpath d='M0 32L8 40L0 48L-8 40Z'/%3E%3Cpath d='M80 32L88 40L80 48L72 40Z'/%3E%3Cpath d='M40 21.6V8M40 58.4V72M21.6 40H8M58.4 40H72'/%3E%3C/g%3E%3C/svg%3E");
  --girih-tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%231e6e86' stroke-opacity='0.09' stroke-width='1'%3E%3Crect x='27' y='27' width='26' height='26'/%3E%3Crect x='27' y='27' width='26' height='26' transform='rotate%2845 40 40%29'/%3E%3Crect x='-13' y='-13' width='26' height='26'/%3E%3Crect x='-13' y='-13' width='26' height='26' transform='rotate%2845 0 0%29'/%3E%3Crect x='67' y='-13' width='26' height='26'/%3E%3Crect x='67' y='-13' width='26' height='26' transform='rotate%2845 80 0%29'/%3E%3Crect x='-13' y='67' width='26' height='26'/%3E%3Crect x='-13' y='67' width='26' height='26' transform='rotate%2845 0 80%29'/%3E%3Crect x='67' y='67' width='26' height='26'/%3E%3Crect x='67' y='67' width='26' height='26' transform='rotate%2845 80 80%29'/%3E%3Cpath d='M40 -8L48 0L40 8L32 0Z'/%3E%3Cpath d='M40 72L48 80L40 88L32 80Z'/%3E%3Cpath d='M0 32L8 40L0 48L-8 40Z'/%3E%3Cpath d='M80 32L88 40L80 48L72 40Z'/%3E%3Cpath d='M40 21.6V8M40 58.4V72M21.6 40H8M58.4 40H72'/%3E%3C/g%3E%3C/svg%3E");
  --girih-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23e7c766' stroke-opacity='0.13' stroke-width='1'%3E%3Crect x='27' y='27' width='26' height='26'/%3E%3Crect x='27' y='27' width='26' height='26' transform='rotate%2845 40 40%29'/%3E%3Crect x='-13' y='-13' width='26' height='26'/%3E%3Crect x='-13' y='-13' width='26' height='26' transform='rotate%2845 0 0%29'/%3E%3Crect x='67' y='-13' width='26' height='26'/%3E%3Crect x='67' y='-13' width='26' height='26' transform='rotate%2845 80 0%29'/%3E%3Crect x='-13' y='67' width='26' height='26'/%3E%3Crect x='-13' y='67' width='26' height='26' transform='rotate%2845 0 80%29'/%3E%3Crect x='67' y='67' width='26' height='26'/%3E%3Crect x='67' y='67' width='26' height='26' transform='rotate%2845 80 80%29'/%3E%3Cpath d='M40 -8L48 0L40 8L32 0Z'/%3E%3Cpath d='M40 72L48 80L40 88L32 80Z'/%3E%3Cpath d='M0 32L8 40L0 48L-8 40Z'/%3E%3Cpath d='M80 32L88 40L80 48L72 40Z'/%3E%3Cpath d='M40 21.6V8M40 58.4V72M21.6 40H8M58.4 40H72'/%3E%3C/g%3E%3C/svg%3E");
  --tile-band: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14' viewBox='0 0 28 14'%3E%3Cpath d='M14 2L20 7L14 12L8 7Z' fill='%231e6e86'/%3E%3Cpath d='M14 5L16.5 7L14 9L11.5 7Z' fill='%23faf6ec'/%3E%3Ccircle cx='0' cy='7' r='2' fill='%23c29a2e'/%3E%3Ccircle cx='28' cy='7' r='2' fill='%23c29a2e'/%3E%3C/svg%3E");
}
body { background: var(--cream); }
.eyebrow { color: var(--tile); }
.center > .eyebrow { display: inline-flex; align-items: center; gap: 12px; }
.center > .eyebrow::before, .center > .eyebrow::after { content: ""; width: 34px; height: 8px; background: linear-gradient(var(--gold), var(--gold)) center / 100% 1px no-repeat; }
.center > .eyebrow::after { -webkit-mask: none; }
a { color: var(--tile-700); }
.card-link { color: var(--tile); }
.tag { background: var(--tile-100); color: var(--tile-700); }
.hero-badges .icon, .trust-row li .icon, .report-foot .icon { color: var(--tile); }
.ic .icon { color: var(--tile); }
.skills span { background: var(--tile-100); color: var(--tile-700); }
.bar > i { background: linear-gradient(90deg, var(--green-800), var(--tile)); }
.btn-outline { border-color: var(--green-800); color: var(--green-800); }
.region-switch button[aria-pressed="true"] { background: var(--tile); }

/* Mihrab-arch icon tiles */
.card .ic-lg { border-radius: 50% 50% 8px 8px / 42% 42% 8px 8px; background: var(--tile-100); color: var(--tile-700); width: 50px; height: 56px; }

/* Girih patterns */
.hero::before { background-image: var(--girih-light); background-size: 80px 80px; opacity: 1; }
.page-head { position: relative; background: var(--girih-tile), linear-gradient(180deg, #e3eff0, var(--cream)); background-size: 80px 80px, auto; }
.page-head > .container { position: relative; }
.safety::after { content: ""; position: absolute; inset: 0; width: auto; height: auto; border: 0; border-radius: 0; background-image: var(--girih-dark); background-size: 80px 80px; -webkit-mask-image: radial-gradient(ellipse at 85% 0%, #000 15%, transparent 70%); mask-image: radial-gradient(ellipse at 85% 0%, #000 15%, transparent 70%); pointer-events: none; }
.safety { background: linear-gradient(160deg, var(--green-900) 0%, #0b4a4a 60%, #0f4f60 100%); }
.cta-band { background: var(--girih-dark), linear-gradient(135deg, var(--green-900), #0f4f60); background-size: 80px 80px, auto; }

/* Tile border bands */
.page-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 14px; background: var(--tile-band) repeat-x center / 28px 14px; }
.site-footer { position: relative; background: var(--girih-dark), var(--green-900); background-size: 80px 80px, auto; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; background: var(--cream) var(--tile-band) repeat-x center / 28px 14px; border-bottom: 1px solid var(--gold); }
.bismillah { text-align: center; font: 400 1.7rem/1.6 var(--arabic); color: var(--gold); margin: 6px 0 28px; direction: rtl; }

/* Arch behind the sample report */
.report-wrap::before { inset: -34px 26px 40px -30px; transform: none; border-radius: 260px 260px 24px 24px; background: var(--girih-dark), linear-gradient(160deg, var(--tile), var(--green-800)); background-size: 80px 80px, auto; opacity: 1; }
.report-wrap { padding: 26px 0 0 26px; }
@media (max-width: 620px) {
  .report-wrap { padding: 18px 0 0 14px; }
  .report-wrap::before { inset: -10px 16px 30px -6px; border-radius: 200px 200px 18px 18px; }
}

/* v3 fixes */
.safety .eyebrow, .cta-band .eyebrow { color: var(--gold); }
.report-wrap { padding: 70px 0 0; }
.report-wrap::before { inset: 0 -16px 36px -16px; border-radius: 300px 300px 24px 24px; }
@media (max-width: 620px) {
  .report-wrap { padding: 54px 0 0; }
  .report-wrap::before { inset: 0 -6px 26px -6px; border-radius: 220px 220px 18px 18px; }
}

/* Header matches the green footer */
.site-header { background: var(--girih-dark), var(--green-900); background-size: 80px 80px, auto; border-bottom: 0; backdrop-filter: none; }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -14px; height: 14px; background: var(--cream) var(--tile-band) repeat-x center / 28px 14px; border-top: 1px solid var(--gold); pointer-events: none; }
.site-header .brand { color: #fff; }
.site-header .brand-name { color: #fff; }
.site-header .brand-name small { color: #c8dbd4; }
.site-header .nav-links a { color: #e6efeb; }
.site-header .nav-links a:hover, .site-header .nav-links a[aria-current="page"] { background: rgba(255,255,255,.1); color: #fff; }
.site-header .nav-links .btn-primary { background: var(--gold); color: var(--green-900) !important; }
.site-header .nav-links .btn-primary:hover { background: #d4ad42; }
.site-header .nav-toggle { color: #fff; border-color: rgba(255,255,255,.3); }
@media (max-width: 820px) {
  .site-header .nav-links { top: 68px; background: var(--green-900); border-bottom: 1px solid var(--gold); z-index: 2; }
}

/* ================= v4: differentiators ================= */
.plans-grid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.compare { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; max-width: 980px; margin-inline: auto; }
.compare-head, .compare-row { display: grid; grid-template-columns: 170px 1fr 1fr; }
.compare-head span { padding: 14px 20px; font-weight: 600; font-size: .9rem; color: var(--muted); }
.compare-head span.us { background: var(--green-800); color: #fff; }
.compare-row { border-top: 1px solid var(--line); }
.compare-row > * { padding: 14px 20px; font-size: .95rem; }
.compare-row b { color: var(--green-900); font-weight: 600; }
.compare-row span { color: var(--muted); }
.compare-row span.us { background: var(--tile-100); color: var(--green-900); font-weight: 500; }
.compare-row span:not(.us)::before { content: "✕ "; color: #b9837a; }
.compare-row span.us::before { content: "✓ "; color: var(--green-700); font-weight: 700; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: center; }
.check-list .icon { width: 20px; height: 20px; color: var(--green-700); }
.cert { position: relative; background: #fffdf6; border-radius: 18px; padding: 14px; box-shadow: 0 20px 50px rgba(11,59,53,.14); background-image: var(--girih-light); background-size: 60px 60px; }
.cert-inner { background: #fffdf6; border: 2px solid var(--gold); outline: 1px solid var(--gold); outline-offset: -8px; border-radius: 12px; padding: 34px 28px 26px; text-align: center; }
.cert-sample { position: absolute; top: 24px; right: 24px; }
.cert-arabic { font: 400 1.6rem/1.4 var(--arabic); color: var(--gold); }
.cert-title { font: 1.6rem/1.2 var(--serif); color: var(--green-900); margin: 4px 0 14px; }
.cert-sub { font-size: .85rem; color: var(--muted); }
.cert-name { font: 2rem/1.3 var(--serif); color: var(--tile-700); margin: 4px 0 8px; border-bottom: 1px solid var(--line); display: inline-block; padding: 0 24px 4px; }
.cert-what { font-weight: 600; color: var(--green-900); font-size: 1.15rem; margin-top: 4px; }
.cert-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 26px; font-size: .9rem; color: var(--green-900); }
.cert-foot small { display: block; color: var(--muted); font-size: .75rem; border-top: 1px solid var(--line); padding-top: 2px; margin-top: 2px; }
.cert-seal { width: 54px; height: 54px; border-radius: 50%; background: radial-gradient(circle, var(--gold) 0 55%, #b3891f 56% 100%); box-shadow: 0 0 0 4px var(--gold-soft); }
.ramadan-banner { display: block; background: var(--gold-soft); border-bottom: 1px solid #e6d59c; text-decoration: none; color: var(--green-900); }
.ramadan-banner .container { display: flex; align-items: center; gap: 12px; padding-top: 12px; padding-bottom: 12px; font-size: .95rem; }
.ramadan-banner .icon { width: 18px; height: 18px; flex: 0 0 auto; }
.rb-moon { width: 32px; height: 32px; border-radius: 50%; background: var(--green-800); color: var(--gold-soft); display: grid; place-items: center; flex: 0 0 auto; }
.ramadan-banner:hover { background: #efdfae; }
@media (max-width: 720px) {
  .compare-head { display: none; }
  .compare-row { grid-template-columns: 1fr; }
  .compare-row > * { padding: 8px 16px; }
  .compare-row b { padding-top: 14px; }
  .compare-row span.us { margin: 0 12px 14px; border-radius: 10px; }
}
.plans-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.plans-grid .card.plan { padding: 22px 18px; }
.plans-grid .plan .price { font-size: 2.3rem; }
@media (max-width: 1100px) { .plans-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .plans-grid { grid-template-columns: 1fr; } }
