/* ============================================================
   B2B page — distinct visual identity for partner experience
   Layered on top of styles.css + subpage.css
   ============================================================ */

.b2b-body {
  background:
    radial-gradient(ellipse at top right, rgba(217,178,102,.16), transparent 38%),
    radial-gradient(ellipse at bottom left, rgba(118,130,180,.12), transparent 40%),
    linear-gradient(180deg, #0a0d13 0%, #0d1119 100%);
}

/* B2B marker — corner ribbon to signal you are in the partner experience */
.b2b-marker {
  position: fixed;
  top: 0;
  right: 24px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 8px;
  border-radius: 0 0 14px 14px;
  background: linear-gradient(180deg, var(--gold), #b8923f);
  color: #14171d;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
  pointer-events: none;
}
.b2b-marker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #14171d;
  box-shadow: 0 0 0 3px rgba(20,23,29,.18);
}

/* Topbar variation */
.topbar-b2b {
  background: rgba(10,13,19,.88) !important;
  border-bottom: 1px solid rgba(217,178,102,.14) !important;
}
.topbar-b2b nav a.is-active {
  color: var(--gold-soft);
  position: relative;
}
.topbar-b2b nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.nav-home-link {
  color: rgba(255,255,255,.5) !important;
  font-size: .85rem !important;
  border-left: 1px solid rgba(255,255,255,.12);
  padding-left: 14px !important;
  margin-left: 4px;
}
.nav-home-link:hover { color: var(--gold-soft) !important; }

/* =========================================================
   B2B Hero — split layout with metrics & areas
   ========================================================= */
.b2b-hero {
  position: relative;
  padding: 80px 0 110px;
  overflow: hidden;
  border-bottom: 1px solid rgba(217,178,102,.14);
}
.b2b-hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.b2b-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .35;
  filter: saturate(.78) brightness(.55);
}
.b2b-hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 30%, rgba(217,178,102,.18), transparent 50%),
    linear-gradient(135deg, rgba(10,13,19,.95) 0%, rgba(13,17,25,.7) 60%, rgba(13,17,25,.95) 100%);
}
.b2b-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
}
.b2b-eyebrow {
  color: rgba(247,225,169,.96) !important;
  background: linear-gradient(180deg, rgba(247,225,169,.16), rgba(247,225,169,.06)) !important;
  border-color: rgba(247,225,169,.22) !important;
}
.b2b-hero-copy h1 {
  margin: 16px 0 22px;
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  line-height: 1;
  letter-spacing: -.045em;
  color: #fff;
  text-wrap: balance;
}
.b2b-hero-copy .lead {
  margin: 0 0 30px;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  line-height: 1.65;
  color: rgba(255,255,255,.86);
  max-width: 55ch;
}
.b2b-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.b2b-hero-actions .btn-ghost {
  color: #fff;
  border-color: rgba(255,255,255,.28);
  background: rgba(0,0,0,.25);
}
.b2b-promises {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  max-width: 56ch;
}
.b2b-promises li {
  position: relative;
  padding: 12px 16px 12px 38px;
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  color: rgba(255,255,255,.86);
  font-size: .95rem;
  line-height: 1.5;
}
.b2b-promises li::before {
  content: "★";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 1rem;
}
.b2b-promises strong { color: #fff; font-weight: 700; }

/* Hero side: stats card stack */
.b2b-hero-side {
  display: grid;
  gap: 12px;
}
.b2b-hero-stat {
  padding: 22px 24px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid rgba(217,178,102,.22);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}
.b2b-hero-stat-num {
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  font-weight: 800;
  color: var(--gold-soft);
  letter-spacing: -.04em;
}
.b2b-hero-stat-label {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.7);
  text-align: right;
  font-weight: 600;
}
.b2b-hero-areas {
  margin-top: 4px;
  padding: 18px 22px;
  border-radius: 18px;
  background: rgba(217,178,102,.08);
  border: 1px dashed rgba(217,178,102,.3);
}
.b2b-hero-areas-kicker {
  display: block;
  margin-bottom: 6px;
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--gold-soft);
}
.b2b-hero-areas p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.55;
  color: rgba(255,255,255,.84);
}

/* =========================================================
   Generic B2B section
   ========================================================= */
.b2b-section { padding: 90px 0; }
.b2b-section-dark {
  background:
    radial-gradient(circle at top, rgba(217,178,102,.08), transparent 30%),
    linear-gradient(180deg, rgba(13,17,25,.94) 0%, rgba(8,10,13,.98) 100%);
  border-top: 1px solid rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.b2b-section-head {
  max-width: 840px;
  margin: 0 0 56px;
}
.b2b-section-head h2 {
  margin: 6px 0 16px;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  letter-spacing: -.04em;
  line-height: 1.04;
  color: #fff;
  text-wrap: balance;
}
.b2b-section-head h2 em {
  font-style: normal;
  color: var(--gold-soft);
  background: linear-gradient(180deg, transparent 62%, rgba(217,178,102,.25) 62%);
}
.b2b-section-lead {
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 70ch;
}

/* Why grid */
.b2b-why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}
.b2b-why-card {
  padding: 28px 26px;
  border-radius: 20px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  transition: border-color .3s ease, background .3s ease, transform .3s ease;
}
.b2b-why-card:hover {
  border-color: rgba(217,178,102,.4);
  background: rgba(217,178,102,.05);
  transform: translateY(-3px);
}
.b2b-why-num {
  display: inline-block;
  margin-bottom: 14px;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--gold);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(217,178,102,.14);
}
.b2b-why-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  color: #fff;
  letter-spacing: -.015em;
}
.b2b-why-card p {
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: .95rem;
  line-height: 1.6;
}
.b2b-why-card a { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 3px; }

