/* ============ Nawerni design system — v2 (editorial, Quadro-inspired) ============ */
@font-face { font-family: 'Poppins'; src: url('../fonts/Poppins-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../fonts/Poppins-Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../fonts/Poppins-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../fonts/Poppins-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../fonts/Poppins-ExtraBold.ttf') format('truetype'); font-weight: 800; font-display: swap; }
/* Arabic: Alexandria (geometric display face: titles, buttons, nav) + Almarai (clean body text) */
@font-face { font-family: 'Alexandria'; src: url('../fonts/Alexandria[wght].ttf') format('truetype'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Almarai'; src: url('../fonts/Almarai-Light.ttf') format('truetype'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Almarai'; src: url('../fonts/Almarai-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Almarai'; src: url('../fonts/Almarai-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Almarai'; src: url('../fonts/Almarai-ExtraBold.ttf') format('truetype'); font-weight: 800; font-display: swap; }

:root {
  --navy-900: #061A4A; --navy-800: #0B2A72; --navy-700: #10357F; --navy-600: #12489E;
  --blue-600: #1D5BD6; --blue-500: #2E7BF0; --blue-400: #5B98F7; --blue-100: #E3EDFD; --blue-50: #F1F6FE;
  --gold-600: #F28C00; --gold-500: #FDA30F; --gold-400: #FEC013; --gold-100: #FFF4D6;
  --bg: #F5F7FB; --surface: #FFFFFF; --text: #0F172A; --text-2: #334155; --muted: #64748B; --border: #E2E8F0; --border-2: #CBD5E1;
  --success: #15803D; --success-bg: #DCFCE7; --danger: #B91C1C; --danger-bg: #FEE2E2; --warning: #B45309; --warning-bg: #FEF3C7; --info-bg: #E0F2FE; --info: #075985;
  --radius: 16px; --radius-sm: 10px; --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(6,26,74,.06), 0 1px 3px rgba(6,26,74,.08);
  --shadow: 0 8px 24px rgba(6,26,74,.08);
  --shadow-lg: 0 20px 50px rgba(6,26,74,.16);
  --font-latin: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-arabic: 'Almarai', 'Alexandria', system-ui, sans-serif;
  --font-arabic-display: 'Alexandria', 'Almarai', system-ui, sans-serif;
  --container: 1240px;
  --ease: cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-latin); color: var(--text); background: var(--bg); line-height: 1.6; font-size: 15.5px; }
[dir="rtl"] body, body.rtl { font-family: var(--font-arabic); line-height: 1.8; font-size: 15.5px; }
[dir="rtl"] { text-align: right; }
.latin, [dir="rtl"] .latin { font-family: var(--font-latin); }
.arabic, [dir="ltr"] .arabic { font-family: var(--font-arabic); }
/* Arabic display face for everything that carries the brand voice */
[dir="rtl"] :is(h1, h2, h3, h4, .btn, .display, .eyebrow, .nav a, .badge, .chip, .faq-q, .card-title, .stat b, .ghost-word, .pillar .ghost, .process .num, .hero-kicker, .mission, .stack-num, .read-more, .lang-switch a, .site-footer h4, .toast-text, .form-group label),
:is(h1, h2, h3, h4, .card-title).arabic, .arabic :is(h1, h2, h3, h4), .lang-switch a.arabic, .nav-lang.arabic { font-family: var(--font-arabic-display); letter-spacing: 0; }
[dir="rtl"] :is(h1, h2, h3, h4) { line-height: 1.4; font-weight: 700; }
[dir="rtl"] h1, [dir="rtl"] h2.display, [dir="rtl"] h1.display { font-weight: 800; }
[dir="rtl"] p, [dir="rtl"] li { line-height: 1.85; }
[dir="rtl"] b, [dir="rtl"] strong { font-weight: 700; }
[dir="rtl"] .lang-switch a.latin, [dir="rtl"] .latin { font-family: var(--font-latin); }
img { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--navy-800); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.25; color: var(--navy-900); font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 860px; }
.section { padding: 96px 0; }
.section-sm { padding: 40px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head p { margin: 0; color: var(--muted); }
.center-head { flex-direction: column; align-items: center; text-align: center; max-width: 820px; margin-inline: auto; margin-bottom: 56px; }
.center-head h2 { margin-bottom: 8px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 14px; }
.eyebrow::before { content: ''; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow.light { color: var(--gold-400); }
[dir="rtl"] .eyebrow { letter-spacing: 0; font-size: .9rem; }
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .section { padding: 60px 0; } }
.flex { display: flex; gap: 12px; align-items: center; }
.flex-wrap { flex-wrap: wrap; }
.between { justify-content: space-between; }
.center { text-align: center; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.hidden { display: none !important; }
[hidden] { display: none !important; }

/* Display typography (big editorial headlines) */
.display { font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; line-height: 1; }
[dir="rtl"] .display { text-transform: none; letter-spacing: 0; line-height: 1.3; }
h2.display { font-size: clamp(1.9rem, 4vw, 3.1rem); }
h1.display { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.hl { display: inline-block; background: var(--gold-400); color: var(--navy-900); padding: .02em .22em .06em; border-radius: 4px; transform: rotate(-1.5deg) skewX(-3deg); line-height: 1.1; }
.hl-text { color: var(--blue-600); }
.light .hl-text, .page-head .hl-text { color: var(--gold-400); }
.grid-lines { position: relative; } /* vertical lines removed on request */
.ico-svg { vertical-align: -.22em; flex-shrink: 0; }
[dir="rtl"] .flip-rtl { transform: scaleX(-1); }

/* Motion */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.rise { opacity: 0; transform: translateY(34px); animation: rise .9s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes kenburns { from { transform: scale(1.16); } to { transform: scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .reveal, .rise { opacity: 1; transform: none; animation: none; transition: none; } .marquee-track { animation: none !important; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 999px; border: 1.5px solid transparent; font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer; transition: .2s var(--ease); white-space: nowrap; line-height: 1.2; }
body.site .btn { text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; font-weight: 700; padding: 13px 24px; }
[dir="rtl"] body.site .btn { text-transform: none; letter-spacing: 0; font-size: .95rem; }
.btn-primary { background: var(--navy-800); color: #fff; box-shadow: 0 8px 20px rgba(11,42,114,.22); }
.btn-primary:hover { transform: translateY(-2px); background: var(--blue-600); box-shadow: 0 14px 28px rgba(29,91,214,.3); color: #fff; }
.btn-gold { background: var(--gold-400); color: var(--navy-900); box-shadow: 0 8px 20px rgba(253,163,15,.3); }
.btn-gold:hover { transform: translateY(-2px); background: var(--gold-500); color: var(--navy-900); }
.btn-outline { background: #fff; border-color: var(--border-2); color: var(--navy-800); }
.btn-outline:hover { border-color: var(--navy-800); color: var(--navy-800); background: #fff; }
.btn-ghost { background: transparent; color: var(--navy-800); }
.btn-ghost:hover { background: var(--blue-50); }
.btn-white { background: #fff; color: var(--navy-800); }
.btn-glass { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255,255,255,.22); color: #fff; }
.btn-danger { background: var(--danger-bg); color: var(--danger); }
.btn-danger:hover { background: #fecaca; color: var(--danger); }
.btn-success { background: var(--success-bg); color: var(--success); }
.btn-sm { padding: 7px 14px; font-size: .85rem; }
body.site .btn-sm { padding: 9px 16px; font-size: .72rem; }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }
body.site .btn-lg { padding: 17px 32px; font-size: .86rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none !important; }
.btn-icon { width: 40px; height: 40px; padding: 0; border-radius: 50%; }

/* Badges & chips */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: .76rem; font-weight: 700; background: var(--blue-100); color: var(--navy-800); line-height: 1.5; }
.badge-gold { background: var(--gold-400); color: var(--navy-900); }
.badge-success { background: var(--success-bg); color: var(--success); }
.badge-danger { background: var(--danger-bg); color: var(--danger); }
.badge-warning { background: var(--warning-bg); color: var(--warning); }
.badge-muted { background: #EEF2F7; color: var(--muted); }
.badge-navy { background: var(--navy-800); color: #fff; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border-radius: 999px; border: 1.5px solid var(--border); background: #fff; font-size: .85rem; color: var(--text-2); font-weight: 500; transition: .15s; }
a.chip:hover, .chip.active { border-color: var(--navy-800); background: var(--navy-800); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-lg { gap: 10px; }
.chip-select { position: relative; }
.chip-select input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip-select input:checked + span { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.chip-select span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--border); background: #fff; cursor: pointer; font-weight: 500; transition: .15s; font-size: .92rem; }
.chip-select span .ico-svg { opacity: .35; }
.chip-select input:checked + span .ico-svg { opacity: 1; }
.chip-select span:hover { border-color: var(--navy-800); }

/* Cards */
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.card-body { padding: 22px; }
.card-hover { transition: .25s var(--ease); }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d6e0f0; }
.card-title { font-size: 1.05rem; margin-bottom: 6px; }
.card-title a { color: var(--navy-900); }
.card-title a:hover { color: var(--blue-600); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); transition: background .3s, border-color .3s, box-shadow .3s; }
.site-header .inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 78px; }
.brand { position: relative; display: block; height: 44px; }
.brand img { height: 44px; width: auto; }
.brand .logo-light { display: none; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { padding: 9px 12px; border-radius: 999px; color: var(--text-2); font-weight: 700; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; transition: .2s; white-space: nowrap; }
[dir="rtl"] .nav a { text-transform: none; letter-spacing: 0; font-size: .95rem; }
.nav a:hover, .nav a.active { color: var(--blue-600); }
.nav-mobile-only { display: none; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px 3px 3px 10px; border: 1.5px solid var(--border); border-radius: 999px; background: #fff; }
.lang-ico { display: inline-flex; color: var(--muted); margin-inline-end: 4px; }
.lang-switch a { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 28px; padding: 0 10px; border-radius: 999px; font-size: .74rem; font-weight: 800; letter-spacing: .08em; color: var(--text-2); transition: .15s; }
.lang-switch a.arabic { letter-spacing: 0; font-size: .86rem; }
.lang-switch a:hover { background: var(--blue-50); color: var(--blue-600); }
.lang-switch a.active { background: var(--navy-800); color: #fff; }
.nav-lang { display: inline-flex; align-items: center; gap: 8px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--navy-800); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .9rem; overflow: hidden; flex-shrink: 0; border: 0; cursor: pointer; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-lg { width: 64px; height: 64px; font-size: 1.3rem; }
.dropdown { position: relative; }
.dropdown-menu { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; min-width: 230px; background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); border: 1px solid var(--border); padding: 8px; display: none; z-index: 60; color: var(--text); text-align: start; }
.dropdown.open .dropdown-menu { display: block; }
.dropdown-menu .dd-head { padding: 8px 12px; font-size: .85rem; color: var(--muted); }
.dropdown-menu .dd-head b { color: var(--text); }
.dropdown-menu a, .dropdown-menu button { display: flex; align-items: center; gap: 10px; width: 100%; text-align: start; padding: 10px 12px; border-radius: 8px; color: var(--text-2); font: inherit; background: none; border: 0; cursor: pointer; font-size: .92rem; }
.dropdown-menu a:hover, .dropdown-menu button:hover { background: var(--blue-50); color: var(--blue-600); }
.dropdown-menu hr { border: 0; border-top: 1px solid var(--border); margin: 6px 0; }
.burger { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1.5px solid var(--border); background: #fff; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.burger span { width: 20px; height: 2px; background: var(--navy-800); border-radius: 2px; transition: .25s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* transparent header on top of the hero */
body.has-hero .site-header { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; backdrop-filter: none; }
body.has-hero .site-header:not(.scrolled) .nav a { color: rgba(255,255,255,.85); }
body.has-hero .site-header:not(.scrolled) .nav a:hover, body.has-hero .site-header:not(.scrolled) .nav a.active { color: #fff; }
body.has-hero .site-header:not(.scrolled) .brand .logo-dark { display: none; }
body.has-hero .site-header:not(.scrolled) .brand .logo-light { display: block; }
body.has-hero .site-header:not(.scrolled) .lang-switch { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.1); backdrop-filter: blur(6px); }
body.has-hero .site-header:not(.scrolled) .lang-ico { color: rgba(255,255,255,.75); }
body.has-hero .site-header:not(.scrolled) .lang-switch a { color: rgba(255,255,255,.85); }
body.has-hero .site-header:not(.scrolled) .lang-switch a:hover { background: rgba(255,255,255,.14); color: #fff; }
body.has-hero .site-header:not(.scrolled) .lang-switch a.active { background: #fff; color: var(--navy-900); }
body.has-hero .site-header:not(.scrolled) .nav-login { color: #fff; }
body.has-hero .site-header:not(.scrolled) .nav-login:hover { background: rgba(255,255,255,.12); }
body.has-hero .site-header:not(.scrolled) .burger { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35); }
body.has-hero .site-header:not(.scrolled) .burger span { background: #fff; }
body.has-hero .site-header.scrolled { background: rgba(255,255,255,.94); border-color: var(--border); backdrop-filter: blur(12px); box-shadow: 0 6px 24px rgba(6,26,74,.06); }
@media (max-width: 1024px) {
  .nav { display: none; position: absolute; top: 78px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 20px 20px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); gap: 4px; }
  .nav.open { display: flex; }
  .nav a { color: var(--text-2) !important; padding: 12px 14px; border-radius: 10px; }
  .nav a.strong { background: var(--gold-400); color: var(--navy-900) !important; text-align: center; }
  .nav-mobile-only { display: contents; }
  .burger { display: inline-flex; }
  .nav-actions .btn-register, .nav-actions .nav-login { display: none; }
}

/* ---------- Hero (full screen photo) ---------- */
.hero-full { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--navy-900); }
.hero-full .bg { position: absolute; inset: -4% 0 0; background-position: center 30%; background-size: cover; transform: scale(1.08); animation: kenburns 12s var(--ease) both; will-change: transform; }
.hero-full .tint { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,26,74,.55) 0%, rgba(11,42,114,.35) 45%, rgba(6,26,74,.92) 100%), rgba(16,53,127,.35); }
.hero-full::before { z-index: 1; }
.hero-full .container { position: relative; z-index: 2; padding-top: 150px; padding-bottom: 56px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; }
.hero-copy { max-width: 900px; }
.hero-kicker { font-size: clamp(1.3rem, 2.6vw, 2.1rem); font-weight: 500; margin-bottom: 14px; color: #fff; }
.hero-title { color: #fff; font-size: clamp(3.2rem, 11vw, 9.4rem); margin: 0 0 24px; line-height: .92; }
.hero-title span { display: block; }
[dir="rtl"] .hero-title { font-size: clamp(2.6rem, 8.2vw, 6.8rem); line-height: 1.22; font-weight: 800; }
[dir="rtl"] .hero-kicker { font-weight: 400; }
[dir="rtl"] .stack-card h3 { line-height: 1.3; }
[dir="rtl"] .stack-ghost h2 { line-height: 1.3; }
[dir="rtl"] .outcome h3 { line-height: 1.3; }
[dir="rtl"] .mission { line-height: 1.6; font-weight: 500; }
[dir="rtl"] .pillar h3 { font-size: 1.5rem; }
[dir="rtl"] .pillar .ghost { font-size: 9rem; top: 10px; }
[dir="rtl"] .stats-row .stat b { font-family: var(--font-latin); }
.hero-sub { font-size: 1.1rem; color: rgba(255,255,255,.88); max-width: 540px; margin-bottom: 26px; }
.hero-full .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-hint { margin-top: 18px; font-size: .82rem; color: rgba(255,255,255,.7); letter-spacing: .04em; }
.scroll-cue { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; color: rgba(255,255,255,.75); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; padding-bottom: 8px; }
.scroll-cue .ico-svg { animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }
@media (max-width: 760px) { .hero-full .container { grid-template-columns: 1fr; padding-top: 120px; } .scroll-cue { display: none; } .hero-full { min-height: 92svh; } }

/* ---------- Stacked cards (sticky scroll) ---------- */
.stack-section { position: relative; height: calc(100vh * (var(--n) + 1)); background: var(--navy-900); color: #fff; }
.stack-bg { position: sticky; top: 0; height: 100vh; background-size: cover; background-position: center; opacity: .35; filter: saturate(.6); }
.stack-section::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,26,74,.6), rgba(11,42,114,.65)); pointer-events: none; }
.stack-sticky { position: sticky; top: 0; height: 100vh; margin-top: -100vh; overflow: hidden; z-index: 2; }
.stack-ghost { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 20px; }
.stack-ghost h2 { color: #fff; font-size: clamp(2.2rem, 6.5vw, 5.6rem); max-width: 1000px; }
.stack-card { position: absolute; left: 50%; top: 50%; width: min(560px, 90vw); background: #fff; color: var(--navy-900); padding: 40px 44px 36px; border-radius: 8px; box-shadow: 0 30px 70px rgba(0,0,0,.35); transform: translate(-50%, 120vh); opacity: 0; will-change: transform; text-align: start; }
.stack-card h3 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.1; font-weight: 800; margin-bottom: 14px; }
.stack-card h3 em { font-style: normal; color: var(--blue-600); display: block; }
.stack-card p { color: var(--text-2); margin: 0; font-size: 1rem; }
.stack-quote { position: absolute; top: 24px; inset-inline-end: 28px; color: var(--blue-100); }
.stack-num { position: absolute; bottom: 22px; inset-inline-end: 30px; font-weight: 800; color: var(--gold-500); letter-spacing: .1em; }
.stack-section.static { height: auto; padding: 90px 0; }
.stack-section.static .stack-bg { position: absolute; inset: 0; height: auto; }
.stack-section.static .stack-sticky { position: relative; height: auto; margin-top: 0; overflow: visible; display: grid; gap: 22px; padding: 0 20px; max-width: 640px; margin-inline: auto; }
.stack-section.static .stack-ghost { position: static; margin-bottom: 20px; }
.stack-section.static .stack-card { position: relative; left: auto; right: auto; top: auto; transform: rotate(var(--r)) !important; opacity: 1 !important; width: 100%; padding: 28px; }
@media (max-width: 820px) { .stack-section { height: auto; padding: 80px 0; } .stack-section .stack-bg { position: absolute; inset: 0; height: auto; } .stack-sticky { position: relative; height: auto; margin-top: 0; overflow: visible; display: grid; gap: 22px; padding: 0 20px; } .stack-ghost { position: static; margin-bottom: 20px; } .stack-card { position: relative; left: auto; right: auto; top: auto; transform: rotate(var(--r)) !important; opacity: 1 !important; width: 100%; padding: 28px; } }

/* ---------- Pillars (ghost numerals) ---------- */
.pillars-section { background: #fff; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); }
.pillar { position: relative; padding: 90px 24px 36px; text-align: center; border-inline-start: 1px solid var(--border); overflow: hidden; }
.pillar:first-child { border-inline-start: 0; }
.pillar .ghost { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); font-size: 12rem; font-weight: 800; line-height: 1; color: var(--blue-50); z-index: 0; user-select: none; }
.pillar h3 { position: relative; font-size: 1.7rem; margin: 0 0 14px; }
.pillar .rule { display: block; width: 72px; height: 2px; background: var(--gold-500); margin: 0 auto 16px; position: relative; }
.pillar p { position: relative; color: var(--text-2); margin: 0; font-size: .95rem; }
@media (max-width: 900px) { .pillars { grid-template-columns: repeat(2, 1fr); } .pillar { border-top: 1px solid var(--border); } .pillar:nth-child(odd) { border-inline-start: 0; } }
@media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } .pillar { border-inline-start: 0; padding-top: 70px; } }

/* ---------- Outcomes (3 columns + ghost word) ---------- */
.outcomes-section { position: relative; overflow: hidden; background: var(--bg); padding: 110px 0 100px; }
.ghost-word { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); font-size: clamp(8rem, 26vw, 24rem); font-weight: 800; letter-spacing: .02em; color: #fff; text-shadow: 0 0 0 #fff; white-space: nowrap; user-select: none; pointer-events: none; -webkit-text-stroke: 0; opacity: 1; z-index: 0; }
.outcomes-section .container { position: relative; z-index: 1; }
.outcomes { display: grid; grid-template-columns: repeat(3, 1fr); }
.outcome { padding: 28px 32px 40px; border-inline-start: 1px solid var(--border-2); background: rgba(255,255,255,.55); backdrop-filter: blur(4px); }
.outcome:first-child { border-inline-start: 0; }
.outcome-ico { display: inline-flex; color: var(--navy-900); margin-bottom: 70px; }
.outcome h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.08; margin-bottom: 50px; }
.outcome h3 em { font-style: normal; color: var(--blue-600); }
.outcome p { color: var(--text-2); margin: 0; font-size: .95rem; }
.outcomes-cta { text-align: center; margin-top: 80px; }
.outcomes-cta h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.outcomes-cta p { color: var(--muted); max-width: 560px; margin: 0 auto 22px; }
@media (max-width: 860px) { .outcomes { grid-template-columns: 1fr; } .outcome { border-inline-start: 0; border-top: 1px solid var(--border-2); } .outcome-ico, .outcome h3 { margin-bottom: 20px; } .ghost-word { font-size: 8rem; } }

/* ---------- Process ---------- */
.process-section { background: #fff; }
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.process .step { padding: 28px 26px 10px; border-top: 2px solid var(--border); position: relative; }
.process .step::before { content: ''; position: absolute; top: -2px; left: 0; width: 0; height: 2px; background: var(--gold-500); transition: width 1s var(--ease); transition-delay: var(--d, 0s); }
.process .step.in::before { width: 100%; }
.process .num { display: block; color: var(--gold-600); font-weight: 800; letter-spacing: .12em; font-size: .85rem; margin-bottom: 36px; }
.process h3 { font-size: 1.45rem; line-height: 1.15; margin-bottom: 12px; }
.process p { color: var(--text-2); margin: 0; font-size: .95rem; }
@media (max-width: 900px) { .process { grid-template-columns: repeat(2, 1fr); gap: 20px 0; } }
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }

/* ---------- Domains marquee ---------- */
.domains-section { padding: 90px 0; background: var(--bg); overflow: hidden; }
.marquee { overflow: hidden; padding: 8px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 48s linear infinite; }
.marquee.reverse .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
[dir="rtl"] .marquee-track { animation-name: marquee-rtl; }
@keyframes marquee-rtl { to { transform: translateX(50%); } }
.domain-pill { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px 12px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--border); color: var(--navy-900); font-weight: 600; font-size: .95rem; white-space: nowrap; transition: .2s; }
.domain-pill .ico-svg { color: var(--blue-600); }
.domain-pill small { font-size: .72rem; font-weight: 700; color: var(--muted); background: var(--bg); border-radius: 999px; padding: 2px 8px; }
.domain-pill:hover { background: var(--navy-800); color: #fff; border-color: var(--navy-800); transform: translateY(-2px); }
.domain-pill:hover .ico-svg { color: var(--gold-400); }
.domain-pill:hover small { background: rgba(255,255,255,.15); color: #fff; }

/* ---------- Mission (word reveal) + stats ---------- */
.mission-section { position: relative; background: var(--navy-900); color: #fff; padding: 120px 0; overflow: hidden; }
.mission-photo { position: absolute; inset: 0 0 0 45%; background-size: cover; background-position: center; opacity: .28; filter: saturate(.5); mask-image: linear-gradient(90deg, transparent, #000 35%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%); }
[dir="rtl"] .mission-photo { inset: 0 45% 0 0; mask-image: linear-gradient(270deg, transparent, #000 35%); -webkit-mask-image: linear-gradient(270deg, transparent, #000 35%); }
.mission-section .container { position: relative; z-index: 1; display: grid; grid-template-columns: 6px 1fr; gap: 36px; }
.mission-bar { background: var(--gold-400); border-radius: 3px; }
.mission { color: #fff; font-size: clamp(1.5rem, 3.4vw, 2.9rem); max-width: 900px; margin: 0; }
.mission span { opacity: .2; transition: opacity .35s; }
.mission span.on { opacity: 1; }
.stats-row { grid-column: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 60px; max-width: 900px; }
.stats-row .stat b { display: block; font-size: 2.6rem; font-weight: 800; color: var(--gold-400); line-height: 1; }
.stats-row .stat span { font-size: .85rem; color: rgba(255,255,255,.75); }
@media (max-width: 760px) { .mission-section { padding: 80px 0; } .stats-row { grid-template-columns: repeat(2, 1fr); } .mission-photo { inset: 0; mask-image: none; -webkit-mask-image: none; opacity: .18; } }

/* ---------- News (editorial list) ---------- */
.news-section { background: #fff; }
.news-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
.news-feature { display: block; color: var(--text); }
.news-feature .visual { display: block; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 9; background: var(--navy-900); box-shadow: var(--shadow-lg); }
.news-feature img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.news-feature:hover img { transform: scale(1.04); }
.news-feature-body { padding: 22px 6px 0; }
.news-feature-body h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); margin: 12px 0 8px; line-height: 1.25; transition: .2s; }
.news-feature:hover h3 { color: var(--blue-600); }
.news-feature-body .meta { font-size: .8rem; color: var(--muted); }
.news-list { display: flex; flex-direction: column; }
.news-row { display: grid; grid-template-columns: 128px 1fr auto; gap: 20px; align-items: center; padding: 20px 0; border-top: 1px solid var(--border); color: var(--text); transition: .2s; }
.news-row:last-child { border-bottom: 1px solid var(--border); }
.news-row img { width: 128px; height: 72px; object-fit: cover; border-radius: 12px; background: var(--navy-900); }
.news-row .meta { font-size: .78rem; color: var(--muted); }
.news-row h4 { font-size: 1.05rem; margin: 4px 0 4px; line-height: 1.3; }
.news-row p { margin: 0; font-size: .86rem; color: var(--muted); }
.news-arrow { color: var(--navy-900); opacity: .4; transition: .2s; }
.news-row:hover h4 { color: var(--blue-600); }
.news-row:hover .news-arrow { opacity: 1; transform: translate(2px, -2px); }
@media (max-width: 900px) { .news-layout { grid-template-columns: 1fr; } .news-row { grid-template-columns: 96px 1fr auto; } .news-row img { width: 96px; height: 54px; } }

/* ---------- FAQ ---------- */
.faq-section { background: var(--bg); }
.faq { border-top: 1px solid var(--border-2); }
.faq:last-child { border-bottom: 1px solid var(--border-2); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 4px; background: none; border: 0; font: inherit; font-weight: 700; font-size: 1.08rem; color: var(--navy-900); cursor: pointer; text-align: start; }
.faq-q .ico-svg { transition: transform .3s var(--ease); color: var(--blue-600); }
.faq.open .faq-q .ico-svg { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { color: var(--text-2); margin: 0 0 22px; padding-inline-end: 40px; }
.faq.open .faq-a { grid-template-rows: 1fr; }

/* ---------- Center CTA ---------- */
.center-cta { background: var(--navy-800); color: #fff; padding: 100px 0; text-align: center; overflow: hidden; }
.center-cta .container { position: relative; z-index: 1; max-width: 820px; }
.center-cta h2 { color: #fff; }
.center-cta p { color: rgba(255,255,255,.8); max-width: 600px; margin: 0 auto 26px; }

/* ---------- Page head ---------- */
.page-head { background: var(--navy-900); color: #fff; padding: 64px 0 52px; position: relative; overflow: hidden; }
.page-head::after { content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(254,192,19,.22), transparent 65%); top: -260px; inset-inline-end: -160px; }
.page-head h1 { color: #fff; margin-bottom: 8px; }
.page-head p { color: rgba(255,255,255,.78); margin: 0; max-width: 720px; }
.page-head .container { position: relative; z-index: 1; }
.breadcrumb { font-size: .8rem; color: rgba(255,255,255,.65); margin-bottom: 14px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,.85); }
.article-head h1 { font-size: clamp(1.6rem, 3.2vw, 2.6rem); max-width: 900px; line-height: 1.2; }
.article-head { padding-bottom: 110px; }

/* ---------- Article page ---------- */
.article-hero { max-width: 980px; margin: -90px auto 0; position: relative; z-index: 2; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--navy-900); }
.article-hero { aspect-ratio: 16 / 9; }
.article-hero img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .article-hero { margin-top: -50px; } }
.article-body { max-width: 760px; margin: 0 auto; font-size: 1.05rem; line-height: 1.85; color: var(--text-2); }
.article-body h2, .article-body h3 { margin-top: 1.6em; color: var(--navy-900); }
.article-body ul, .article-body ol { padding-inline-start: 1.4em; }
.article-body blockquote { border-inline-start: 4px solid var(--gold-400); padding: 8px 18px; margin: 1.2em 0; background: var(--gold-100); border-radius: 8px; }
.article-meta { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; color: var(--muted); font-size: .88rem; margin: 26px auto; max-width: 760px; }
.article-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.share-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.filters-row { gap: 16px; }
.search-inline { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--border); border-radius: 999px; padding: 4px 8px 4px 14px; background: #fff; color: var(--muted); }
.search-inline input { border: 0; padding: 7px 4px; min-width: 200px; background: none; }
.search-inline input:focus { outline: none; box-shadow: none; }

/* ---------- Article card ---------- */
.article-card { overflow: hidden; display: flex; flex-direction: column; }
.article-card .thumb { aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy-800); position: relative; display: block; }
.article-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.article-card:hover .thumb img { transform: scale(1.05); }
.article-card .meta .badge { background: var(--gold-400); color: var(--navy-900); }
.article-card .card-body { display: flex; flex-direction: column; flex: 1; }
.article-card .meta { font-size: .8rem; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.article-card p { color: var(--text-2); font-size: .92rem; flex: 1; }
.read-more { font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--navy-900); display: inline-flex; align-items: center; gap: 4px; }
[dir="rtl"] .read-more { text-transform: none; letter-spacing: 0; font-size: .9rem; }
.read-more:hover { color: var(--blue-600); }
.article-featured { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; overflow: hidden; }
.article-featured .thumb { aspect-ratio: 16 / 9; display: block; overflow: hidden; background: var(--navy-900); }
.article-featured .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.article-featured:hover .thumb img { transform: scale(1.04); }
.article-featured .card-body { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.article-featured h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
@media (max-width: 860px) { .article-featured { grid-template-columns: 1fr; } }

/* ---------- Center card ---------- */
.center-card { display: flex; flex-direction: column; overflow: hidden; }
.center-card .cover { height: 130px; background: var(--navy-800); position: relative; }
.center-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.center-card .cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,26,74,.1), rgba(6,26,74,.55)); }
.center-card .cover-badge { position: absolute; top: 10px; inset-inline-end: 10px; z-index: 2; }
.center-card .logo { width: 64px; height: 64px; border-radius: 16px; background: #fff; border: 3px solid #fff; box-shadow: var(--shadow-sm); position: absolute; bottom: -28px; inset-inline-start: 18px; display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--navy-800); font-size: 1.1rem; overflow: hidden; z-index: 2; }
.center-card .logo img { width: 100%; height: 100%; object-fit: cover; }
.center-card .card-body { padding-top: 38px; flex: 1; display: flex; flex-direction: column; }
.loc { color: var(--muted); font-size: .86rem; display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.center-card .chips { margin-top: auto; padding-top: 12px; }
.center-card .chips .chip { font-size: .76rem; padding: 4px 10px; }
.verified-ico { color: var(--blue-600); display: inline-flex; vertical-align: middle; }
.score-ring { --p: 0; width: 64px; height: 64px; border-radius: 50%; background: conic-gradient(var(--gold-500) calc(var(--p) * 1%), #E8EEF7 0); display: inline-flex; align-items: center; justify-content: center; position: relative; flex-shrink: 0; }
.score-ring::before { content: ''; position: absolute; inset: 6px; border-radius: 50%; background: #fff; }
.score-ring b { position: relative; font-size: .95rem; color: var(--navy-900); }
.match-card { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 20px; align-items: start; }
.match-card .reasons { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.match-card .reasons .badge { font-weight: 600; }
.match-card .loc { margin-bottom: 0; }
@media (max-width: 640px) { .match-card { grid-template-columns: 1fr; } }
.fav-ico .ico-svg { fill: none; transition: .2s; }
.is-active .fav-ico .ico-svg { fill: currentColor; }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 18px; }
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--text-2); }
label .req { color: var(--danger); }
.input, select, textarea, input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="number"], input[type="url"], input[type="date"], input[type="datetime-local"], input[type="search"], input[type="file"] { width: 100%; padding: 12px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--border); background: #fff; font: inherit; color: var(--text); transition: .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy-800); box-shadow: 0 0 0 4px rgba(11,42,114,.12); }
textarea { min-height: 120px; resize: vertical; }
.input-error { border-color: var(--danger) !important; }
.error-text { color: var(--danger); font-size: .82rem; margin-top: 5px; display: block; }
.help { color: var(--muted); font-size: .82rem; margin-top: 5px; display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 640px) { .form-row, .form-row-3 { grid-template-columns: 1fr; } }
.check { display: flex; align-items: center; gap: 10px; font-weight: 500; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--blue-600); }
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.switch input { appearance: none; width: 42px; height: 24px; border-radius: 999px; background: #CBD5E1; position: relative; transition: .2s; cursor: pointer; }
.switch input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: .2s; }
.switch input:checked { background: var(--blue-600); }
.switch input:checked::after { transform: translateX(18px); }
.search-bar { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr auto; gap: 10px; padding: 14px; }
@media (max-width: 900px) { .search-bar { grid-template-columns: 1fr 1fr; } .search-bar .btn { grid-column: span 2; } }
.radio-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.radio-card { position: relative; }
.radio-card input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio-card span { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--border); font-weight: 600; font-size: .92rem; text-align: center; transition: .15s; }
.radio-card input:checked + span { border-color: var(--navy-800); background: var(--navy-800); color: #fff; }
@media (max-width: 520px) { .radio-cards { grid-template-columns: 1fr; } }

/* ---------- Toasts (flash) ---------- */
.flash-stack { position: fixed; top: 96px; inset-inline-end: 24px; z-index: 100; display: flex; flex-direction: column; gap: 12px; width: min(400px, calc(100vw - 32px)); pointer-events: none; }
.toast { --toast-accent: var(--blue-600); position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: #fff; color: var(--navy-800); border-radius: 22px; border-end-start-radius: 6px; box-shadow: 0 18px 44px rgba(6,26,74,.16), 0 2px 6px rgba(6,26,74,.06); font-size: .92rem; font-weight: 600; line-height: 1.4; overflow: hidden; pointer-events: auto; animation: toast-in .5s cubic-bezier(.2,.9,.3,1.2) both; }
.toast-ico { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--blue-50); color: var(--toast-accent); }
.toast-text { flex: 1; }
.toast-close { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; border: 0; background: transparent; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: .15s; }
.toast-close:hover { background: var(--blue-50); color: var(--navy-800); }
.toast-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--toast-accent); opacity: .45; transform-origin: left; animation: toast-bar 6s linear forwards; }
[dir="rtl"] .toast-bar { transform-origin: right; }
.toast:hover .toast-bar { animation-play-state: paused; }
.toast-error { --toast-accent: var(--danger); }
.toast-error .toast-ico { background: var(--danger-bg); }
.toast-warning { --toast-accent: var(--warning); }
.toast-warning .toast-ico { background: var(--warning-bg); }
.toast.is-leaving { animation: toast-out .35s ease-in forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-14px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateY(-10px) scale(.97); } }
@keyframes toast-bar { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { .toast, .toast.is-leaving, .toast-bar { animation: none; } }
/* inline alerts (forms, admin) */
.alert { padding: 13px 16px; border-radius: var(--radius-sm); font-size: .92rem; font-weight: 500; display: flex; gap: 10px; align-items: flex-start; border: 1px solid transparent; background: #fff; }
.alert-success { background: var(--success-bg); color: var(--success); border-color: #bbf7d0; }
.alert-error { background: var(--danger-bg); color: var(--danger); border-color: #fecaca; }
.alert-info { background: var(--info-bg); color: var(--info); border-color: #bae6fd; }
.alert-warning { background: var(--warning-bg); color: var(--warning); border-color: #fde68a; }
.alert button { margin-inline-start: auto; background: none; border: 0; font-size: 1.1rem; cursor: pointer; color: inherit; opacity: .7; line-height: 1; }
.notice { padding: 14px 18px; border-radius: var(--radius-sm); background: var(--gold-100); color: var(--warning); border: 1px solid #fde68a; font-size: .92rem; display: flex; gap: 8px; align-items: center; }
.notice-info { background: var(--blue-50); color: var(--navy-800); border-color: var(--blue-100); }

/* ---------- Center page ---------- */
.center-hero { position: relative; }
.center-cover { height: 320px; background: var(--navy-900); position: relative; }
.center-cover img { width: 100%; height: 100%; object-fit: cover; }
.center-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,26,74,.15) 30%, rgba(6,26,74,.75)); }
.center-identity { display: flex; gap: 22px; align-items: center; margin-top: -70px; position: relative; z-index: 2; flex-wrap: wrap; background: #fff; border-radius: var(--radius-lg); padding: 22px 26px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.center-identity .logo { width: 110px; height: 110px; border-radius: 22px; background: var(--blue-50); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 2rem; color: var(--navy-800); overflow: hidden; flex-shrink: 0; }
.center-identity .logo img { width: 100%; height: 100%; object-fit: cover; }
.center-identity .titles { flex: 1; min-width: 240px; }
.center-identity .titles h1 { margin-bottom: 2px; }
.center-identity h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 4px; }
.center-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; margin-top: 30px; }
@media (max-width: 960px) { .center-layout { grid-template-columns: 1fr; } .center-cover { height: 220px; } }
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: .93rem; align-items: center; }
.info-list li:last-child { border-bottom: 0; }
.info-list .ico { width: 34px; height: 34px; border-radius: 10px; background: var(--blue-50); color: var(--navy-800); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.program { padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius-sm); display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: start; background: #fff; }
.program + .program { margin-top: 10px; }
.program .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.program .price { font-weight: 800; color: var(--navy-800); white-space: nowrap; }

/* ---------- Pagination / empty ---------- */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 1.5px solid var(--border); background: #fff; color: var(--text-2); font-weight: 600; font-size: .9rem; }
.pagination a:hover { border-color: var(--navy-800); color: var(--navy-800); }
.pagination .current { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.empty { text-align: center; padding: 56px 24px; }
.empty .ico { width: 84px; height: 84px; border-radius: 26px; background: var(--blue-50); color: var(--navy-800); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.empty h3 { margin-bottom: 8px; }
.empty p { color: var(--muted); max-width: 440px; margin: 0 auto 20px; }

/* ---------- Multi-step forms (registration / onboarding) ---------- */
.reg-card { padding: 32px 36px 36px; }
.reg-head { margin-bottom: 28px; }
.reg-stepper { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; }
.reg-stepper li { display: flex; flex-direction: column; gap: 2px; font-size: .74rem; color: var(--muted); font-weight: 600; letter-spacing: .04em; opacity: .6; transition: .2s; }
.reg-stepper li b { font-size: .8rem; color: var(--navy-900); }
.reg-stepper li.active, .reg-stepper li.done { opacity: 1; }
.reg-stepper li.active { color: var(--navy-900); }
.reg-stepper li.active b { color: var(--gold-600); }
.reg-stepper li.done b { color: var(--blue-600); }
.reg-stepper li.muted-dot { opacity: .25; }
.reg-progress { height: 4px; background: var(--border); border-radius: 4px; overflow: hidden; }
.reg-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-400), var(--gold-600)); border-radius: 4px; transition: width .5s var(--ease); }
.reg-title { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 6px; }
.step-error { margin: 16px 0 0; padding: 12px 14px; border-radius: 10px; background: var(--danger-bg); color: var(--danger); font-size: .9rem; font-weight: 600; }
.reg-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.onb-step { display: none; }
.onb-step.active { display: block; animation: stepin .45s var(--ease); }
@keyframes stepin { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.domain-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.domain-check { position: relative; }
.domain-check input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.domain-check span { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--border); background: #fff; font-size: .9rem; font-weight: 500; line-height: 1.3; transition: .15s; height: 100%; }
.domain-check span i { font-style: normal; display: inline-flex; color: var(--blue-600); flex-shrink: 0; }
.domain-check span:hover { border-color: var(--navy-800); }
.domain-check input:checked + span { border-color: var(--navy-800); background: var(--navy-800); color: #fff; }
.domain-check input:checked + span i { color: var(--gold-400); }
@media (max-width: 640px) { .reg-card { padding: 22px 18px 26px; } .reg-stepper li span { display: none; } }

/* ---------- Auth layout ---------- */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 1.2fr; }
.auth-side { position: relative; background: var(--navy-900); color: #fff; overflow: hidden; }
.auth-photo { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .5; filter: saturate(.7); }
.auth-side::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,26,74,.5), rgba(6,26,74,.92)); }
.auth-side-inner { position: relative; z-index: 2; min-height: 100vh; padding: 44px; display: flex; flex-direction: column; justify-content: space-between; }
.auth-side h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 3.2rem); max-width: 560px; }
.auth-side .brand img { height: 52px; }
.auth-steps-list { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 14px; }
.auth-steps-list li { display: flex; gap: 14px; align-items: center; color: rgba(255,255,255,.85); }
.auth-steps-list li b { color: var(--gold-400); font-weight: 800; letter-spacing: .1em; }
.auth-side-foot { opacity: .7; }
.auth-side-foot a { color: #fff; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 40px 24px; background: var(--bg); }
.auth-card { width: 100%; max-width: 460px; }
.auth-card-wide { max-width: 760px; }
.auth-card .brand-mobile { display: none; margin-bottom: 24px; }
@media (max-width: 960px) { .auth-wrap { grid-template-columns: 1fr; } .auth-side { display: none; } .auth-card .brand-mobile { display: block; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.8); padding: 72px 0 24px; overflow: hidden; }
.foot-top { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
.foot-brand img { height: 46px; margin-bottom: 16px; }
.foot-brand p { max-width: 420px; font-size: .92rem; color: rgba(255,255,255,.7); }
.foot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
[dir="rtl"] .site-footer h4 { letter-spacing: 0; font-size: 1rem; }
.site-footer a { color: rgba(255,255,255,.75); display: flex; align-items: center; gap: 8px; padding: 5px 0; }
.site-footer a:hover { color: var(--gold-400); }
.foot-word { font-size: clamp(4rem, 15vw, 14rem); font-weight: 800; letter-spacing: .02em; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.14); text-align: center; margin: 60px 0 20px; user-select: none; white-space: nowrap; }
.site-footer .bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; }
@media (max-width: 800px) { .foot-top { grid-template-columns: 1fr; } }

/* ---------- CTA band (legacy) ---------- */
.cta-band { background: var(--gold-400); border-radius: var(--radius-lg); padding: 44px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; color: var(--navy-900); }
.cta-band h2 { color: var(--navy-900); margin-bottom: 6px; }
.cta-band p { margin: 0; color: rgba(6,26,74,.8); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th { text-align: start; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--border); font-weight: 700; }
.table td { padding: 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: #FAFCFF; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.tabs a { padding: 10px 14px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; font-size: .92rem; }
.tabs a.active, .tabs a:hover { color: var(--blue-600); border-color: var(--blue-600); }
.tabs .count { background: #EEF2F7; border-radius: 999px; padding: 1px 8px; font-size: .75rem; margin-inline-start: 6px; }
.skeleton { background: linear-gradient(90deg, #eef2f7 25%, #f7f9fc 50%, #eef2f7 75%); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 8px; }
@keyframes sk { to { background-position: -200% 0; } }
.prose p { margin-bottom: .9em; }

/* About page */
.about-page .about-intro { font-size: 1.12rem; color: var(--text-2); margin: 28px 0 26px; }
.about-sides { margin-bottom: 36px; }
.about-sides h3 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; margin-bottom: 12px; }
.about-sides .ico-svg { color: var(--blue-600); }
.about-sides ul { margin: 0; padding-inline-start: 18px; color: var(--text-2); }
.about-sides li { margin: 4px 0; }
.about-page h2 { font-size: 1.4rem; margin-top: 28px; }
.about-cta { margin-top: 36px; background: var(--blue-50); border-color: var(--blue-100); }
.about-cta h3 { margin-bottom: 6px; }
.about-cta .flex { margin-top: 14px; }
.domain-pill small { white-space: nowrap; }
