/* ============================================================
   VARIATION B — Operational / Tech-Forward
   Dark, kinetic, engineering-product UI.
============================================================ */
:root {
  --bg: #06080F;
  --surface: #0E1320;
  --surface-2: #131A2C;
  --line: rgba(255,255,255,.08);
  --line-2: rgba(255,255,255,.14);
  --text: #E5E7EB;
  --muted: #8A93A6;
  --muted-2: #5C6479;
  --brand: #3C6EFF;
  --brand-2: #2B57D8;
  --gold: #E0B254;
  --gold-2: #F4C76C;
  --cyan: #7FE3FF;
  --green: #6CE9A6;
  --radius: 6px;
  --sans: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  background-image:
    radial-gradient(1200px 600px at 80% -10%, rgba(60,110,255,.12), transparent 60%),
    radial-gradient(1000px 500px at 0% 110%, rgba(224,178,84,.07), transparent 60%);
  background-attachment: fixed;
}

/* ---------- Typography ---------- */
.display {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.035em;
  font-size: clamp(44px, 7vw, 104px);
  line-height: 0.95;
}
.display .accent { color: var(--gold); }
.display .ghost { color: rgba(255,255,255,.55); }

h2.section-title {
  font-family: var(--sans); font-weight: 600; letter-spacing: -0.025em;
  font-size: clamp(32px, 4.6vw, 60px); line-height: 1.02;
}
h3 { font-weight: 600; font-size: clamp(20px, 1.6vw, 24px); letter-spacing: -.01em; }
.eyebrow { color: var(--gold); font-family: var(--mono); font-size: 11px; letter-spacing: .25em; text-transform: uppercase; }
.lede { color: var(--muted); font-size: 17px; line-height: 1.6; }

.mono { font-family: var(--mono); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 8px;
  font-weight: 500; font-size: 14px;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease, color .25s ease;
}
.btn-primary { background: var(--gold); color: #0B0F1A; }
.btn-primary:hover { background: var(--gold-2); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(224,178,84,.25); }
.btn-ghost { color: var(--text); border: 1px solid var(--line-2); background: rgba(255,255,255,.02); }
.btn-ghost:hover { background: rgba(255,255,255,.06); transform: translateY(-2px); border-color: rgba(255,255,255,.3); }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 16px 0; transition: background .35s ease, padding .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled { background: rgba(6,8,15,.78); backdrop-filter: saturate(1.3) blur(16px); border-bottom-color: var(--line); padding: 10px 0; }
.header .row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 36px; width: auto; object-fit: contain; }
.brand .tag { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; color: var(--muted); padding: 4px 8px; border: 1px solid var(--line); border-radius: 4px; }
.nav { display: flex; gap: 6px; align-items: center; padding: 6px; background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 999px; }
.nav a { font-size: 13px; color: var(--muted); padding: 8px 14px; border-radius: 999px; transition: color .25s ease, background .25s ease; }
.nav a:hover { color: var(--text); background: rgba(255,255,255,.06); }
.nav-cta { font-size: 13px; padding: 10px 18px; background: var(--gold); color: #0B0F1A; border-radius: 999px; font-weight: 500; transition: background .25s ease, transform .25s ease; }
.nav-cta:hover { background: var(--gold-2); transform: translateY(-1px); }
.nav-toggle { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 8px; }
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--text); position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; right: 0; height: 1.5px; background: var(--text); }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
@media (max-width: 980px) {
  /* Hide the standalone CTA — it lives inside the nav drawer on mobile */
  .header > .container-wide > .nav-cta,
  .header .row > .nav-cta { display: none; }

  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: calc(100% + 10px); left: 16px; right: 16px;
    flex-direction: column; align-items: stretch; padding: 12px;
    border-radius: 12px; background: var(--surface); border: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: all .3s ease; box-shadow: 0 24px 60px rgba(0,0,0,.5);
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 12px 14px; border-radius: 8px; }
  .nav a:hover { background: rgba(255,255,255,.04); }
  /* CTA inside the drawer */
  .nav .nav-cta-mobile {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin-top: 8px; padding: 14px; border-radius: 10px;
    background: var(--gold); color: #0B0F1A; font-weight: 600; font-size: 14px;
    transition: background .25s ease;
  }
  .nav .nav-cta-mobile:hover { background: var(--gold-2); padding: 14px; }
}
@media (max-width: 480px) {
  /* Hide the PLATFORM_v01 tag on very small screens */
  .brand .tag { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding-top: 140px; padding-bottom: 80px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; transform: scale(1.06); animation: heroIn 16s ease-out forwards; }
@keyframes heroIn { to { transform: scale(1); } }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(6,8,15,.6) 0%, rgba(6,8,15,.45) 50%, rgba(6,8,15,.95) 100%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 1px, transparent 1px 80px);
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .15em; color: var(--muted);
  padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255,255,255,.03);
  margin-bottom: 28px;
}
.hero-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(108,233,166,.5); animation: pulseDot 2s infinite; --pulse: rgba(108,233,166,.5); }
.hero h1 { color: var(--text); }
.hero-sub { color: var(--muted); max-width: 60ch; margin-top: 28px; font-size: 18px; line-height: 1.55; }
.hero-actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-ticker {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 0;
  background: linear-gradient(180deg, transparent, rgba(6,8,15,.85)); border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 12px; letter-spacing: .15em; color: var(--muted);
}
.hero-ticker .marquee-track { gap: 56px; }
.hero-ticker .marquee-track span { display: inline-flex; align-items: center; gap: 12px; }
.hero-ticker .marquee-track span::before { content: ''; width: 4px; height: 4px; background: var(--gold); border-radius: 50%; }

