/* ============================================================ */
/* ===== BANNER PRINCIPAL ===== */
/* ============================================================ */

.nosotros-banner {
  padding: 0;
}

.nosotros-banner-inner {
  min-height: 300px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.nosotros-banner-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.nosotros-banner-ttl {
  position: relative;
  z-index: 1;
  color: #ffffff;
}

.nosotros-banner-ttl p {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.nosotros-banner-ttl h2 {
  font-size: 48px;
  font-weight: 700;
  margin: 0;
}

/* ============================================================ */
/* ===== TITULO DESCRIPTIVO ===== */
/* ============================================================ */

.banner-title {
  padding: 60px 0;
  background: #ffffff;
}

.banner-title-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.banner-title-inner {
  text-align: center;
}

.banner-title-inner h2 {
  color: #1a1a1a;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
}

.banner-title-inner .description p {
  color: #555;
  font-size: 18px;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
}

/* ============================================================ */
/* ===== SECCIÓN FUNCIONES Y PERSPECTIVAS ===== */
/* ============================================================ */

.informacion-complementaria {
  padding: 60px 0;
  background: #ffffff;
}

.informacion-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.informacion-inner {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

/* ===== COLUMNA IZQUIERDA ===== */
.informacion-left {
  flex: 1;
}

.informacion-txt {
  margin-bottom: 30px;
}

.informacion-txt .superindice-txt {
  color: #005198;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.informacion-txt .titulo-txt {
  color: #1a1a1a;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
}

.informacion-txt .descripcion-txt p {
  color: #555;
  font-size: 16px;
  line-height: 1.8;
}

/* ===== ACORDEÓN ===== */
.accordion {
  border-top: 1px solid #e8e8e8;
}

.accordion-item {
  border-bottom: 1px solid #e8e8e8;
}

.accordion-header {
  margin: 0;
}

.accordion-button {
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s;
  text-align: left;
}

.accordion-button:hover {
  color: #005198;
}

.accordion-button::after {
  content: "+";
  font-size: 24px;
  color: #005198;
  font-weight: 300;
  transition: transform 0.3s;
}

.accordion-button.active::after {
  content: "−";
}

.accordion-collapse {
  display: none;
}

.accordion-collapse.show {
  display: block;
}

.accordion-body {
  padding: 0 0 25px 0;
}

.accordion-body .ttl-antp-cipm h2 {
  color: #1a1a1a;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
}

.accordion-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.accordion-body ul li {
  color: #444;
  font-size: 15px;
  line-height: 1.8;
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
  border-bottom: 1px solid #f5f5f5;
}

.accordion-body ul li:last-child {
  border-bottom: none;
}

.accordion-body ul li::before {
  content: "•";
  color: #005198;
  font-weight: 700;
  position: absolute;
  left: 0;
}

.accordion-body ul li strong {
  color: #005198;
}

.accordion-body .txt1-antp-cipm p {
  color: #444;
  font-size: 15px;
  line-height: 1.8;
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
  border-bottom: 1px solid #f5f5f5;
  margin: 0;
}

.accordion-body .txt1-antp-cipm p:last-child {
  border-bottom: none;
}

.accordion-body .txt1-antp-cipm p::before {
  content: "•";
  color: #005198;
  font-weight: 700;
  position: absolute;
  left: 0;
}

.accordion-body .txt1-antp-cipm p strong {
  color: #005198;
}

/* ===== COLUMNA DERECHA - IMÁGENES ===== */
.informacion-right {
  flex: 0 0 40%;
  position: relative;
  min-height: 500px;
}

.img-one {
  width: 100%;
  height: 380px;
  background-size: cover;
  background-position: center;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  margin-bottom: 20px;
}

.img-two {
  width: 85%;
  height: 280px;
  background-size: cover;
  background-position: center;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  margin-left: auto;
  position: relative;
  margin-top: -40px;
}

/* ============================================================ */
/* ===== RESPONSIVE ===== */
/* ============================================================ */

@media (max-width: 992px) {
  .informacion-inner {
    flex-direction: column;
    gap: 40px;
  }

  .informacion-right {
    flex: 1;
    min-height: auto;
  }

  .img-one {
    height: 300px;
  }

  .img-two {
    height: 220px;
    width: 90%;
    margin-top: -30px;
  }

  .nosotros-banner-ttl h2 {
    font-size: 36px;
  }

  .banner-title-inner h2 {
    font-size: 30px;
  }

  .banner-title-inner .description p {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .nosotros-banner-inner {
    min-height: 200px;
  }

  .nosotros-banner-ttl p {
    font-size: 14px;
  }

  .nosotros-banner-ttl h2 {
    font-size: 28px;
  }

  .banner-title {
    padding: 40px 0;
  }

  .banner-title-inner h2 {
    font-size: 24px;
  }

  .banner-title-inner .description p {
    font-size: 15px;
  }

  .informacion-complementaria {
    padding: 40px 0;
  }

  .informacion-txt .titulo-txt {
    font-size: 24px;
  }

  .accordion-button {
    font-size: 16px;
    padding: 16px 0;
  }

  .informacion-right {
    flex: 1;
  }

  .img-one {
    height: 250px;
  }

  .img-two {
    height: 180px;
    width: 90%;
    margin-top: -20px;
  }

  .accordion-body .ttl-antp-cipm h2 {
    font-size: 20px;
  }

  .accordion-body ul li,
  .accordion-body .txt1-antp-cipm p {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .nosotros-banner-ttl h2 {
    font-size: 22px;
  }

  .banner-title-inner h2 {
    font-size: 20px;
  }

  .informacion-txt .titulo-txt {
    font-size: 20px;
  }

  .accordion-button {
    font-size: 14px;
    padding: 14px 0;
  }

  .img-one {
    height: 200px;
  }

  .img-two {
    height: 150px;
    width: 90%;
    margin-top: -15px;
  }

  .accordion-body .ttl-antp-cipm h2 {
    font-size: 18px;
  }

  .accordion-body ul li,
  .accordion-body .txt1-antp-cipm p {
    font-size: 13px;
  }
}
/* ============================================================ */
/* ===== SECCIÓN MISIÓN Y VALORES (2 COLUMNAS) ===== */
/* ============================================================ */

.mision-valores-section {
  padding: 60px 0;
  background: #f8f9fa;
}

.mision-valores-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.mision-valores-inner {
  display: flex;
  gap: 50px;
  background: #ffffff;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
  min-height: 500px;
}

/* ===== COLUMNA IZQUIERDA - BOTONES ===== */
.mision-valores-left {
  flex: 0 0 200px;
  display: flex;
  align-items: flex-start;
  padding-top: 10px;
}

.mision-valores-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

.mision-valores-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  background: none;
  border: none;
  border-left: 4px solid transparent;
  font-size: 18px;
  font-weight: 600;
  color: #888;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
  border-radius: 4px;
}

.mision-valores-btn .bullet {
  color: #ccc;
  font-size: 24px;
  transition: color 0.3s ease;
}

.mision-valores-btn:hover {
  color: #005198;
  background: #f0f7ff;
  border-left-color: #005198;
}

.mision-valores-btn:hover .bullet {
  color: #005198;
}

.mision-valores-btn.active {
  color: #005198;
  background: #f0f7ff;
  border-left-color: #005198;
}

.mision-valores-btn.active .bullet {
  color: #005198;
}

/* ===== COLUMNA DERECHA - CONTENIDO ===== */
.mision-valores-right {
  flex: 1;
  overflow: hidden;
}

.mision-valores-content {
  display: none;
  animation: fadeContent 0.5s ease;
}

.mision-valores-content.active {
  display: block;
}

@keyframes fadeContent {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.content-header h2 {
  color: #005198;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
}

.content-body p {
  color: #555;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 25px;
}

/* ===== CARRUSEL DE MISIÓN ===== */
.mision-carousel-container {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.mision-carousel-slides {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
}

.mision-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.mision-carousel-slide.active {
  opacity: 1;
}

.mision-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mision-slide-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  padding: 15px 20px;
  font-size: 15px;
  font-weight: 500;
}

/* ===== CONTROLES CARRUSEL MISIÓN ===== */
.mision-carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 81, 152, 0.8);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.mision-carousel-control:hover {
  background: #005198;
  transform: translateY(-50%) scale(1.05);
}

.mision-carousel-control.prev {
  left: 15px;
}

.mision-carousel-control.next {
  right: 15px;
}

.mision-carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 0;
  background: #ffffff;
  flex-wrap: wrap;
}

.mision-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: all 0.3s;
}

.mision-dot.active {
  background: #005198;
  transform: scale(1.2);
}

.mision-dot:hover {
  background: #005198;
}

/* ===== CARRUSEL DE VALORES ===== */
.valores-carousel-container {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.valores-carousel-slides {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
}

.valores-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.valores-carousel-slide.active {
  opacity: 1;
}

.valores-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== CONTROLES CARRUSEL VALORES ===== */
.valores-carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 81, 152, 0.8);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.valores-carousel-control:hover {
  background: #005198;
  transform: translateY(-50%) scale(1.05);
}

.valores-carousel-control.prev {
  left: 15px;
}

.valores-carousel-control.next {
  right: 15px;
}

.valores-carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 12px 0;
  background: #ffffff;
}

.valores-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: all 0.3s;
}

