/* ==========================================================================
   Nile Global Health — physician-led international patient care
   Own look: Egyptian lapis blue + sand + the family gold (#C5A059). Built from the MMDP component set.
   Loaded after styles.css (which keeps base, form and utility styles).
   ========================================================================== */
:root {
  --navy: #13335F;            /* styles.css uses --navy for dark ink: now emerald */
  --navy-deep: #0C2341;
  --green: #13335F;
  --green-2: #1A4378;
  --green-3: #24558F;
  --gold: #c5a059;
  --gold-light: #e3c27d;
  --gold-ink: #8a6a2a;
  --cream: #F6F0E6;
  --cream-2: #ECE2D0;
  --ink: #13202E;
  --ink-2: #4A5566;
  --line: #E6DCCA;
  --display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --text: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ui: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 18px;
  --shadow: 0 24px 50px -32px rgba(10, 42, 36, .45);
  --wrap: 1200px;
}
body { background: #fff; color: var(--ink); font: 400 1.03rem/1.65 var(--text); }
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -.015em; line-height: 1.1; color: var(--green); }
em.g, h1 em, h2 em { font-style: italic; color: var(--gold-ink); font-weight: 400; }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.m-btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font: 700 .95rem/1 var(--ui); text-decoration: none; border: 0; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s; }
.m-btn:hover { transform: translateY(-2px); }
.m-btn-gold { background: linear-gradient(135deg, #e3c27d, #c5a059 55%, #a8843c); color: #0C2341; box-shadow: 0 14px 30px -16px rgba(201,164,92,.9); }
.m-btn-dark { background: var(--green); color: #fff; }
.m-btn-dark:hover { background: var(--green-3); }
.m-btn-line { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); }
.m-btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--gold-light); color: var(--gold-light); }
.m-link { font: 700 .92rem/1 var(--ui); color: var(--green); text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 4px; }
.m-link:hover { color: var(--gold-ink); }

/* ---------- Header ---------- */
.m-top { background: var(--green); color: #e8e0cc; font: 600 .74rem/1 var(--ui); letter-spacing: .12em; text-transform: uppercase; }
.m-top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.m-top a { color: var(--gold-light); text-decoration: none; }
.m-top .langsw { display: flex; gap: 6px; }
.m-top .langsw a, .m-top .langsw button { font: 700 .7rem/1 var(--ui); letter-spacing: .08em; color: #e8e0cc; background: transparent; border: 1px solid rgba(201,164,92,.45); border-radius: 6px; padding: 6px 8px; text-decoration: none; cursor: pointer; }
.m-top .langsw a.on, .m-top .langsw a:hover, .m-top .langsw button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--green); }
.m-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.m-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 80px; }
.m-brand img { height: 50px; width: auto; }
.m-nav { display: flex; align-items: center; gap: 22px; }
.m-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.m-nav ul a { display: block; padding: 10px 12px; border-radius: 999px; font: 600 .93rem/1 var(--ui); color: var(--ink); text-decoration: none; transition: background .2s, color .2s; }
.m-nav ul a:hover { background: var(--cream); color: var(--green); }
.m-nav ul a[aria-current="page"] { background: var(--green); color: #fff; }
.m-nav .m-btn { padding: 13px 20px; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; position: relative; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--green); border-radius: 2px; content: ""; }
.nav-toggle-bars { top: 22px; } .nav-toggle-bars::before { top: -7px; left: 0; right: 0; } .nav-toggle-bars::after { top: 7px; left: 0; right: 0; }
@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .m-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px var(--gutter) 22px; box-shadow: 0 20px 40px -30px rgba(0,0,0,.4); }
  .m-nav.is-open { display: flex; }
  .m-nav ul { flex-direction: column; }
  .m-nav ul a { padding: 14px 12px; border-radius: 10px; }
  .m-nav .m-btn { justify-content: center; margin-top: 8px; }
  .m-top-tag { display: none; }
  .m-brand img { height: 42px; }
}

