/* ============================================================
   Opportunity Universe — design system.
   Cosmos theme: deep-navy hero, aurora accents, light content.
   RTL-aware (Arabic): logical properties + [dir=rtl] tweaks.
   ============================================================ */

:root {
  --ink: #101935;          /* deep navy — brand dark */
  --ink-2: #1b2547;
  --paper: #f7f8fc;        /* page background */
  --card: #ffffff;
  --line: #e7eaf3;
  --text: #232b42;
  --muted: #6b7390;
  --brand: #4f46e5;        /* indigo */
  --brand-2: #8b5cf6;      /* violet */
  --cyan: #22d3ee;
  --gold: #f5b301;
  --gold-ink: #7a5200;
  --green: #10b981;
  --red: #e34d5b;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(16,25,53,.06), 0 8px 24px -12px rgba(16,25,53,.18);
  --shadow-lg: 0 2px 4px rgba(16,25,53,.08), 0 24px 48px -16px rgba(16,25,53,.28);
  --grad: linear-gradient(100deg, var(--brand), var(--brand-2));
  --font-display: "Sora", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  font-size: 15.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
.wrap { max-width: 1180px; margin: 0 auto; padding-inline: 22px; }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 12px; border: 0;
  font: 600 14.5px var(--font-body); cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 20px -8px rgba(79,70,229,.55); }
