/* Updated: 2026-02-03 */
/* ========================================
   NOSOTROS PAGE STYLES - BASED ON BANANO DESIGN
   ======================================== */

/* Hero Section */
.hero-nosotros {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 0px;
  margin-bottom: 100px;
  background: linear-gradient(135deg, rgba(11, 31, 63, 0.8) 0%, rgba(22, 79, 141, 0.8) 100%);
}

.hero-nosotros-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-size: cover;
  background-position: center;
  opacity: 2;
}

.hero-nosotros-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(9, 41, 148, 0.726);
  z-index: 2;
}

.hero-nosotros-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  color: #fff;
  max-width: 1200px;
  text-align: center;
}

.hero-nosotros-text {
  text-align: center;
}

.hero-nosotros-logo {
  display: none;
}

.hero-nosotros-logo img {
  display: none;
}

.hero-nosotros-text h1 {
  font-size: 3.4rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-nosotros-text p {
  font-size: 1.2rem;
  font-weight: 300;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .hero-nosotros {
    height: auto;
    justify-content: center;
    text-align: center;
    margin-top: 0;
    padding: 80px 20px;
  }

  .hero-nosotros-content {
    flex-direction: column;
    padding: 40px 20px;
    gap: 24px;
    align-items: center;
    justify-content: center;
  }

  .hero-nosotros-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .hero-nosotros-text img {
    height: 400px !important;
    width: auto !important;
    margin-bottom: 24px !important;
  }

  .hero-nosotros-logo img {
    width: 150px;
  }

  .hero-nosotros-text h1 {
    font-size: 2rem;
  }

  .hero-nosotros-text p {
    font-size: 1rem;
  }
}

/* Quiénes Somos Section */
.quienes-somos-nosotros {
  padding: 80px 40px;
  margin-top: -100px;
  background: var(--bg-secondary);
}

.quienes-somos-nosotros h1 {
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: none;
  color: var(--text-primary);
  font-weight: 700;
  position: relative;
  display: inline-block;
  width: 100%;
  line-height: 1.0;
}

.quienes-somos-nosotros h1::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--text-realce) 0%, #1e7a6f 100%);
  border-radius: 2px;
}

.quienes-somos-text {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding-top: 30px;
}

.quienes-somos-text p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-secondary);
  margin-bottom: 25px;
}

.quienes-somos-text p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .quienes-somos-nosotros {
    padding: 40px 20px;
  }

  .quienes-somos-nosotros h1 {
    font-size: 1.8rem;
  }

  .quienes-somos-text p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
}

/* Valores Section */
.valores-nosotros {
  padding: 80px 40px;
  background: linear-gradient(135deg, var(--text-realce) 0%, #1e7a6f 100%);
}

.valores-nosotros h2 {
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 60px;
  color: #FFFFFF;
  font-weight: 700;
  position: relative;
  display: inline-block;
  width: 100%;
}

.valores-nosotros h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #FFFFFF;
  border-radius: 2px;
}

.valores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 30px;
}

.valor-card {
  background: #FFFFFF;
  padding: 40px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid var(--text-realce);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
body.dark-theme .valor-card {
  background: #002266 !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

body.dark-theme .valor-content h3 {
  color: #8cd627 !important;
}

body.dark-theme .valor-content p {
  color: #FFFFFF !important;
}
.valor-card:hover {
  background: var(--text-realce);
  transform: translateY(-12px);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.15);
  border-color: #FFFFFF;
}

.valor-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--text-realce) 0%, #1e7a6f 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: #fff;
  transition: all 0.3s ease;
}

.valor-card:hover .valor-icon {
  background: linear-gradient(135deg, #FFFFFF 0%, #FFFFFF 100%);
  color: var(--text-realce);
  transform: scale(1.15) rotate(5deg);
}

.valor-content h3 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin: 0;
  font-weight: 700;
}

.valor-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

.valor-card:hover .valor-content h3 {
  color: #FFFFFF;
}

.valor-card:hover .valor-content p {
  color: rgba(255, 255, 255, 0.95);
}

@media (max-width: 768px) {
  .valores-nosotros {
    padding: 60px 20px;
  }

  .valores-nosotros h2 {
    font-size: 1.8rem;
  }

  .valores-grid {
    gap: 20px;
  }

  .valor-card {
    padding: 30px;
    align-items: center;
    text-align: center;
  }

  .valor-icon {
    width: 90px;
    height: 90px;
    font-size: 2.8rem;
    margin-bottom: 8px;
  }

  .valor-content h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
  }

  .valor-content p {
    font-size: 0.9rem;
  }
}

/* Certificaciones Section */
.certificaciones-nosotros {
  padding: 80px 40px;
  background: var(--bg-secondary);
}

.certificaciones-nosotros h2 {
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 60px;
  color: var(--text-primary);
  font-weight: 700;
  text-transform: capitalize;
  position: relative;
  display: inline-block;
  width: 100%;
}

