/* Estilos específicos de nosotros.html (complementan styles.css) */

.nav a.active {
  color: #244CEC;
  font-weight: 700;
}

/* Page Hero */
.page-hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(16, 28, 61, 0.92) 0%, rgba(36, 76, 236, 0.85) 100%), url('../images/img_demo/002.png');
  background-size: cover;
  background-position: center;
  overflow: hidden;
  padding-top: 70px;
}

.page-hero .hero-content {
  color: #fff;
  max-width: 760px;
}

.page-hero .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 18px;
}

.page-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 28px;
  max-width: 620px;
}

/* Misión / Visión / Valores */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.mission-card {
  background: #fff;
  padding: 40px 32px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.mission-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(36, 76, 236, 0.1);
  border-color: #244CEC;
}

.mission-icon {
  width: 64px;
  height: 64px;
  background: rgba(36, 76, 236, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.mission-icon svg {
  width: 30px;
  height: 30px;
  stroke: #244CEC;
}

.mission-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 12px;
}

.mission-card p {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.7;
}

/* Valores */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #f8fafc;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  transition: border-color 0.3s, transform 0.3s;
}

.value-card:hover {
  border-color: #244CEC;
  transform: translateY(-3px);
}

.value-icon {
  width: 44px;
  height: 44px;
  background: rgba(36, 76, 236, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-icon svg {
  width: 22px;
  height: 22px;
  stroke: #244CEC;
}

.value-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 4px;
}

.value-card p {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.6;
}

/* Trayectoria */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #244CEC, #1a3ab8);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 40px 48px;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 4px;
  width: 16px;
  height: 16px;
  background: #fff;
  border: 4px solid #244CEC;
  border-radius: 50%;
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -8px;
}

.timeline-num {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #244CEC;
  margin-bottom: 6px;
}

.timeline-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  transition: box-shadow 0.3s;
}

.timeline-card:hover {
  box-shadow: 0 12px 32px rgba(36, 76, 236, 0.1);
}

.timeline-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.timeline-card p {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.7;
}

/* Sectores */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.sector-card {
  background: linear-gradient(135deg, #244CEC, #1a3ab8);
  color: #fff;
  padding: 32px 24px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.sector-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(36, 76, 236, 0.25);
}

.sector-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sector-icon svg {
  width: 26px;
  height: 26px;
  stroke: #fff;
}

.sector-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.sector-card p {
  font-size: 0.9rem;
  opacity: 0.85;
  line-height: 1.6;
}

/* Compromiso y pilares resaltados */
.commitment-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #244CEC;
  border-radius: 12px;
  padding: 32px;
  margin-top: 40px;
}

.commitment-box h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 10px;
}

.commitment-box p {
  font-size: 0.98rem;
  color: #475569;
  line-height: 1.8;
}

@media (max-width: 992px) {
  .mission-grid,
  .values-grid,
  .sectors-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item,
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    width: 100%;
    left: 0;
    padding: 0 0 40px 60px;
    text-align: left;
  }

  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: 12px;
    right: auto;
  }
}

@media (max-width: 768px) {
  .page-hero h1 {
    font-size: 2.2rem;
  }

  .page-hero p {
    font-size: 1rem;
  }

  .mission-grid,
  .values-grid,
  .sectors-grid {
    grid-template-columns: 1fr;
  }
}