.btn-primary:hover { box-shadow: 0 10px 26px -8px rgba(79,70,229,.7); transform: translateY(-1px); }
.btn-gold { background: linear-gradient(100deg, #f5b301, #f59e0b); color: #241a00; box-shadow: 0 8px 20px -8px rgba(245,179,1,.6); }
.btn-gold:hover { transform: translateY(-1px); }
.btn-ghost { background: transparent; color: inherit; border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.btn-lg { padding: 14px 30px; font-size: 16px; border-radius: 14px; }

/* --------------------------------------------------------------- nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(16,25,53,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #e8ebf7;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-in { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.brand { font: 700 19px var(--font-display); color: inherit; letter-spacing: .2px; display: inline-flex; align-items: center; gap: 8px; }
.brand-mark {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px;
  background: var(--grad); color: #fff; font-size: 15px;
  box-shadow: 0 4px 14px -4px rgba(139,92,246,.8);
}
.nav-links { display: flex; align-items: center; gap: 4px; margin-inline-start: 8px; flex: 1; }
.nav-item { color: #cfd5ea; padding: 10px 12px; border-radius: 10px; font-weight: 500; font-size: 14.5px; }
.nav-item:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.nav .btn-primary { padding: 9px 18px; }
.caret { font-size: 10px; opacity: .7; }
.lang-code { font-size: 12.5px; font-weight: 600; letter-spacing: .5px; }

.has-drop { position: relative; }
.drop {
  position: absolute; top: calc(100% + 6px); inset-inline-start: 0;
  background: #fff; color: var(--text); border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: 10px; min-width: 210px; display: none; z-index: 60;
  border: 1px solid var(--line);
}
.has-drop:hover .drop, .has-drop:focus-within .drop, .has-drop.open .drop { display: block; }
.drop a { display: block; padding: 8px 12px; border-radius: 9px; color: var(--text); font-size: 14px; }
.drop a:hover { background: var(--paper); color: var(--brand); }
.drop a.on { color: var(--brand); font-weight: 600; }
.drop-h { font: 700 11.5px var(--font-body); text-transform: uppercase; letter-spacing: .8px; color: var(--muted); padding: 6px 12px 4px; }
.drop-grid { grid-template-columns: repeat(3, 1fr); min-width: 640px; gap: 6px; padding: 14px; }
.has-drop:hover .drop-grid, .has-drop:focus-within .drop-grid, .has-drop.open .drop-grid { display: grid; }
.drop-more { color: var(--brand) !important; font-weight: 600; }
.drop-lang { min-width: 190px; max-height: 70vh; overflow: auto; inset-inline-start: auto; inset-inline-end: 0; }
.nav-burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: #e8ebf7; margin: 5px 0; border-radius: 2px; transition: .2s; }

/* -------------------------------------------------------------- hero */
.hero {
  position: relative; color: #eef0fb; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 15% -10%, rgba(79,70,229,.55), transparent 60%),
    radial-gradient(900px 480px at 85% 0%, rgba(34,211,238,.28), transparent 55%),
    radial-gradient(700px 500px at 60% 110%, rgba(139,92,246,.4), transparent 60%),
    linear-gradient(180deg, #0d142e, #131c3f 70%, #17204a);
}
.hero::before {  /* starfield */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 30%, #fff, transparent 55%),
    radial-gradient(1.2px 1.2px at 28% 68%, #fff, transparent 55%),
    radial-gradient(1.6px 1.6px at 42% 18%, #fff, transparent 55%),
    radial-gradient(1.1px 1.1px at 57% 52%, #fff, transparent 55%),
    radial-gradient(1.5px 1.5px at 68% 25%, #fff, transparent 55%),
    radial-gradient(1.2px 1.2px at 78% 65%, #fff, transparent 55%),
    radial-gradient(1.7px 1.7px at 88% 38%, #fff, transparent 55%),
    radial-gradient(1.2px 1.2px at 8% 82%, #fff, transparent 55%),
    radial-gradient(1.3px 1.3px at 94% 80%, #fff, transparent 55%),
    radial-gradient(1.2px 1.2px at 35% 88%, #fff, transparent 55%);
}
.hero-in { position: relative; padding: 72px 22px 88px; text-align: center; }
.hero h1 {
  color: #fff; font-size: clamp(30px, 5vw, 52px); font-weight: 800;
  letter-spacing: -.5px; max-width: 900px; margin: 0 auto 18px;
}
.hero h1 .hl { background: linear-gradient(100deg, #9ba5ff, #c4b5fd 55%, #67e8f9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: clamp(15px, 2vw, 18px); color: #c3cae6; max-width: 720px; margin: 0 auto 34px; }
.hero-geo {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16);
  padding: 7px 16px; border-radius: 999px; font-size: 13.5px; color: #dfe4f7;
}
.hero-geo a { color: #a5b4fc; font-weight: 600; }

/* big search */
.searchbar {
  display: flex; gap: 8px; max-width: 780px; margin: 0 auto;
  background: #fff; border-radius: 16px; padding: 8px;
  box-shadow: 0 24px 60px -20px rgba(5,10,30,.65);
}
.searchbar input[type=search] {
  flex: 1; border: 0; outline: 0; font: 500 16px var(--font-body);
  padding: 10px 14px; color: var(--ink); background: transparent; min-width: 0;
}
.searchbar select {
  border: 0; outline: 0; background: var(--paper); border-radius: 10px;
  font: 500 14px var(--font-body); color: var(--text); padding: 0 12px; max-width: 170px;
}
.hero-quick { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.qchip {
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.14);
  color: #dfe4f7; padding: 7px 15px; border-radius: 999px; font-size: 13.5px; font-weight: 500;
  transition: .15s;
}
.qchip:hover { background: rgba(255,255,255,.18); color: #fff; }

/* counters row */
.hero-stats { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 46px; }
.stat {
  min-width: 170px; padding: 18px 26px; border-radius: 18px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(6px);
}
.stat b { display: block; font: 800 30px var(--font-display); color: #fff; letter-spacing: -.5px; }
.stat b .plus { color: var(--gold); }
.stat span { font-size: 13px; color: #b9c1e0; }

/* ---------------------------------------------------------- sections */
.sec { padding: 56px 0; }
.sec-alt { background: #fff; border-block: 1px solid var(--line); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 26px; }
.sec-title { font-size: clamp(22px, 3vw, 30px); font-weight: 700; letter-spacing: -.3px; margin: 0; }
.sec-sub { color: var(--muted); margin: 6px 0 0; max-width: 640px; }
.sec-more { font-weight: 600; white-space: nowrap; }

/* --------------------------------------------------------------- cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 20px; }
.card {
  position: relative; background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
  border: 1px solid rgba(231,234,243,.7);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-media { position: relative; display: block; aspect-ratio: 16/9; background: linear-gradient(120deg, #1b2547, #4f46e5); }
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-type {
  position: absolute; bottom: 10px; inset-inline-start: 10px;
  background: rgba(13,18,40,.78); color: #fff; backdrop-filter: blur(4px);
  padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .2px;
}
.chip-promoted {
  position: absolute; top: 10px; inset-inline-start: 10px;
  background: var(--gold); color: #241a00 !important;
}
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.card-title { font-size: 15.5px; font-weight: 600; margin: 0; line-height: 1.35; }
.card-title a { color: var(--ink); }
.card-title a:hover { color: var(--brand); }
.card-meta { margin-top: auto; display: flex; flex-direction: column; gap: 3px; font-size: 12.5px; color: var(--muted); }
.card-org { font-weight: 600; color: #4a5372; }
.card-save {
  position: absolute; top: 10px; inset-inline-end: 10px;
  width: 34px; height: 34px; border-radius: 10px; border: 0; cursor: pointer;
  background: rgba(13,18,40,.55); color: #fff; display: grid; place-items: center;
  backdrop-filter: blur(4px); transition: .15s;
}
.card-save:hover { background: rgba(13,18,40,.8); }
.card-save.on { color: var(--gold); }
.card-promoted { border: 1.5px solid var(--gold); }

/* chips */
.chip {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11.5px; font-weight: 600; padding: 3.5px 10px; border-radius: 999px;
}
.chip-gold { background: #fff4d6; color: var(--gold-ink); }
.chip-part { background: #e8f7f0; color: #0b6e4f; }
.chip-ok { background: #eef1fb; color: #3d4a86; }
.chip-warn { background: #fff0dd; color: #92500a; }
.chip-hot { background: #fde8ea; color: #ab2432; }
.chip-closed { background: #eceef4; color: #8a90a6; text-decoration: line-through; }
.chip-muted { background: #eceef4; color: #6b7390; }

/* ------------------------------------------------------------ marquee */
.marquee-band { padding: 30px 0 8px; }
.marquee-label { text-align: center; font-size: 13px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; font-weight: 600; }
.marquee { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 46px; width: max-content; animation: marquee 55s linear infinite; padding-block: 6px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.m-org { font: 600 16px var(--font-display); color: #9aa1bd; white-space: nowrap; display: inline-flex; align-items: center; gap: 46px; }
.m-org::after { content: "✦"; color: #cdd3e8; font-size: 11px; }
@keyframes marquee { to { transform: translateX(-50%); } }
[dir=rtl] @keyframes marquee { to { transform: translateX(50%); } }

/* ------------------------------------------------------------- quotes */
.quotes { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
.quote {
  scroll-snap-align: start; min-width: min(420px, 86vw);
  background: #fff; border-radius: 18px; padding: 26px 28px; box-shadow: var(--shadow);
  border: 1px solid rgba(231,234,243,.7); position: relative;
}
.quote::before { content: "“"; position: absolute; top: 2px; inset-inline-start: 18px; font: 800 64px var(--font-display); color: #e3e0ff; line-height: 1; }
.quote p { position: relative; font-size: 15.5px; margin: 12px 0 14px; color: var(--ink-2); }
.quote cite { font-style: normal; font-weight: 700; color: var(--ink); font-size: 13.5px; display: block; }
.quote small { color: var(--muted); }

/* -------------------------------------------------------- comparison */
.compare { background: linear-gradient(180deg, #0d142e, #16204a); color: #dfe4f7; }
.compare .sec-title, .compare h2, .compare h3 { color: #fff; }
.compare .sec-sub { color: #aab3d6; }
.cmp-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; }
.cmp-chart { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 22px; }
.cmp-chart svg { width: 100%; height: auto; display: block; }
.cmp-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 14px; font-size: 13px; }
.cmp-legend span { display: inline-flex; align-items: center; gap: 7px; }
.cmp-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.cmp-rows { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.cmp-row {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  padding: 14px 18px; border-radius: 14px;
}
.cmp-row img { width: 30px; height: 30px; border-radius: 8px; background: #fff; padding: 3px; }
.cmp-row .n { font-weight: 700; color: #fff; }
.cmp-row .v { margin-inline-start: auto; font: 800 22px var(--font-display); color: #fff; }
.cmp-row.is-us { border-color: rgba(245,179,1,.55); background: rgba(245,179,1,.1); }
.cmp-row.is-us .v { color: var(--gold); }
.cmp-note { font-size: 12.5px; color: #8f98bf; margin-top: 14px; }

/* ------------------------------------------------------------ nl band */
.nl-band {
  background:
    radial-gradient(700px 300px at 85% 20%, rgba(34,211,238,.25), transparent 60%),
    linear-gradient(100deg, #4f46e5, #7c3aed);
  color: #fff; padding: 52px 0;
}
.nl-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 34px; align-items: center; }
.nl-band h2 { color: #fff; font-size: clamp(22px, 3vw, 30px); margin: 0 0 8px; }
.nl-band p { color: #ddd9ff; margin: 0; }
.nl-form { display: flex; flex-wrap: wrap; gap: 10px; position: relative; }
.nl-form input[type=email] {
  flex: 1; min-width: 220px; border: 0; border-radius: 12px; padding: 13px 18px;
  font: 500 15px var(--font-body); outline: 0;
}
.nl-note { flex-basis: 100%; font-size: 12.5px; color: #cfc9ff; }
.nl-done { flex-basis: 100%; background: rgba(255,255,255,.15); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.hp { position: absolute; inset-inline-start: -9999px; opacity: 0; height: 0; width: 0; }

/* ------------------------------------------------------------ filters */
.filters {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 14px; box-shadow: var(--shadow);
}
.filters select, .filters input[type=search], .filters input[type=text] {
  border: 1.5px solid var(--line); border-radius: 10px; padding: 9px 12px;
  font: 500 14px var(--font-body); color: var(--text); background: #fff; outline: 0;
}
.filters select:focus, .filters input:focus { border-color: var(--brand); }
.filters .grow { flex: 1; min-width: 180px; }
.fchips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.fchip {
  background: #fff; border: 1.5px solid var(--line); color: var(--text);
  padding: 7px 15px; border-radius: 999px; font-size: 13.5px; font-weight: 500;
}
.fchip:hover { border-color: var(--brand); color: var(--brand); }
.fchip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.results-meta { color: var(--muted); font-size: 14px; margin: 18px 2px; }

/* ------------------------------------------------------------- pager */
.pager { display: flex; gap: 6px; justify-content: center; margin: 36px 0 8px; flex-wrap: wrap; }
.pg {
  min-width: 38px; height: 38px; display: inline-grid; place-items: center;
  border-radius: 10px; background: #fff; border: 1.5px solid var(--line);
  color: var(--text); font-weight: 600; font-size: 14px; padding-inline: 8px;
}
.pg:hover { border-color: var(--brand); color: var(--brand); }
.pg.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.pg-gap { border: 0; background: none; }

/* ------------------------------------------------------------ detail */
.opp-hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.opp-hero .bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .35; filter: blur(2px); transform: scale(1.05); }
.opp-hero .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,18,40,.4), rgba(13,18,40,.92)); }
.opp-hero-in { position: relative; padding: 54px 22px 44px; }
.opp-hero h1 { color: #fff; font-size: clamp(24px, 3.6vw, 40px); max-width: 900px; margin: 14px 0 12px; }
.opp-hero .meta { display: flex; flex-wrap: wrap; gap: 10px 22px; color: #c3cae6; font-size: 14.5px; }
.opp-layout { display: grid; grid-template-columns: 1fr 340px; gap: 36px; padding-block: 40px; }
.opp-main h2 { font-size: 20px; margin-top: 34px; }
.opp-main h2:first-child { margin-top: 0; }
.opp-desc { font-size: 16px; color: var(--ink-2); }
.side-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 22px; box-shadow: var(--shadow); margin-bottom: 20px;
}
.side-card .btn { width: 100%; justify-content: center; }
.side-rows { display: flex; flex-direction: column; gap: 12px; margin: 16px 0; }
.side-row { display: flex; gap: 10px; font-size: 14px; }
.side-row b { min-width: 108px; color: var(--muted); font-weight: 600; }
.tagrow { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.deadline-big { text-align: center; padding: 14px; border-radius: 14px; background: var(--paper); margin-bottom: 14px; }
.deadline-big b { display: block; font: 800 26px var(--font-display); color: var(--ink); }
.deadline-big span { font-size: 13px; color: var(--muted); }
.src-list { font-size: 13.5px; color: var(--muted); }
.src-list a { display: block; padding: 4px 0; }

/* prose (blog, static pages) */
.prose { max-width: 780px; margin: 0 auto; font-size: 16.5px; }
.prose h1 { font-size: clamp(26px, 4vw, 38px); }
.prose h2 { font-size: 24px; margin-top: 40px; }
.prose h3 { font-size: 19px; margin-top: 28px; }
.prose img { border-radius: 14px; }
.prose blockquote { border-inline-start: 4px solid var(--brand); margin-inline: 0; padding: 6px 22px; color: var(--ink-2); background: #fff; border-radius: 0 12px 12px 0; }
.prose li { margin-bottom: 6px; }
.prose .post-meta { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.prose figure.cover { margin: 26px 0; }
.prose figure.cover figcaption { font-size: 12px; color: var(--muted); margin-top: 6px; }

/* forms */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 32px; box-shadow: var(--shadow); max-width: 640px; margin: 0 auto;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
label.f { display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 6px; color: var(--ink-2); }
input.f, select.f, textarea.f {
  width: 100%; border: 1.5px solid var(--line); border-radius: 11px; padding: 11px 14px;
  font: 500 14.5px var(--font-body); color: var(--text); outline: 0; background: #fff;
}
input.f:focus, select.f:focus, textarea.f:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(79,70,229,.12); }
textarea.f { resize: vertical; min-height: 120px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.check input { margin-top: 3px; }
.subject-boxes { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.subject-boxes .check { background: var(--paper); padding: 9px 12px; border-radius: 10px; }
.form-err { background: #fde8ea; color: #ab2432; border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; font-size: 14px; }
.form-ok { background: #e8f7f0; color: #0b6e4f; border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; font-size: 14px; }

/* flashes */
.flashes { margin-top: 18px; }
.flash { border-radius: 12px; padding: 12px 18px; margin-bottom: 10px; font-weight: 500; font-size: 14.5px; }
.flash-success { background: #e8f7f0; color: #0b6e4f; }
.flash-error { background: #fde8ea; color: #ab2432; }
.flash-info { background: #eef1fb; color: #3d4a86; }

/* ------------------------------------------------------------ calendar */
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.cal-nav { display: flex; gap: 8px; align-items: center; }
.cal-month { font: 700 22px var(--font-display); color: var(--ink); }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.cal-dow { text-align: center; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); padding: 6px 0; }
.cal-day { background: #fff; border: 1px solid var(--line); border-radius: 12px; min-height: 96px; padding: 8px; font-size: 12px; }
.cal-day.out { opacity: .38; }
.cal-day.today { border-color: var(--brand); box-shadow: 0 0 0 2px rgba(79,70,229,.18); }
.cal-num { font-weight: 700; color: var(--muted); font-size: 12px; }
.cal-ev { display: block; margin-top: 4px; padding: 3px 7px; border-radius: 7px; background: #eef1fb; color: #3d4a86; font-weight: 600; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cal-ev.gold { background: #fff4d6; color: var(--gold-ink); }
.cal-more { color: var(--muted); font-size: 11px; margin-top: 3px; display: block; }
.cal-list { display: none; }

/* map */
#oppmap { height: 560px; border-radius: 18px; box-shadow: var(--shadow); z-index: 1; }
.map-note { color: var(--muted); font-size: 13.5px; margin-top: 12px; }

/* stories */
.story-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.story {
  background: #fff; border-radius: 18px; padding: 24px; box-shadow: var(--shadow);
  border-top: 4px solid var(--brand-2);
}
.story p { color: var(--ink-2); font-size: 14.5px; }
.story .who { font-weight: 700; color: var(--ink); margin-top: 12px; font-size: 14px; }
.story .what { color: var(--muted); font-size: 13px; }

/* blog cards */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.bpost { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s; border: 1px solid rgba(231,234,243,.7); }
.bpost:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.bpost img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.bpost .b { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.bpost h3 { font-size: 17px; margin: 0; }
.bpost h3 a { color: var(--ink); }
.bpost h3 a:hover { color: var(--brand); }
.bpost .ex { color: var(--muted); font-size: 14px; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bpost .d { margin-top: auto; font-size: 12.5px; color: var(--muted); }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; align-items: stretch; }
.plan { background: #fff; border-radius: 20px; padding: 30px; box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; flex-direction: column; }
.plan.hot { border: 2px solid var(--brand); position: relative; }
.plan .badge { position: absolute; top: -13px; inset-inline-start: 24px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 999px; }
.plan h3 { font-size: 20px; }
.plan .price { font: 800 38px var(--font-display); color: var(--ink); margin: 6px 0 2px; }
.plan .per { color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; }
.plan li { padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.plan li::before { content: "✓  "; color: var(--green); font-weight: 700; }
.plan .btn { margin-top: auto; justify-content: center; }

/* FAQ */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; overflow: hidden; }
.faq-item summary { cursor: pointer; font-weight: 600; padding: 17px 22px; list-style: none; display: flex; justify-content: space-between; gap: 14px; color: var(--ink); }
.faq-item summary::after { content: "+"; font: 700 20px var(--font-display); color: var(--brand); }
.faq-item[open] summary::after { content: "–"; }
.faq-item .a { padding: 0 22px 18px; color: var(--ink-2); font-size: 14.5px; }

/* misc */
.crumbs { padding-top: 20px; font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand); }
.crumb-sep { margin-inline: 7px; }
.empty { text-align: center; color: var(--muted); padding: 60px 20px; }
.empty b { display: block; font: 700 20px var(--font-display); color: var(--ink); margin-bottom: 6px; }
.badge-free {
  display: inline-flex; align-items: center; gap: 6px; background: #e8f7f0; color: #0b6e4f;
  font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 999px;
}

/* ------------------------------------------------------------- footer */
.footer { background: #0d142e; color: #aab3d6; margin-top: 70px; padding: 54px 0 26px; }
.footer .brand { color: #fff; margin-bottom: 12px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; }
.foot-brand p { font-size: 14px; max-width: 320px; }
.foot-h { font: 700 13px var(--font-body); text-transform: uppercase; letter-spacing: 1px; color: #7d87ad; margin-bottom: 14px; }
.foot-grid a { display: block; color: #c3cae6; padding: 4.5px 0; font-size: 14px; }
.foot-grid a:hover { color: #fff; }
.foot-social { display: flex; gap: 12px; margin-top: 16px; }
.foot-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.07); color: #dfe4f7; }
.foot-social a:hover { background: var(--brand); color: #fff; }
.foot-langs { display: flex; flex-wrap: wrap; gap: 4px 18px; border-top: 1px solid rgba(255,255,255,.09); margin-top: 38px; padding-top: 20px; }
.foot-langs a { color: #8f98bf; font-size: 13px; padding: 3px 0; }
.foot-langs a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13px; color: #7d87ad; margin-top: 20px; }

/* --------------------------------------------------------- responsive */
@media (max-width: 1020px) {
  .drop-grid { grid-template-columns: 1fr 1fr; min-width: 440px; }
  .cmp-grid, .nl-in { grid-template-columns: 1fr; }
  .opp-layout { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav-links {
    display: none; position: absolute; top: 100%; inset-inline: 0;
    background: #101935; flex-direction: column; align-items: stretch;
    padding: 12px 18px 20px; gap: 2px; border-bottom: 1px solid rgba(255,255,255,.1);
    max-height: calc(100vh - 64px); overflow: auto;
  }
  .nav-links.open { display: flex; }
  .nav-burger { display: block; }
  .drop { position: static; box-shadow: none; border: 0; background: rgba(255,255,255,.05); min-width: 0; }
  .drop a { color: #cfd5ea; }
  .drop a:hover { background: rgba(255,255,255,.08); color: #fff; }
  .drop-h { color: #7d87ad; }
  .drop-grid { grid-template-columns: 1fr; min-width: 0; }
  .has-drop:hover .drop { display: none; }
  .has-drop.open .drop { display: block; }
  .nav .btn-primary { display: none; }
  .searchbar { flex-wrap: wrap; }
  .searchbar select { max-width: none; flex: 1; padding-block: 10px; }
  .searchbar .btn { flex-basis: 100%; justify-content: center; }
  .cal { grid-template-columns: 1fr; }
  .cal-dow { display: none; }
  .cal-day { min-height: 0; }
  .cal-day.out { display: none; }
  .cal-day:not(.has-ev) { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-in { padding: 52px 18px 62px; }
  #oppmap { height: 420px; }
}
@media (max-width: 560px) {
  .foot-grid { grid-template-columns: 1fr; }
  .stat { min-width: 44%; }
}

/* RTL refinements */
[dir=rtl] .marquee-track { animation-name: marquee-rtl; }
@keyframes marquee-rtl { to { transform: translateX(50%); } }
[dir=rtl] .prose blockquote { border-radius: 12px 0 0 12px; }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .card:hover, .bpost:hover, .btn:hover { transform: none; }
  html { scroll-behavior: auto; }
}
