/* ── SECCIÓN ── */
.nx-benefits {
  background: #F8FAFC;
  font-family: 'Inter', sans-serif;
  position: relative;
  overflow: clip;
}
 

 
/* ── CONTENEDOR ── */
.nx-wrap {
  max-width: 3000px;
  margin: 0 auto;
  padding: 0 80px;
  position: relative;
  z-index: 2;
}
 
/* ── HEADER ── */
.nx-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Alineación perfecta a la izquierda */
  justify-content: flex-start;
  max-width: 680px;        /* Igualamos el ancho máximo al de rubros */
  margin-bottom: 60px;     /* Espaciado uniforme antes del contenido */
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(52, 102, 145, 0.15);
}
 
.nx-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
 
.nx-eyebrow-line {
  width: 32px;
  height: 1px;
  background: #3D6FFF;
}
 
.nx-eyebrow span {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #3D6FFF;
  font-weight: 600;
}
 
.nx-heading {
  color: #0F172A;
  font-size: clamp(2.2rem, 4.8vw, 3.4rem); /* Tipografía fluida igualada */
  line-height: 1.18;
  font-weight: 700;
  margin: 0;
}
 
.nx-heading em {
font-style: normal;
  background: linear-gradient(135deg, #346691 0%, #020617 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
 
.nx-subtext {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(.95rem, 2vw, 1.15rem); 
  font-weight: 500;
  line-height: 1.75;
  color: #475569;
  max-width: 600px;         
  margin-top: 20px;       
  padding-top: 0;           
  text-align: left;
}
 
 
/* ── GRID DE CARDS ── */
.nx-grid {
  display: grid;
    grid-template-columns: repeat(3, 1fr); /* ── 1.1fr 0.9fr; ── */
}

 
/* ── CARD ── */
.nx-card {
  background: #FFFFFF;
  padding: 48px 26px;
  position: relative;
  transition: background 0.4s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}
 
.nx-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(61,111,255,0), transparent);
  transition: background 0.4s ease;
}
 
.nx-card:hover {
  background: #E6EFF8;
}
 
.nx-card:hover::after {
  background: linear-gradient(90deg, transparent, rgba(61,111,255,0.5), transparent);
}
 

 
/* Número de card */
.nx-card-num {
  font-family: 'Inter', serif;
  font-size:2.1rem;
  color: rgb(26, 53, 119);
  margin-bottom: 32px;
  font-style: italic;
}
 
/* Ícono de card */
.nx-card-icon {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(61, 111, 255, 0.25);
  border-radius: 10px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
 
.nx-card-icon svg {
  width: 20px;
  height: 20px;
  stroke: rgba(61, 111, 255, 0.7);
}
 
.nx-card h3 {
  font-family: 'Inter', serif;
  font-size: 2.1rem;
  color: #031630;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 18px;
}
 
.nx-card p {
  font-family: 'Plus Jakarta Sans';
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.8;
  color: #031630;
  max-width: 480px;
  text-align: justify;
}
 
.nexxus-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(16, 50, 153, 0.979);
  font-weight: 600;
  border-top: 1px solid rgba(61, 111, 255, 0.12);
  padding-top: 20px;
  width: 100%;
}
 
/* ── STRIP INFERIOR ── */
.nx-strip {
  margin-top: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
 
.nx-strip-text {
  font-size: 0.9rem;
  color: #3A4660;
}
 
.nx-strip-text strong {
  color: #6E7D9A;
  font-weight: 500;
}
 
.nx-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border: 1px solid rgba(61, 111, 255, 0.3);
  border-radius: 4px;
  font-size: 0.88rem;
  color: #3D6FFF;
  font-family: 'JetBrains Mono', sans-serif;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: all 0.25s ease;
  background: rgba(61, 111, 255, 0.04);
}
 
.nx-cta:hover {
  background: rgba(61, 111, 255, 0.10);
  border-color: rgba(61, 111, 255, 0.5);
  color: #6B96FF;
  gap: 14px;
}
 
/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .nx-wrap {
    padding: 0 40px;
  }
 


  .nx-heading {
    font-size: 1.5rem;
    text-align: center;
  }
 
  .nx-metric {
    padding: 28px 32px;
  }
 
  .nx-metric-value {
    font-size: 2.4rem;
  }
 
  .nx-card {
    padding: 40px 44px;
  }
}
 
@media (max-width: 768px) {
  .nx-benefits {
    padding: 80px 0 100px;
  }
 
  .nx-wrap {
    padding: 0 24px;
  }
 
  .nx-header {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 56px;
  }
 
  .nx-subtext {
    padding-top: 0;
    max-width: 100%;
  }
 
  .nx-heading {
    font-size: 2.6rem;
  }
 
  .nx-metrics {
    flex-direction: column;
    margin-bottom: 48px;
  }
 
  .nx-metric {
    padding: 24px 28px;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: none;
  }
 
  .nx-metric:first-child {
    border-radius: 4px 4px 0 0;
  }
 
  .nx-metric:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0 0 4px 4px;
  }
 
  .nx-grid {
    grid-template-columns: 1fr;
  }
 
  .nx-card {
    padding: 36px 28px;
  }
 
  .nx-card h3 {
    font-size: 1.55rem;
  }
 
  .nx-strip {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
}