/* ==========================================================================
   CINEMATIC HERO LANDING SYSTEM (UPDATED TO CORPORATE BANNER STYLE)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 460px; /* Precise Standard Corporate Banner Height */
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--dark-surface);
  padding-top: 80px; /* Counter-weights the sticky header allocation */
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures image maintains aspect ratio and fills layout */
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  /* Balanced minimalist tint to maintain text readability while highlighting the asset image */
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.85) 30%, rgba(15, 23, 42, 0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 800px;
  padding: 40px 0;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.hero p {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.55;
  color: #e2e8f0;
  margin-bottom: 30px;
  font-weight: 400;
}

/* Clean Institutional Badges */
.eyebrow {
  display: inline-block;
  color: var(--secondary);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 12px;
}

.hero .eyebrow {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 6px;
}

@media (max-width: 768px) {
  .hero {
    min-height: 380px; /* Responsive adaptation for smaller mobile corporate viewports */
    padding-top: 70px;
  }
}

/* ==========================================================================
   ASSOCIATIONS & ECOSYSTEM LOGO CONTAINER SYSTEM
   ========================================================================== */
.sefonn-ecosystem-wrapper {
  padding: 60px 0;
  background-color: #f8fafc; /* Subtle grey block separation layer */
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  font-family: Arial, sans-serif;
}

.ecosystem-container-node {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 32px;
}

.ecosystem-brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.ecosystem-legal-tag {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #198754; /* Shared green corporate accent token */
  margin-bottom: 14px;
}

.ecosystem-logo-canvas {
  height: 64px;
  width: 100%;
  max-width: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.ecosystem-logo-canvas img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.75;
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.ecosystem-brand-card:hover .ecosystem-logo-canvas img {
  filter: grayscale(0%);
  opacity: 1;
}

/* Elegant Textual Logo fallbacks if graphics are unlinked */
.brand-logo-fallback {
  font-size: 1.6rem;
  letter-spacing: -0.03em;
  color: #334155;
  text-transform: uppercase;
}
.brand-logo-fallback.text-bold { font-weight: 900; }
.brand-logo-fallback.text-italic { font-style: italic; font-weight: 800; text-transform: lowercase; }

.ecosystem-compliance-text {
  margin: 0;
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 600;
}

.ecosystem-node-separator {
  width: 1px;
  height: 80px;
  background-color: #cbd5e1;
}

/* Micro Device Optimization Matrix */
@media (max-width: 640px) {
  .ecosystem-container-node {
    flex-direction: column;
    gap: 48px;
  }
  .ecosystem-node-separator {
    width: 60px;
    height: 1px;
  }
}