:root {
  --bg: #F7F8F3; --surface: #fff; --surface-alt: #EEF2EC; --border: #E1E7DC;
  --text: #16211A; --text-muted: #5B6B56; --accent: #1F7A4D; --accent-strong: #0D5A34;
  --accent-soft: #E3F2E7; --gold: #C9A24B; --danger: #B23B2E; --radius: 14px;
  --shadow: 0 4px 18px rgba(13,90,52,0.08); --shadow-lg: 0 14px 40px rgba(13,90,52,0.14);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); direction: rtl;
  font-family: "Tajawal", "Segoe UI", Tahoma, sans-serif; line-height: 1.75; -webkit-font-smoothing: antialiased; }
a { color: var(--accent-strong); }
.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

header.site { background: rgba(255,255,255,0.9); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border); padding: 16px 0; position: sticky; top: 0; z-index: 20; }
header.site .container { display: flex; justify-content: space-between; align-items: center; }
.brand { font-weight: 800; font-size: 20px; letter-spacing: .2px; display: flex; align-items: center; gap: 8px; }
.logo-mark { flex-shrink: 0; }
header.site nav a { color: var(--text-muted); font-weight: 600; font-size: 14.5px; padding: 6px 4px; }
header.site nav a:hover { color: var(--accent-strong); }

main { padding: 28px 0 60px; min-height: calc(100vh - 300px); }

.hero { background: radial-gradient(1200px 500px at 15% -10%, #EAF6EE 0%, transparent 60%),
  linear-gradient(160deg, var(--accent-strong) 0%, var(--accent) 55%, #2E9160 100%);
  color: #fff; padding: 48px 40px 56px; margin: 0 0 44px; border-radius: 22px;
  position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.hero::after { content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.10) 1.5px, transparent 1.5px);
  background-size: 26px 26px; opacity: .5; pointer-events: none; }
.hero > * { position: relative; }
.hero-eyebrow { display: inline-block; background: rgba(255,255,255,0.16); color: #fff;
  font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
  border: 1px solid rgba(255,255,255,0.25); }
.hero h1 { font-size: 34px; margin: 0 0 16px; max-width: 22ch; line-height: 1.4; }
.hero p { color: rgba(255,255,255,0.92); max-width: 58ch; font-size: 16.5px; margin: 0; }
.hero-stats { display: flex; gap: 28px; margin-top: 30px; flex-wrap: wrap; }
.hero-stats div { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px; padding: 12px 18px; }
.hero-stats b { display: block; font-size: 20px; }
.hero-stats span { font-size: 12.5px; color: rgba(255,255,255,0.85); }

h1 { font-size: 28px; margin: 0 0 12px; font-weight: 800; }
h2 { font-size: 19px; font-weight: 800; margin: 0 0 6px; }
h3 { font-size: 15.5px; font-weight: 700; color: var(--text-muted); }
.section-title { text-align: center; margin: 0 0 8px; }
.section-sub { text-align: center; color: var(--text-muted); max-width: 60ch; margin: 0 auto 36px; }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; margin-bottom: 16px; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease; }

.program-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px,1fr)); gap: 20px; }
.program-grid .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.program-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 12px; }
.plan-list { list-style: none; padding: 0; margin: 14px 0 0; }
.plan-list li { display: flex; justify-content: space-between; align-items: center; padding: 11px 2px;
  border-top: 1px solid var(--border); }
.plan-list li:first-child { border-top: none; padding-top: 4px; }
.plan-duration { color: var(--text-muted); font-weight: 600; font-size: 14px; }
.plan-price { font-weight: 800; font-size: 15px; display: flex; align-items: center; gap: 10px; }
.plan-price small { font-weight: 500; color: var(--text-muted); font-size: 12.5px; }

.btn { display: inline-block; background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff; padding: 9px 18px; border-radius: 9px; text-decoration: none; border: none;
  cursor: pointer; font-size: 14.5px; font-weight: 700; box-shadow: 0 4px 12px rgba(13,90,52,0.25);
  transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(13,90,52,0.32); }
.btn-secondary { background: var(--surface-alt); color: var(--text); border: 1px solid var(--border);
  box-shadow: none; }
.btn-danger { background: var(--danger); box-shadow: 0 4px 12px rgba(178,59,46,0.25); }

form .field { margin-bottom: 14px; display: flex; flex-direction: column; gap: 4px; }
label { font-size: 13px; font-weight: 700; color: var(--text-muted); }
input, select, textarea { padding: 11px 13px; border-radius: 9px; border: 1px solid var(--border);
  font-family: inherit; font-size: 15px; background: var(--bg); color: var(--text); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

.error { color: var(--danger); background: #FCEAE7; border: 1px solid var(--danger);
  padding: 10px 14px; border-radius: 8px; margin-bottom: 14px; }
.badge { display: inline-block; font-size: 12px; padding: 3px 10px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-strong); font-weight: 700; }
.badge.medical { background: #FCEAE7; color: var(--danger); }
.badge.popular { background: var(--gold); color: #fff; }

table { width: 100%; border-collapse: collapse; }
th, td { padding: 10px; text-align: right; border-bottom: 1px solid var(--border); }

.consent-box { background: var(--surface-alt); border-radius: 8px; padding: 14px; font-size: 13.5px;
  color: var(--text-muted); margin: 14px 0; }

.trust-strip { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; margin: 8px 0 48px;
  color: var(--text-muted); font-size: 13.5px; font-weight: 600; }
.trust-strip span { display: flex; align-items: center; gap: 8px; }

footer.site { border-top: 1px solid var(--border); margin-top: 60px; padding: 28px 0;
  color: var(--text-muted); font-size: 13.5px; text-align: center; background: var(--surface); }