/* ---------- Trust Logo Strip ---------- */
.trust-strip { padding-block: 52px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.trust-strip .label { font-family: var(--mono); font-size: 11px; letter-spacing: .25em; color: var(--muted); text-transform: uppercase; text-align: center; margin-bottom: 28px; }
.trust-strip .label .gold { color: var(--gold); }
.trust-strip .marquee { mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.trust-strip .marquee-track { gap: 12px; align-items: center; }
.trust-strip .marquee-track .logo-pill {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.01) 40%, rgba(255,255,255,0)),
    var(--surface);
  border-radius: var(--radius); border: 1px solid var(--line);
  height: 72px; min-width: 110px;
  position: relative; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, background .3s ease;
  flex-shrink: 0;
}
/* top highlight line — matches glass variant */
.trust-strip .marquee-track .logo-pill::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
}
/* gold corner glow on hover */
.trust-strip .marquee-track .logo-pill::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(140px 100px at 100% 0%, rgba(224,178,84,.18), transparent 70%);
  opacity: 0; transition: opacity .35s ease;
}
.trust-strip .marquee-track .logo-pill:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  background: var(--surface-2);
  box-shadow: 0 14px 38px rgba(0,0,0,.45), 0 0 0 1px rgba(224,178,84,.15);
}
.trust-strip .marquee-track .logo-pill:hover::after { opacity: 1; }
.trust-strip .marquee-track .logo-pill img {
  max-height: 36px; width: auto; max-width: 120px; object-fit: contain;
  filter: brightness(1.05) saturate(.95);
  transition: transform .35s ease;
}
.trust-strip .marquee-track .logo-pill:hover img { transform: scale(1.05); }

/* ---------- Sections ---------- */
.section { position: relative; }
.section-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 56px;
  padding-bottom: 24px; border-bottom: 1px solid var(--line);
}
.section-head .index { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; color: var(--muted); }
@media (max-width: 880px) { .section-head { grid-template-columns: 1fr; gap: 18px; } }

/* ---------- Capabilities (modules) ---------- */
.modules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.module {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; position: relative; overflow: hidden;
  transition: transform .35s ease, border-color .35s ease, background .35s ease;
}
.module::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0); transform-origin: left; transition: transform .5s ease;
}
.module:hover { transform: translateY(-4px); border-color: var(--line-2); background: var(--surface-2); }
.module:hover::before { transform: scaleX(1); }
.module .ix { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; color: var(--gold); margin-bottom: 18px; }
.module .ico { width: 36px; height: 36px; color: var(--cyan); margin-bottom: 18px; }
.module h3 { margin-bottom: 10px; }
.module p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.module ul { margin-top: 16px; display: grid; gap: 6px; }
.module li { font-family: var(--mono); font-size: 12px; color: var(--muted-2); padding-left: 14px; position: relative; }
.module li::before { content: '+'; position: absolute; left: 0; color: var(--gold); }
@media (max-width: 1080px) { .modules { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .modules { grid-template-columns: 1fr; } }

/* ---------- Bento grid (systems) ---------- */
.bento {
  display: grid; gap: 12px;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
}
.bento-card {
  position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface);
}
.bento-card img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: transform .8s ease, opacity .4s ease; }
.bento-card:hover img { transform: scale(1.05); opacity: 1; }
.bento-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(6,8,15,.92) 100%);
  pointer-events: none;
}
.bento-card .meta {
  position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2;
}
.bento-card .meta .ix { font-family: var(--mono); font-size: 10px; letter-spacing: .25em; color: var(--gold); }
.bento-card .meta h4 { font-weight: 600; margin-top: 4px; font-size: 17px; }
.bento-card .meta .tags { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.bento-card .meta .tag { font-family: var(--mono); font-size: 10px; padding: 3px 8px; border: 1px solid var(--line-2); border-radius: 4px; color: var(--muted); background: rgba(255,255,255,.03); }

.bento .b-1 { grid-column: span 2; grid-row: span 2; }
.bento .b-2 { grid-column: span 2; }
.bento .b-3 { grid-column: span 2; }
.bento .b-4, .bento .b-5 { grid-column: span 1; grid-row: span 2; }
.bento .b-6, .bento .b-7, .bento .b-8 { grid-column: span 1; }

@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(3, 1fr); }
  .bento .b-1, .bento .b-2, .bento .b-3 { grid-column: span 3; }
  .bento .b-4, .bento .b-5 { grid-column: span 1; grid-row: auto; }
  .bento .b-6, .bento .b-7, .bento .b-8 { grid-column: span 1; }
}
@media (max-width: 720px)  {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .bento .b-1, .bento .b-2, .bento .b-3 { grid-column: span 2; }
  .bento .b-4, .bento .b-5, .bento .b-6, .bento .b-7, .bento .b-8 { grid-column: span 1; }
}

