/* ==============================================================================
   NRSFC 2026 — Benefits ("Create more. Get more.") + Ecosystem sections
   Font: Outfit · Tokens per design spec
   ============================================================================== */

/* ------------------------------------------------------------------------------
   SECTION 1 — BENEFITS
   ------------------------------------------------------------------------------ */
.bn-section {
  background: #F7F6F5;
  color: #100E0E;
  padding: 88px 80px;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  box-sizing: border-box;
  scroll-margin-top: var(--nav-h, 72px);
}

.bn-section *,
.es-section * {
  box-sizing: border-box;
}

.bn-inner,
.es-inner {
  max-width: 1280px;
  margin: 0 auto;
}

/* Top row */
.bn-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
}

.bn-label,
.es-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: #B32A12;
  margin: 0 0 14px;
}

.bn-heading {
  font-family: 'Outfit', sans-serif;
  font-size: 60px;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: #100E0E;
  margin: 0;
}

.bn-heading-accent,
.es-heading-accent {
  color: #D9381E;
}

.bn-sub {
  font-size: 17px;
  line-height: 1.5;
  color: #5E5A53;
  margin: 12px 0 0;
}

.bn-badge {
  flex-shrink: 0;
  background: #FFF3E3;
  border: 1px solid #EA381B;
  border-radius: 16px;
  padding: 16px 22px;
  text-align: left;
}

.bn-badge-price {
  display: block;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  color: #100E0E;
}

.bn-badge-note {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #B32A12;
  margin-top: 4px;
}

/* Card grid */
.bn-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.bn-card {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid #E0DEDA;
  border-radius: 22px;
  padding: 28px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.bn-card:hover {
  transform: translateY(-4px);
  border-color: #E0DEDA;
  box-shadow: 0 16px 36px -18px rgba(217,56,30, 0.28);
}

.bn-card:focus-visible {
  outline: 2px solid #D9381E;
  outline-offset: 3px;
}

.bn-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.bn-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #EEECEA;
  color: #D9381E;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bn-pill {
  background: #FFF3E3;
  color: #B32A12;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 11px;
  border-radius: 9999px;
  white-space: nowrap;
}

.bn-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  color: #100E0E;
  margin: 22px 0 8px;
}

.bn-card-desc {
  font-size: 15px;
  line-height: 1.55;
  color: #5E5A53;
  margin: 0;
}

.bn-more {
  margin-top: auto;
  padding-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #D9381E;
}

.bn-more span {
  transition: transform 0.2s ease;
}

.bn-card:hover .bn-more span {
  transform: translateX(4px);
}

/* CTA bar */
.bn-cta {
  margin-top: 28px;
  background: #141414;
  border-radius: 22px;
  padding: 26px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.bn-cta-text {
  font-size: 22px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
}

.bn-cta-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.bn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.bn-btn:hover {
  transform: translateY(-2px);
}

.bn-btn:focus-visible {
  outline: 2px solid #EA381B;
  outline-offset: 3px;
}

.bn-btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  background: transparent;
}

.bn-btn-outline:hover {
  border-color: #EA381B;
  color: #EA381B;
}

.bn-btn-amber {
  background: #EA381B;
  color: #100E0E;
  border: 1px solid #EA381B;
}

.bn-btn-amber:hover {
  background: #EA381B;
  border-color: #EA381B;
}

/* ------------------------------------------------------------------------------
   SECTION 2 — ECOSYSTEM
   ------------------------------------------------------------------------------ */
.es-section {
  background: #F7F6F5;
  color: #100E0E;
  padding: 88px 80px;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  box-sizing: border-box;
  scroll-margin-top: var(--nav-h, 72px);
}

.es-header {
  text-align: center;
  margin-bottom: 44px;
}

.es-heading {
  font-family: 'Outfit', sans-serif;
  font-size: 52px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #100E0E;
  margin: 0;
}

.es-sub {
  font-size: 17px;
  color: #5E5A53;
  margin: 12px 0 0;
}

/* Large cards */
.es-big-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.es-big-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #FFFFFF;
  border: 1px solid #E0DEDA;
  border-radius: 24px;
  padding: 24px 28px 24px 24px;
  text-decoration: none;
  color: inherit;
  text-align: left;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.es-logo {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  border-radius: 18px;
  border: 1px solid #E0DEDA;
  background: #FFFFFF;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.es-logo img {
  display: block;
  width: 100%;
  height: 100%;
}

.es-logo--cover img {
  object-fit: cover;
}

.es-logo--contain img {
  object-fit: contain;
  padding: 12px;
}

.es-role {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #D9381E;
}

.es-big-name {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: #100E0E;
  margin: 6px 0 8px;
}

.es-big-desc {
  font-size: 15px;
  line-height: 1.55;
  color: #5E5A53;
  margin: 0;
}

/* Small cards */
.es-small-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.es-small-card {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid #E0DEDA;
  border-radius: 20px;
  padding: 22px;
  text-decoration: none;
  color: inherit;
  text-align: left;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.es-big-card:hover,
.es-small-card:hover {
  transform: translateY(-4px);
  border-color: #E0DEDA;
  box-shadow: 0 16px 36px -20px rgba(217,56,30, 0.3);
}

.es-big-card:focus-visible,
.es-small-card:focus-visible {
  outline: 2px solid #D9381E;
  outline-offset: 3px;
}

.es-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #FFF3E3;
  color: #B32A12;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.es-small-name {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: #100E0E;
  margin: 16px 0 6px;
}

.es-small-role {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #D9381E;
  margin-bottom: 10px;
}

.es-small-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: #5E5A53;
  margin: 0;
}

/* ------------------------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------------------------ */
@media (max-width: 1180px) {
  .bn-section,
  .es-section {
    padding: 72px 40px;
  }

  .bn-heading {
    font-size: 52px;
  }

  .es-heading {
    font-size: 46px;
  }

  .bn-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .es-small-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* 5 cards in 2 columns: last card spans full row */
  .es-small-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .bn-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }

  .bn-cta-actions {
    width: 100%;
  }

  .bn-cta-actions .bn-btn {
    flex: 1;
  }

  .es-big-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .bn-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .bn-section,
  .es-section {
    padding: 56px 20px;
  }

  .bn-heading {
    font-size: 40px;
  }

  .es-heading {
    font-size: 34px;
  }

  .bn-sub,
  .es-sub {
    font-size: 16px;
  }

  .bn-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .bn-card {
    padding: 22px;
  }

  .bn-card-title {
    font-size: 21px;
    margin-top: 18px;
  }

  .bn-cta-text {
    font-size: 19px;
  }

  .bn-cta-actions {
    flex-direction: column;
  }

  .bn-cta-actions .bn-btn {
    width: 100%;
  }

  .es-header {
    margin-bottom: 32px;
  }

  .es-big-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 22px;
  }

  .es-logo {
    width: 96px;
    height: 96px;
  }

  .es-big-name {
    font-size: 24px;
  }

  .es-small-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .es-small-card:last-child {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bn-card,
  .bn-btn,
  .es-big-card,
  .es-small-card,
  .bn-more span {
    transition: none;
  }
  .bn-card:hover,
  .bn-btn:hover,
  .es-big-card:hover,
  .es-small-card:hover {
    transform: none;
  }
}
