/* B2B eCommerce and Services — Figma redesign */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Source+Serif+4:opsz,wght@8..60,600;8..60,700&display=swap');

:root {
  --b2b-navy: #012652;
  --b2b-navy-deep: #0a1630;
  --b2b-gold: #d4af37;
  --b2b-gold-btn: #e8a33a;
  --b2b-blue: #0b4ab7;
  --b2b-text: #1e293b;
  --b2b-muted: #475569;
  --b2b-line: #d5dde8;
  --b2b-serif: 'Source Serif 4', Georgia, serif;
  --b2b-sans: 'Inter', 'Open Sans', Arial, sans-serif;
}

.page-b2b-redesign {
  font-family: var(--b2b-sans);
  color: var(--b2b-text);
  background: #fff;
}

.page-b2b-redesign .site-footer-nav .container {
  width: 98% !important;
  max-width: 98% !important;
}

.b2b-page {
  width: 98%;
  max-width: 98%;
  margin: 0 auto;
  padding: 0 0 24px;
}

/* Hero */
.b2b-hero {
  position: relative;
  background: var(--b2b-navy);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 36px;
  min-height: 320px;
}

.b2b-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  display: block;
  z-index: 0;
}

.b2b-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 320px;
  padding: 48px 40px;
}

.b2b-hero-title {
  margin: 0 0 14px;
  font-family: var(--b2b-sans);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
}

.b2b-hero-text {
  margin: 0;
  max-width: 480px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

/* Features row */
.b2b-features {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr 1fr;
  gap: 0;
  margin-bottom: 36px;
  border: 1px solid var(--b2b-line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.b2b-feature {
  padding: 28px 22px;
  border-right: 1px solid var(--b2b-line);
}

.b2b-feature:last-child {
  border-right: none;
}

.b2b-feature-lead h2 {
  margin: 0 0 12px;
  font-family: var(--b2b-sans);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--b2b-navy);
}

.b2b-feature-lead p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--b2b-muted);
}

.b2b-feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  border-radius: 10px;
  background: #e8f0fb;
  color: var(--b2b-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.b2b-feature h3 {
  margin: 0 0 8px;
  font-family: var(--b2b-sans);
  font-size: 15px;
  font-weight: 700;
  color: var(--b2b-navy);
  line-height: 1.35;
}

.b2b-feature p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--b2b-muted);
}

/* CTA bar */
.b2b-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 28px;
  background: var(--b2b-navy-deep);
  border-radius: 8px;
  margin-bottom: 28px;
}

.b2b-cta-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.b2b-cta-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.b2b-cta-left h2 {
  margin: 0;
  font-family: var(--b2b-serif);
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.b2b-cta-btn {
  display: inline-block;
  padding: 12px 22px;
  background: var(--b2b-gold-btn);
  color: #012652;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.b2b-cta-btn:hover {
  color: #012652;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

@media (max-width: 991px) {
  .b2b-hero,
  .b2b-hero-inner {
    min-height: 260px;
  }

  .b2b-hero-inner {
    padding: 36px 24px;
  }

  .b2b-hero-bg {
    object-position: 70% center;
  }

  .b2b-features {
    grid-template-columns: 1fr 1fr;
  }

  .b2b-feature:nth-child(2) {
    border-right: none;
  }

  .b2b-feature:nth-child(1),
  .b2b-feature:nth-child(2) {
    border-bottom: 1px solid var(--b2b-line);
  }
}

@media (max-width: 575px) {
  .b2b-features {
    grid-template-columns: 1fr;
  }

  .b2b-feature {
    border-right: none;
    border-bottom: 1px solid var(--b2b-line);
  }

  .b2b-feature:last-child {
    border-bottom: none;
  }

  .b2b-cta {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}
