*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Arial,sans-serif;color:#172033;background:#fff}.shell{width:min(1180px,calc(100% - 36px));margin:auto}.site-header{position:sticky;top:0;background:#fff;border-bottom:1px solid #e7e9ee;z-index:20}.topbar{min-height:78px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px}.brand-wrap{display:flex;align-items:center;gap:12px}.mark{width:42px;height:42px;border:1px solid #d3b168;border-radius:50%;display:grid;place-items:center;font-weight:800;color:#7d642e}.brand{font-family:Georgia,serif;font-size:22px}.brand-ar{font-family:Georgia,serif;font-size:14px}.tagline{font-family:Georgia,serif;color:#686f7c;text-align:center;font-size:14px}.header-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px}.lang-btn,.ask-btn{border:0;background:transparent;padding:10px 12px;border-radius:22px;cursor:pointer}.ask-btn{background:#2d2934;color:white}.nav{display:flex;gap:22px;align-items:center;min-height:44px;font-size:13px;overflow:auto;white-space:nowrap}.nav a{text-decoration:none;color:#313846;padding:12px 0}.hero{background:linear-gradient(110deg,#101828 0%,#19335f 55%,#245990 100%);color:#fff;padding:72px 0}.hero-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:56px;align-items:center}.eyebrow{font-size:12px;font-weight:800;letter-spacing:.12em;color:#9a7a37;margin-bottom:12px}.eyebrow.light{color:#e2ca8b}.hero h1{font-family:Georgia,serif;font-size:clamp(38px,5vw,64px);line-height:1.04;margin:0 0 20px;max-width:900px}.hero-copy{font-size:18px;line-height:1.7;color:#dce3ee;max-width:760px}.cta-row{display:flex;gap:12px;flex-wrap:wrap;margin:28px 0}.primary,.secondary{padding:14px 18px;border-radius:8px;text-decoration:none;font-weight:700}.primary{background:#d5b56c;color:#111827}.secondary{border:1px solid #8296b5;color:#fff}.trust-row{display:flex;gap:22px;flex-wrap:wrap;color:#c2ccda;font-size:13px}.hero-panel{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.15);border-radius:16px;padding:24px}.panel-label{font-size:12px;color:#e8cd8b;text-transform:uppercase;letter-spacing:.12em}.hero-panel h3{font-family:Georgia,serif;font-size:28px;margin:10px 0 20px}.flow{display:grid;gap:12px}.flow div{display:flex;gap:12px;align-items:center;background:rgba(255,255,255,.06);padding:12px;border-radius:10px}.flow b{display:grid;place-items:center;width:30px;height:30px;background:#d5b56c;color:#101828;border-radius:50%}.quick-actions{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-top:-28px;position:relative;z-index:3}.action-card{background:#fff;border:1px solid #e4e6eb;border-radius:12px;padding:22px;text-decoration:none;color:inherit;box-shadow:0 8px 26px rgba(16,24,40,.08)}.action-card span{font-size:11px;color:#9a7a37;font-weight:800}.action-card h3{font-size:17px;margin:9px 0}.action-card p{font-size:13px;line-height:1.55;color:#667085;margin:0}.section{padding:76px 0}.soft{background:#f7f5ef}.dark{background:#172033;color:#fff}.section-head{display:flex;justify-content:space-between;gap:30px;align-items:end;margin-bottom:30px}.section h2{font-family:Georgia,serif;font-size:clamp(30px,4vw,46px);margin:0;line-height:1.1}.text-link{color:#765d29;text-decoration:none;font-weight:700}.cards{display:grid;gap:18px}.cards.three{grid-template-columns:repeat(3,1fr)}.card{border:1px solid #e1e5ec;background:#fff;border-radius:14px;padding:24px}.card.featured{background:linear-gradient(135deg,#202637,#1e4b7e);color:#fff;border-color:#2d5f95}.card h3{font-family:Georgia,serif;font-size:24px;margin:10px 0}.card p{color:#667085;line-height:1.65}.card.featured p{color:#d7e1ef}.card a{color:#d7b86f;text-decoration:none;font-weight:700}.pill{display:inline-block;background:#f5ebd2;color:#7b642f;border-radius:20px;padding:6px 9px;font-size:10px;font-weight:800}.chain{display:grid;grid-template-columns:1fr auto 1fr auto 1fr auto 1fr auto 1fr;align-items:center;gap:10px}.chain>div{border:1px solid #dfe3ea;border-radius:12px;padding:20px;min-height:110px;display:flex;flex-direction:column;justify-content:center}.chain .hot{border-color:#c3a45f;background:#fbf6e9}.chain b{font-size:15px}.chain small{color:#667085;margin-top:7px;line-height:1.5}.chain i{font-style:normal;color:#9a7a37;font-size:24px}.split{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:start}.service-list{display:grid;gap:12px}.service-list div{padding:18px 0;border-bottom:1px solid #364152;display:grid;gap:7px}.service-list span{color:#bcc6d4;line-height:1.5}.sector-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.sector-grid span{background:#fff;border:1px solid #e0e4eb;padding:20px;border-radius:10px;font-weight:700}.submit{background:linear-gradient(110deg,#10233f,#1d4c7d);color:#fff}.submit-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:56px;align-items:start}.lead-form{display:grid;grid-template-columns:1fr 1fr;gap:12px}.lead-form input,.lead-form select,.lead-form textarea,.modal textarea{width:100%;border:1px solid #cbd2dc;border-radius:8px;padding:13px;font:inherit;background:#fff}.lead-form textarea{grid-column:1/-1}.lead-form button,.primary-btn{border:0;border-radius:8px;background:#d5b56c;color:#111827;padding:13px 18px;font-weight:800;cursor:pointer}.form-note{grid-column:1/-1;font-size:13px;color:#d9e7f8}footer{background:#0f1728;color:#d0d7e2;padding:34px 0}.footer-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:20px;align-items:center}.footer-grid>:nth-child(2){text-align:center}.footer-grid>:nth-child(3){text-align:right}.modal{position:fixed;inset:0;background:rgba(15,23,40,.6);display:none;place-items:center;padding:20px;z-index:50}.modal.open{display:grid}.modal-card{width:min(620px,100%);background:#fff;border-radius:16px;padding:26px;position:relative}.close{position:absolute;top:10px;right:12px;border:0;background:none;font-size:28px;cursor:pointer}.modal-card h3{font-family:Georgia,serif;font-size:30px;margin:6px 0 18px}.primary-btn{margin-top:12px}.ask-response{margin-top:14px;color:#526071;font-size:14px}.rtl{direction:rtl}.rtl .header-actions{justify-content:flex-start}.rtl .footer-grid>:nth-child(3){text-align:left}.rtl .chain i{transform:rotate(180deg)}@media(max-width:950px){.topbar{grid-template-columns:1fr auto}.tagline{display:none}.hero-grid,.split,.submit-grid{grid-template-columns:1fr}.quick-actions{grid-template-columns:repeat(2,1fr);margin-top:18px}.cards.three{grid-template-columns:1fr}.chain{grid-template-columns:1fr}.chain i{text-align:center;transform:rotate(90deg)}.rtl .chain i{transform:rotate(90deg)}.footer-grid{grid-template-columns:1fr}.footer-grid>*{text-align:start!important}}@media(max-width:560px){.shell{width:min(100% - 22px,1180px)}.topbar{min-height:66px}.brand{font-size:18px}.mark{width:36px;height:36px}.nav{gap:16px}.hero{padding:50px 0}.quick-actions{grid-template-columns:1fr}.lead-form{grid-template-columns:1fr}.lead-form textarea{grid-column:auto}.section{padding:56px 0}}