/* ---------- Sections ---------- */
.m-sec { padding-block: clamp(64px, 8vw, 110px); }
.m-cream { background: var(--cream); }
.m-dark { background: radial-gradient(1000px 500px at 85% -10%, #24558F 0%, rgba(36,85,143,0) 60%), var(--green); color: #D9E1EC; }
.m-dark h1, .m-dark h2, .m-dark h3 { color: #fff; }
.m-dark h2 em, .m-dark h1 em { color: var(--gold-light); }
.m-eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 .74rem/1 var(--ui); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 16px; }
.m-dark .m-eyebrow { color: var(--gold-light); }
.m-head { text-align: center; max-width: 760px; margin: 0 auto clamp(36px, 5vw, 56px); }
.m-head h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
.m-head h2::after { content: ""; display: block; width: 60px; height: 3px; margin: 20px auto 0; border-radius: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); }
.m-head p { margin: 18px auto 0; color: var(--ink-2); font-size: 1.1rem; max-width: 620px; }
.m-dark .m-head p { color: #C2CEDF; }
.m-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: clamp(32px, 4vw, 44px); }

/* ---------- Hero ---------- */
.m-hero { position: relative; overflow: hidden; padding-block: clamp(56px, 7vw, 100px); }
.m-hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.m-hero h1 { font-size: clamp(2.7rem, 5.6vw, 4.6rem); line-height: 1.02; }
.m-hero h1 span { display: block; }
.m-lede { font-size: 1.16rem; color: #CBD6E6; max-width: 540px; margin: 22px 0 0; }
.m-lede strong { color: #fff; }
.m-hero .m-actions { justify-content: flex-start; }
.m-tagline { margin: 30px 0 0; font: italic 400 1.2rem/1.4 var(--display); color: var(--gold-light); }
.m-collage { position: relative; min-height: 520px; }
.m-collage .c1 { position: absolute; inset: 0 12% 14% 0; border-radius: 26px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,.7); }
.m-collage .c2 { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 4/3; border-radius: 20px; overflow: hidden; border: 6px solid var(--green); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.m-collage img { width: 100%; height: 100%; object-fit: cover; }
.m-badge { position: absolute; left: -18px; bottom: 22%; background: #fff; color: var(--green); border-radius: 16px; padding: 14px 18px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); display: flex; align-items: center; gap: 12px; }
.m-badge b { font: 600 2rem/1 var(--display); color: var(--gold-ink); }
.m-badge span { font: 700 .72rem/1.3 var(--ui); letter-spacing: .1em; text-transform: uppercase; }
html[dir="rtl"] .m-badge { left: auto; right: -18px; }
html[dir="rtl"] .m-collage .c1 { inset: 0 0 14% 12%; } html[dir="rtl"] .m-collage .c2 { right: auto; left: 0; }
@media (max-width: 900px) {
  .m-hero .wrap { grid-template-columns: 1fr; }
  .m-collage { min-height: 0; aspect-ratio: 5/4; }
  .m-badge { left: 8px; bottom: 8px; }
  html[dir="rtl"] .m-badge { right: 8px; }
}

/* ---------- Letters (M M D P) ---------- */
.m-letters { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.m-letters a { display: block; height: 100%; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; text-align: center; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.m-letters a:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold); }
.m-letters b { display: grid; place-items: center; width: 74px; height: 74px; margin: 0 auto 18px; border-radius: 22px; background: var(--green); color: var(--gold-light); font: 500 2.4rem/1 var(--display); }
.m-letters h3 { font-size: 1.45rem; margin: 0 0 8px; }
.m-letters p { margin: 0; color: var(--ink-2); font-size: .96rem; }
@media (max-width: 900px) { .m-letters { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .m-letters { grid-template-columns: 1fr; } }

/* ---------- Fit (pains vs helps) ---------- */
.m-fit { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 980px; margin: 0 auto; }
.m-fit > div { border-radius: var(--radius); padding: clamp(26px, 3vw, 38px); }
.m-fit .no { background: #fff; border: 1px solid var(--line); }
.m-fit .yes { background: var(--green); color: #DDE5EF; }
.m-fit h3 { font-size: 1.5rem; margin: 0 0 16px; }
.m-fit .yes h3 { color: var(--gold-light); }
.m-fit ul { list-style: none; margin: 0; padding: 0; }
.m-fit li { position: relative; padding: 12px 0 12px 34px; border-top: 1px solid var(--line); }
.m-fit .yes li { border-color: rgba(255,255,255,.12); }
.m-fit li:first-child { border-top: 0; }
.m-fit li::before { position: absolute; left: 0; top: 11px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 700 .8rem/1 var(--ui); }
.m-fit .no li::before { content: "✕"; background: #f6e7e2; color: #a0412c; }
.m-fit .yes li::before { content: "✓"; background: var(--gold); color: var(--green); }
html[dir="rtl"] .m-fit li { padding: 12px 34px 12px 0; } html[dir="rtl"] .m-fit li::before { left: auto; right: 0; }
@media (max-width: 760px) { .m-fit { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.m-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.m-cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.m-cards > li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; text-align: center; transition: transform .3s var(--ease), box-shadow .3s; display: flex; flex-direction: column; align-items: center; }
.m-cards > li:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.m-cards h3 { font-size: 1.32rem; margin: 0 0 10px; }
.m-cards p { margin: 0; color: var(--ink-2); font-size: .97rem; }
.m-cards .m-link { margin-top: auto; padding-top: 18px; border: 0; }
.m-cards .m-link span { border-bottom: 2px solid var(--gold); padding-bottom: 4px; }
.m-ico { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; background: var(--cream); color: var(--green); margin-bottom: 18px; box-shadow: inset 0 0 0 1px var(--line); }
.m-ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.m-dark .m-cards > li { background: rgba(255,255,255,.05); border-color: rgba(201,164,92,.3); }
.m-dark .m-cards h3 { color: #fff; } .m-dark .m-cards p { color: #C2CEDF; }
.m-dark .m-ico { background: rgba(201,164,92,.14); color: var(--gold-light); box-shadow: inset 0 0 0 1px rgba(201,164,92,.4); }
.m-photo-card { padding: 0 !important; overflow: hidden; }
.m-photo-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.m-photo-card .in { padding: 24px 24px 28px; display: flex; flex-direction: column; align-items: center; flex: 1; }
@media (max-width: 1000px) { .m-cards.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .m-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .m-cards, .m-cards.four { grid-template-columns: 1fr; } }

/* ---------- Split (image + text) ---------- */
.m-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.m-split.rev > .m-split-img { order: 2; }
.m-split-img { position: relative; }
.m-split-img img { width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); }
.m-split-img::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--gold); border-radius: 24px; z-index: -1; }
.m-split.rev .m-split-img::before { inset: 18px 18px -18px -18px; }
.m-split h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.m-split p { color: var(--ink-2); font-size: 1.07rem; margin: 18px 0 0; }
.m-dark .m-split p { color: #C2CEDF; }
.m-split .m-actions { justify-content: flex-start; }
.m-ticks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.m-ticks li { position: relative; padding-inline-start: 34px; font-weight: 600; color: var(--ink); }
.m-dark .m-ticks li { color: #EEF2F8; }
.m-ticks li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: var(--green); display: grid; place-items: center; font: 700 .78rem/1 var(--ui); }
@media (max-width: 860px) { .m-split { grid-template-columns: 1fr; } .m-split.rev > .m-split-img { order: 0; } .m-split-img::before { display: none; } }

/* ---------- Method letter sections ---------- */
.m-letter-big { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 24px; background: var(--green); color: var(--gold-light); font: 500 2.8rem/1 var(--display); margin-bottom: 20px; box-shadow: 0 16px 30px -18px rgba(19,51,95,.8); }
.m-dark .m-letter-big { background: var(--gold); color: var(--green); }
.m-sub { font: italic 400 1.2rem/1.4 var(--display); color: var(--gold-ink); margin: 10px 0 0; }
.m-dark .m-sub { color: var(--gold-light); }

/* ---------- Page head ---------- */
.m-pagehead { position: relative; overflow: hidden; text-align: center; padding-block: clamp(70px, 9vw, 120px) clamp(60px, 7vw, 96px); background: var(--green); color: #D9E1EC; }
.m-pagehead-bg { position: absolute; inset: 0; background-size: cover; background-position: center 35%; opacity: .28; }
.m-pagehead::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,35,65,.55), rgba(12,35,65,.92)); }
.m-pagehead .wrap { position: relative; z-index: 1; max-width: 820px; }
.m-pagehead .m-eyebrow { color: var(--gold-light); }
.m-pagehead .m-eyebrow::before, .m-pagehead .m-eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--gold); }
.m-pagehead h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 4rem); }
.m-pagehead h1 em { color: var(--gold-light); }
.m-pagehead p { margin: 20px auto 0; max-width: 620px; font-size: 1.12rem; color: #CBD6E6; }

/* ---------- Testimonials ---------- */
.m-quotes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.m-quotes li { background: #fff; border-radius: var(--radius); padding: 34px 28px 28px; border: 1px solid var(--line); position: relative; display: flex; flex-direction: column; }
.m-quotes li::before { content: "“"; position: absolute; top: 6px; inset-inline-start: 22px; font: 400 4.6rem/1 var(--display); color: var(--gold); }
.m-quotes blockquote { margin: 26px 0 20px; font: 400 1.04rem/1.65 var(--text); color: var(--ink); }
.m-quotes cite { margin-top: auto; font: 700 .9rem/1.3 var(--ui); font-style: normal; color: var(--green); }
.m-stars { color: var(--gold); letter-spacing: 3px; font-size: .95rem; margin-bottom: 6px; }
@media (max-width: 900px) { .m-quotes { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; } }

/* ---------- Photo band / gallery ---------- */
.m-gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 14px; }
.m-gallery li { position: relative; border-radius: 18px; overflow: hidden; }
.m-gallery li:first-child { grid-row: span 2; }
.m-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.m-gallery li:hover img { transform: scale(1.05); }
.m-gallery span { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px; background: linear-gradient(180deg, transparent, rgba(12,35,65,.85)); color: #fff; font: 700 .85rem/1.2 var(--ui); }
@media (max-width: 760px) { .m-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 160px 160px; } .m-gallery li:first-child { grid-column: span 2; grid-row: auto; } }

/* ---------- Numbered steps / modules ---------- */
.m-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: s; }
.m-steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; text-align: center; }
.m-steps li::before { content: counter(s); display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 16px; border-radius: 50%; background: var(--green); color: var(--gold-light); font: 600 1.15rem/1 var(--display); }
.m-steps h3 { font-size: 1.25rem; margin: 0 0 8px; }
.m-steps p { margin: 0; color: var(--ink-2); font-size: .96rem; }
@media (max-width: 800px) { .m-steps { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }
.m-modules { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: md; }
.m-modules li { counter-increment: md; display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(201,164,92,.3); border-radius: 14px; padding: 18px 20px; color: #EEF2F8; font-weight: 600; }
.m-modules li::before { content: counter(md, decimal-leading-zero); font: 500 1.3rem/1 var(--display); color: var(--gold-light); flex: none; }
@media (max-width: 900px) { .m-modules { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .m-modules { grid-template-columns: 1fr; } }
.m-chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0; padding: 0; }
.m-chips li { padding: 11px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--gold); font-weight: 700; color: var(--green); font-size: .95rem; }
.m-note { text-align: center; color: var(--ink-2); margin: 28px auto 0; max-width: 640px; font-size: .98rem; }
.m-dark .m-note { color: #C2CEDF; }

/* ---------- Founder ---------- */
.m-founder-img img { aspect-ratio: 4/5; object-position: center 20%; }
.m-facts { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--line); }
.m-facts li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .97rem; }
.m-facts b { font: 700 .72rem/1.6 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.m-pull { margin: 26px 0 0; padding: 18px 22px; border-inline-start: 3px solid var(--gold); background: var(--cream); border-radius: 0 12px 12px 0; font: italic 400 1.12rem/1.5 var(--display); color: var(--green); }
.m-pull cite { display: block; margin-top: 8px; font: 700 .8rem/1.3 var(--ui); font-style: normal; color: var(--ink-2); }
@media (max-width: 520px) { .m-facts li { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- FAQ ---------- */
.m-faq { max-width: 820px; margin: 0 auto; }
.m-faq-group + .m-faq-group { margin-top: clamp(44px, 5vw, 64px); }
.m-faq-group h2 { text-align: center; font-size: 1.7rem; margin: 0 0 22px; }
.m-faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; transition: border-color .2s, box-shadow .2s; }
.m-faq details[open] { border-color: var(--gold); box-shadow: var(--shadow); }
.m-faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font: 700 1.02rem/1.4 var(--ui); color: var(--green); position: relative; }
html[dir="rtl"] .m-faq summary { padding: 20px 22px 20px 56px; }
.m-faq summary::-webkit-details-marker { display: none; }
.m-faq summary::after { content: "+"; position: absolute; inset-inline-end: 20px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--cream); color: var(--gold-ink); display: grid; place-items: center; font: 600 1.2rem/1 var(--ui); transition: transform .3s; }
.m-faq details[open] summary::after { content: "−"; background: var(--gold); color: var(--green); }
.m-faq details p { margin: 0; padding: 0 22px 22px; color: var(--ink-2); }

/* ---------- CTA band ---------- */
.m-cta { padding-block: clamp(56px, 7vw, 90px); background: var(--cream); }
.m-cta-in { text-align: center; background: radial-gradient(700px 300px at 50% -20%, #24558F, rgba(36,85,143,0) 70%), var(--green); border-radius: 28px; padding: clamp(40px, 6vw, 70px) clamp(24px, 4vw, 60px); position: relative; overflow: hidden; }
.m-cta-in::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(201,164,92,.35); border-radius: 20px; pointer-events: none; }
.m-cta-in h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.m-cta-in h2 em { color: var(--gold-light); }
.m-cta-in p { color: #CBD6E6; margin: 14px auto 0; max-width: 560px; font-size: 1.08rem; }
.m-faqline { text-align: center; margin: 0 0 30px; font: 400 1.15rem/1.5 var(--display); color: var(--green); }
.m-faqline a { color: var(--gold-ink); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--gold); margin-inline-start: 6px; }

/* ---------- Contact ---------- */
.m-contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.m-contact-side { position: sticky; top: 110px; }
.m-contact-side h2 { font-size: clamp(1.9rem, 3vw, 2.4rem); }
.m-contact-side > p { color: var(--ink-2); margin: 14px 0 0; }
.m-info { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.m-info li { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.m-info .m-ico { width: 44px; height: 44px; margin: 0; border-radius: 12px; flex: none; }
.m-info .m-ico svg { width: 20px; height: 20px; }
.m-info b { display: block; font: 700 .72rem/1.4 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.m-info a { color: var(--green); font-weight: 700; text-decoration: none; }
.m-contact .form-card { border-radius: 22px; border-color: var(--line); background: #fff; }
.m-contact .form-card::after { border-radius: 16px; }
@media (max-width: 900px) { .m-contact { grid-template-columns: 1fr; } .m-contact-side { position: static; } }

/* form tweaks for this brand */
.form-card::before { content: "Private inquiry · Nile Global Health" !important; }
.field input, .field select { border: 1px solid var(--line) !important; border-radius: 10px !important; padding: 10px 14px !important; background: #FBF8F2 !important; }
.field input:focus, .field select:focus { border-color: var(--green) !important; box-shadow: 0 0 0 3px rgba(201,164,92,.25) !important; }
.field label { letter-spacing: .04em !important; text-transform: none !important; font-size: .82rem !important; }
.form-card .btn, .btn-gold { background: linear-gradient(135deg, #e3c27d, #c5a059 55%, #a8843c) !important; color: #0C2341 !important; border: 0 !important; border-radius: 999px !important; width: 100%; justify-content: center; padding: 16px 24px !important; font: 700 1rem/1 var(--ui) !important; cursor: pointer; }

/* ---------- Footer ---------- */
.m-footer { background: var(--navy-deep); color: #B8C5D8; border-top: 4px solid var(--gold); padding-block: clamp(52px, 6vw, 76px) 26px; font-size: .95rem; }
.m-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; }
.m-footer-brand img { height: 48px; width: auto; background: #fff; border-radius: 12px; padding: 6px 10px; }
.m-footer-brand p { margin: 16px 0 0; max-width: 300px; }
.m-footer h3 { font: 700 .74rem/1 var(--ui); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); margin: 6px 0 18px; }
.m-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.m-footer a { color: #E6ECF5; text-decoration: none; transition: color .2s; }
.m-footer a:hover { color: var(--gold-light); }
.m-footer small { color: #8E9DB5; }
.m-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; color: #8E9DB5; }
.m-legal nav { display: flex; gap: 18px; flex-wrap: wrap; }
.m-disclaimer { margin-top: 18px; font-size: .78rem; line-height: 1.6; color: #7E8DA6; }
@media (max-width: 900px) { .m-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .m-footer-grid { grid-template-columns: 1fr; } }

/* ---------- Legal pages ---------- */
.m-prose { max-width: 760px; margin: 0 auto; }
.m-prose h2 { font-size: 1.5rem; margin: 34px 0 10px; }
.m-prose p, .m-prose li { color: var(--ink-2); }
.m-draft { background: #fff7e4; border: 1px solid var(--gold); border-radius: 12px; padding: 14px 18px; margin-bottom: 26px; font-size: .95rem; }

/* ---------- Sticky mobile CTA ---------- */
.m-sticky { display: none; }
@media (max-width: 760px) {
  .m-sticky { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; justify-content: center; transform: translateY(140%); transition: transform .4s var(--ease); }
  .m-sticky.on { transform: none; }
  .m-sticky .m-btn { width: 100%; justify-content: center; }
}

/* ---------- Motion ---------- */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.js .reveal.is-in { opacity: 1; transform: none; }
.m-hero-text { animation: m-rise .9s var(--ease) both .1s; }
.m-collage { animation: m-rise 1s var(--ease) both .3s; }
@keyframes m-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { html.js .reveal, .m-hero-text, .m-collage { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; } }

/* ---------- fixes after first review ---------- */
.m-dark .m-link, .m-dark .m-cards .m-link { color: var(--gold-light); }
.m-top .langsw a, .m-top .langsw button { color: #e8e0cc !important; background: transparent !important; border: 1px solid rgba(201,164,92,.5) !important; opacity: 1 !important; visibility: visible !important; width: auto !important; min-width: 34px; }
.m-top .langsw a.on, .m-top .langsw a:hover, .m-top .langsw button:hover, .m-top .langsw button[aria-pressed="true"], .m-top .langsw button.on { background: var(--gold) !important; border-color: var(--gold) !important; color: var(--green) !important; }
.m-founder-img { max-width: 460px; margin-inline: auto; width: 100%; }
.m-founder-img img { aspect-ratio: 4/4.6; }
.m-quotes li::before { display: none; }
.m-quotes blockquote { margin-top: 10px; }
.m-quotes li { border-top: 3px solid var(--gold); }
@media (max-width: 480px) {
  .m-letters { grid-template-columns: 1fr 1fr !important; gap: 12px; }
  .m-letters a { padding: 22px 14px; }
  .m-letters b { width: 56px; height: 56px; font-size: 1.9rem; border-radius: 16px; margin-bottom: 12px; }
  .m-letters h3 { font-size: 1.2rem; }
  .m-letters p { font-size: .88rem; }
  .m-top .wrap { justify-content: center; }
}
html[lang="ar"] { --display: "Noto Naskh Arabic", Georgia, serif; --text: "IBM Plex Sans Arabic", system-ui, sans-serif; --ui: "IBM Plex Sans Arabic", system-ui, sans-serif; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { line-height: 1.35; }
html[lang="ar"] h1 em, html[lang="ar"] h2 em, html[lang="ar"] .m-sub, html[lang="ar"] .m-tagline, html[lang="ar"] .m-pull { font-style: normal; }
@media (max-width: 760px) { .m-sticky { right: 84px; } html[dir="rtl"] .m-sticky { right: 12px; left: 84px; } }

/* ---------- Mission ---------- */
.m-mission { background: var(--cream); }
.m-mission-q { max-width: 900px; margin: 0 auto; font: 400 clamp(1.5rem, 2.8vw, 2.2rem)/1.4 var(--display); color: var(--green); }
.m-mission-q em { color: var(--gold-ink); }
.m-mission-icons { list-style: none; margin: clamp(32px, 4vw, 48px) auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.m-mission-icons li { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 24px 10px 10px; font-weight: 700; color: var(--green); }
html[dir="rtl"] .m-mission-icons li { padding: 10px 10px 10px 24px; }
.m-mission-icons .m-ico { width: 46px; height: 46px; margin: 0; border-radius: 50%; background: var(--green); color: var(--gold-light); box-shadow: none; }
.m-mission-icons .m-ico svg { width: 22px; height: 22px; }

/* ---------- Free resources (book covers) ---------- */
.m-books { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.m-books li { text-align: center; background: rgba(255,255,255,.05); border: 1px solid rgba(201,164,92,.3); border-radius: var(--radius); padding: 30px 24px 28px; display: flex; flex-direction: column; align-items: center; }
.m-books img { width: 62%; max-width: 200px; aspect-ratio: 479/700; object-fit: cover; border-radius: 6px; box-shadow: 0 24px 40px -18px rgba(0,0,0,.7); transform: rotate(-2deg); transition: transform .4s var(--ease); margin-bottom: 22px; }
.m-books li:hover img { transform: rotate(0) translateY(-6px); }
.m-books h3 { color: #fff; font-size: 1.3rem; margin: 0 0 8px; }
.m-books p { color: #C2CEDF; margin: 0 0 20px; font-size: .96rem; }
.m-books .m-btn { margin-top: auto; background: var(--gold); color: var(--green); }
@media (max-width: 860px) { .m-books { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }

/* ---------- Videos ---------- */
.m-videos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.m-videos h3 { margin: 14px 0 0; font-size: 1.15rem; text-align: center; }
.m-video { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 16px; overflow: hidden; cursor: pointer; aspect-ratio: 16/9; background: #000; }
.m-video img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s, transform .6s var(--ease); }
.m-video:hover img { opacity: 1; transform: scale(1.04); }
.m-play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--gold); box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.m-play::after { content: ""; position: absolute; left: 26px; top: 21px; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent var(--green); }
.m-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 860px) { .m-videos { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* ===== Section-by-section polish (review 2) ===== */
.m-pagehead .wrap { max-width: 960px; }
.m-pagehead p { max-width: 640px; }
@media (max-width: 560px) {
  .m-pagehead .m-eyebrow::before, .m-pagehead .m-eyebrow::after { display: none; }
  .m-pagehead { padding-block: 56px 48px; }
  .m-sec { padding-block: 56px; }
  .m-head { margin-bottom: 30px; }
  /* compact cards: icon left, text right */
  .m-cards > li { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; row-gap: 4px; text-align: start; align-items: start; padding: 20px 18px; }
  .m-cards > li .m-ico { grid-row: span 3; width: 48px; height: 48px; margin: 0; border-radius: 14px; }
  .m-cards > li h3 { margin: 2px 0 2px; font-size: 1.15rem; }
  .m-cards > li p { font-size: .92rem; }
  .m-cards .m-link { padding-top: 8px; justify-self: start; }
  .m-steps li { display: grid; grid-template-columns: 42px 1fr; column-gap: 14px; text-align: start; padding: 20px 18px; }
  .m-steps li::before { grid-row: span 2; margin: 0; width: 42px; height: 42px; }
  .m-steps h3 { font-size: 1.12rem; margin-bottom: 4px; }
  .m-letters a { padding: 20px 12px; }
  .m-mission-icons li { width: 100%; max-width: 320px; }
  .m-quotes li { padding: 26px 22px 22px; }
  /* footer: links in two columns */
  .m-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .m-footer-brand { grid-column: 1 / -1; }
  .m-footer-grid > div:last-child { grid-column: 1 / -1; }
  .m-legal { flex-direction: column; }
}
/* contact on phones: form first, details after */
@media (max-width: 900px) {
  .m-contact { display: flex; flex-direction: column; gap: 22px; }
  .m-contact-side { display: contents; }
  .m-contact .form-col { order: 2; width: 100%; }
  .m-contact .m-info { order: 3; margin-top: 8px; }
  .m-contact-side > .m-eyebrow, .m-contact-side > h2, .m-contact-side > p { margin: 0; }
}

/* ---------- Free guides form ---------- */
.m-guides-form { max-width: 760px; margin: 0 auto clamp(36px, 5vw, 52px); background: rgba(255,255,255,.06); border: 1px solid rgba(197,160,89,.45); border-radius: 20px; padding: clamp(22px, 3vw, 32px); text-align: center; }
.m-guides-title { margin: 0 0 16px; font: 500 1.4rem/1.2 var(--display); color: #fff; }
.m-guides-row { display: flex; gap: 10px; flex-wrap: wrap; }
.m-guides-row input { flex: 1 1 180px; min-height: 50px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.95); padding: 0 20px; font: 500 1rem/1 var(--ui); color: var(--ink); }
.m-guides-row input:focus { outline: none; box-shadow: 0 0 0 3px rgba(197,160,89,.6); }
.m-guides-row .m-btn { flex: 0 0 auto; }
.m-guides-check { display: flex; gap: 10px; align-items: flex-start; text-align: start; margin: 16px auto 0; max-width: 620px; font-size: .88rem; color: #C2CEDF; cursor: pointer; }
.m-guides-check input { margin-top: 3px; accent-color: var(--gold); }
.m-guides-note { margin: 10px auto 0; font-size: .82rem; color: #9FAEC6; max-width: 620px; }
.m-guides-note a { color: var(--gold-light); }
.m-guides-status { margin: 10px 0 0; font-weight: 700; color: var(--gold-light); min-height: 1.2em; }
.m-guides .hp { position: absolute; left: -9999px; }
/* downloads appear after the form is sent (always visible without JavaScript) */
html.js .m-guides:not(.is-unlocked) .m-books .m-btn { display: none; }
html.js .m-guides:not(.is-unlocked) .m-books li::after { content: "🔒"; margin-top: auto; font-size: 1.1rem; opacity: .7; }
.m-guides.is-unlocked .m-guides-form .m-guides-row, .m-guides.is-unlocked .m-guides-check, .m-guides.is-unlocked .m-guides-note { display: none; }
@media (max-width: 560px) { .m-guides-row { flex-direction: column; } .m-guides-row .m-btn { justify-content: center; } }

/* ===================== Nile Global Health components ===================== */
.n-map { position: relative; aspect-ratio: 6/4.4; border-radius: 28px; background: radial-gradient(500px 300px at 70% 30%, rgba(197,160,89,.18), rgba(197,160,89,0) 70%), linear-gradient(160deg, #1A4378, #0C2341); border: 1px solid rgba(197,160,89,.35); box-shadow: 0 40px 80px -40px rgba(0,0,0,.7); overflow: hidden; }
.n-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.n-map .n-arc { fill: none; stroke: url(#ng); stroke-width: 2.2; stroke-dasharray: 6 7; animation: n-dash 18s linear infinite; }
@keyframes n-dash { to { stroke-dashoffset: -260; } }
.n-pin { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.n-pin i { width: 14px; height: 14px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 6px rgba(197,160,89,.25), 0 0 18px rgba(227,194,125,.8); }
.n-pin span { font: 700 .74rem/1 var(--ui); letter-spacing: .12em; text-transform: uppercase; color: #fff; background: rgba(12,35,65,.75); padding: 6px 9px; border-radius: 999px; border: 1px solid rgba(197,160,89,.4); white-space: nowrap; }
.n-pin.home i { background: #fff; box-shadow: 0 0 0 6px rgba(255,255,255,.2), 0 0 18px rgba(255,255,255,.7); }
.n-map-cap { position: absolute; left: 22px; right: 22px; bottom: 18px; color: #CBD6E6; font: 500 .9rem/1.4 var(--ui); text-align: center; }
.n-map-cap b { color: var(--gold-light); }
html[dir="rtl"] .n-map svg { transform: none; }

.n-trust { background: var(--sand, #F6F0E6); border-bottom: 1px solid var(--line); }
.n-trust ul { list-style: none; margin: 0; padding: 26px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; text-align: center; }
.n-trust b { display: block; font: 400 1.6rem/1.1 var(--display); color: var(--green); }
.n-trust span { display: block; margin-top: 6px; font: 600 .78rem/1.35 var(--ui); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); }
@media (max-width: 760px) { .n-trust ul { grid-template-columns: 1fr 1fr; } }

.n-get { margin-top: auto; padding-top: 16px; font: 700 .9rem/1.4 var(--ui); color: var(--green); }
.n-get b { color: var(--gold-ink); }
.m-dark .n-get { color: #fff; } .m-dark .n-get b { color: var(--gold-light); }

.n-timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: st; position: relative; }
.n-timeline::before { content: ""; position: absolute; top: 27px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, rgba(197,160,89,.2), var(--gold), rgba(197,160,89,.2)); }
.n-timeline li { counter-increment: st; position: relative; text-align: center; }
.n-timeline li::before { content: counter(st, decimal-leading-zero); display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: var(--green); color: var(--gold-light); font: 400 1.25rem/1 var(--display); box-shadow: 0 0 0 6px #fff; position: relative; }
.m-cream .n-timeline li::before { box-shadow: 0 0 0 6px var(--cream); }
.n-timeline h3 { font-size: 1.2rem; margin: 0 0 8px; }
.n-timeline p { margin: 0; color: var(--ink-2); font-size: .95rem; }
@media (max-width: 900px) {
  .n-timeline { grid-template-columns: 1fr; gap: 0; max-width: 560px; margin: 0 auto; }
  .n-timeline::before { top: 0; bottom: 0; left: 27px; right: auto; width: 2px; height: auto; }
  html[dir="rtl"] .n-timeline::before { left: auto; right: 27px; }
  .n-timeline li { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; text-align: start; padding-bottom: 22px; }
  .n-timeline li::before { grid-row: span 2; margin: 0; }
}

.n-focus { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.n-focus > div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 34px); }
.n-focus h3 { font-size: 1.4rem; margin: 0 0 16px; }
.n-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.n-chips li { padding: 9px 16px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); font-weight: 600; font-size: .93rem; color: var(--green); }
.n-chips.flags li { background: var(--green); color: #fff; border-color: var(--green); }
.n-small { margin: 16px 0 0; font-size: .88rem; color: var(--ink-2); }
@media (max-width: 760px) { .n-focus { grid-template-columns: 1fr; } }

.n-story { max-width: 860px; margin: 0 auto; }
.n-story h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); text-align: center; }
.n-story p { color: var(--ink-2); font-size: 1.07rem; margin: 18px 0 0; }
.n-story .n-sign { font: italic 400 1.3rem/1.3 var(--display); color: var(--gold-ink); text-align: end; margin-top: 22px; }

.n-badge-event { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; padding: 10px 16px 10px 10px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(197,160,89,.45); color: #E6ECF5; font: 600 .88rem/1.3 var(--ui); }
.n-badge-event b { display: grid; place-items: center; height: 34px; padding: 0 12px; border-radius: 999px; background: var(--gold); color: var(--green); font: 800 .78rem/1 var(--ui); letter-spacing: .06em; }

/* Inquiry form (static markup, sent by nile-form.js) */
.n-form .form-grid { margin-top: 18px; }
.n-form textarea { width: 100%; min-height: 110px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; background: #FBF8F2; font: 400 1rem/1.5 var(--text); color: var(--ink); resize: vertical; }
.n-form textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(197,160,89,.25); }
.n-form .field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2313335F' stroke-width='1.5'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: right 14px center !important; }
html[dir="rtl"] .n-form .field select { background-position: left 14px center !important; }
.n-form .check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--ink-2); }
.n-form .check input { margin-top: 3px; accent-color: var(--green); }
.n-form .hp { position: absolute; left: -9999px; }
.n-form .form-status { font-weight: 700; }
.n-form .form-status.is-error { color: #9f2a1e; }
.n-form .form-status.is-ok { color: var(--green); }
.n-note { font-size: .88rem; color: var(--ink-2); margin-top: 6px; }
.n-urgent { margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: #FFF6E5; border: 1px solid var(--gold); font-size: .93rem; color: var(--ink); }

.n-legal { font-size: .8rem; line-height: 1.6; color: #7E8DA6; margin-top: 14px; }
.m-btn-line-dark { background: transparent; color: var(--green); box-shadow: inset 0 0 0 1.5px var(--green); }
.m-btn-line-dark:hover { background: var(--green); color: #fff; }
.m-gallery.n-four { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: 360px; }
.m-gallery.n-four li:first-child { grid-row: auto; grid-column: auto; }
@media (max-width: 760px) { .m-gallery.n-four { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 240px; } }
.m-steps.four-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .m-steps.four-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .m-steps.four-steps { grid-template-columns: 1fr; } }
.n-focus .m-ico { margin-bottom: 14px; }
.m-pagehead h1 { max-width: 900px; margin-inline: auto; }
.n-form h3 { margin-bottom: 8px; }
.m-gallery.n-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .m-gallery.n-three { grid-template-columns: 1fr 1fr; } .m-gallery.n-three li:first-child { grid-column: span 2; } }
.m-brand img { height: 52px; }
/* RTL: arrows point the reading direction */
html[dir="rtl"] .m-btn span[aria-hidden="true"], html[dir="rtl"] .m-faqline a span[aria-hidden="true"] { display: inline-block; transform: scaleX(-1); }
bdi { unicode-bidi: isolate; }
/* map labels: Turkey above, Egypt to the side, UAE below, so they never overlap */
.n-pin { transform: translate(-50%, -7px); }
.n-pin.up { flex-direction: column-reverse; transform: translate(-50%, calc(-100% + 7px)); }
.n-pin.side { flex-direction: row-reverse; transform: translate(calc(-100% + 7px), -50%); }
@media (max-width: 560px) { .n-map { aspect-ratio: 1 / 1; } .n-pin span { font-size: .62rem; padding: 5px 7px; } }
.n-trust span { color: #74561c; }

/* =====================================================================
   NILE DESIGN v2 — its own personality (not the MMDP layout):
   light ivory pages, classical Marcellus headings, left-aligned editorial
   sections, Egyptian arch frames, square buttons, itinerary route, sand footer.
   ===================================================================== */
:root {
  --display: "Marcellus", Georgia, "Times New Roman", serif;
  --text: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ui: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ivory: #FAF6EF;
  --radius: 4px;
}
body { background: var(--ivory); font-size: 1.05rem; }
h1, h2, h3 { font-weight: 400; letter-spacing: 0; }
h1 em, h2 em, em.g { font-style: normal; color: var(--gold-ink); }
.m-dark h1 em, .m-dark h2 em, .n-route h2 em, .n-cta h2 em { color: var(--gold-light); }

/* buttons: square, classic */
.m-btn { border-radius: 3px; padding: 16px 26px; font: 600 .82rem/1 var(--ui); letter-spacing: .12em; text-transform: uppercase; box-shadow: none; }
.m-btn-gold { background: var(--gold); color: #0C2341; box-shadow: none; }
.m-btn-gold:hover { background: #d4b273; }
.m-btn-dark { background: var(--green); color: #fff; }
.m-btn-line { box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); }
.n-textlink { font: 600 .82rem/1 var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--green); text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 6px; }
.n-textlink:hover { color: var(--gold-ink); }

/* header: ivory, uppercase nav with gold underline */
.m-header { background: rgba(250,246,239,.96); border-bottom: 1px solid #E6DCCA; }
.m-nav ul a { border-radius: 0; padding: 10px 12px; font: 500 .8rem/1 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); background: none !important; position: relative; }
.m-nav ul a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease); }
.m-nav ul a:hover::after, .m-nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.m-nav ul a[aria-current="page"] { color: var(--green); }
.m-nav .m-btn { background: transparent; color: var(--green); box-shadow: inset 0 0 0 1px var(--green); padding: 13px 18px; }
.m-nav .m-btn:hover { background: var(--green); color: #fff; }

/* section heads: left-aligned, editorial */
.m-head { text-align: start; margin: 0 0 clamp(36px, 4vw, 52px); max-width: 760px; }
.m-head h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.m-head h2::after { display: none; }
.m-head p { margin-inline: 0; }
.m-eyebrow { gap: 14px; letter-spacing: .24em; font-weight: 600; }
.m-eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); flex: none; }
.m-actions { justify-content: flex-start; }
.center .m-actions { justify-content: center; }

/* HERO: light, arch portrait */
.n-hero { background: linear-gradient(180deg, #FBF8F2 0%, #F3EBDD 100%); padding-block: clamp(56px, 7vw, 100px) clamp(56px, 7vw, 96px); border-bottom: 1px solid #E6DCCA; position: relative; overflow: hidden; }
.n-hero::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(19,51,95,.035) 0 1px, transparent 1px 34px); pointer-events: none; }
.n-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 90px); align-items: center; position: relative; }
.n-hero h1 { font-size: clamp(3rem, 6.2vw, 5.6rem); line-height: 1; color: var(--green); }
.n-hero h1 span { display: block; }
.n-hero .m-eyebrow { color: var(--gold-ink); }
.n-hero .m-lede { color: var(--ink-2); max-width: 540px; margin-top: 24px; font-size: 1.15rem; }
.n-hero .m-lede strong { color: var(--green); }
.n-hero .m-actions { align-items: center; gap: 26px; }
.n-hero-facts { list-style: none; margin: clamp(32px, 4vw, 48px) 0 0; padding: 22px 0 0; border-top: 1px solid #E0D4BF; display: flex; flex-wrap: wrap; gap: 14px 0; }
.n-hero-facts li { padding-inline-end: 26px; margin-inline-end: 26px; border-inline-end: 1px solid #E0D4BF; }
.n-hero-facts li:last-child { border: 0; margin: 0; padding: 0; }
.n-hero-facts b { display: block; font: 400 1.35rem/1.1 var(--display); color: var(--green); }
.n-hero-facts span { display: block; margin-top: 6px; font: 600 .72rem/1.3 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: #74561c; }
.n-hero-visual { position: relative; justify-self: center; width: min(100%, 440px); }
.n-arch { position: relative; aspect-ratio: 4/5; border-radius: 999px 999px 6px 6px; overflow: hidden; background: var(--green); box-shadow: 0 40px 70px -40px rgba(12,35,65,.6); }
.n-arch img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.n-hero-visual::before { content: ""; position: absolute; inset: -14px -14px 14px 14px; border: 1px solid var(--gold); border-radius: 999px 999px 6px 6px; pointer-events: none; }
html[dir="rtl"] .n-hero-visual::before { inset: -14px 14px 14px -14px; }
.n-hero .n-badge-event { position: absolute; left: 50%; bottom: -20px; transform: translateX(-50%); margin: 0; white-space: nowrap; background: #fff; color: var(--ink); border-color: var(--gold); box-shadow: 0 18px 30px -20px rgba(12,35,65,.5); font-size: .8rem; }
@media (max-width: 900px) {
  .n-hero-grid { grid-template-columns: 1fr; }
  .n-hero-visual { width: min(80%, 340px); margin-top: 20px; }
  .n-hero .n-badge-event { position: static; transform: none; white-space: normal; margin-top: 30px; text-align: start; }
  .n-hero-facts li { padding-inline-end: 16px; margin-inline-end: 16px; }
}

/* two-column editorial layout */
.n-two { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.n-two-even { grid-template-columns: 1fr 1fr; align-items: center; }
.n-side-head { position: sticky; top: 120px; }
.n-side-head h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin: 0 0 28px; }
@media (max-width: 900px) { .n-two, .n-two-even { grid-template-columns: 1fr; } .n-side-head { position: static; } }

/* who we serve: lined rows, no boxes */
.n-serve { background: #fff; }
.n-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid #E6DCCA; }
.n-rows li { display: grid; grid-template-columns: 56px 1fr; gap: 22px; padding: 30px 0; border-bottom: 1px solid #E6DCCA; transition: background .3s; }
.n-rows li:hover { background: linear-gradient(90deg, rgba(197,160,89,.07), transparent); }
.n-rows .m-ico { width: 56px; height: 56px; margin: 0; border-radius: 50%; background: transparent; color: var(--green); box-shadow: inset 0 0 0 1px var(--gold); }
.n-rows h3 { font-size: 1.6rem; margin: 6px 0 8px; }
.n-rows p { margin: 0; color: var(--ink-2); }
.n-rows .n-get { margin-top: 12px; padding: 0; }

/* how it works: itinerary on a dark lapis band */
.n-route { background: linear-gradient(160deg, #13335F, #0C2341); color: #CBD6E6; }
.n-route h2, .n-route h3 { color: #fff; }
.n-route .m-eyebrow { color: var(--gold-light); }
.n-route .m-head p { color: #C2CEDF; }
.n-route .n-timeline::before { background: none; border-top: 1px dashed rgba(197,160,89,.7); height: 0; left: 28px; right: 10%; }
.n-route .n-timeline li { text-align: start; }
.n-route .n-timeline li::before { margin: 0 0 18px; background: #13335F; color: var(--gold-light); box-shadow: 0 0 0 1px var(--gold), 0 0 0 8px #13335F; font-family: var(--display); }
.n-route .n-timeline p { color: #C2CEDF; }
@media (max-width: 900px) { .n-route .n-timeline::before { border-top: 0; border-inline-start: 1px dashed rgba(197,160,89,.7); width: 0; right: auto; } .n-route .n-timeline li::before { margin: 0; } }

/* destinations + areas of focus */
.n-dest { background: var(--ivory); }
.n-dest h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin: 0 0 8px; }
.n-mini { font: 600 .74rem/1 var(--ui); letter-spacing: .2em; text-transform: uppercase; color: #74561c; margin: 30px 0 12px; }
.n-index { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 28px; }
.n-index li { break-inside: avoid; padding: 10px 0; border-bottom: 1px solid #E6DCCA; color: var(--ink); }
.n-dest-list { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 0; font: 400 1.5rem/1.3 var(--display); color: var(--green); }
.n-dest-list span:not(:last-child)::after { content: "·"; color: var(--gold); margin: 0 14px; }
.n-map { border-radius: 6px; }
@media (max-width: 560px) { .n-index { columns: 1; } .n-dest-list { font-size: 1.25rem; } }

/* founder quote */
.n-founder { background: #fff; }
.n-quote { max-width: 900px; margin: 0 auto; text-align: center; }
.n-quote .m-eyebrow { justify-content: center; }
.n-quote .m-eyebrow::after { content: ""; width: 34px; height: 1px; background: var(--gold); }
.n-quote blockquote { margin: 18px 0 0; font: 400 clamp(1.35rem, 2.4vw, 1.9rem)/1.5 var(--display); color: var(--green); }
.n-quote blockquote p { margin: 0 0 16px; }
.n-quote blockquote p:first-child::before { content: "\201C"; display: block; font-size: 4rem; line-height: .6; color: var(--gold); margin-bottom: 10px; }
.n-quote figcaption { display: inline-flex; align-items: center; gap: 16px; margin-top: 18px; text-align: start; }
.n-quote figcaption img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: center 15%; box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--gold); }
.n-quote figcaption b { display: block; font: 400 1.2rem/1.2 var(--display); color: var(--green); }
.n-quote figcaption span { font-size: .9rem; color: var(--ink-2); }
.n-quote .m-actions { justify-content: center; margin-top: 30px; }

/* CTA band (all pages) */
.n-cta { background: linear-gradient(120deg, #0C2341, #13335F 55%, #1A4378); color: #CBD6E6; padding-block: clamp(56px, 7vw, 90px); }
.n-cta-in { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.n-cta h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 3rem); margin: 0; }
.n-cta p { margin: 16px 0 28px; max-width: 560px; color: #C2CEDF; }
.n-cta-contact { list-style: none; margin: 0; padding: 0; border-inline-start: 1px solid rgba(197,160,89,.5); }
.n-cta-contact li { padding-block: 14px; padding-inline: 28px 0; border-bottom: 1px solid rgba(255,255,255,.08); color: #E6ECF5; }
.n-cta-contact li:last-child { border-bottom: 0; }
.n-cta-contact b { display: block; font: 600 .72rem/1.4 var(--ui); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 4px; }
.n-cta-contact a { color: #fff; text-decoration: none; font: 400 1.25rem/1.3 var(--display); word-break: break-word; }
.n-cta .m-faqline { color: #E6ECF5; margin: 34px 0 0; text-align: start; }
.n-cta .m-faqline a { color: var(--gold-light); }
@media (max-width: 860px) { .n-cta-in { grid-template-columns: 1fr; } }

/* inner page heads: light, left-aligned */
.m-pagehead { background: linear-gradient(180deg, #FBF8F2, #F3EBDD); color: var(--ink); text-align: start; border-bottom: 1px solid #E6DCCA; }
.m-pagehead::after, .m-pagehead-bg { display: none !important; }
.m-pagehead .wrap { max-width: var(--wrap); }
.m-pagehead h1 { color: var(--green); margin-inline: 0; max-width: 900px; font-size: clamp(2.4rem, 5vw, 4.2rem); }
.m-pagehead h1 em { color: var(--gold-ink); }
.m-pagehead p { color: var(--ink-2); margin-inline: 0; }
.m-pagehead .m-eyebrow { color: var(--gold-ink); }
.m-pagehead .m-eyebrow::before { display: block; }
.m-pagehead .m-eyebrow::after { display: none; }
.m-pagehead .m-actions { justify-content: flex-start; }

/* cards & panels on inner pages: square, lined */
.m-cards > li, .m-steps li, .n-focus > div { border-radius: 0; border: 0; border-top: 2px solid var(--green); background: #fff; text-align: start; align-items: flex-start; box-shadow: 0 1px 0 #E6DCCA; }
.m-cards > li:hover { transform: none; box-shadow: 0 18px 30px -24px rgba(12,35,65,.35); }
.m-cards .m-ico { background: transparent; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--gold); }
.m-steps li::before { margin: 0 0 14px; background: transparent; color: var(--gold-ink); box-shadow: inset 0 0 0 1px var(--gold); font-family: var(--display); }
.m-split-img img { border-radius: 999px 999px 6px 6px; }
.m-split-img::before { border-radius: 999px 999px 6px 6px; }
.m-gallery li { border-radius: 4px; }
.m-faq details { border-radius: 0; border: 0; border-bottom: 1px solid #E6DCCA; background: transparent; margin: 0; }
.m-faq details[open] { box-shadow: none; }
.m-faq-group h2 { text-align: start; }
.form-card, .m-info li, .n-urgent { border-radius: 4px !important; }
.m-cream { background: #F3EBDD; }

/* footer: light sand */
.m-footer { background: #EFE6D6; color: var(--ink-2); border-top: 1px solid #DCCDB2; }
.m-footer h3 { color: #74561c; }
.m-footer a { color: var(--green); }
.m-footer a:hover { color: var(--gold-ink); }
.m-footer small, .m-legal, .m-disclaimer { color: #6B6455; }
.m-legal { border-top-color: #DCCDB2; }
.m-footer-brand img { background: transparent; padding: 0; border-radius: 0; height: 54px; }
.m-footer-brand p { color: var(--ink-2); }
.n-hero-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; }
.n-hero-facts li { padding-inline-end: 22px; margin-inline-end: 22px; }
.n-hero-facts b { font-size: 1.2rem; white-space: nowrap; }
.n-hero-facts span { font-size: .66rem; }
@media (max-width: 560px) { .n-hero-facts { grid-template-columns: 1fr 1fr; gap: 16px 0; } .n-hero-facts li:nth-child(2) { border: 0; } .n-hero-facts li:nth-child(3) { grid-column: span 2; } }
.n-route .n-timeline::before { right: calc(10% + 28px); }
.form-card .btn, .n-form .btn-gold { border-radius: 3px !important; background: var(--green) !important; color: #fff !important; font: 600 .84rem/1 var(--ui) !important; letter-spacing: .12em; text-transform: uppercase; }
.form-card .btn:hover { background: #1A4378 !important; }
.field input, .field select, .n-form textarea { border-radius: 3px !important; }
