/*
 * BNEXIA — Sobre Nosotros: Estilos específicos
 * Fondo blanco por defecto, excepto sección Seguridad
 */

/* ========================================
   HERO — Fondo blanco
   ======================================== */
.about-hero {
  padding: 140px 0 100px;
  text-align: center;
  background: #fff;
  color: #191E39;
}

/* Hero: dark text on white background */
.about-hero h1,
.about-hero h2,
.about-hero h3,
.about-hero h4 {
  color: #191E39 !important;
}

.about-hero p,
.about-hero .hero-subtitle {
  color: #555 !important;
}

.about-hero h1 .gradient-text-accent {
  background: linear-gradient(135deg, #1F428D 0%, #1FB5D7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent !important;
}

.about-hero .badge {
  margin-bottom: 24px;
}

.about-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 32px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.about-hero .hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  line-height: 1.7;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   SECCIÓN 2: EL PROBLEMA (Storytelling)
   Fondo blanco
   ======================================== */
.section-problem-story {
  padding: 100px 0;
  background: #fff;
  color: #191E39;
}

/* Problem: dark text on white */
.section-problem-story h1,
.section-problem-story h2,
.section-problem-story h3,
.section-problem-story h4 {
  color: #191E39 !important;
}

.section-problem-story p,
.section-problem-story .story-text p,
.section-problem-story .stat-label {
  color: #555 !important;
}

.section-problem-story strong {
  color: #191E39 !important;
  font-weight: 600;
}

.section-problem-story h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.story-text {
  max-width: 700px;
  margin: 0 auto;
}

.story-text p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.story-text em {
  color: #1F428D !important;
  font-style: italic;
}

.story-text a {
  color: #1F428D !important;
  text-decoration: underline;
}

/* Stat Block */
.stat-block {
  margin: 60px 0;
  padding: 48px 32px;
  background: #f8f9fc;
  border-radius: 16px;
  border: 1px solid rgba(31, 66, 141, 0.1);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.stat-item {
  padding: 24px;
  text-align: center;
}

.stat-number {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 12px;
}

/* Stat numbers: gradient on light background */
.section-problem-story .stat-number {
  background: linear-gradient(135deg, #1F428D 0%, #1FB5D7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent !important;
}

/* Highlight stat (last one) */
.section-problem-story .stat-highlight .stat-number {
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
  color: #191E39 !important;
}

.stat-label {
  font-size: 16px;
  line-height: 1.5;
  color: #666 !important;
}

.stat-highlight {
  border-left: 3px solid #1F428D;
  padding-left: 24px;
}

.stat-source {
  margin-top: 32px;
  font-size: 13px;
  color: #999 !important;
  text-align: center;
}

.story-continuation {
  margin-top: 40px;
}

/* ========================================
   SECCIÓN 3: MISIÓN
   Fondo blanco
   ======================================== */
.section-mission {
  padding: 100px 0;
  background: #fff;
  color: #191E39;
}

/* Mission: dark text on white */
.section-mission h1,
.section-mission h2,
.section-mission h3,
.section-mission h4 {
  color: #191E39 !important;
}

.section-mission p,
.section-mission .mission-text p {
  color: #555 !important;
}

.section-mission strong {
  color: #191E39 !important;
  font-weight: 600;
}

.section-mission h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.mission-text {
  max-width: 700px;
  margin: 0 auto 48px;
}

.mission-text p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.mission-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

/* Mission value cards on light background */
.section-mission .value-item {
  text-align: center;
  padding: 32px 24px;
  background: #f8f9fc;
  border-radius: 12px;
  border: 1px solid rgba(31, 66, 141, 0.1);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.section-mission .value-item:hover {
  transform: translateY(-4px);
  border-color: #1FB5D7;
}

.section-mission .value-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: #1F428D;
}

.section-mission .value-item h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #191E39 !important;
}

.section-mission .value-item p {
  font-size: 15px;
  line-height: 1.6;
  color: #555 !important;
}

/* ========================================
   SECCIÓN 4: PILARES
   Fondo blanco
   ======================================== */
.section-pillars {
  padding: 100px 0;
  background: #fff;
}

.section-pillars h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 60px;
  color: #191E39 !important;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.pillar-card {
  padding: 32px;
  border: 1px solid rgba(31, 66, 141, 0.1);
  border-radius: 12px;
  background: #f8f9fc;
  transition: all 0.3s ease;
}

.pillar-card:hover {
  border-color: #1FB5D7;
  box-shadow: 0 8px 24px rgba(31, 66, 141, 0.08);
}

.pillar-number {
  font-size: 48px;
  font-weight: 800;
  color: #1F428D !important;
  opacity: 0.3;
  margin-bottom: 8px;
  line-height: 1;
}

.section-pillars .pillar-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #191E39 !important;
  line-height: 1.4;
}

