:root {
  --navy: #101d38;
  --blue: #215cca;
  --yellow: #f8d54b;
  --paper: #faf9f6;
  --muted: #49576c;
  --line: #dedfe3;
  font-family: "Noto Sans Arabic", Tahoma, Arial, sans-serif;
  color: var(--navy);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding: 24px; }
body, h1, h2, h3, p, dl, dd { margin: 0; }
body { line-height: 1.75; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid #648fff; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: fixed; inset: 8px auto auto 8px; padding: 12px; background: white; z-index: 2; transform: translateY(-150%); }
.skip:focus { transform: none; }
.site-header { background: var(--navy); color: white; border-bottom: 1px solid #344565; }
.header-inner, .footer-inner { min-height: 64px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font: 800 .9rem Arial, sans-serif; letter-spacing: .05em; white-space: nowrap; }
.brand b { color: #9ebfff; }
nav { display: flex; gap: clamp(12px, 2.5vw, 32px); }
nav a, .footer-inner a { font-size: .85rem; text-decoration: none; font-weight: 700; }
nav a:hover, .footer-inner a:hover { text-decoration: underline; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 44px; padding: 11px 16px; border: 1px solid transparent; border-radius: 8px; font-weight: 800; font-size: .94rem; line-height: 1.45; text-decoration: none; }
.button span { font-size: 1.1rem; flex: none; }
.header-cta { border-color: #8090b0; }
.header-cta:hover { background: #243657; }
.primary { background: var(--yellow); color: var(--navy); }
.primary:hover { background: #ffe277; }
.hero {
  background: radial-gradient(ellipse at 92% 12%, #1c4385 0%, transparent 63%), var(--navy);
  color: white; padding-block: clamp(28px, 5vw, 64px);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 5vw, 72px); align-items: start; }
.hero-grid > * { min-width: 0; }
.hero-copy { padding-block: clamp(0px, 4vw, 44px); }
.eyebrow { display: flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 800; color: var(--blue); }
.eyebrow i { width: 8px; height: 8px; flex: none; border-radius: 50%; background: currentColor; }
.hero .eyebrow { color: #b8d2ff; }
h1, h2, h3 { font-weight: 800; }
h1 { font-size: clamp(2.02rem, 4.35vw, 4.3rem); line-height: 1.31; margin-block: 15px; }
h1 em { color: var(--yellow); font-style: normal; display: block; }
h2 { font-size: clamp(1.65rem, 3.15vw, 3.25rem); line-height: 1.37; margin-top: 10px; }
h3 { font-size: 1.13rem; line-height: 1.4; }
.hero-description { max-width: 46ch; color: #dfebff; font-size: 1.02rem; }
.offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-block: 22px 13px; }
.offer-grid > div { border: 1px solid #6486ba80; border-radius: 10px; padding: 8px 10px; background: #10264d70; }
.offer-grid dt { color: var(--yellow); font-size: clamp(1rem, 2.7vw, 1.9rem); font-weight: 800; white-space: nowrap; }
.offer-grid dd { font-size: .78rem; line-height: 1.55; color: #e3eafb; }
.hero-local { font-weight: 800; font-size: .9rem; text-underline-offset: .2em; color: #e7efff; }
.hero-note { font-size: .8rem; margin-top: 5px; color: #dae5fa; }
.form-card { background: white; color: var(--navy); border-radius: 15px; padding: clamp(16px, 2.7vw, 31px); box-shadow: 0 16px 45px #080f2560; border-top: 4px solid var(--yellow); }
.form-card h2 { margin-top: 0; font-size: clamp(1.35rem, 2.5vw, 2rem); }
.form-card p, .form-card small { color: var(--muted); }
.form-card p { font-size: .88rem; margin-top: 5px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 12px; margin-block: 14px 8px; }
.fields label { min-width: 0; font-weight: 700; font-size: .82rem; }
.wide { grid-column: 1 / -1; }
.fields input:not([type=checkbox]), .fields select, .fields textarea { display: block; width: 100%; max-width: 100%; min-height: 40px; margin-top: 2px; padding: 6px 9px; border: 1px solid #aab3c6; border-radius: 6px; background: #f7f9fc; color: var(--navy); font-size: 1rem; }
.fields textarea { resize: vertical; }
.fields .check { display: flex; align-items: center; gap: 8px; min-height: 28px; }
.check input { width: 17px; height: 17px; margin: 0; flex: none; accent-color: var(--blue); }
.submit-button { width: 100%; margin-top: 8px; }
.submit-button:disabled { opacity: .67; cursor: wait; }
.form-card small { display: block; margin-top: 8px; font-size: .75rem; }
.form-card .application-status { color: #992000; margin-block: 8px; }
.section { padding-block: clamp(49px, 6.6vw, 90px); }
.section-intro { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 23px; }
.section-intro > p { max-width: 34ch; color: var(--muted); }
.steps { padding: 0; margin: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.steps li { border: 1px solid var(--line); border-radius: 12px; background: white; padding: 18px; }
.steps li:last-child { background: #eaf1ff; border-color: #c7d9ff; }
.steps span { display: inline-grid; place-items: center; width: 33px; height: 33px; border-radius: 50%; background: #eaf1ff; color: var(--blue); margin-bottom: 12px; font-weight: 800; }
.steps li:last-child span { background: var(--yellow); color: var(--navy); }
.steps p { margin-top: 6px; color: var(--muted); font-size: .88rem; }
.continuation { margin-top: 15px; border-inline-start: 4px solid var(--yellow); background: #f6efd6; padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.continuation p { max-width: 67ch; margin-top: 4px; }
.continuation a { font-weight: 800; flex: none; }
.marrakech { padding-bottom: clamp(46px, 6vw, 80px); }
.local-card { background: #eaf1ff; border-radius: 18px; padding: clamp(19px, 4vw, 50px); display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(17px, 4vw, 55px); }
.local-card p:not(.eyebrow) { margin-top: 10px; }
.local-agenda { background: white; border: 1px solid #d4e0f6; border-radius: 12px; padding: 18px; }
.local-agenda ul { margin: 10px 0 15px; padding-inline-start: 20px; }
.local-agenda small { display: block; color: var(--muted); margin-top: 8px; }
.eligibility, .faq { display: grid; grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr); gap: 22px; }
.eligibility { align-items: center; border-block: 1px solid var(--line); padding-block: 28px; }
.criteria { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.criteria li { display: flex; gap: 7px; }
.criteria li::before { content: "✓" / ""; color: var(--blue); font-weight: 800; }
details { border-bottom: 1px solid var(--line); }
details:first-child { border-top: 1px solid var(--line); }
summary { font-weight: 800; display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 48px; padding: 10px 0; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+" / ""; color: var(--blue); font-size: 1.3rem; }
details[open] summary::after { content: "−" / ""; }
details p { color: var(--muted); padding-bottom: 13px; }
footer { background: var(--navy); color: white; }
.thank-you { min-height: 100svh; display: grid; place-items: center; padding: 18px; background: radial-gradient(ellipse at 90% 8%, #1c4385, var(--navy) 64%); }
.thank-card { width: min(100%, 600px); background: white; border-radius: 16px; padding: clamp(20px, 6vw, 48px); text-align: center; }
.thank-card .brand b { color: var(--blue); }
.receipt-check { display: grid; place-items: center; margin: 18px auto 0; width: 54px; height: 54px; border-radius: 50%; background: var(--yellow); font-size: 1.8rem; }
.thank-card h1 { font-size: clamp(1.7rem, 5vw, 2.75rem); }
.thank-card p + p { margin-top: 6px; }
@media (max-width: 950px) {
  .wrap { width: calc(100% - 48px); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 32px); }
  nav { display: none; }
  .hero-grid, .local-card, .eligibility, .faq { grid-template-columns: 1fr; }
  .hero-copy { padding: 0; }
  .section-intro, .continuation { align-items: flex-start; flex-direction: column; }
  .section-intro { gap: 9px; }
}
@media (max-width: 390px) {
  .header-inner, .footer-inner { gap: 8px; }
  .header-cta { padding-inline: 10px; font-size: .8rem; }
  .brand { font-size: .75rem; gap: 5px; }
  .brand img { width: 24px; height: 24px; }
  .fields { gap: 8px; }
  .offer-grid > div { padding-inline: 6px; }
  .offer-grid dt { white-space: normal; }
}
@media (max-width: 355px) {
  .fields, .steps, .criteria { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