/* v9.1 refinements */
.nav{gap:18px;font-size:12.5px}
.hero h1{font-size:clamp(34px,4.4vw,58px)}
.rtl .hero h1{font-size:clamp(32px,4vw,52px);line-height:1.16}
.rtl .section h2{font-size:clamp(28px,3.4vw,42px);line-height:1.25}
.chain .hot{box-shadow:0 5px 18px rgba(154,122,55,.10);border-width:1.5px}
.dark .split{grid-template-columns:.9fr 1.1fr}
.rtl .service-list div{padding:15px 0}
.rtl .card h3{line-height:1.35}
.rtl .card p{line-height:1.85}
.rtl .action-card h3{line-height:1.35}
.rtl .action-card p{line-height:1.8}
@media(max-width:950px){
  .nav{gap:15px;font-size:12px}
  .dark .split{grid-template-columns:1fr}
}

/* v9.2 commercial opportunity + project watch */
.section-note{margin:10px 0 0;color:#7a8290;font-size:13px;line-height:1.6}
.opportunity-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.opportunity-card{background:#fff;border:1px solid #dfe4eb;border-radius:16px;padding:24px;box-shadow:0 4px 16px rgba(16,24,40,.035);display:flex;flex-direction:column;min-height:295px}
.opportunity-card.priority{border-color:#c9a85d;box-shadow:0 8px 24px rgba(154,122,55,.08)}
.opp-top{display:flex;justify-content:space-between;gap:12px;align-items:center}.deadline{font-size:12px;font-weight:800;color:#596273}.deadline.urgent{color:#9b3b32}.opportunity-card h3{font-family:Georgia,serif;font-size:25px;line-height:1.18;margin:18px 0 10px}.opportunity-card p{color:#667085;line-height:1.65;margin:0 0 16px}.entry{border-top:1px solid #edf0f4;padding-top:14px;color:#465164;font-size:14px;line-height:1.55;margin-top:auto}.entry b{color:#9a7a37}.source-link{margin-top:15px;color:#735a25;text-decoration:none;font-weight:800;font-size:13px}.opportunity-foot{margin-top:18px;padding:16px 18px;border:1px dashed #c8cfd9;border-radius:12px;display:flex;justify-content:space-between;gap:20px;align-items:center;color:#606a79;font-size:13px}.opportunity-foot a{color:#735a25;text-decoration:none;font-weight:800}
.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.project-card{border:1px solid #e0e4eb;border-radius:16px;padding:24px;background:#fff}.company-line{display:flex;gap:12px;align-items:center}.company-badge{width:42px;height:42px;border-radius:10px;background:#172033;color:#e3c779;display:grid;place-items:center;font-weight:900;font-size:13px}.company-line div{display:grid;gap:3px}.company-line small{color:#758092}.project-card h3{font-family:Georgia,serif;font-size:23px;margin:18px 0 10px;line-height:1.2}.project-card p{color:#667085;line-height:1.65}.openings{display:grid;gap:7px;background:#f8f6ef;border-radius:10px;padding:14px;margin:18px 0}.openings b{font-size:12px;color:#7b642f;text-transform:uppercase;letter-spacing:.07em}.openings span{font-size:13px;color:#586273;line-height:1.55}.project-card>a{font-size:13px;font-weight:800;color:#735a25;text-decoration:none}
.commercial-model{background:#172033;color:#fff}.commercial-model .section-head{margin-bottom:24px}.model-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.model-grid>div{border:1px solid #364152;border-radius:14px;padding:22px;display:grid;gap:10px;background:rgba(255,255,255,.025)}.model-grid span{font-size:11px;color:#e3c779;font-weight:900}.model-grid b{font-family:Georgia,serif;font-size:20px}.model-grid p{margin:0;color:#bdc7d5;line-height:1.6;font-size:14px}.protection-note{margin-top:18px;border-top:1px solid #364152;padding-top:18px;color:#c9d2df;font-size:13px;line-height:1.6}.protection-note b{color:#e3c779}
.rtl .opp-top{flex-direction:row-reverse}.rtl .opportunity-card h3,.rtl .project-card h3{line-height:1.4}.rtl .opportunity-card p,.rtl .project-card p,.rtl .entry,.rtl .openings span,.rtl .model-grid p{line-height:1.85}.rtl .company-line{flex-direction:row-reverse;justify-content:flex-end}
@media(max-width:950px){.opportunity-grid{grid-template-columns:1fr}.project-grid{grid-template-columns:1fr}.model-grid{grid-template-columns:repeat(2,1fr)}.opportunity-foot{align-items:flex-start;flex-direction:column}}
@media(max-width:560px){.model-grid{grid-template-columns:1fr}.opportunity-card{min-height:0}.opp-top{align-items:flex-start}.opportunity-foot{padding:14px}}

/* v9.2.1 visual polish */
.featured-strip{padding:42px 0 18px}.featured-head{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:16px}.featured-head h2{font-family:Georgia,serif;font-size:clamp(25px,3vw,34px);margin:0}.featured-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.featured-mini{text-decoration:none;color:#172033;border:1px solid #e2e6ec;border-radius:14px;padding:17px 18px;background:#fff;display:grid;gap:7px;box-shadow:0 4px 14px rgba(16,24,40,.035);transition:.2s transform,.2s box-shadow}.featured-mini:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(16,24,40,.08)}.featured-mini.urgent-mini{border-color:#c9a85d;background:#fffdf7}.mini-sector{font-size:10px;font-weight:900;letter-spacing:.09em;color:#9a7a37}.featured-mini b{font-family:Georgia,serif;font-size:18px;line-height:1.25}.featured-mini small{color:#6f7887;font-weight:700}
.opportunity-card{min-height:0;padding:21px}.opportunity-card h3{font-size:22px;margin:14px 0 8px}.opp-summary{font-size:14px!important;line-height:1.55!important;color:#566172!important;margin-bottom:10px!important}.opp-details{display:none}.opportunity-card.expanded .opp-details{display:block}.detail-toggle{border:0;background:transparent;color:#735a25;font:inherit;font-size:13px;font-weight:800;padding:10px 0 0;cursor:pointer;text-align:start}.opportunity-card.expanded .detail-toggle{margin-top:2px}.source-link{margin-top:10px}.opportunity-card.expanded .source-link{margin-top:12px}.entry{margin-top:0}
.chain>div{min-height:124px;position:relative;overflow:hidden}.chain>div:before{content:"";position:absolute;inset-inline-start:0;top:0;bottom:0;width:3px;background:#d7dde5}.chain .hot:before{background:#c3a45f}.chain .hot{transform:translateY(-2px)}
.cards.three .card{position:relative;overflow:hidden}.partner-icon{width:36px;height:36px;border-radius:10px;background:#172033;color:#e3c779;display:grid;place-items:center;font-weight:900;font-size:12px;margin-bottom:4px}.partner-tags{display:flex;gap:7px;flex-wrap:wrap;margin-top:14px}.partner-tags span{font-size:10px;font-weight:800;color:#6d592e;background:#f7f0dc;border-radius:999px;padding:6px 8px}
#market-entry .split{grid-template-columns:.9fr 1.1fr;gap:48px}.service-list div{padding:15px 0}
.rtl .opp-summary{line-height:1.8!important}.rtl .detail-toggle{text-align:right}.rtl .featured-mini b{line-height:1.5}.rtl .featured-head h2{font-size:clamp(24px,3vw,34px);line-height:1.35}
@media(max-width:950px){.featured-grid{grid-template-columns:1fr}.featured-head{align-items:flex-start;flex-direction:column}.chain .hot{transform:none}}

/* v9.3 opportunity filters + match workflow */
.opportunity-tools{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:0 0 20px}.filter-group{display:flex;gap:8px;flex-wrap:wrap}.filter-chip{border:1px solid #d7dce4;background:#fff;color:#465164;border-radius:999px;padding:9px 13px;font:inherit;font-size:12px;font-weight:800;cursor:pointer}.filter-chip:hover{border-color:#b79a59}.filter-chip.active{background:#172033;color:#fff;border-color:#172033}.result-count{font-size:12px;color:#748091;font-weight:700;white-space:nowrap}.opportunity-card.is-hidden{display:none}.opp-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:3px}.match-btn{border:1px solid #d5b56c;background:#fffdf7;color:#735a25;border-radius:8px;padding:8px 10px;font:inherit;font-size:12px;font-weight:850;cursor:pointer}.match-btn:hover{background:#f7f0dc}.match-modal-card{display:grid;gap:12px}.match-modal-card input,.match-modal-card select,.match-modal-card textarea{width:100%;border:1px solid #cbd2dc;border-radius:8px;padding:13px;font:inherit;background:#fff}.selected-opportunity{background:#f8f6ef;border-inline-start:3px solid #c3a45f;border-radius:8px;padding:12px 14px;font-size:13px;font-weight:800;color:#3f4a5b;line-height:1.5}.prototype-note{font-size:11px;color:#7d8794;line-height:1.5}.rtl .opp-actions{flex-direction:row-reverse}.rtl .selected-opportunity{line-height:1.8}.rtl .match-modal-card input,.rtl .match-modal-card select,.rtl .match-modal-card textarea{text-align:right}
@media(max-width:700px){.opportunity-tools{align-items:flex-start;flex-direction:column}.result-count{white-space:normal}.opp-actions{align-items:flex-start;flex-direction:column}.rtl .opp-actions{flex-direction:column}}

/* v9.3.1 commercial workflow polish */
.match-modal-card{width:min(690px,100%);gap:14px;padding:30px;border:1px solid rgba(23,32,51,.08);box-shadow:0 24px 70px rgba(10,18,34,.28)}
.match-head{display:grid;grid-template-columns:1fr auto;gap:22px;align-items:start}.match-head h3{margin-bottom:8px}.match-subtitle{margin:0;color:#667085;line-height:1.6;font-size:14px;max-width:540px}.match-step{display:flex;align-items:center;margin-top:8px}.match-step span{width:25px;height:25px;border-radius:999px;border:1px solid #d9dee6;display:grid;place-items:center;font-size:11px;font-weight:900;color:#7c8796;background:#fff}.match-step span.active{background:#172033;border-color:#172033;color:#f4d880}.match-step i{width:18px;height:1px;background:#d9dee6}
.selected-wrap{background:#f8f6ef;border:1px solid #ebe3d2;border-radius:11px;padding:12px 14px}.selected-wrap>small{display:block;color:#8a7443;text-transform:uppercase;letter-spacing:.08em;font-size:9px;font-weight:900;margin-bottom:5px}.selected-opportunity{background:transparent;border:0;border-radius:0;padding:0;font-family:Georgia,serif;font-size:16px;font-weight:700;color:#263044;line-height:1.4}
.match-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.match-modal-card label{display:grid;gap:7px}.match-modal-card label>span{font-size:11px;font-weight:850;color:#536071}.match-modal-card input,.match-modal-card select,.match-modal-card textarea{border-radius:10px;border-color:#d6dce4;padding:12px 13px;transition:border-color .2s,box-shadow .2s}.match-modal-card input:focus,.match-modal-card select:focus,.match-modal-card textarea:focus{outline:none;border-color:#c2a25b;box-shadow:0 0 0 3px rgba(194,162,91,.12)}
.next-step-box{display:grid;gap:5px;background:#f4f7fb;border-radius:10px;padding:12px 14px;border:1px solid #e5eaf1}.next-step-box b{font-size:11px;color:#263044}.next-step-box span{font-size:12px;line-height:1.55;color:#697586}.match-primary{width:100%;min-height:46px;border-radius:10px;font-weight:900}.match-response{margin-top:0;padding:0}.match-response:not(:empty){background:#eef7f0;border:1px solid #cfe5d4;color:#2d6540;padding:11px 13px;border-radius:9px;font-weight:750}.prototype-note{text-align:center}
.rtl .match-head{grid-template-columns:1fr auto}.rtl .match-subtitle{line-height:1.9}.rtl .selected-wrap>small{text-align:right}.rtl .selected-opportunity{text-align:right;line-height:1.7}.rtl .match-step{direction:ltr}.rtl .match-modal-card label>span{text-align:right}.rtl .next-step-box{text-align:right}.rtl .next-step-box span{line-height:1.8}
@media(max-width:650px){.match-modal-card{padding:23px 18px}.match-head{grid-template-columns:1fr}.match-step{display:none}.match-grid{grid-template-columns:1fr}.match-modal-card h3{font-size:26px}}


/* v9.3.2 duplicate cleanup + typography normalization */
:root{
  --ilaf-body:16px;
  --ilaf-nav:14.5px;
  --ilaf-body-large:17px;
  --ilaf-form:16px;
}
body{font-size:var(--ilaf-body);line-height:1.55}
.nav{font-size:var(--ilaf-nav);gap:18px}
.hero h1{font-size:clamp(38px,4.2vw,58px);line-height:1.06}
.hero-copy{font-size:var(--ilaf-body-large);line-height:1.68}
.section h2{font-size:clamp(32px,3.4vw,44px);line-height:1.14}
.quick-actions{grid-template-columns:repeat(4,1fr)}
.action-card h3{font-size:18px;line-height:1.3}
.action-card p{font-size:14px;line-height:1.6}
.card h3{font-size:23px;line-height:1.25}
.card p,.project-card p{font-size:15px;line-height:1.7}
.submit-grid>div>p{font-size:17px;line-height:1.65;max-width:520px}
.lead-form input,.lead-form select,.lead-form textarea{font-size:var(--ilaf-form);line-height:1.45}
.lead-form button{font-size:15px;min-height:46px}
.form-note{font-size:14px;line-height:1.55}
.eyebrow{font-size:12px;line-height:1.4}
.featured-mini b{font-size:18px}
.opportunity-card h3{font-size:22px;line-height:1.25}
.project-card h3{font-size:22px;line-height:1.28}
.model-grid b{font-size:20px;line-height:1.3}

/* Arabic is slightly larger for readability, without oversized jumps. */
.rtl .nav{font-size:15px}
.rtl .hero h1{font-size:clamp(37px,4.15vw,59px);line-height:1.18}
.rtl .hero-copy{font-size:18px;line-height:1.85}
.rtl .section h2{font-size:clamp(33px,3.5vw,46px);line-height:1.32}
.rtl .submit-grid>div>p{font-size:18px;line-height:1.9}
.rtl .lead-form input,.rtl .lead-form select,.rtl .lead-form textarea{font-size:17px;line-height:1.65}

@media(max-width:950px){
  .nav{font-size:13.5px;gap:15px}
  .quick-actions{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:560px){
  .nav{font-size:13px}
  .hero h1{font-size:clamp(36px,10vw,48px)}
  .section h2{font-size:clamp(30px,8vw,40px)}
  .quick-actions{grid-template-columns:1fr}
}
.submission-status{font-size:.85rem;opacity:.8;margin-top:.35rem;min-height:1.1em}
.form-note,.match-response{font-weight:650}


/* v9.4.1 stronger submission success state */
.success-card{display:none;background:#f5fbf6;border:1px solid #cbe3d0;border-radius:14px;padding:22px;text-align:center;color:#23462f;box-shadow:0 10px 30px rgba(20,65,35,.08)}
.success-mark{width:42px;height:42px;border-radius:999px;margin:0 auto 10px;display:grid;place-items:center;background:#2e6b43;color:#fff;font-size:22px;font-weight:900}.success-card h3{margin:0 0 7px;font-size:24px}.success-card p{margin:0 auto 14px;max-width:480px;line-height:1.55;color:#4f6557}.success-reference{display:flex;justify-content:center;gap:9px;align-items:center;background:#fff;border:1px solid #d9e8dc;border-radius:10px;padding:10px 13px;margin:0 auto 8px;max-width:360px}.success-reference span{font-size:12px;font-weight:800;color:#66756b}.success-reference b{font-size:15px;letter-spacing:.03em}.success-mode{font-size:12px;color:#66806f;margin-bottom:13px}.secondary-btn{border:1px solid #b5c7ba;background:#fff;color:#31553d;border-radius:9px;padding:10px 14px;font:inherit;font-weight:800;cursor:pointer}.secondary-btn:hover{background:#eef6f0}
.lead-form.is-success>input,.lead-form.is-success>select,.lead-form.is-success>textarea,.lead-form.is-success>button[type="submit"],.lead-form.is-success>.form-note{display:none}.lead-form.is-success .success-card{display:block;grid-column:1/-1}
#matchModal.is-success .match-head,#matchModal.is-success .selected-wrap,#matchModal.is-success .match-grid,#matchModal.is-success .match-modal-card>label,#matchModal.is-success .next-step-box,#matchModal.is-success #matchSend,#matchModal.is-success #matchResponse{display:none}#matchModal.is-success .match-success{display:block}.rtl .success-card{text-align:center}.rtl .success-reference{direction:rtl}

/* v9.4.2 modal viewport fix */
#matchModal{align-items:center;overflow:auto;padding:12px 18px;}
#matchModal .match-modal-card{max-height:calc(100vh - 24px);overflow-y:auto;overscroll-behavior:contain;padding:24px 28px;}
#matchModal .match-head{gap:8px;}
#matchModal .match-modal-card h3{font-size:clamp(27px,3vw,36px);line-height:1.06;margin:4px 0 8px;}
#matchModal .match-subtitle{margin:0 0 4px;line-height:1.45;}
#matchModal .selected-opportunity{padding:10px 13px;}
#matchModal .next-step-box{padding:12px 14px;}
#matchModal #matchSend{position:relative;z-index:2;margin-top:4px;margin-bottom:2px;}
@media(max-height:760px){
  #matchModal{place-items:start center;padding-top:8px;padding-bottom:8px;}
  #matchModal .match-modal-card{max-height:calc(100vh - 16px);padding:18px 22px;gap:9px;}
  #matchModal .match-modal-card h3{font-size:28px;}
  #matchModal .match-grid{gap:8px;}
  #matchModal .match-modal-card input,#matchModal .match-modal-card select,#matchModal .match-modal-card textarea{padding:10px 12px;}
  #matchModal .match-modal-card textarea{min-height:86px;}
  #matchModal .next-step-box{padding:10px 12px;}
}

/* v9.4.3 – normalize English Request Introduction modal to the more compact Arabic proportions */
body:not(.rtl) #matchModal .match-modal-card{
  width:min(660px,100%);
  gap:10px;
  padding:22px 26px;
}
body:not(.rtl) #matchModal .match-head{
  gap:10px;
}
body:not(.rtl) #matchModal .match-modal-card h3{
  font-size:30px;
  line-height:1.08;
  margin:2px 0 6px;
}
body:not(.rtl) #matchModal .match-subtitle{
  font-size:13px;
  line-height:1.45;
}
body:not(.rtl) #matchModal .selected-opportunity{
  padding:10px 12px;
  line-height:1.35;
}
body:not(.rtl) #matchModal .match-grid{
  gap:9px;
}
body:not(.rtl) #matchModal .match-modal-card label{
  gap:5px;
}
body:not(.rtl) #matchModal .match-modal-card input,
body:not(.rtl) #matchModal .match-modal-card select,
body:not(.rtl) #matchModal .match-modal-card textarea{
  padding:10px 12px;
}
body:not(.rtl) #matchModal .match-modal-card textarea{
  min-height:92px;
}
body:not(.rtl) #matchModal .next-step-box{
  padding:10px 12px;
}
body:not(.rtl) #matchModal .match-primary{
  margin-top:4px;
}
@media(max-height:760px){
  body:not(.rtl) #matchModal .match-modal-card{
    width:min(640px,100%);
    padding:16px 20px;
    gap:7px;
  }
  body:not(.rtl) #matchModal .match-modal-card h3{font-size:26px;}
  body:not(.rtl) #matchModal .match-subtitle{font-size:12px;line-height:1.35;}
  body:not(.rtl) #matchModal .selected-opportunity{padding:8px 10px;}
  body:not(.rtl) #matchModal .match-modal-card input,
  body:not(.rtl) #matchModal .match-modal-card select,
  body:not(.rtl) #matchModal .match-modal-card textarea{padding:8px 10px;}
  body:not(.rtl) #matchModal .match-modal-card textarea{min-height:72px;}
  body:not(.rtl) #matchModal .next-step-box{padding:8px 10px;}
}

/* v9.4.4 – short-viewport safeguard: keep Request Match action visible */
#matchModal .match-modal-card{max-height:calc(100dvh - 16px);}
@media(max-height:850px){
  #matchModal{padding:6px 14px;place-items:start center;}
  #matchModal .match-modal-card{max-height:calc(100dvh - 12px);padding:13px 18px;gap:5px;}
  #matchModal .match-head{gap:5px;}
  #matchModal .match-modal-card h3{font-size:25px;line-height:1.04;margin:0 0 3px;}
  #matchModal .match-subtitle{font-size:12px;line-height:1.28;margin:0;}
  #matchModal .selected-wrap>small{font-size:9px;}
  #matchModal .selected-opportunity{padding:7px 9px;font-size:12px;line-height:1.25;}
  #matchModal .match-grid{gap:6px;}
  #matchModal .match-modal-card label{gap:3px;}
  #matchModal .match-modal-card label>span{font-size:10px;}
  #matchModal .match-modal-card input,
  #matchModal .match-modal-card select,
  #matchModal .match-modal-card textarea{padding:7px 9px;min-height:auto;}
  #matchModal .match-modal-card textarea{height:64px;min-height:64px;}
  #matchModal .next-step-box{padding:7px 9px;gap:2px;}
  #matchModal .next-step-box b{font-size:10px;}
  #matchModal .next-step-box span{font-size:11px;line-height:1.3;}
  #matchModal #matchSend{margin-top:2px;min-height:40px;}
  #matchModal .prototype-note{display:none;}
  #matchModal .match-step span{width:22px;height:22px;}
}