.certificaciones-nosotros h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--text-realce) 0%, #1e7a6f 100%);
  border-radius: 2px;
}

.certificaciones-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
  padding-top: 30px;
}

.certificacion-card {
  background: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.certificacion-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
  border-color: var(--text-realce);
}

.certificacion-card:hover .certificacion-content {
  background: #FFFFFF;
}

.certificacion-card:hover .certificacion-title {
  color: #0033b3;
}

.certificacion-card:hover .certificacion-desc {
  color: #0033b3;
}

.certificacion-image-wrapper {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.certificacion-image {
  max-width: 85%;
  max-height: 85%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
}

.certificacion-content {
  padding: 24px 20px 28px;
  background: var(--bg-card);
  transition: all 0.3s ease;
}
body.dark-theme .certificacion-content {
  background-color: #ffffff !important;
}
.certificacion-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 12px;
  line-height: 1.3;
  transition: color 0.3s ease;
}
body.dark-theme .certificacion-title {
  color: #011037 !important;
}
.certificacion-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
    transition: color 0.3s ease;
  margin: 0;
}
body.dark-theme .certificacion-desc {
  color: #0033b3 !important;
}
@media (max-width: 768px) {
  .certificaciones-nosotros {
    padding: 60px 20px;
  }

  .certificaciones-nosotros h2 {
    font-size: 1.8rem;
  }

  .certificaciones-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .certificacion-image-wrapper {
    height: 300px;
    padding: 10px;
  }
}

/* Líder Section */
.lider-nosotros {
  padding: 0;
  background: var(--bg-primary);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  overflow: visible;
  margin-bottom: -150px;
  padding-bottom: 150px;
}

/* Large background text */
.lider-background-text {
  position: absolute;
  font-size: 12rem;
  font-weight: 900;
  color: rgba(37, 99, 235, 0.08);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  z-index: 1;
  line-height: 1;
  pointer-events: none;
  text-align: center;
}

.lider-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: flex-end;
  max-width: 1200px;
  width: 100%;
  position: relative;
  z-index: 2;
  padding: 0 50px;
}

/* Image container with fade transition */
.lider-image-container {
  position: relative;
  width: auto;
  height: auto;
  overflow: hidden;
  border-radius: 16px;
  display: inline-block;
  z-index: 3;
  justify-self: right;
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}

.lider-image {
  display: block;
  width: auto;
  height: auto;
  filter: saturate(0);
  transition: filter 0.5s ease;
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}

.lider-image-container:hover .lider-image {
  filter: saturate(1);
}

/* Prevent any animations on wrapper */
/* Text content - no background */
.lider-text-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 40px;
  padding-left: 60px;
  padding-right: 100px;
  justify-self: center;
  align-self: center;
}

.lider-leader-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lider-leader-info h3 {
  font-size: 1.3rem;
  color: var(--text-primary);
  margin: 0;
  font-weight: 700;
}

.lider-quote {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
  font-style: italic;
}

@media (max-width: 1024px) {
  .lider-nosotros {
    margin-bottom: -100px;
    padding-bottom: 100px;
  }
  
  .lider-background-text {
    font-size: 8rem;
  }
  
  .lider-content-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .lider-nosotros {
    margin-bottom: 0;
    padding-bottom: 0;
    align-items: flex-end;
  }
  
  .lider-background-text {
    display: none !important;
    visibility: hidden !important;
  }

  .lider-content-wrapper {
    padding: 0;
    gap: 0;
    grid-template-columns: 1fr;
    grid-auto-flow: dense;
  }

  .lider-text-content {
    order: 1;
    padding: 40px 20px 20px 20px;
    padding-bottom: 20px;
    padding-left: 20px;
    padding-right: 20px;
    gap: 16px;
  }

  .lider-image-container {
    order: 2;
    width: 80%;
    max-width: 400px;
    margin: 0 auto;
    justify-self: center;
    border-radius: 0;
    padding: 0;
  }

  .lider-image {
    width: 100%;
    height: auto;
    display: block;
  }
  
  .lider-leader-info h3 {
    font-size: 1.1rem;
  }
  
  .lider-quote {
    font-size: 1rem;
  }
}

/* CTA Section */
.cta-nosotros {
  padding: 80px 40px;
  background: linear-gradient(135deg, var(--text-realce) 0%, #1e7a6f 100%);
  text-align: center;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.cta-nosotros .container {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.cta-nosotros h2 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  font-weight: 800;
}

.cta-nosotros p {
  font-size: 1.15rem;
  margin-bottom: 40px;
  opacity: 0.95;
  font-weight: 300;
}

.cta-nosotros .btn-primary {
  background: #fff;
  color: var(--text-realce);
  padding: 14px 42px;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.cta-nosotros .btn-primary:hover {
  background: #f0f0f0;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .cta-nosotros {
    padding: 60px 20px;
  }

  .cta-nosotros h2 {
    font-size: 1.8rem;
  }

  .cta-nosotros p {
    font-size: 1rem;
  }
}

/* Footer - usar estilos globales de styles.css */
