:root{--mef-navy:#0b1d35;--mef-gold:#b89a5e;--mef-paper:#f6f2e8;--mef-ink:#152238;--mef-muted:#6b7280;--mef-line:#d9d3c5}
.mef-shell{font-family:"Noto Sans",Arial,sans-serif;max-width:1180px;margin:28px auto 60px;color:var(--mef-ink)}
.mef-hero{background:linear-gradient(145deg,#0b1d35 0%,#10294a 62%,#0b1d35 100%);color:#fff;padding:46px;border-radius:18px;box-shadow:0 18px 60px rgba(11,29,53,.15)}
.mef-hero-top{display:flex;justify-content:space-between;gap:30px;align-items:flex-start}.mef-eyebrow{font-size:11px;letter-spacing:.18em;color:#d8c28f;margin-bottom:12px}.mef-brand h1{font-size:42px;line-height:1.06;margin:0 0 14px;letter-spacing:-.02em}.mef-brand p{max-width:760px;margin:0;color:#d8deea;font-size:16px;line-height:1.7}
.mef-lang{border:1px solid rgba(255,255,255,.35);background:transparent;color:#fff;padding:10px 16px;border-radius:999px;cursor:pointer;font-weight:700}.mef-rule{height:1px;background:linear-gradient(90deg,var(--mef-gold),rgba(184,154,94,.08));margin:34px 0 28px}
.mef-section-kicker{font-size:13px;letter-spacing:.08em;text-transform:uppercase;font-weight:800;margin-bottom:16px}.mef-choice-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.mef-card{appearance:none;text-align:left;background:#fff;color:var(--mef-ink);border:1px solid rgba(255,255,255,.18);padding:24px;border-radius:14px;min-height:170px;cursor:pointer;transition:.2s transform,.2s box-shadow}.mef-card:hover{transform:translateY(-3px);box-shadow:0 14px 28px rgba(0,0,0,.14)}.mef-card-no{display:block;color:var(--mef-gold);font-size:12px;font-weight:800;letter-spacing:.12em;margin-bottom:28px}.mef-card strong{display:block;font-size:20px;margin-bottom:8px}.mef-card small{display:block;color:#667085;font-size:13px;line-height:1.55}.mef-policy{margin-top:22px;color:#d7dfeb;font-size:13px;line-height:1.6}
.mef-stage{margin-top:22px}.mef-panel{background:#fff;border:1px solid var(--mef-line);border-radius:16px;padding:30px;box-shadow:0 10px 35px rgba(11,29,53,.06)}.mef-back{border:0;background:none;color:var(--mef-navy);font-weight:700;padding:10px 0 14px;cursor:pointer}
.mef-note{background:var(--mef-paper);border-left:3px solid var(--mef-gold);padding:14px 16px;border-radius:8px;color:#4b5563}.mef-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 20px;margin-top:22px}.mef-grid label{font-weight:700;font-size:14px}.mef-grid input,.mef-grid select,.mef-grid textarea,.mef-inline input{width:100%;box-sizing:border-box;margin-top:7px;padding:13px 14px;border:1px solid #cfd5dc;border-radius:9px;background:#fff;color:#172033;font:inherit}.mef-grid textarea{min-height:110px;resize:vertical}.mef-full{grid-column:1/-1}.mef-inline{display:flex;gap:10px}.mef-inline button,.mef-submit{background:var(--mef-gold);color:#0b1d35;border:0;border-radius:9px;padding:13px 20px;font-weight:800;cursor:pointer}.mef-consent{display:flex;gap:10px;align-items:flex-start;margin:22px 0;font-size:14px;line-height:1.6}.mef-submit-row{display:flex;gap:16px;align-items:center}.mef-submit{min-width:210px}
.mef-shell[dir=rtl]{font-family:"Noto Kufi Arabic","Noto Sans",Arial,sans-serif;text-align:right}.mef-shell[dir=rtl] .mef-card{text-align:right}.mef-shell[dir=rtl] .mef-note{border-left:0;border-right:3px solid var(--mef-gold)}.mef-shell[dir=rtl] .mef-hero-top{direction:rtl}.mef-shell[dir=rtl] .mef-submit-row{direction:rtl}
@media(max-width:800px){.mef-hero{padding:28px 20px}.mef-hero-top{display:block}.mef-lang{margin-top:18px}.mef-brand h1{font-size:34px}.mef-choice-grid,.mef-grid{grid-template-columns:1fr}.mef-full{grid-column:auto}.mef-inline{display:block}.mef-inline button{margin-top:10px;width:100%}}

html,body.mef-standalone-registration{margin:0!important;padding:0!important;background:#07172b!important}
body.mef-standalone-registration #wpadminbar + #mef-registration-app{padding-top:32px}
body.mef-standalone-registration #mef-registration-app{min-height:100vh;background:#07172b}
body.mef-standalone-registration .mef-shell{max-width:none;margin:0;min-height:100vh;background:#07172b}
.mef-app-header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 42px;background:#081a31;border-bottom:1px solid rgba(184,154,94,.55);color:#fff}
.mef-app-title{font-size:21px;font-weight:750;letter-spacing:-.01em}

.mef-lang-top{margin:0;white-space:nowrap}
body.mef-standalone-registration .mef-hero{border-radius:0;box-shadow:none;padding:54px max(42px,calc((100vw - 1180px)/2));min-height:calc(100vh - 84px);box-sizing:border-box}
body.mef-standalone-registration .mef-stage{max-width:1180px;margin:24px auto 60px;padding:0 24px}
body.mef-standalone-registration .mef-policy{max-width:900px}
body.mef-standalone-registration .mef-brand h1{max-width:850px}
body.mef-standalone-registration .mef-hero-top{display:block}
body.mef-standalone-registration .mef-eyebrow{margin-bottom:14px}
@media(max-width:800px){
  .mef-app-header{padding:16px 20px;align-items:flex-start}
  .mef-app-title{font-size:16px;line-height:1.35}
  .mef-app-title span{padding:0 4px}
  body.mef-standalone-registration .mef-hero{padding:32px 20px}
}

/* v1.6 typography refinements */
.mef-shell{font-size:16px;line-height:1.65}
.mef-app-title{font-family:"Noto Sans",Arial,sans-serif;font-size:22px;font-weight:700}
.mef-brand p{font-size:17px;line-height:1.8}
.mef-section-kicker{font-size:14px}
.mef-card strong{font-size:21px;line-height:1.35}
.mef-card small{font-size:15px;line-height:1.75}
.mef-policy{font-size:15px;line-height:1.8}
.mef-note{font-size:16px;line-height:1.8}
.mef-grid label{font-size:15px}
.mef-grid input,.mef-grid select,.mef-grid textarea,.mef-inline input{font-size:16px}
.mef-consent{font-size:15px;line-height:1.8}
#mef-code-msg,#mef-result{font-size:15px;line-height:1.7}

.mef-shell[dir=rtl],
.mef-shell[dir=rtl] input,
.mef-shell[dir=rtl] select,
.mef-shell[dir=rtl] textarea,
.mef-shell[dir=rtl] button{
  font-family:"Noto Kufi Arabic","Noto Sans",Arial,sans-serif;
}
.mef-shell[dir=rtl] .mef-app-title{font-family:"Noto Kufi Arabic","Noto Sans",Arial,sans-serif;font-weight:700}
.mef-shell[dir=rtl] .mef-brand p,
.mef-shell[dir=rtl] .mef-card small,
.mef-shell[dir=rtl] .mef-policy,
.mef-shell[dir=rtl] .mef-note,
.mef-shell[dir=rtl] .mef-consent{line-height:1.95}

@media(max-width:800px){
  .mef-app-title{font-size:18px}
  .mef-brand p{font-size:16px}
  .mef-card small{font-size:14px}
}

/* v1.7 route-state behavior */
.mef-flow-active .mef-hero{display:none!important}
.mef-flow-active .mef-stage{
  margin:0 auto!important;
  padding:36px 24px 60px!important;
  max-width:1180px!important;
}
.mef-flow-active .mef-back{
  color:#fff;
  font-size:15px;
  margin-bottom:8px;
}
.mef-flow-active .mef-panel{
  margin-top:0;
}
body.mef-standalone-registration .mef-app-header{
  position:relative;
  z-index:10;
}
.mef-app-title{
  color:#fff!important;
  font-family:"Noto Sans",Arial,sans-serif!important;
}
.mef-shell[dir=rtl] .mef-app-title{
  font-family:"Noto Kufi Arabic","Noto Sans",Arial,sans-serif!important;
}

/* v1.8 high-visibility navigation */
.mef-flow-active .mef-back{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:11px 18px!important;
  margin:0 0 16px!important;
  border:2px solid var(--mef-gold)!important;
  border-radius:10px;
  background:#081a31!important;
  color:#fff!important;
  box-shadow:0 5px 18px rgba(0,0,0,.18);
  font-size:16px!important;
  font-weight:800!important;
  line-height:1.2;
}
.mef-flow-active .mef-back:hover,
.mef-flow-active .mef-back:focus{
  background:var(--mef-gold)!important;
  color:#081a31!important;
  outline:none;
}
.mef-top{
  position:fixed;
  right:24px;
  bottom:24px;
  z-index:9999;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  width:82px;
  height:82px;
  padding:8px;
  border:3px solid var(--mef-gold);
  border-radius:50%;
  background:#081a31;
  color:#fff;
  box-shadow:0 8px 24px rgba(0,0,0,.28);
  font-size:11px;
  font-weight:800;
  line-height:1.15;
  text-align:center;
  cursor:pointer;
  opacity:0;
  visibility:hidden;
  transform:translateY(12px);
  transition:opacity .2s ease,transform .2s ease,visibility .2s ease;
}
.mef-top.is-visible{opacity:1;visibility:visible;transform:translateY(0)}
.mef-top-arrow{display:block;color:var(--mef-gold);font-size:28px;line-height:1;margin-bottom:3px}
.mef-top:hover,.mef-top:focus{background:var(--mef-gold);color:#081a31;outline:none}
.mef-top:hover .mef-top-arrow,.mef-top:focus .mef-top-arrow{color:#081a31}
.mef-shell[dir=rtl] .mef-top{right:auto;left:24px}
@media(max-width:800px){
  .mef-top{width:68px;height:68px;right:14px;bottom:14px;font-size:10px}
  .mef-shell[dir=rtl] .mef-top{right:auto;left:14px}
  .mef-flow-active .mef-back{font-size:15px!important;min-height:44px}
}

/* v1.9 banner + mobile field-order refinements */
.mef-app-title{
  font-weight:400!important;
}
.mef-shell[dir=rtl] .mef-app-title{
  font-weight:400!important;
}
.mef-eyebrow{
  font-weight:500;
}

/* v2.0 visual refinement */
.mef-hero-sub{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  max-width:920px!important;
  margin:0;
  color:#d8deea;
  font-size:17px;
  line-height:1.8;
}
.mef-sub-divider{
  color:var(--mef-gold);
  font-weight:400;
  opacity:.95;
}
.mef-shell[dir=rtl] .mef-hero-sub{
  justify-content:flex-start;
}
.mef-card{
  background:linear-gradient(145deg,rgba(255,255,255,.10),rgba(255,255,255,.045))!important;
  color:#fff!important;
  border:1px solid rgba(184,154,94,.55)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 8px 24px rgba(0,0,0,.10)!important;
  backdrop-filter:blur(4px);
}
.mef-card:hover{
  background:linear-gradient(145deg,rgba(184,154,94,.18),rgba(255,255,255,.07))!important;
  border-color:var(--mef-gold)!important;
}
.mef-card strong{color:#fff!important}
.mef-card small{color:#d3d9e4!important}
.mef-card-no{color:#d9b873!important}
.mef-panel{
  background:#fbfaf6!important;
  border:1px solid rgba(184,154,94,.42)!important;
  box-shadow:0 12px 36px rgba(4,20,40,.12)!important;
}
.mef-grid input,.mef-grid select,.mef-grid textarea,.mef-inline input{
  background:#fffdf8!important;
  border-color:#d8d0bf!important;
}
@media(max-width:800px){
  .mef-hero-sub{
    display:block;
    font-size:16px;
    line-height:1.95;
  }
  .mef-sub-divider{
    display:inline-block;
    margin:0 6px;
  }
  /* Mobile follows DOM order exactly:
     Email → International dialing code → Mobile / WhatsApp → Category → Interest */
}

/* v2.0.1 keep the English hero descriptor on one line on desktop */
@media(min-width:801px){
  .mef-shell[dir="ltr"] .mef-hero-sub{
    flex-wrap:nowrap!important;
    white-space:nowrap;
    max-width:none!important;
    font-size:16px;
  }
}

/* v2.0.2 refined typography hierarchy */
.mef-brand h1{font-weight:600!important}
.mef-choice-title{font-weight:600!important}
.mef-card strong{font-weight:600!important}
.mef-grid label{font-weight:500!important}
.mef-panel h2,.mef-panel h3{font-weight:600!important}
.mef-section-kicker,.mef-eyebrow{font-weight:500!important}
.mef-btn{font-weight:600!important}
.mef-policy{font-weight:400!important}
.mef-note,.mef-card small,.mef-brand p{font-weight:400!important}
.mef-app-title{font-weight:400!important}
.mef-shell[dir=rtl] .mef-app-title{font-weight:400!important}