.section-pillars .pillar-card p {
  font-size: 15px;
  line-height: 1.7;
  color: #555 !important;
}

/* ========================================
   SECCIÓN 5: SEGURIDAD
   FONDO OSCURO — Se mantiene como estaba
   ======================================== */
.section-security {
  padding: 100px 0;
  background: var(--bnexia-azul1, #191E39);
  color: #fff;
}

.section-security h1,
.section-security h2,
.section-security h3,
.section-security h4 {
  color: #fff !important;
}

.section-security p {
  color: rgba(255, 255, 255, 0.85) !important;
}

.section-security strong {
  color: #fff !important;
}

.security-header {
  max-width: 700px;
  margin: 0 auto 48px;
  text-align: center;
}

.security-header .badge {
  margin-bottom: 16px;
}

.security-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 24px;
}

.security-header p {
  font-size: 17px;
  line-height: 1.7;
  opacity: 0.9;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.security-item {
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.security-item:hover {
  transform: translateY(-4px);
  border-color: var(--bnexia-accent, #1FB5D7);
}

.security-icon {
  width: 32px;
  height: 32px;
  color: var(--bnexia-accent, #1FB5D7);
  margin-bottom: 16px;
}

.security-item h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.security-item p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8) !important;
}

.security-note {
  margin-top: 48px;
  text-align: center;
}

.security-note p {
  font-size: 18px;
  margin: 0;
}

/* ========================================
   SECCIÓN 6: EQUIPO
   Fondo blanco
   ======================================== */
.section-team {
  padding: 100px 0;
  background: #fff;
}

.section-team h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 24px;
  color: #191E39 !important;
}

.section-team .section-subtitle {
  font-size: 17px;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto 48px;
  color: #666 !important;
}

.section-team p {
  color: #555 !important;
}

.section-team strong {
  color: #191E39 !important;
}

.section-team em {
  color: #888 !important;
}

.team-intro {
  max-width: 700px;
  margin: 0 auto 48px;
}

.team-intro p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.team-placeholder {
  padding: 48px 32px;
  background: #f8f9fc;
  border-radius: 12px;
  max-width: 700px;
  margin: 0 auto;
}

/* ========================================
   SECCIÓN 7: CTA FINAL
   Fondo blanco
   ======================================== */
.section-cta-about {
  padding: 100px 0;
  background: #fff;
  text-align: center;
}

.section-cta-about h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 24px;
  color: #191E39 !important;
}

.section-cta-about p {
  font-size: 17px;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto 32px;
  color: #555 !important;
}

.section-cta-about .hero-ctas {
  margin-top: 32px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.section-cta-about .hero-micro {
  margin-top: 24px;
  font-size: 14px;
  color: #888 !important;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .stat-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  
  .mission-values {
    gap: 24px;
  }
  
  .pillars-grid {
    gap: 24px;
  }
  
  .security-grid {
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding: 100px 0 80px;
  }
  
  .section-problem-story,
  .section-mission,
  .section-pillars,
  .section-security,
  .section-team,
  .section-cta-about {
    padding: 60px 0;
  }
  
  .stat-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .stat-number {
    font-size: 48px;
  }
  
  .stat-highlight {
    border-left: none;
    border-top: 3px solid #1F428D;
    padding-left: 0;
    padding-top: 24px;
  }
  
  .mission-values {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .security-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .section-cta-about .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  
  .section-cta-about .hero-ctas .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .about-hero h1 {
    font-size: 2rem;
  }
  
  .stat-number {
    font-size: 40px;
  }
  
  .stat-block {
    padding: 32px 20px;
  }
  
  .pillar-card,
  .security-item,
  .value-item {
    padding: 24px;
  }
  
  .pillar-number {
    font-size: 40px;
  }
}
