/* ==========================================================================
   108 · BIONOVA (بيونوفا التنظيمية — Bionova Advisory) — 1:1 Swiss Biotech & Regulatory Bento SPA
   Pure White #FFFFFF · Ink #2B2B2B · Solid Black #000000 Bento Cards (40px radius) · Sky Pill #93C0F9
   ========================================================================== */

:root {
  --bg: #FFFFFF;
  --fg: #2B2B2B;
  --fg-70: rgba(43, 43, 43, 0.7);
  --fg-10: rgba(43, 43, 43, 0.1);
  --sky: #93C0F9;
  --sans: 'IBM Plex Sans Arabic', 'Cairo', system-ui, sans-serif;
  --display: 'Cairo', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  letter-spacing: 0;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0;
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font-family: inherit; letter-spacing: 0; }
.bidi { unicode-bidi: isolate; font-family: var(--mono); }

.bn-sky-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 9999px;
  background: var(--sky);
  color: #0F172A;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s ease, transform 0.18s ease;
}

.bn-sky-pill:hover { transform: translateY(-1px); opacity: 0.92; }

/* ======================== HEADER ======================== */
.bn-header {
  max-width: 1360px;
  margin: 0 auto;
  padding: 20px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.bn-brand {
  font-family: var(--display);
  font-weight: 900;
  font-size: 20px;
  white-space: nowrap;
}

.bn-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-70);
  white-space: nowrap;
}

.bn-nav a:hover, .bn-nav a.active { color: var(--fg); }

/* ======================== ROUTES ======================== */
.bn-route { display: none; }
.bn-route.active { display: block; }

/* Home #/ 2-Column Split + 3-Card Black Bento */
.bn-home-grid {
  max-width: 1360px;
  margin: 0 auto;
  min-height: calc(100dvh - 138px);
  padding: 12px 36px 28px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 32px;
  align-items: stretch;
}

.bn-left-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
}

.bn-h1 {
  font-family: var(--display);
  font-size: clamp(2.3rem, 4.3vw, 3.85rem);
  font-weight: 500;
  line-height: 1.24;
}

/* Inline Pill Thumbnail & Outlined Play Pill inside H1 */
.bn-inline-thumb {
  display: inline-block;
  width: 92px;
  height: 46px;
  border-radius: 9999px;
  overflow: hidden;
  vertical-align: middle;
  margin: 0 6px;
  border: 1.5px solid var(--fg-10);
}

.bn-inline-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bn-inline-how {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 9999px;
  border: 2px solid var(--fg);
  background: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  vertical-align: middle;
  cursor: pointer;
}

.bn-partners {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 14px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 800;
  opacity: 0.78;
}

/* Right 1 + 2 Black Bento Grid */
.bn-bento {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bn-bento-card {
  position: relative;
  background: #000000;
  color: #FFFFFF;
  border-radius: 36px;
  padding: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bn-bento-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.56;
}

.bn-bento-top {
  flex: 1.15;
  min-height: 250px;
}

.bn-bento-subgrid {
  flex: 0.95;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  min-height: 220px;
}

.bn-z { position: relative; z-index: 2; }

.bn-white-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  color: #000000;
  font-size: 11.5px;
  font-weight: 700;
}

.bn-circle-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #FFFFFF;
  color: #000000;
  display: inline-grid;
  place-items: center;
  font-weight: 800;
}

/* Subpages */
.bn-sub {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 36px 80px;
}

.bn-cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 32px;
}

.bn-sub-card {
  border: 1px solid var(--fg-10);
  border-radius: 20px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bn-sub-card.highlight {
  border-color: var(--sky);
  background: rgba(147, 192, 249, 0.12);
}

.bn-input {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid rgba(43, 43, 43, 0.2);
}

.bn-footer {
  max-width: 1360px;
  margin: 0 auto;
  padding: 18px 36px 26px;
  border-top: 1px solid var(--fg-10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
}

@media (max-width: 720px) {
  .bn-nav { display: none; }
  .bn-home-grid,
  .bn-bento-subgrid,
  .bn-cards-3 {
    grid-template-columns: 1fr;
  }
}