/* ---------- Supply Flow ---------- */
.flow {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px;
  background: linear-gradient(180deg, rgba(60,110,255,.03), transparent);
  padding: 40px 24px; border: 1px solid var(--line); border-radius: var(--radius);
  position: relative;
}
.flow::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .25;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 24px);
  border-radius: var(--radius);
}
.flow-step {
  position: relative; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .35s ease, transform .35s ease, box-shadow .35s ease;
}
.flow-step.is-active { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 14px 40px rgba(224,178,84,.18); transform: translateY(-3px); }
.flow-step .ix { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; color: var(--gold); }
.flow-step h4 { margin-top: 8px; font-size: 18px; font-weight: 600; }
.flow-step p { color: var(--muted); font-size: 13px; margin-top: 8px; line-height: 1.55; }
.flow-step:not(:last-child)::after {
  content: '→'; position: absolute; right: -18px; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); color: var(--gold); font-size: 18px;
}
@media (max-width: 980px) { .flow { grid-template-columns: repeat(2, 1fr); } .flow-step:not(:last-child)::after { display: none; } }
@media (max-width: 540px) { .flow { grid-template-columns: 1fr; } }

/* ---------- Sectors with tabs ---------- */
.tabs { display: grid; grid-template-columns: 320px 1fr; gap: 32px; margin-top: 32px; }
.tablist { display: flex; flex-direction: column; gap: 8px; }
.tab {
  text-align: left; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); color: var(--muted); transition: all .3s ease;
  display: flex; align-items: center; gap: 14px;
}
.tab .ix { font-family: var(--mono); font-size: 11px; color: var(--gold); letter-spacing: .15em; }
.tab .name { font-weight: 500; color: var(--text); }
.tab:hover { border-color: var(--line-2); }
.tab.is-active { border-color: var(--gold); background: var(--surface-2); }
.tab.is-active::after { content: '→'; margin-left: auto; color: var(--gold); }