.valores-dot.active {
  background: #005198;
  transform: scale(1.2);
}

.valores-dot:hover {
  background: #005198;
}

/* ============================================================ */
/* ===== RESPONSIVE ===== */
/* ============================================================ */

@media (max-width: 992px) {
  .mision-valores-inner {
    flex-direction: column;
    gap: 30px;
    padding: 30px;
  }

  .mision-valores-left {
    flex: 1;
    padding-top: 0;
  }

  .mision-valores-buttons {
    flex-direction: row;
    justify-content: center;
  }

  .mision-valores-btn {
    padding: 12px 25px;
    border-left: none;
    border-bottom: 4px solid transparent;
    justify-content: center;
    font-size: 16px;
  }

  .mision-valores-btn:hover,
  .mision-valores-btn.active {
    border-left-color: transparent;
    border-bottom-color: #005198;
  }

  .content-header h2 {
    font-size: 28px;
    text-align: center;
  }

  .content-body p {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .mision-valores-section {
    padding: 40px 0;
  }

  .mision-valores-inner {
    padding: 20px 15px;
    border-radius: 12px;
  }

  .mision-valores-btn {
    font-size: 14px;
    padding: 10px 18px;
  }

  .content-header h2 {
    font-size: 24px;
  }

  .content-body p {
    font-size: 15px;
  }

  .mision-carousel-control,
  .valores-carousel-control {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .mision-carousel-control.prev,
  .valores-carousel-control.prev {
    left: 8px;
  }

  .mision-carousel-control.next,
  .valores-carousel-control.next {
    right: 8px;
  }

  .mision-slide-text {
    font-size: 13px;
    padding: 10px 15px;
  }
}

@media (max-width: 480px) {
  .mision-valores-inner {
    padding: 15px 12px;
    border-radius: 10px;
  }

  .mision-valores-buttons {
    gap: 10px;
    flex-wrap: wrap;
  }

  .mision-valores-btn {
    font-size: 13px;
    padding: 8px 14px;
  }

  .content-header h2 {
    font-size: 20px;
  }

  .content-body p {
    font-size: 14px;
  }

  .mision-carousel-control,
  .valores-carousel-control {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .mision-dot,
  .valores-dot {
    width: 10px;
    height: 10px;
  }
}
/* ============================================================ */
/* ===== SECCIÓN HISTORIA - HORIZONTAL ===== */
/* ============================================================ */

.historia-section {
  padding: 60px 0;
  background: #ffffff;
}

.historia-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HEADER FIJO (NO SE MUEVE) ===== */
.historia-header {
  margin-bottom: 40px;
}

.informacion-txt.dark.center {
  text-align: center;
}

.informacion-txt .superindice-txt {
  color: #005198;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.informacion-txt .titulo-txt {
  color: #1a1a1a;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto;
}

/* ===== CARRUSEL HORIZONTAL ===== */
.historia-carousel-container {
  position: relative;
  overflow: hidden;
  padding: 10px 40px;
}

.historia-carousel-track {
  display: flex;
  gap: 30px;
  transition: transform 0.5s ease;
  will-change: transform;
}

/* ===== ITEMS ===== */
.historia-item {
  flex: 0 0 320px;
  background: #f8f9fa;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.historia-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.historia-item-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.historia-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.historia-item-info {
  padding: 20px;
}

.historia-item-date {
  display: inline-block;
  background: #005198;
  color: #ffffff;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}

.historia-item-info h3 {
  color: #005198;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.historia-item-info p {
  color: #555;
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

/* ===== CONTROLES ===== */
.historia-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #005198;
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 81, 152, 0.3);
}

.historia-control:hover {
  background: #26314d;
  transform: translateY(-50%) scale(1.05);
}

.historia-control.prev {
  left: 0;
}

.historia-control.next {
  right: 0;
}

/* ===== INDICADORES ===== */
.historia-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 25px;
}

.historia-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: all 0.3s;
}

.historia-dot.active {
  background: #005198;
  transform: scale(1.2);
}

.historia-dot:hover {
  background: #005198;
}

/* ============================================================ */
/* ===== RESPONSIVE ===== */
/* ============================================================ */

@media (max-width: 992px) {
  .historia-item {
    flex: 0 0 280px;
  }

  .historia-item-img {
    height: 160px;
  }

  .informacion-txt .titulo-txt {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .historia-section {
    padding: 40px 0;
  }

  .historia-carousel-container {
    padding: 10px 30px;
  }

  .historia-item {
    flex: 0 0 250px;
  }

  .historia-item-img {
    height: 140px;
  }

  .historia-item-info {
    padding: 15px;
  }

  .historia-item-date {
    font-size: 12px;
    padding: 3px 14px;
  }

  .historia-item-info h3 {
    font-size: 16px;
  }

  .historia-item-info p {
    font-size: 13px;
  }

  .historia-control {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .informacion-txt .titulo-txt {
    font-size: 16px;
  }

  .informacion-txt .superindice-txt {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .historia-section {
    padding: 30px 0;
  }

  .historia-carousel-container {
    padding: 10px 20px;
  }

  .historia-item {
    flex: 0 0 220px;
  }

  .historia-item-img {
    height: 120px;
  }

  .historia-item-info {
    padding: 12px;
  }

  .historia-item-date {
    font-size: 11px;
    padding: 2px 12px;
  }

  .historia-item-info h3 {
    font-size: 14px;
  }

  .historia-item-info p {
    font-size: 12px;
  }

  .historia-control {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .historia-dot {
    width: 10px;
    height: 10px;
  }

  .informacion-txt .titulo-txt {
    font-size: 14px;
  }
}