/* Process list */
.b2b-process-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}
.b2b-process-list li {
  position: relative;
  padding: 24px 28px 24px 110px;
  border-radius: 18px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-left: 3px solid var(--gold);
}
.b2b-process-step {
  position: absolute;
  left: 24px;
  top: 26px;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--gold);
  font-weight: 800;
}
.b2b-process-list h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  color: #fff;
}
.b2b-process-list p {
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: .96rem;
  line-height: 1.65;
}

/* Services grid */
.b2b-services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
}
.b2b-service-tile {
  padding: 22px 22px;
  border-radius: 16px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  transition: border-color .25s ease, background .25s ease;
}
.b2b-service-tile:hover {
  border-color: rgba(217,178,102,.36);
  background: rgba(217,178,102,.06);
}
.b2b-service-tile strong {
  display: block;
  margin-bottom: 6px;
  color: var(--gold-soft);
  font-size: 1rem;
}
.b2b-service-tile p {
  margin: 0;
  color: rgba(255,255,255,.74);
  font-size: .88rem;
  line-height: 1.55;
}

/* Projects */
.b2b-projects-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
}
.b2b-project {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  text-decoration: none;
  color: #fff;
  transition: transform .25s ease, border-color .25s ease;
}
.b2b-project:hover { transform: translateY(-3px); border-color: rgba(217,178,102,.4); }
.b2b-project-img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
}
.b2b-project-meta {
  padding: 14px 16px;
}
.b2b-project-meta strong {
  display: block;
  font-size: .92rem;
  color: var(--gold-soft);
  margin-bottom: 4px;
}
.b2b-project-meta span {
  display: block;
  font-size: .82rem;
  color: rgba(255,255,255,.7);
}
.b2b-projects-note {
  margin: 28px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 1rem;
}
.b2b-inline-cta {
  background: none;
  border: 0;
  padding: 0;
  color: var(--gold-soft);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}
.b2b-inline-cta:hover { color: var(--gold); }

/* Trust row */
.b2b-trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 22px;
}
.b2b-trust-block {
  padding: 26px 24px;
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}
.b2b-trust-block h3 {
  margin: 6px 0 8px;
  font-size: 1.1rem;
  color: #fff;
  letter-spacing: -.015em;
}
.b2b-trust-block p {
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: .94rem;
  line-height: 1.6;
}

/* CTA card */
.b2b-cta-section { padding: 80px 0 100px; }
.b2b-cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: center;
  gap: 36px;
  padding: 44px 48px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 10%, rgba(217,178,102,.22), transparent 55%),
    linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(217,178,102,.26);
}
.b2b-cta-copy h2 {
  margin: 8px 0 12px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: #fff;
  letter-spacing: -.035em;
  line-height: 1.08;
}
.b2b-cta-copy p {
  margin: 0;
  color: rgba(255,255,255,.8);
  font-size: 1rem;
  line-height: 1.65;
}
.b2b-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.b2b-cta-actions .btn-ghost { color: #fff; border-color: rgba(255,255,255,.28); }
.b2b-cta-mail {
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: .94rem;
  font-weight: 600;
  word-break: break-all;
}

/* Responsive */
@media (max-width: 1100px) {
  .b2b-services-grid { grid-template-columns: repeat(2, 1fr); }
  .b2b-projects-grid { grid-template-columns: repeat(2, 1fr); }
  .b2b-why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .b2b-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .b2b-hero { padding: 60px 0 80px; }
  .b2b-trust-row { grid-template-columns: 1fr; }
  .b2b-cta-card { grid-template-columns: 1fr; padding: 32px 26px; }
  .b2b-cta-actions { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .b2b-marker { right: 12px; padding: 5px 10px 7px; font-size: .6rem; letter-spacing: .1em; }
  .b2b-section { padding: 60px 0; }
  .b2b-why-grid, .b2b-services-grid, .b2b-projects-grid { grid-template-columns: 1fr; }
  .b2b-process-list li { padding: 64px 22px 22px; }
  .b2b-process-step { position: static; display: inline-block; margin-bottom: 6px; }
  .b2b-hero-stat { flex-direction: column; align-items: flex-start; gap: 6px; }
  .b2b-hero-stat-label { text-align: left; }
  .nav-home-link { display: none !important; }
}