.panels { position: relative; }
.panel {
  display: none; grid-template-columns: 1fr; gap: 22px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.panel.is-active { display: grid; animation: panelIn .5s ease; }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.panel .img { aspect-ratio: 16/9; overflow: hidden; }
.panel .img img { width: 100%; height: 100%; object-fit: cover; }
.panel .copy { padding: 24px 28px 28px; }
.panel h3 { margin-bottom: 8px; font-size: 22px; }
.panel ul { margin-top: 14px; display: grid; gap: 8px; }
.panel li { color: var(--muted); font-size: 14px; padding-left: 18px; position: relative; }
.panel li::before { content: '▸'; position: absolute; left: 0; color: var(--gold); }
@media (max-width: 880px) { .tabs { grid-template-columns: 1fr; } }

/* ---------- Network ---------- */
.network-wrap {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center;
  padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.network-map { position: relative; aspect-ratio: 16/10; border-radius: var(--radius); overflow: hidden; background: #0A0E18; }
.network-map img { width: 100%; height: 100%; object-fit: cover; opacity: .35; mix-blend-mode: screen; }
.network-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.npin { position: absolute; transform: translate(-50%, -50%); }
.npin .core { width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(224,178,84,.5); animation: pulseDot 2.4s infinite; --pulse: rgba(224,178,84,.45); }
.npin .label { font-family: var(--mono); font-size: 10px; color: var(--text); margin-top: 6px; letter-spacing: .2em; }
.npin .coord { font-family: var(--mono); font-size: 9px; color: var(--muted); }
.npin.uae  { left: 60%; top: 56%; }
.npin.eu   { left: 49%; top: 36%; }
.npin.asia { left: 76%; top: 52%; }
.network-stats { display: grid; gap: 18px; }
.netstat { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.netstat .l { color: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: .15em; text-transform: uppercase; }
.netstat .n { font-size: clamp(28px, 3vw, 40px); font-weight: 600; color: var(--gold); letter-spacing: -.02em; }
@media (max-width: 980px) { .network-wrap { grid-template-columns: 1fr; } }

/* ---------- Project capability strip ---------- */
.proj-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
.proj-strip .copy { padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.proj-strip .copy ul { display: grid; gap: 12px; margin-top: 22px; }
.proj-strip .copy li { padding: 14px 16px; border: 1px solid var(--line); border-radius: 6px; font-family: var(--mono); font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 12px; transition: all .3s ease; }
.proj-strip .copy li:hover { border-color: var(--gold); color: var(--text); transform: translateX(4px); }
.proj-strip .copy li::before { content: '▸'; color: var(--gold); }
.proj-strip .visual { aspect-ratio: 4/5; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); position: relative; }
.proj-strip .visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.proj-strip:hover .visual img { transform: scale(1.05); }
.proj-strip .visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(6,8,15,.85)); }
@media (max-width: 880px) {
  .proj-strip { grid-template-columns: 1fr; gap: 20px; }
  /* Switch portrait image to landscape on mobile — stops it taking over the screen */
  .proj-strip .visual { aspect-ratio: 16/9; }
  /* Disable the horizontal reveal slide — causes overflow bleed on narrow screens */
  .proj-strip .reveal-left,
  .proj-strip .reveal-right { transform: translateY(24px); }
  .proj-strip .reveal-left.is-in,
  .proj-strip .reveal-right.is-in { transform: none; }
}

/* ---------- Advantage ---------- */
.adv-grid-b { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.adv-cell {
  padding: 26px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  position: relative; overflow: hidden; transition: all .35s ease;
}
.adv-cell::before {
  content: ''; position: absolute; inset: 0; background: radial-gradient(180px 180px at 100% 0%, rgba(224,178,84,.16), transparent 70%);
  opacity: 0; transition: opacity .35s ease;
}
.adv-cell:hover { border-color: var(--line-2); transform: translateY(-4px); }
.adv-cell:hover::before { opacity: 1; }
.adv-cell .ix { font-family: var(--mono); font-size: 11px; color: var(--gold); letter-spacing: .2em; }
.adv-cell .ico { width: 32px; height: 32px; color: var(--cyan); margin: 14px 0; }
.adv-cell h4 { font-size: 17px; }
.adv-cell p { color: var(--muted); font-size: 13px; line-height: 1.6; margin-top: 8px; }
@media (max-width: 980px) { .adv-grid-b { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .adv-grid-b { grid-template-columns: 1fr; } }

/* ---------- Partners ---------- */
.partners-b .cat-row { padding: 28px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; }
.partners-b .cat-row h3 { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.partners-b .cat-row .grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
/* Base logo tile — shared shell, variant overrides below */
.partners-b .logo {
  height: 96px; display: flex; align-items: center; justify-content: center; padding: 16px 22px;
  border-radius: var(--radius);
  position: relative; overflow: hidden;
  transition: transform .35s ease, border-color .35s ease, background .35s ease, box-shadow .35s ease;
}
.partners-b .logo img {
  max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain;
  transition: filter .35s ease, transform .35s ease, opacity .35s ease;
}
.partners-b .logo .name {
  position: absolute; left: 6px; right: 6px; bottom: 6px; text-align: center;
  font-family: var(--mono); font-size: 9px; letter-spacing: .12em; color: var(--muted-2);
  opacity: 0; transform: translateY(4px); transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
}
.partners-b .logo:hover .name { opacity: .7; transform: none; }
.partners-b .logo:hover img { transform: scale(1.05); }

/* ===== VARIANT 1 — Glass tiles (DEFAULT) =====
   Subtle navy-tinted glass surface, top highlight, gold-accent hover. */
.partners-b[data-variant="glass"] .logo,
.partners-b:not([data-variant]) .logo {
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.01) 40%, rgba(255,255,255,0)),
    var(--surface);
  border: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.partners-b[data-variant="glass"] .logo::before,
.partners-b:not([data-variant]) .logo::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
}
.partners-b[data-variant="glass"] .logo img,
.partners-b:not([data-variant]) .logo img { filter: brightness(1.05) saturate(.95); }
.partners-b[data-variant="glass"] .logo::after,
.partners-b:not([data-variant]) .logo::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(180px 120px at 100% 0%, rgba(224,178,84,.18), transparent 70%);
  opacity: 0; transition: opacity .35s ease;
}
.partners-b[data-variant="glass"] .logo:hover,
.partners-b:not([data-variant]) .logo:hover {
  border-color: var(--gold); background: var(--surface-2); transform: translateY(-3px);
  box-shadow: 0 14px 38px rgba(0,0,0,.45), 0 0 0 1px rgba(224,178,84,.15);
}
.partners-b[data-variant="glass"] .logo:hover::after,
.partners-b:not([data-variant]) .logo:hover::after { opacity: 1; }

/* ===== VARIANT 2 — Borderless monochrome wall =====
   No tiles. Logos as soft white silhouettes at rest, full color on hover. */
.partners-b[data-variant="mono"] .logo {
  background: transparent; border: 0; padding: 12px 18px; height: 80px;
}
.partners-b[data-variant="mono"] .logo img {
  filter: brightness(0) invert(1) opacity(.55);
}
.partners-b[data-variant="mono"] .logo:hover img {
  filter: none; transform: scale(1.06);
}
.partners-b[data-variant="mono"] .logo:hover { transform: none; }
.partners-b[data-variant="mono"] .grid { gap: 18px 28px; }

/* ===== VARIANT 3 — Outlined cards =====
   Hairline-bordered, no fill, original colors. Minimalist credentials wall. */
.partners-b[data-variant="outline"] .logo {
  background: transparent; border: 1px solid var(--line);
}
.partners-b[data-variant="outline"] .logo img { filter: saturate(.85) brightness(1.1); }
.partners-b[data-variant="outline"] .logo:hover {
  border-color: var(--gold); background: rgba(224,178,84,.04);
  transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,.4);
}
.partners-b[data-variant="outline"] .logo:hover img { filter: saturate(1) brightness(1.15); }
@media (max-width: 980px) { .partners-b .cat-row { grid-template-columns: 1fr; gap: 14px; } .partners-b .cat-row .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px) { .partners-b .cat-row .grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Final CTA ---------- */
.cta-final-b { position: relative; padding-block: clamp(80px, 11vw, 140px); overflow: hidden; }
.cta-final-b .bg { position: absolute; inset: 0; z-index: -2; }
.cta-final-b .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .4; }
.cta-final-b::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(800px 400px at 50% 60%, rgba(60,110,255,.18), transparent 70%),
    linear-gradient(180deg, rgba(6,8,15,.65), rgba(6,8,15,.95));
}
.cta-final-b .panel-card {
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.01));
  border: 1px solid var(--line-2); border-radius: 12px; padding: clamp(32px, 5vw, 64px);
  text-align: center; max-width: 880px; margin: 0 auto;
  position: relative; overflow: hidden;
}
.cta-final-b .panel-card::before {
  content: ''; position: absolute; inset: -1px; border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), transparent 30%, transparent 70%, var(--brand)); z-index: -1;
}
.cta-final-b .mono-tag { font-family: var(--mono); font-size: 11px; letter-spacing: .25em; color: var(--gold); }
.cta-final-b h2 { margin-top: 14px; font-size: clamp(36px, 5vw, 64px); font-weight: 600; letter-spacing: -.025em; line-height: 1.05; }
.cta-final-b p { color: var(--muted); margin-top: 18px; max-width: 56ch; margin-inline: auto; font-size: 17px; }
.cta-final-b .actions { margin-top: 32px; display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ---------- Footer ---------- */
.footer-b { border-top: 1px solid var(--line); padding-block: 56px 32px; }
.footer-b .row { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; }
.footer-b h5 { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer-b ul { display: grid; gap: 8px; }
.footer-b a { color: var(--muted); font-size: 14px; transition: color .2s ease; }
.footer-b a:hover { color: var(--text); }
.footer-b .brand-block p { color: var(--muted); margin-top: 16px; max-width: 38ch; font-size: 14px; line-height: 1.6; }
.footer-b .meta { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; margin-top: 40px; border-top: 1px solid var(--line); color: var(--muted-2); font-family: var(--mono); font-size: 11px; letter-spacing: .15em; }
.footer-b .status { display: inline-flex; align-items: center; gap: 8px; color: var(--green); }
.footer-b .status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(108,233,166,.5); animation: pulseDot 2s infinite; --pulse: rgba(108,233,166,.5); }
@media (max-width: 880px) { .footer-b .row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-b .row { grid-template-columns: 1fr; } .footer-b .meta { flex-direction: column; gap: 14px; align-items: flex-start; } }
