/* ==========================================================================
   IATMS academy platform — coded replica of iatms-eg.org (preview build)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&family=Inter:wght@400;500;600;700&family=Noto+Color+Emoji&display=swap');

:root {
  --blue: #216ef2;
  --blue-600: #1554d1;
  --blue-050: #eaf2ff;
  --navy: #0b1b3a;
  --ink: #16233d;
  --muted: #5b6b86;
  --line: #dbe8f5;
  --bg: #f4f8ff;
  --card: #fff;
  --gold: #f0b429;
  --green: #12855a;
  --green-050: #e7f6ef;
  --red: #c2382f;
  --red-050: #fdecea;
  --amber: #a86a00;
  --amber-050: #fdf3e2;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(15, 45, 95, .06);
  --shadow-md: 0 12px 30px rgba(15, 45, 95, .10);
  --max: 1240px;
  --font: 'IBM Plex Sans Arabic', 'Segoe UI', 'Noto Color Emoji', 'Apple Color Emoji', Tahoma, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.7; -webkit-font-smoothing: antialiased; }
html[lang="en"] body { font-family: 'Inter', 'Segoe UI', sans-serif; line-height: 1.6; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.3; font-weight: 700; }
h1 { font-size: clamp(26px, 3vw, 40px); }
h2 { font-size: clamp(21px, 2.2vw, 29px); }
h3 { font-size: 18px; }
p { margin: 0 0 1em; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(33, 110, 242, .3); outline-offset: 2px; }

.wrap { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.section { padding: 56px 0; }
.section--tight { padding: 34px 0; }
.section--navy { background: var(--navy); color: #e9f0fa; }
.section--navy h2, .section--navy h3 { color: #fff; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; color: var(--blue); background: var(--blue-050); padding: 5px 12px; border-radius: 999px; margin-bottom: 12px; }
.section--navy .eyebrow { color: #cfe0ff; background: rgba(255,255,255,.1); }
.lead { color: var(--muted); font-size: 16.5px; max-width: 68ch; }
.section--navy .lead { color: #b9c9e2; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.spread { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 10px; border: 1px solid transparent; font-weight: 700; font-size: 15px; cursor: pointer; text-decoration: none; transition: background .12s ease, transform .12s ease; white-space: nowrap; }
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-600); }
.btn--ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: #b9cfea; }
.btn--dark { background: var(--navy); color: #fff; }
.btn--sm { padding: 8px 14px; font-size: 13.5px; border-radius: 8px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* header */
.topbar { background: #fff; color: #33507a; font-size: 12.5px; border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 36px; }
.topbar a { color: #33507a; }
.topbar nav { display: flex; gap: 16px; flex-wrap: wrap; }
.topbar .topbar-actions { display: flex; gap: 12px; align-items: center; }
.lang-toggle { background: none; border: 1px solid var(--line); color: #33507a; border-radius: 999px; padding: 2px 10px; cursor: pointer; font-size: 12px; }
.topbar .btn--sm { padding: 5px 12px; font-size: 12.5px; border-radius: 7px; }

header.site { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 2px 10px rgba(15,45,95,.04); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand:hover { text-decoration: none; }
.brand img { height: 46px; width: auto; }
.brand__text { display: grid; line-height: 1.15; }
.brand__text b { font-size: 14px; font-weight: 800; white-space: nowrap; }
.brand__text span { font-size: 11px; color: var(--muted); }
nav.main { display: flex; gap: 20px; align-items: center; }
nav.main a { color: var(--ink); font-weight: 700; font-size: 14.5px; padding: 6px 0; border-bottom: 2px solid transparent; }
nav.main a:hover, nav.main a.active { color: var(--blue); border-bottom-color: var(--blue); text-decoration: none; }
.header-cta { display: flex; gap: 8px; align-items: center; }
.burger { display: none; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; cursor: pointer; }

/* page banner (site's blue gradient band) */
.banner { position: relative; overflow: hidden; background: linear-gradient(100deg, #e8f2fe 0%, #d7e8fd 45%, #c9e0fc 100%); border-bottom: 1px solid #d3e3f7; }
.banner::before { content: ''; position: absolute; inset-inline-start: -120px; top: -80px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(33,110,242,.18), transparent 65%); }
.banner .wrap { position: relative; padding: 34px 0 38px; }
.banner h1 { margin-bottom: 6px; color: #0b2b5e; }
.banner p { margin: 0; color: #40608c; font-size: 15px; }
.banner .kicker { display: block; font-size: 13px; font-weight: 700; color: var(--blue); margin-bottom: 6px; }

/* hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(105deg, #eaf3fe 0%, #dcebfd 50%, #cfe3fb 100%); }
.hero::before { content: ''; position: absolute; inset-block: 0; inset-inline-start: 0; width: 42%; background: linear-gradient(120deg, #b9d5fb 0%, #cfe4fd 60%, #e3effe 100%); clip-path: polygon(0 0, 62% 0, 100% 50%, 62% 100%, 0 100%); opacity: .75; }
.hero .wrap { position: relative; display: block; padding: 46px 0 54px; }
.hero .hero-inner { max-width: 760px; }
.hero h1 { font-size: clamp(28px, 3.4vw, 46px); color: #0b2b5e; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero .lead { font-size: 17px; color: #3d5c88; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.hero-stats { display: flex; gap: 26px; margin-top: 28px; flex-wrap: wrap; }
.hero-stats b { display: block; font-size: 25px; color: #0b2b5e; }
.hero-stats span { font-size: 12.5px; color: #52709b; }
.hero-art { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-md); background: #fff; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; }

.searchbar { display: flex; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 7px; box-shadow: var(--shadow-sm); margin-top: 22px; max-width: 560px; }
.searchbar input { flex: 1; border: 0; padding: 10px 12px; background: transparent; font-size: 15px; }
.searchbar input:focus { outline: none; }

/* quick links strip */
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.quick a { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; color: var(--navy); font-weight: 700; font-size: 14.5px; }
.quick a:hover { border-color: #b9cfea; text-decoration: none; }
.quick svg { width: 20px; height: 20px; color: var(--blue); flex: none; }

/* programme cards (site style) */
.programme-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .14s ease, transform .14s ease; }
.programme-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.programme-card__media { position: relative; aspect-ratio: 16 / 10; background: #eaf2ff; overflow: hidden; }
.programme-card__media img { width: 100%; height: 100%; object-fit: cover; }
.programme-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.programme-card__title { font-size: 15.5px; font-weight: 700; line-height: 1.5; min-height: 3em; }
.programme-card__title a { color: var(--navy); }
.programme-card__meta { font-size: 12.5px; color: var(--muted); }
.price { font-weight: 800; color: var(--navy); font-size: 17px; }
.price small { font-weight: 600; color: var(--muted); font-size: 12px; }
.programme-card__foot { margin-top: auto; display: grid; gap: 8px; }

.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 6px; background: var(--blue-050); color: var(--blue-600); }
.badge--level { position: absolute; top: 10px; inset-inline-start: 10px; background: #eaf3ff; color: #1554d1; box-shadow: 0 1px 3px rgba(15,45,95,.12); }
.badge--green { background: var(--green-050); color: var(--green); }
.badge--amber { background: var(--amber-050); color: var(--amber); }
.badge--red { background: var(--red-050); color: var(--red); }
.badge--muted { background: #eef3fb; color: var(--muted); }

/* steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--blue); color: #fff; font-weight: 800; margin-bottom: 10px; }
.step h3 { font-size: 16px; margin-bottom: 2px; }
.step p { margin: 0; color: var(--muted); font-size: 13.5px; }

/* accreditations */
.accr { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.accr div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 22px; font-weight: 800; color: #33507a; font-size: 15px; letter-spacing: .02em; }

/* catalogue */
.catalog { display: grid; grid-template-columns: 262px 1fr; gap: 26px; align-items: start; }
.filters { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; position: sticky; top: 96px; }
.filters h4 { font-size: 14px; margin: 18px 0 8px; color: var(--navy); }
.filters h4:first-of-type { margin-top: 6px; }
.filter-list { display: grid; gap: 2px; }
.filter-list label { display: flex; align-items: center; gap: 8px; font-size: 13.5px; padding: 6px 8px; border-radius: 8px; cursor: pointer; }
.filter-list label:hover { background: var(--blue-050); }
.filter-list label.active { background: var(--blue-050); color: var(--blue-600); font-weight: 700; }
.filter-list input { accent-color: var(--blue); }
.filter-count { margin-inline-start: auto; font-size: 12px; color: var(--muted); }
.catalog-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.select { border: 1px solid var(--line); border-radius: 9px; padding: 9px 12px; background: #fff; font-size: 13.5px; }
.pagination { display: flex; gap: 7px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.pagination button { min-width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-weight: 700; font-size: 13.5px; }
.pagination button.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.pagination button:disabled { opacity: .4; cursor: not-allowed; }

/* programme detail */
.detail { display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: start; padding: 34px 0 56px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; box-shadow: var(--shadow-sm); position: sticky; top: 96px; }
.side-card .price { font-size: 27px; text-align: center; }
.kv { display: grid; gap: 8px; margin: 14px 0; }
.kv div { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.kv div span { color: var(--muted); }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; flex-wrap: wrap; }
.tabs button { background: none; border: 0; padding: 12px 16px; font-weight: 700; color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; font-size: 14.5px; }
.tabs button.active { color: var(--blue); border-bottom-color: var(--blue); }
.tab-panel[hidden] { display: none; }

/* the site's own programme content markup */
.iatms-program-content { font-size: 15.5px; }
.iatms-program-content h2 { font-size: 20px; color: #0b2b5e; margin: 26px 0 12px; padding-bottom: 8px; border-bottom: 2px solid #e4eefb; }
.iatms-program-content h3 { font-size: 17px; color: #14396e; margin: 18px 0 8px; }
.iatms-program-content p { color: #33465f; }
.iatms-program-content ul, .iatms-program-content ol { padding-inline-start: 22px; color: #33465f; margin: 0 0 14px; }
.iatms-program-content li { margin-bottom: 6px; }
.iatms-program-content table { width: 100%; border-collapse: collapse; margin: 12px 0 22px; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; font-size: 14.5px; }
.iatms-program-content th { background: #0f3d86; color: #fff; font-weight: 700; padding: 11px 12px; text-align: start; font-size: 13.5px; }
.iatms-program-content td { padding: 10px 12px; border-top: 1px solid var(--line); vertical-align: top; color: #2c3f5a; }
.iatms-program-content tbody tr:nth-child(even) td { background: #f7faff; }
.iatms-program-facts { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0 6px; }
.iatms-program-facts span { background: #eef5ff; border: 1px solid #d8e7fb; border-radius: 9px; padding: 8px 12px; font-size: 13px; color: #2b4c7e; }
.iatms-program-facts b { display: block; font-size: 11.5px; color: #6a86ab; font-weight: 700; }
.table-wrap { overflow-x: auto; }

/* generic tables (portal/admin) */
.table { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); }
.table th { background: #eef4fc; text-align: start; padding: 11px 13px; font-size: 13px; color: var(--navy); border-bottom: 1px solid var(--line); }
.table td { padding: 11px 13px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table--compact td, .table--compact th { padding: 8px 11px; font-size: 13px; }

/* forms */
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--navy); }
.field input, .field select, .field textarea { border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; background: #fff; font-size: 15px; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(33,110,242,.12); }
.field--error input, .field--error select { border-color: var(--red); background: #fffafa; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.alert { border-radius: 10px; padding: 12px 15px; font-size: 14px; margin-bottom: 14px; }
.alert--error { background: var(--red-050); color: var(--red); border: 1px solid #f6cdc9; }
.alert--ok { background: var(--green-050); color: var(--green); border: 1px solid #c6ecdb; }
.alert--info { background: var(--blue-050); color: var(--blue-600); border: 1px solid #cfe0ff; }
.stepper { display: flex; gap: 8px; margin-bottom: 22px; }
.stepper div { flex: 1; font-size: 13px; font-weight: 700; color: var(--muted); padding-top: 9px; border-top: 3px solid var(--line); }
.stepper div.active { color: var(--blue); border-top-color: var(--blue); }
.stepper div.done { color: var(--green); border-top-color: var(--green); }

/* auth / portal / admin */
.auth-shell { min-height: 68vh; display: grid; place-items: center; padding: 44px 0; }
.auth-card { width: min(100% - 32px, 420px); background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 30px; box-shadow: var(--shadow-md); }
.auth-card h1 { font-size: 23px; }
.demo-creds { font-size: 12.5px; color: var(--muted); background: #f2f7fe; border: 1px dashed var(--line); border-radius: 9px; padding: 9px 11px; margin-top: 12px; }
.demo-creds code { background: #fff; border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; font-size: 12px; }
.portal { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 30px 0 56px; align-items: start; }
.side-nav { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px; position: sticky; top: 96px; }
.side-nav a, .side-nav button { display: flex; align-items: center; gap: 9px; padding: 10px 12px; border-radius: 9px; color: var(--ink); font-weight: 700; font-size: 14px; width: 100%; background: none; border: 0; cursor: pointer; text-align: start; }
.side-nav a:hover, .side-nav button:hover { background: var(--blue-050); text-decoration: none; }
.side-nav .active { background: var(--blue); color: #fff; }
.side-nav .active:hover { background: var(--blue-600); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: grid; gap: 2px; align-content: start; }
.stat .stat__label { font-size: 12.5px; color: var(--muted); }
.stat .stat__value { font-size: 22px; color: var(--navy); line-height: 1.35; display: block; }
.stat .stat__sub { font-size: 12px; color: var(--muted); display: block; margin-top: 2px; }
.enrollment { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin-bottom: 12px; }
.enrollment__ring { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; flex: none; background: conic-gradient(var(--blue) var(--p), #e7eefb 0); }
.enrollment__ring span { width: 44px; height: 44px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.verify-result { border-radius: 12px; border: 1px solid var(--line); background: #fff; padding: 24px; box-shadow: var(--shadow-sm); }
.verify-result.valid { border-color: #bfe7d3; }
.verify-seal { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.verify-seal .seal { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--green-050); color: var(--green); flex: none; font-size: 20px; }

/* footer */
footer.site { background: #0b1b3a; color: #b7c6dd; padding: 48px 0 22px; margin-top: 20px; }
footer.site .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; }
footer.site h4 { color: #fff; font-size: 15px; margin-bottom: 10px; }
footer.site a { color: #b7c6dd; font-size: 13.5px; display: block; padding: 3px 0; }
footer.site a:hover { color: #fff; }
footer.site .brand__text b { color: #fff; }
footer.site .brand__text span { color: #8fa3c2; }
footer.site .bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 16px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.5px; }

.demo-ribbon { background: #f0b429; color: #3a2700; font-size: 12.5px; font-weight: 700; text-align: center; padding: 6px 14px; }
.toast { position: fixed; inset-inline-start: 50%; transform: translateX(-50%); bottom: 24px; background: var(--navy); color: #fff; padding: 11px 18px; border-radius: 10px; box-shadow: var(--shadow-md); font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .2s ease, bottom .2s ease; z-index: 90; }
.toast.show { opacity: 1; bottom: 32px; }

@media (max-width: 1024px) {
  .hero .wrap { grid-template-columns: 1fr; padding: 40px 0 46px; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .catalog { grid-template-columns: 1fr; }
  .filters { position: static; }
  .detail { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .portal { grid-template-columns: 1fr; }
  .side-nav { position: static; display: flex; overflow-x: auto; gap: 6px; }
  .side-nav a, .side-nav button { white-space: nowrap; width: auto; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .quick { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .brand__text span { display: none; }
  .brand img { height: 36px; }
  header.site .wrap { min-height: 62px; gap: 10px; }
  nav.main { display: none; }
  nav.main.open { display: flex; position: absolute; top: 100%; inset-inline: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 18px 18px; border-bottom: 1px solid var(--line); gap: 2px; box-shadow: var(--shadow-md); }
  .burger { display: inline-flex; }
  .header-cta .btn--ghost { display: none; }
  .grid--3, .grid--4, .grid--2, .quick, .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .section { padding: 40px 0; }
  .topbar nav { display: none; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .enrollment { flex-direction: column; align-items: flex-start; }
  footer.site .cols { grid-template-columns: 1fr; }
  .iatms-program-content table { font-size: 13px; }
}

/* single-row header like the live site */
.site--single .wrap { display: flex; align-items: center; gap: 18px; min-height: 78px; }
.site--single .brand img { height: 46px; }
.site--single nav.main { margin-inline-start: auto; gap: 20px; font-size: 14px; }
.site--single .header-cta { display: flex; align-items: center; gap: 8px; }
.site--single .lang-toggle { border-color: var(--line); color: var(--navy); }
@media (max-width: 1100px) { .site--single nav.main { display: none; } .site--single nav.main.open { display: flex; position: absolute; top: 78px; inset-inline: 0; background: #fff; flex-direction: column; padding: 14px 20px; box-shadow: 0 12px 30px rgba(11,27,58,.14); z-index: 40; } }

/* hero = the live banner artwork, full-bleed */
.hero--home { background: linear-gradient(105deg,#eef5ff 0%,#e4effd 55%,#dcebfd 100%); height: auto; padding: 0; overflow: hidden; }
.hero--home::before { content: none; }
.hero-home-grid { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: end; padding: 26px 0 34px !important; }
.hero-home-copy { padding-bottom: 26px; }
.hero-home-copy h1 { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.35; }
.hero-home-art { justify-self: end; }
.hero-home-art img { width: auto; max-width: 100%; max-height: 400px; display: block; }
.hero-hit { position: absolute; display: block; }
.hero-hit--browse { inset-inline-start: 24%; top: 80%; width: 17%; height: 12%; border-radius: 8px; }
.hero-hit--talk { inset-inline-start: 44%; top: 80%; width: 15%; height: 12%; border-radius: 8px; }
@media (max-width: 900px) { .hero { height: 250px; background-size: cover; } .hero-hit { display: none; } }

/* overlapping search card, as on the live home */
.hero-search-card { position: relative; margin-top: -34px; background: #fff; border-radius: 14px; box-shadow: 0 22px 50px rgba(11,27,58,.14); padding: 26px 30px 24px; }
.hero-search-card h2 { font-size: 25px; margin: 0 0 6px; color: var(--navy); }
.hero-search-card h2::after { content: ''; display: inline-block; width: 26px; height: 3px; background: #4ec9a0; border-radius: 2px; vertical-align: middle; margin-inline-start: 10px; }
.hero-search-card p { color: var(--muted); font-size: 14px; margin: 0 0 4px; }
.hero-search-card .hint { color: var(--primary); font-weight: 700; font-size: 14px; margin: 0 0 12px; }
.hero-search-card .searchbar { display: flex; gap: 10px; width: 100%; }
.hero-search-card .searchbar input { flex: 1; min-width: 0; border: 1px solid #d5ddea; border-radius: 9px; padding: 13px 16px; font: inherit; background: #fff; }
.hero-search-card .searchbar { display: flex; gap: 12px; align-items: center; }
.hero-search-card .searchbar .btn { padding: 13px 30px; border-radius: 9px; font-weight: 700; }

.tabs-strip { display: flex; align-items: center; justify-content: center; gap: 40px; padding-bottom: 10px; margin: 26px 0 18px; }
.tabs-strip .divider { width: 1px; height: 34px; background: var(--line); }
.tabs-strip .tabs { display: flex; gap: 26px; align-items: center; }
.tabs-strip .tab svg { width: 22px; height: 22px; color: var(--primary); }
.tabs-strip .tab { font-weight: 700; color: var(--muted); padding-bottom: 10px; }
.tabs-strip .tab.active { color: var(--navy); }
.tabs-strip .tab::after { content: ''; display: block; width: 34px; height: 3px; background: #4ec9a0; border-radius: 2px; margin: 8px auto 0; }
.tabs-strip .head { display: none; }
.tabs-strip .head h2 { font-size: 24px; margin: 0; }
.tabs-strip .head p { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; }
.feature-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0 0 26px; }
.feature-row .f { background: #fff; border: 1px solid #e6ecf5; border-radius: 10px; padding: 15px 18px; display: flex; align-items: center; gap: 10px; justify-content: center; font-weight: 700; color: var(--navy); font-size: 15px; }
.feature-row .f svg { color: #3f9a7e; }
.feature-row .f svg { width: 22px; height: 22px; color: var(--primary); flex: none; }
@media (max-width: 800px) { .feature-row { grid-template-columns: repeat(2, 1fr); } }

/* inner page banner: chevron band like the live site */
.banner { position: relative; overflow: hidden; background: linear-gradient(100deg, #eaf3fe 0%, #d9e9fd 60%, #cfe3fb 100%); }
.banner::before { content: ''; position: absolute; inset-block: 0; left: 0; width: 46%; background: linear-gradient(120deg, #86b4f3 0%, #a8cbf8 55%, #c7ddfb 100%); clip-path: polygon(0 0, 52% 0, 100% 50%, 52% 100%, 0 100%); }
.banner .wrap { position: relative; padding: 38px 0 44px; }
.banner h1 { font-size: 42px; margin: 6px 0 8px; }
.banner p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .banner::before { width: 62%; opacity: .7; } .banner h1 { font-size: 30px; } }

/* sharpen the banner chevron to match the live shape */
.banner::before { border-radius: 0 !important; clip-path: polygon(0 0, 58% 0, 100% 50%, 58% 100%, 0 100%) !important; width: 44% !important; background: linear-gradient(115deg, #6ba4ee 0%, #9ec5f6 60%, #cfe3fb 100%) !important; }
.banner::after { content: none !important; }

.accred-row { display: flex; align-items: center; justify-content: center; gap: 44px; flex-wrap: wrap; padding: 10px 0 4px; }
.accred-row img { height: 62px; width: auto; object-fit: contain; filter: saturate(1); }
footer .accred-row { padding: 26px 0 6px; }
footer .accred-row img { height: 54px; background: #fff; border-radius: 8px; padding: 6px 10px; }

/* search card fills the width like the live one */
.hero-search-card { width: 100%; padding: 28px 34px 26px !important; }
.hero-search-card .searchbar { max-width: none !important; }
.hero-search-card .searchbar input { height: 52px; }
.hero-search-card .searchbar .btn { height: 52px; padding: 0 34px; }
.hero--home { height: 400px; }

/* footer lives in #site-footer (a div), so style it directly */
#site-footer { background: linear-gradient(135deg, #08275c 0%, #0b3977 100%); color: rgba(255,255,255,.86); margin-top: 30px; }
#site-footer .cols { display: grid; grid-template-columns: 1.1fr 1fr 1.25fr .9fr; gap: 26px; padding: 46px 0 20px; align-items: start; }
#site-footer .fcol h4 { color: #fff; font-weight: 700; font-size: 17px; margin: 0 0 14px; }
#site-footer .fcol a { display: block; color: rgba(255,255,255,.86); font-size: 14.5px; padding: 5px 0; }
#site-footer .fcol a:hover { color: #55d9e4; }
#site-footer .accred-row { display: flex; align-items: center; justify-content: center; gap: 26px; flex-wrap: wrap; padding: 8px 0 20px; }
#site-footer .accred-row img { height: 52px; width: auto; object-fit: contain; background: #fff; border-radius: 8px; padding: 6px 10px; }
#site-footer .fbar { background: #061d45; border-top: 1px solid rgba(255,255,255,.16); }
#site-footer .fbar p { margin: 0; padding: 16px 0; text-align: center; color: #fff; font-weight: 700; font-size: 15px; }
@media (max-width: 900px) { #site-footer .cols { grid-template-columns: 1fr 1fr; } }

/* footer grid: spread the four columns like the live site */
#site-footer .cols { display: grid !important; grid-template-columns: 1.15fr 1fr 1.3fr .85fr !important; gap: 30px !important; padding: 46px 0 18px !important; text-align: start !important; }
#site-footer .fcol { min-width: 0; }

/* programme card media keeps the live aspect ratio */
.programme-card__media { position: relative; background: #eef4fc; }
.programme-card__media img { width: 100%; height: 186px; object-fit: cover; display: block; }

/* filter panel like the live sidebar */
.filters { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 6px 18px 16px; box-shadow: var(--shadow-sm); align-self: start; }
.filters h3, .filters h4 { font-size: 15.5px; margin: 16px 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.filters label { display: flex; align-items: center; gap: 8px; font-size: 14px; padding: 5px 0; color: #33507a; }
.filters input[type=checkbox], .filters input[type=radio] { accent-color: var(--primary); }

/* video testimonials + knowledge gateway blocks */
.video-block { background: #fff; border-radius: 16px; box-shadow: 0 18px 44px rgba(11,27,58,.10); padding: 18px; max-width: 900px; margin: 0 auto; }
.video-block iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 10px; display: block; }
.knowledge-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .knowledge-strip { grid-template-columns: 1fr; } }

/* his own Arabic webfont, self-hosted, first in the stack */
@font-face { font-family: 'IATMS Arabic'; src: url('/assets/iatms-arabic.woff2') format('woff2'); font-weight: 400 800; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E; }
:root { --font: 'IATMS Arabic', 'Segoe UI', Roboto, Arial, Tahoma, sans-serif; }
body, h1, h2, h3, h4, .btn, input, select, textarea { font-family: var(--font); }
html[lang="en"] body { font-family: 'Inter', 'Segoe UI', sans-serif; }

/* graduate illustration beside the knowledge gateway, as on the live home */
.knowledge-wrap { position: relative; }
.knowledge-graduate { position: absolute; inset-inline-end: -10px; bottom: -28px; width: 190px; pointer-events: none; }
@media (max-width: 900px) { .knowledge-graduate { display: none; } }

/* programme page parity */
.prog-crumbs{background:#eef3fb;border-bottom:1px solid #e2eaf6}
.prog-crumbs .wrap{display:flex;gap:8px;align-items:center;padding:11px 0;font-size:13.5px;color:#6b7f9c}
.prog-crumbs a{color:#6b7f9c}
.prog-crumbs .cur{color:#1d3f70}
.prog-hero{background:linear-gradient(100deg,#0e2f63 0%,#1b4a97 55%,#216ef2 100%);color:#fff}
.prog-hero__in{display:flex;align-items:stretch;gap:0;padding:0;min-height:210px}
.prog-hero__text{flex:1;padding:34px 0;display:flex;flex-direction:column;justify-content:center;gap:12px}
.prog-hero__chip{background:#3f7ef0;color:#fff;border-radius:6px;padding:5px 12px;font-size:12.5px;align-self:flex-start}
.prog-hero h1{color:#fff;font-size:31px;line-height:1.45;margin:0;font-weight:800;max-width:760px}
.prog-hero__meta{display:flex;align-items:center;gap:8px;color:#cfe0ff;font-size:14px}
.prog-hero__meta .dot{width:10px;height:10px;border-radius:50%;background:#8fb4f5;display:inline-block}
.prog-hero__img{width:330px;flex:0 0 330px;display:flex;align-items:flex-end;justify-content:center;overflow:hidden}
.prog-hero__img img{width:100%;height:100%;object-fit:cover;max-height:260px;border-radius:0}
.prog-side{background:#f5f8fd;border:1px solid #e3ebf7;border-radius:12px;padding:18px}
.prog-price{text-align:center;padding:6px 0 16px;border-bottom:1px solid #e3ebf7;margin-bottom:16px}
.prog-price b{font-size:30px;color:#0e2f63;font-weight:800}
.prog-cta{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;margin-bottom:16px}
.prog-cta__b{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;text-align:center;background:#216ef2;color:#fff;border-radius:10px;padding:14px 6px;font-size:12.5px;line-height:1.5;min-height:78px}
.prog-cta__b em{font-style:normal;font-size:12px;opacity:.95}
.prog-cta__b--sky{background:#39b7f0}
.prog-cta__b--ghost{background:#fff;color:#216ef2;border:1.5px solid #b9d3f7}
.prog-cta__b--twin{background:#fff7e8;color:#8a5a00;border:1.5px solid #f0d6a4}
.prog-facts{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.prog-facts li{display:flex;align-items:center;gap:8px;font-size:13.5px;color:#41556f;justify-content:flex-end;text-align:right}
.prog-facts .ico{color:#7d97b8;font-size:14px}
@media(max-width:900px){.prog-hero__in{flex-direction:column-reverse}.prog-hero__img{width:100%;flex:auto;max-height:180px}.prog-hero h1{font-size:23px}.prog-cta{grid-template-columns:1fr 1fr}}
.wrap.detail{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px;align-items:start}
.wrap.detail > .prog-side{grid-column:2;grid-row:1}
.wrap.detail > div{grid-column:1;grid-row:1;min-width:0}
@media(max-width:900px){
  .wrap.detail{grid-template-columns:1fr;gap:18px}
  .wrap.detail > .prog-side{grid-column:1;grid-row:auto}
  .wrap.detail > div{grid-column:1;grid-row:auto}
  .prog-side{padding:14px}
  .prog-cta{grid-template-columns:1fr 1fr 1fr;gap:6px}
  .prog-cta__b{min-height:66px;font-size:11.5px;padding:10px 4px}
  .prog-price b{font-size:24px}
}

/* video testimonial poster (real video source pending from owner) */
.video-poster{position:relative;border-radius:14px;overflow:hidden;background:linear-gradient(120deg,#0e2f63,#216ef2 70%,#39b7f0);aspect-ratio:16/9;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:16px}
.video-poster img{width:100%;height:100%;object-fit:cover;opacity:.55}
.video-poster__play{position:static;margin:0;flex:0 0 auto;width:74px;height:74px;border-radius:50%;background:rgba(255,255,255,.92);display:flex;align-items:center;justify-content:center}
.video-poster__play::after{content:"";border-style:solid;border-width:13px 0 13px 21px;border-color:transparent transparent transparent #216ef2;margin-inline-start:5px}
.video-poster__cap{color:#e8f1ff;font-size:15px;font-weight:600}

.art-tile{height:150px;background:linear-gradient(135deg,#dbe9fb,#f1f7ff);display:flex;align-items:flex-end;justify-content:flex-start;padding:12px 14px;color:#5b7ba8;font-size:12.5px;font-weight:600}
.knowledge-graduate{inset-inline-end:-34px;bottom:-40px;width:170px}
.knowledge-graduate{width:130px;bottom:-58px;inset-inline-end:-18px;opacity:.97}
@media(max-width:1100px){.knowledge-graduate{display:none}}

/* checkout + sandbox gateway */
.banner--slim h1{font-size:26px}
.pay-wrap{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;padding:30px 0 60px;align-items:start}
.pay-main{display:flex;flex-direction:column;gap:18px}
.pay-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:22px;box-shadow:var(--shadow-sm)}
.pay-card h2{font-size:18px;margin:0 0 14px}
.pay-form{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.pay-form label{display:flex;flex-direction:column;gap:6px;font-size:13px;color:#4a5b73}
.pay-form input{border:1px solid var(--line);border-radius:9px;padding:10px 12px;font-size:14px;font-family:inherit}
.pay-form button{grid-column:1/-1;margin-top:4px}
.pay-methods{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px}
.pay-method{display:flex;flex-direction:column;gap:4px;border:1.5px solid var(--line);border-radius:12px;padding:14px;cursor:pointer;background:#fff}
.pay-method.active{border-color:var(--primary);box-shadow:0 0 0 3px rgba(33,110,242,.12)}
.pay-method input{display:none}
.pay-method b{font-size:15px}
.pay-method span{font-size:12.5px;color:#6b7f9c}
.pay-method em{font-style:normal;font-size:12px;color:#8aa4c8}
.pay-side{background:#f5f8fd;border:1px solid #e3ebf7;border-radius:14px;padding:20px;position:sticky;top:96px}
.pay-side h3{font-size:16px;margin:0 0 14px}
.pay-line{display:flex;justify-content:space-between;gap:10px;font-size:13.5px;color:#41556f;padding:7px 0;border-bottom:1px dashed #e3ebf7}
.pay-total{display:flex;justify-content:space-between;align-items:center;padding:14px 0;font-size:15px}
.pay-total b{font-size:22px;color:#0e2f63}
.pay-gateway__top{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.pay-badge{background:#fff4d6;color:#8a6100;border-radius:999px;padding:3px 10px;font-size:12px;font-weight:700}
.pay-amount{font-size:34px;font-weight:800;color:#0e2f63;margin:6px 0 4px}
.pay-amount span{font-size:16px;font-weight:600;color:#5b7ba8}
.pay-sim{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0 10px}
.alert--ok{background:#e8f8ef;color:#12673a;border:1px solid #bfe8d1;border-radius:10px;padding:12px 14px;margin:14px 0}
@media(max-width:900px){.pay-wrap{grid-template-columns:1fr}.pay-side{position:static}.pay-form,.pay-methods{grid-template-columns:1fr}}

.video-embed{width:100%;aspect-ratio:16/9;border:0;border-radius:14px;display:block;background:#0e2f63}

/* ---------- mobile pass: 360-430px ---------- */
@media (max-width: 640px) {
  html, body { max-width: 100%; overflow-x: hidden; }
  .wrap { padding-inline: 16px; }

  /* home hero banner: show the whole artwork instead of cropping it */
  .hero--home { height: auto; aspect-ratio: 2880 / 744; background-size: 100% 100%; background-position: center; }
  .hero-hit { display: none; }
  .hero-search-card { margin-top: -18px; padding: 20px 18px 18px !important; border-radius: 14px; }
  .hero-search-card h2 { font-size: 20px; }
  .hero-search-card p, .hero-search-card .hint { font-size: 13px; }
  .hero-search-card .searchbar { flex-direction: column; align-items: stretch; }
  .hero-search-card .searchbar .btn { width: 100%; }

  .hero .wrap { padding: 28px 0 30px; }
  .hero h1 { font-size: 27px; line-height: 1.25; }
  .hero .lead { font-size: 15px; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .hero-stats { gap: 16px; }
  .hero-stats b { font-size: 21px; }

  .quick { grid-template-columns: 1fr 1fr; }
  .quick a { padding: 12px; font-size: 13.5px; }
  .feature-row { grid-template-columns: 1fr !important; }
  .stat-grid { grid-template-columns: 1fr 1fr; }

  /* programme cards */
  .programme-card__title { font-size: 15.5px; }

  /* programme detail: sidebar first, tabs scrollable */
  .detail { grid-template-columns: 1fr !important; padding: 20px 0 34px; gap: 18px; }
  .prog-side { position: static; }
  .prog-hero { padding: 18px 0; }
  .prog-hero__in { flex-direction: column; align-items: flex-start; gap: 14px; }
  .prog-hero__img { width: 100%; flex: 0 0 auto; max-height: 180px; }
  .prog-hero h1 { font-size: 22px; line-height: 1.3; }
  .prog-price b { font-size: 26px; }
  .prog-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .prog-cta__b { padding: 10px 8px; }
  .tabs { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .tabs button { white-space: nowrap; padding: 10px 12px; font-size: 13.5px; }
  .iatms-program-content table { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .iatms-program-content h2 { font-size: 18px; }

  /* forms, checkout, portal, admin */
  .form-grid, .grid--2, .grid--3, .grid--4, .steps { grid-template-columns: 1fr !important; }
  .card, .side-card { padding: 16px; }
  .table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }
  .tabs, .filters { font-size: 13.5px; }
  .checkout-grid, .portal-grid { grid-template-columns: 1fr !important; }
  .banner h1 { font-size: 24px; }
  .banner .wrap { padding: 22px 0 24px; }
  .section h2 { font-size: 22px; }
  .btn { font-size: 14px; }
}
@media (max-width: 640px) {
  .card, .side-card, .form-grid > *, .grid--2 > *, .grid--3 > * { min-width: 0; }
  .pay-line, .kv div, .summary-row { flex-wrap: wrap; gap: 4px; }
  .pay-line b, .kv div b { white-space: normal; overflow-wrap: anywhere; }
  .summary-card, .order-summary { width: 100%; }
  .accreditation-logos, .logo-strip, .partners { grid-template-columns: 1fr 1fr !important; }
  .partner-logos img, .logo-strip img { max-width: 100%; height: auto; }
}

/* mobile-only text hero (the desktop hero is a single banner image) */
.hero-mobile { display: none; }
@media (max-width: 640px) {
  .hero--home { display: none; }
  .hero-mobile { display: block; background: linear-gradient(160deg, #eaf3fe 0%, #dbeafd 60%, #cfe3fb 100%); padding: 24px 16px 26px; }
  .hero-mobile h1 { font-size: 27px; line-height: 1.3; margin: 0 0 8px; color: #0b2b5e; }
  .hero-mobile h1 em { font-style: normal; color: var(--blue); }
  .hero-mobile .lead { font-size: 15px; color: #3d5c88; margin: 0 0 16px; }
  .hero-mobile .hero-actions { display: flex; flex-direction: column; gap: 10px; }
  .hero-mobile .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-search-card { margin-top: 12px; }
}

/* ---------- mobile header + hero per the live site ---------- */
.theme-toggle { display: none; }
.nav-mobile-tools { display: none; }
.wa-fab { display: none; }

@media (max-width: 640px) {
  header.site .wrap { min-height: 58px; gap: 8px; }
  .site--single .header-cta .btn, .site--single .header-cta .currency-select, .site--single .header-cta #lang-toggle { display: none !important; }
  .theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 17px; color: var(--navy); }
  .burger { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 16px; }
  .site--single .brand img { height: 40px; }
  .nav-mobile-tools { display: flex; align-items: center; gap: 10px; padding: 10px 0 4px; border-top: 1px solid var(--line); margin-top: 8px; }
  .nav-mobile-tools label { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }

  /* rounded hero card, centred title, image, two CTAs side by side */
  .hero-mobile { background: none; padding: 10px 12px 0; }
  .hero-mobile .hero-card { background: linear-gradient(170deg, #eaf3fe 0%, #e3effd 55%, #dcebfd 100%); border-radius: 18px; padding: 22px 16px 0; text-align: center; overflow: hidden; }
  .hero-mobile h1 { text-align: center; font-size: 26px; }
  .hero-mobile .lead { text-align: center; }
  .hero-mobile .hero-art { margin: 10px auto -6px; max-width: 320px; }
  .hero-mobile .hero-art img { display: block; width: 100%; height: auto; }
  .hero-mobile .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 0 4px; }
  .hero-mobile .hero-actions .btn { width: 100%; justify-content: center; padding: 12px 6px; font-size: 14px; }

  .wa-fab { display: flex; position: fixed; inset-inline-start: 16px; bottom: 18px; width: 52px; height: 52px; border-radius: 50%; background: #25d366; color: #fff; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(0,0,0,.22); z-index: 60; font-size: 26px; }
}

/* dark theme (toggle in the mobile header) */
html[data-theme='dark'] body { background: #0e1a2b; color: #dbe6f3; }
html[data-theme='dark'] .card, html[data-theme='dark'] .programme-card, html[data-theme='dark'] .side-card,
html[data-theme='dark'] .hero-search-card, html[data-theme='dark'] .quick a, html[data-theme='dark'] .iatms-program-content,
html[data-theme='dark'] .table, html[data-theme='dark'] .tabs, html[data-theme='dark'] .form-grid input,
html[data-theme='dark'] .form-grid select, html[data-theme='dark'] .searchbar, html[data-theme='dark'] header.site { background: #15263c; color: #dbe6f3; border-color: #24384f; }
html[data-theme='dark'] h1, html[data-theme='dark'] h2, html[data-theme='dark'] h3, html[data-theme='dark'] .programme-card__title a { color: #eaf2fb; }
html[data-theme='dark'] .muted, html[data-theme='dark'] p { color: #a9bdd4; }
html[data-theme='dark'] .iatms-program-content td, html[data-theme='dark'] .iatms-program-content p,
html[data-theme='dark'] .iatms-program-content li { color: #c9d8ea; }
html[data-theme='dark'] .iatms-program-content tbody tr:nth-child(even) td { background: #1a2d45; }
@media (max-width: 640px) { .wa-fab { inset-inline-start: auto; left: 16px; } .hero-mobile .hero-card { padding-bottom: 22px; } }

/* --- copied home sections (reviews, FAQ, conferences, quote) --- */
.accred-note { max-width: 780px; margin: 6px auto 0; text-align: center; font-size: 13.5px; line-height: 1.9; color: var(--muted, #6b7280); }
.quote-band { background: var(--primary); }
.quote-band__text { margin: 0; text-align: center; color: #fff; font-size: 19px; line-height: 1.9; font-weight: 600; max-width: 820px; margin-inline: auto; }
.conf-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 26px; align-items: center; }
.conf-grid img { width: 100%; border-radius: 16px; display: block; }
.conf-grid h3 { margin: 0 0 14px; line-height: 1.7; font-size: 19px; }
.reviews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.review-card { margin: 0; background: #fafafa; border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.review-card blockquote { margin: 0; font-size: 14.5px; line-height: 1.95; color: #333; }
.review-card figcaption { display: flex; align-items: center; gap: 10px; }
.review-card__av { width: 38px; height: 38px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 700; flex: 0 0 38px; }
.review-card__who { display: flex; flex-direction: column; line-height: 1.5; }
.review-card__who strong { font-size: 13.5px; }
.review-card__who em { font-style: normal; font-size: 12px; color: #6b7280; }
.faq { display: grid; gap: 10px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }
.faq__item summary { cursor: pointer; font-weight: 700; font-size: 15px; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; color: var(--primary); font-size: 20px; line-height: 1; }
.faq__item[open] summary::after { content: "−"; }
.faq__item p { margin: 10px 0 0; font-size: 14px; line-height: 1.95; color: #444; }
.help-cta { background: #fff7e8; }
.help-cta h2 { margin: 0 0 8px; }
.help-cta .lead { margin: 0 0 16px; }
.knowledge-card { padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 6px; }
.knowledge-card__cat { font-size: 11.5px; font-weight: 700; color: var(--primary); }
.knowledge-card h3 { margin: 0; font-size: 15.5px; line-height: 1.7; }
.knowledge-card h3 a { color: inherit; text-decoration: none; }
.knowledge-card__more { color: var(--primary); font-weight: 700; margin-top: auto; }
@media (max-width: 900px) {
  .conf-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .quote-band__text { font-size: 16px; }
}
.socials { display: flex; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.social-link { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; display: flex; align-items: center; justify-content: center; transition: background .15s ease; }
.social-link:hover { background: var(--primary); }
@media (max-width: 900px) { .hero-home-grid { grid-template-columns: 1fr; padding: 18px 0 40px !important; } .hero-home-art { order: -1; } }
/* hero home: hard overrides (specificity beats .hero .wrap) */
.hero.hero--home .wrap.hero-home-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,420px); align-items: center; gap: 24px; padding: 28px 0 40px; }
.hero.hero--home .hero-home-copy { padding-bottom: 0; min-width: 0; }
.hero.hero--home .hero-home-copy h1 { font-size: clamp(24px, 2.9vw, 40px); line-height: 1.4; margin: 0 0 10px; }
.hero.hero--home .hero-home-art { justify-self: end; width: 100%; }
.hero.hero--home .hero-home-art img { width: 100%; height: auto; max-height: 380px; object-fit: contain; object-position: bottom; }
@media (max-width: 900px) { .hero.hero--home .wrap.hero-home-grid { grid-template-columns: 1fr; padding: 16px 0 28px; } .hero.hero--home .hero-home-art { max-width: 320px; margin-inline: auto; } }
/* hero home: his own hero art as background, copy on the left */
.hero.hero--home { background: #eef5ff url('/assets/real/hero-mobile-light.jpg') right center / cover no-repeat; min-height: 540px; }
.hero.hero--home .wrap.hero-home-grid { display: grid; grid-template-columns: minmax(0, 520px) 1fr; align-items: center; padding: 40px 0 60px; min-height: 540px; }
.hero.hero--home .hero-home-copy { justify-self: end; text-align: right; padding: 0; }
.hero.hero--home .hero-home-copy h1 { font-size: clamp(26px, 3.1vw, 44px); line-height: 1.4; margin: 0 0 12px; color: #0b2b5e; }
.hero.hero--home .hero-home-copy .lead { color: #33507a; font-size: 16px; }
@media (max-width: 900px) {
  .hero.hero--home { min-height: 0; background-position: center top; background-size: cover; }
  .hero.hero--home .wrap.hero-home-grid { grid-template-columns: 1fr; padding: 24px 0 30px; min-height: 0; }
  .hero.hero--home .hero-home-copy { justify-self: center; text-align: center; }
}
/* hero home pass 3: art sized to height, copy on the left column */
.hero.hero--home { background: #eef5ff url('/assets/real/hero-mobile-light.jpg') right center / auto 100% no-repeat; min-height: 560px; }
.hero.hero--home .wrap.hero-home-grid { display: grid; grid-template-columns: 1fr minmax(0, 560px); align-items: center; gap: 0; padding: 40px 0 70px; min-height: 560px; }
.hero.hero--home .hero-home-copy { grid-column: 2; justify-self: stretch; text-align: right; padding: 0; }
.hero.hero--home .hero-home-copy h1 { font-size: clamp(26px, 3vw, 42px); line-height: 1.45; margin: 0 0 10px; color: #0b2b5e; }
.hero.hero--home .hero-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-start; }
@media (max-width: 900px) {
  .hero.hero--home { background-size: cover; background-position: center top; min-height: 0; }
  .hero.hero--home .wrap.hero-home-grid { grid-template-columns: 1fr; padding: 20px 0 26px; min-height: 0; }
  .hero.hero--home .hero-home-copy { grid-column: 1; text-align: center; }
  .hero.hero--home .hero-actions { justify-content: center; }
}
/* hero polish: blend art into the page background, add his green accent */
.hero.hero--home { background-image: linear-gradient(90deg, #eef5ff 0%, #eef5ff 34%, rgba(238,245,255,0) 58%), url('/assets/real/hero-mobile-light.jpg'); background-repeat: no-repeat, no-repeat; background-position: left center, right center; background-size: 100% 100%, auto 100%; }
.hero.hero--home .hero-home-copy h1::after { content: ''; display: block; width: 58px; height: 4px; border-radius: 2px; background: #3ecf8e; margin: 14px 0 0 auto; }
@media (max-width: 900px) { .hero.hero--home { background-image: url('/assets/real/hero-mobile-light.jpg'); background-size: cover; background-position: center top; } .hero.hero--home .hero-home-copy h1::after { margin: 10px auto 0; } }
/* ==== hero: ported 1:1 from his homepage.css ==== */
.hero-mobile { display: none !important; }
.hero.hero--home { position: relative; isolation: isolate; padding: 0 0 24px; overflow: clip; background: #f8fbff; color: #101f49; min-height: 0; }
.hero.hero--home .hero-art { position: absolute; z-index: -1; inset: 0 0 auto; height: min(51vw, 750px); background: url('/assets/real/hero-choice-one.jpg') center top / 100% auto no-repeat; -webkit-mask-image: linear-gradient(#000 68%, transparent 94%); mask-image: linear-gradient(#000 68%, transparent 94%); }
.hero.hero--home .hero-stage { position: relative; width: min(100%, 1487px); min-height: clamp(320px, 29vw, 440px); margin-inline: auto; display: block; padding: 0; }
.hero.hero--home .hero-copy { width: 46.2%; margin-left: 8.3%; margin-right: auto; padding-top: clamp(46px, 4.6vw, 72px); display: block; }
.hero.hero--home h1 { margin: 0; font-size: clamp(42px, 4.65vw, 70px); line-height: 1.3; font-weight: 710; color: #101f49; }
.hero.hero--home h1 > span { display: block; white-space: nowrap; }
.hero.hero--home h1 em { color: #1048ce; font-style: normal; }
.hero.hero--home h1::after { content: ""; display: block; width: clamp(50px, 5.5vw, 88px); height: 5px; margin-top: 17px; margin-inline-start: 12px; border-radius: 10px; background: #76d5b6; }
.hero.hero--home .hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(100%, 420px); gap: 12px; margin-top: 24px; margin-inline-start: 12px; }
.hero.hero--home .hero-actions .btn { min-height: 52px; padding-inline: 12px; gap: 9px; border-radius: 12px; font-size: clamp(15px, 1.27vw, 18px); font-weight: 600; white-space: nowrap; }
.hero.hero--home .hero-actions .btn--primary { background: #1048ce; }
.hero.hero--home .hero-actions .btn--ghost { color: #1048ce; border: 1.5px solid #1048ce; background: rgba(255,255,255,.75); }
@media (max-width: 760px) {
  .hero.hero--home { --mh: min(100% - 30px, 570px); display: grid; grid-template-columns: minmax(0,1fr); grid-template-areas: "cover" "actions"; justify-items: center; padding-block: 16px 15px; background: #eef6ff; }
  .hero.hero--home .hero-stage, .hero.hero--home .hero-copy { display: contents; }
  .hero.hero--home h1 { grid-area: cover; position: relative; z-index: 1; align-self: start; width: var(--mh); padding: clamp(18px,6vw,31px) 12px 0; color: #fff; font-size: clamp(28px, 8.5vw, 42px); line-height: 1.3; text-align: center; }
  .hero.hero--home h1 > span { white-space: normal; }
  .hero.hero--home h1 em { color: #a8ceff; }
  .hero.hero--home h1::after { width: 44px; height: 4px; margin: 11px auto 0; }
  .hero.hero--home .hero-art { grid-area: cover; position: relative; z-index: auto; inset: auto; width: var(--mh); height: auto; aspect-ratio: 1; max-height: 440px; border-radius: 18px; background: #14284f url('/assets/real/hero-riyadh-mobile.jpg') center top / cover no-repeat; -webkit-mask-image: none; mask-image: none; }
  .hero.hero--home .hero-actions { grid-area: actions; width: var(--mh); grid-template-columns: repeat(2, minmax(0,1fr)); margin: 12px 0 0; gap: 9px; }
  .hero.hero--home .hero-actions .btn { min-height: 48px; padding-inline: 8px; font-size: clamp(14px, 4.08vw, 18px); }
  .hero.hero--home .hero-actions .btn--ghost { border-width: 1px; background: #fff; }
}
@media (max-width: 760px) {
  .hero.hero--home .hero-art { height: min(calc(100vw - 30px), 440px) !important; aspect-ratio: auto !important; }
}
@media (max-width: 760px) {
  .hero.hero--home .hero-art { width: calc(100% - 30px) !important; height: 360px !important; }
  .hero.hero--home h1 { width: calc(100% - 30px) !important; }
  .hero.hero--home .hero-actions { width: calc(100% - 30px) !important; }
}
@media (max-width: 760px) {
  .hero.hero--home { display: block !important; padding: 14px 15px 16px !important; background: #eef6ff !important; }
  .hero.hero--home .hero-art { display: none !important; }
  .hero.hero--home .hero-stage { display: block !important; width: 100% !important; min-height: 0 !important; }
  .hero.hero--home .hero-copy { display: block !important; width: 100% !important; margin: 0 !important; padding: 0 !important; }
  .hero.hero--home h1 { width: 100% !important; min-height: 320px; margin: 0 0 12px; border-radius: 18px; background: #14284f url('/assets/real/hero-riyadh-mobile.jpg') center top / cover no-repeat; color: #fff !important; font-size: clamp(28px, 8.5vw, 40px) !important; line-height: 1.35 !important; text-align: center !important; padding: 26px 12px 0 !important; box-sizing: border-box; }
  .hero.hero--home h1 > span { white-space: normal !important; display: block; }
  .hero.hero--home h1 em { color: #a8ceff !important; }
  .hero.hero--home h1::after { width: 44px; height: 4px; margin: 12px auto 0 !important; }
  .hero.hero--home .hero-actions { width: 100% !important; margin: 0 !important; grid-template-columns: repeat(2, minmax(0,1fr)) !important; gap: 9px !important; }
}
@media (max-width: 760px) {
  .hero-search-card { margin-top: 14px !important; margin-bottom: 8px !important; position: static !important; transform: none !important; }
  .hero.hero--home { padding-bottom: 6px !important; }
}
/* final overrides: mobile hero must size to its content; no sideways scroll */
@media (max-width: 760px) { .hero.hero--home { height: auto !important; aspect-ratio: auto !important; background-image: none !important; background: #eef6ff !important; overflow: visible !important; } }
html, body { overflow-x: clip; }

/* consultant mascot, as on the live site */
.advisor-bot{position:fixed;right:14px;bottom:18px;z-index:60;display:block;width:100px;height:122px;text-decoration:none}
.advisor-bot img{width:100px;height:122px;object-fit:contain;display:block;filter:drop-shadow(0 8px 14px rgba(8,39,92,.22))}
.advisor-bot__bubble{position:absolute;right:62px;bottom:78px;white-space:nowrap;padding:7px 10px;font-size:12px;font-weight:700;color:#1048ce;background:#fff;border:1px solid #cfe0ff;border-radius:12px;box-shadow:0 6px 16px rgba(8,39,92,.14)}
@media(min-width:761px){.advisor-bot{right:22px;bottom:22px}.advisor-bot__bubble{font-size:13px}}
/* mobile hero: light artwork exactly as the live site (v2) */
@media (max-width: 760px) {
  .hero.hero--home h1 { background: #f5f9fe url('/assets/real/hero-mobile-light-v2.jpg') center top / cover no-repeat !important; color: #10213c !important; min-height: 340px !important; border-radius: 18px !important; }
  .hero.hero--home h1 em { color: #1759ed !important; }
  html[data-theme="dark"] .hero.hero--home h1 { background-image: url('/assets/real/hero-dark-v2.jpg') !important; color: #fff !important; }
  html[data-theme="dark"] .hero.hero--home h1 em { color: #a8ceff !important; }
}
@media (max-width: 760px) {
  .hero-search-card .searchbar { flex-direction: row !important; flex-wrap: nowrap !important; align-items: stretch !important; gap: 8px !important; padding: 8px !important; }
  .hero-search-card .searchbar input { min-width: 0 !important; flex: 1 1 auto !important; width: auto !important; }
  .hero-search-card .searchbar .btn { flex: 0 0 auto !important; width: auto !important; padding-inline: 18px !important; }
}
/* mascot: smaller on phones, tucked in the corner, no bubble, never covers text */
@media (max-width: 760px) {
  .advisor-bot { right: 6px !important; bottom: 10px !important; width: 58px !important; height: 70px !important; }
  .advisor-bot img { width: 58px !important; height: 70px !important; }
  .advisor-bot__bubble { display: none !important; }
  body { padding-bottom: 72px; }
}

/* footer: tidy mobile layout */
#site-footer .socials{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
#site-footer .social-link{display:inline-grid!important;place-items:center;width:42px;height:42px;padding:0!important;border-radius:50%;background:rgba(255,255,255,.12)}
@media (max-width:900px){
  #site-footer .cols{grid-template-columns:1fr 1fr!important;gap:22px 18px!important;padding:34px 0 14px!important}
  #site-footer .cols>.fcol:nth-child(1){grid-column:1/-1;text-align:center}
  #site-footer .cols>.fcol:nth-child(1) a{display:inline-block!important;margin-top:8px;padding:9px 20px!important;border:1px solid rgba(255,255,255,.35);border-radius:10px}
  #site-footer .cols>.fcol:nth-child(4),#site-footer .cols>.fcol:nth-child(5){grid-column:1/-1}
  #site-footer .fcol h4{font-size:16px!important;margin-bottom:8px!important}
  #site-footer .fcol a{font-size:14px!important;padding:6px 0!important;overflow-wrap:anywhere}
  #site-footer .cols>.fcol:nth-child(5){text-align:center}
  #site-footer .cols>.fcol:nth-child(5) .socials{justify-content:center;flex-wrap:nowrap;gap:12px}
  #site-footer .accred-row{display:grid!important;grid-template-columns:repeat(3,1fr);gap:12px!important;padding:6px 16px 20px!important;justify-items:stretch}
  #site-footer .accred-row img{width:100%!important;height:56px!important;object-fit:contain}
}
#site-footer .brand img{background:#fff;border-radius:14px;padding:6px 8px;height:64px!important;width:auto}
@media (min-width:901px){#site-footer .cols{grid-template-columns:1fr 1fr 1.25fr .85fr 1.15fr!important}}
#site-footer .socials{flex-wrap:nowrap!important;gap:8px!important}
#site-footer .social-link{width:38px;height:38px;flex:0 0 38px}
@media (max-width:900px){#site-footer .cols>.fcol:nth-child(1) .brand{display:flex;justify-content:center}#site-footer .social-link{width:42px;height:42px;flex-basis:42px}}

/* WordPress gallery (equivalency samples) */
.gallery{display:flex;flex-wrap:wrap;margin:0 -4px}
.gallery-columns-3 .gallery-item{flex:0 0 33.333%;max-width:33.333%;box-sizing:border-box;padding:4px;margin:0;text-align:center}
.gallery-item .gallery-icon img{width:100%;height:auto;display:block;border:0;border-radius:8px}
.gallery-item a{display:block}

/* services / order cart */
.svc-grid{display:grid;grid-template-columns:1fr 360px;gap:24px;align-items:start}
.svc-list{display:grid;gap:16px}
.svc-card{background:#fff;border:1px solid #dbeaf3;border-radius:16px;padding:20px;box-shadow:0 6px 20px rgba(20,91,130,.07)}
.svc-card h3{margin:0 0 6px;color:#087fc0}
.svc-card select,.svc-form input,.svc-form textarea{width:100%;border:1px solid #cfdde8;border-radius:10px;padding:10px 12px;font:inherit;margin:6px 0;background:#fff}
.svc-lbl{font-weight:700;font-size:13px;display:block;margin-top:8px}
.svc-foot{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:12px;flex-wrap:wrap}
.svc-cart{background:#fff;border:1px solid #dbeaf3;border-radius:16px;padding:20px;position:sticky;top:90px;box-shadow:0 6px 20px rgba(20,91,130,.07)}
.svc-cart h3{margin:0 0 10px}
.svc-lines{list-style:none;margin:0;padding:0}
.svc-lines li{display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid #eef3f7}
.svc-lp{display:flex;align-items:center;gap:8px;font-weight:700;white-space:nowrap;font-size:13px}
.svc-rm{border:0;background:#fde4de;color:#c8472f;border-radius:50%;width:24px;height:24px;cursor:pointer}
.svc-total{display:flex;justify-content:space-between;padding:12px 0;font-size:16px}
@media(max-width:900px){.svc-grid{grid-template-columns:1fr}.svc-cart{position:static}}
.header-order{white-space:nowrap}
.nav-order{display:none}
@media(max-width:900px){.header-order{display:none}.nav-order{display:block;font-weight:800;color:#fff!important;background:#1759ed;border-radius:10px;text-align:center}}
.svc-form h4{margin:14px 0 4px;font-size:14px;color:#087fc0}
.svc-docs{margin:6px 0;padding-inline-start:18px;font-size:13px}
.tl{list-style:none;margin:8px 0 0;padding:0}
.tl li{display:flex;gap:14px;align-items:flex-start;padding:10px 0;position:relative;color:#8aa0b0}
.tl li:not(:last-child):before{content:"";position:absolute;right:13px;top:36px;bottom:-8px;width:2px;background:#dbeaf3}
.tl li.ok:not(:last-child):before{background:#0ab39c}
.tl .dot{width:28px;height:28px;border-radius:50%;border:2px solid #cfdde8;display:grid;place-items:center;flex:0 0 28px;background:#fff;font-weight:800;color:#fff}
.tl li.ok{color:#173b52}.tl li.ok .dot{background:#0ab39c;border-color:#0ab39c}
.tl li.cur .dot{border-color:#1759ed;box-shadow:0 0 0 5px rgba(23,89,237,.18);animation:tlp 1.4s infinite}
.tl li.cur{color:#173b52}
@keyframes tlp{50%{box-shadow:0 0 0 9px rgba(23,89,237,.05)}}
@media print{#site-header,#site-footer,.banner,.svc-actions,.svc-card:not(.inv),.advisor-bot,.exact-whatsapp{display:none!important}}
@media (max-width:700px){
  .banner::before{inset-inline-start:auto!important;right:auto!important;left:0!important;top:0!important;width:30%!important;height:100%!important;opacity:.55!important}
  .banner .wrap{padding:22px 0 26px!important}
}
.applepay-btn{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;margin-top:14px;padding:13px 16px;border:0;border-radius:12px;background:#000;color:#fff;font:600 16px inherit;font-family:inherit;cursor:pointer;min-height:50px}
.applepay-btn:hover{background:#1c1c1e}.applepay-btn:disabled{opacity:.6}
.pay-method b img{display:block}
.pay-badges{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;align-items:center;margin:12px 0 0}
.pay-badges img,.pay-badges span{height:26px;border-radius:5px}
.pay-badges span{display:inline-flex;align-items:center;padding:0 10px;background:#fff;color:#0b2b5e;font:700 12px/26px inherit;font-family:inherit}

/* video pair: two equal-size frames side by side */
.video-pair{display:grid;grid-template-columns:1fr 1fr;gap:20px;max-width:1000px;margin:0 auto}
.video-pair .video-card{margin:0;max-width:none;width:100%}
.video-pair .video-frame{position:relative;width:100%;aspect-ratio:4/5 !important;height:auto;border-radius:14px;overflow:hidden;background:#000}
.video-pair .video-frame iframe,.video-pair .video-frame video{position:absolute;inset:0;width:100%;height:100%;border:0;display:block;object-fit:contain;background:#000}
.video-sound{position:absolute;bottom:10px;inset-inline-start:10px;z-index:2;background:rgba(0,0,0,.65);color:#fff;border:0;border-radius:999px;padding:7px 14px;font:600 13px inherit;font-family:inherit;cursor:pointer}
@media(max-width:700px){.video-pair{grid-template-columns:1fr;max-width:420px}}
.pay-or{display:flex;align-items:center;gap:10px;margin:16px 0 4px;color:#6b7a90;font-size:13px}
.pay-or:before,.pay-or:after{content:"";flex:1;height:1px;background:#d8e2f0}

/* bank accounts page */
.bank-page{max-width:1120px;margin:0 auto;padding:clamp(18px,4vw,44px) 16px 56px;direction:rtl}
.bk-hero{text-align:center;max-width:780px;margin:0 auto 30px}
.bk-hero h1{margin:0 0 6px;font-size:clamp(28px,5vw,42px);color:#0b2a5b}
.bk-sub{font-weight:800;color:#216ef2;font-size:clamp(16px,2.4vw,20px);margin:0 0 10px}
.bk-hero p{color:#4b5b73;line-height:1.9;margin:0 0 8px}
.bk-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:20px}
.bk-card{background:#fff;border:1px solid #e1e9f5;border-radius:20px;overflow:hidden;box-shadow:0 14px 36px rgba(11,42,91,.09);display:flex;flex-direction:column}
.bk-head{display:flex;align-items:center;gap:12px;padding:16px 18px;color:#fff;background:linear-gradient(135deg,var(--bk),color-mix(in srgb,var(--bk) 62%,#000))}
.bk-head strong{display:block;font-size:18px;line-height:1.3}
.bk-head small{display:block;opacity:.85;font-size:12px;direction:ltr;text-align:right;margin-top:2px}
.bk-ic{width:42px;height:42px;border-radius:12px;background:rgba(255,255,255,.18);display:grid;place-items:center;flex:none}
.bk-body{padding:6px 16px 12px}
.bk-row{display:grid;grid-template-columns:1fr auto;grid-template-areas:"l b" "v b";gap:2px 10px;padding:11px 0;border-bottom:1px dashed #e3eaf5;align-items:center}
.bk-row:last-child{border-bottom:0}
.bk-l{grid-area:l;font-size:12px;color:#7a8aa3;font-weight:700}
.bk-v{grid-area:v;font-size:15px;font-weight:700;color:#0b2a5b;word-break:break-all;line-height:1.5}
.bk-v.ltr{direction:ltr;text-align:right;font-family:ui-monospace,Menlo,Consolas,monospace;letter-spacing:.3px}
.bk-copy{grid-area:b;display:inline-flex;align-items:center;gap:5px;border:1px solid #cfe0fb;background:#eef4ff;color:#216ef2;border-radius:10px;padding:7px 11px;font:700 12px inherit;font-family:inherit;cursor:pointer;min-height:36px}
.bk-copy:hover{background:#dfeaff}
.bk-copy.copied{background:#e5f7ec;border-color:#b6e5c7;color:#14804a}
.bk-note{text-align:center;color:#4b5b73;margin:28px 0 0;font-weight:600}
@media(max-width:420px){.bk-grid{grid-template-columns:1fr}.bk-copy em{display:none}.bk-copy.copied em{display:inline}}
@media(max-width:480px){.bk-v.ltr{font-size:13px;letter-spacing:0;word-break:normal;overflow-wrap:anywhere}.bk-head strong{font-size:17px}}
@media(max-width:480px){.bk-row{grid-template-areas:"l b" "v v"}.bk-v.ltr{font-size:14px}}
.bk-ic--logo{width:auto;min-width:56px;max-width:132px;height:46px;padding:7px 12px;background:#fff;border-radius:12px;box-shadow:0 4px 12px rgba(0,0,0,.18)}
.bk-ic--logo img{display:block;height:100%;width:auto;max-width:108px;object-fit:contain}
.field-err{color:#c0262d;font-size:13px;font-weight:700;margin-top:5px;line-height:1.5}
.pay-form input.invalid,.pay-form select.invalid{border-color:#c0262d;box-shadow:0 0 0 3px rgba(192,38,45,.12)}

/* ---- header: sticky glass, real logo proportions, single-line nav ---- */
#site-header{position:sticky;top:0;z-index:60}
header.site{background:rgba(255,255,255,.72)!important;-webkit-backdrop-filter:saturate(170%) blur(16px);backdrop-filter:saturate(170%) blur(16px);border-bottom:1px solid rgba(15,45,95,.08)}
html[data-theme='dark'] header.site{background:rgba(21,38,60,.72)!important}
.brand{flex:0 0 auto}
.brand img,.site--single .brand img{flex:none;width:auto;max-width:none;height:46px;aspect-ratio:5760/1365;object-fit:contain}
nav.main a,.header-cta .btn,.header-cta .lang-toggle,.header-cta select{white-space:nowrap}
.site--single nav.main{gap:clamp(8px,1.1vw,20px);font-size:clamp(12.5px,1vw,14px);flex-wrap:nowrap}
.site--single nav.main a{font-size:inherit}
.site--single .header-cta{flex:0 0 auto;gap:6px}
.site--single .header-cta .btn--sm{padding-inline:12px;font-size:13px}
.site--single .wrap{gap:clamp(8px,1.2vw,18px)}
@media (max-width:1100px){.site--single .brand img{height:40px}}
@media (max-width:600px){.brand img,.site--single .brand img{height:36px}}
/* ---- footer: white logo, real payment logos ---- */
#site-footer .brand img{background:none!important;border-radius:0!important;padding:0!important;height:auto!important;width:210px!important;max-width:100%}
.pay-badges{gap:10px}
.pay-badges .pb{display:inline-flex;align-items:center;justify-content:center;background:#fff;border-radius:8px;height:36px;padding:0 12px;min-width:64px}
.pay-badges .pb img{height:22px;width:auto;max-width:92px;border-radius:0;display:block}
.pay-badges .pb--tamara{background:#0b2b5e;border:1px solid rgba(255,255,255,.25)}
.pay-badges .pb--tamara img{height:20px}
@media (min-width:1101px) and (max-width:1380px){
 .burger{display:inline-flex}
 .site--single nav.main{display:none}
 .site--single nav.main.open{display:flex;position:absolute;top:78px;inset-inline:0;background:#fff;flex-direction:column;align-items:flex-start;padding:14px 20px;box-shadow:0 12px 30px rgba(11,27,58,.14);z-index:40;font-size:15px;gap:14px}
 .site--single .brand{margin-inline-end:auto}
}
@media (min-width:1381px) and (max-width:1620px){
 .site--single nav.main{gap:9px;font-size:13px}
 .site--single .brand img{height:40px}
 .site--single .wrap{gap:8px}
 .site--single .header-cta .btn--sm{padding-inline:10px;font-size:12.5px}
}
