/* ESTILOS GENERALES CORREGIDOS */
:root {
    --azul-oscuro: #052f5f;
    --azul-claro: #9ac9ff;
    --blanco: #FFFFFF;
    --gris-claro: #F5F5F5;
    --Azulm: #a6cefc;
    --sombra: 0 2px 10px rgba(0,0,0,0.1);
    --rojo: #e6e6e6;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* PREVENIR SCROLL HORIZONTAL */
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--gris-claro);
    position: relative;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
/* MENÚ RESPONSIVO CORREGIDO */
.menu-container {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 0;
    left: 0;
    right: 0;
    background-color: transparent;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: none;
}

.menu-container.en-top {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.menu {
    background: linear-gradient(to right, var(--rojo), var(--Azulm));
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 25px;
    border-radius: 50px;
    width: 100%;
    max-width: 1000px;
    height: 75px;
    margin: 0 auto;
}

/* NUEVO: Alineación del contenedor del logo */
.logo {
  display: flex;
  flex-direction: column;   /* Texto debajo del logo */
  align-items: center;
  justify-content: center;
  gap: 0px;                 /* Espacio entre logo y texto */
  padding-left: 10px;       /* Ajusta si quieres separación del borde */
}

.logo img {
  height: 80px;
  width: auto;
  margin-top: -20px; /* 🔼 SUBE el logo */
}


.logo-text {
  font-size: 12px;
  font-weight: 600;
  color: rgb(0, 0, 0);
  font-family: 'Poppins', sans-serif;
  line-height: 1;
  margin-top: -10px;   /* Esto sube el texto */
  text-align: center;
}


/* Estilo del menú */
.menu-items {
    display: flex;
    align-items: center;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
    margin-left: auto;
}

.menu-item a {
    color: var(--blanco);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    transition: opacity 0.3s;
    white-space: nowrap;
}



@media (max-width: 768px) {

/* Flecha hacia abajo por defecto (aseguramos especificidad) */
  .dropdown .dropdown-toggle .fa-chevron-down { /* Añadimos .dropdown al selector */
    transition: transform 0.3s ease;
    transform: rotate(0deg);
  }

  /* Flecha hacia arriba cuando el dropdown está activo */


 .dropdown-menu {
    display: none;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }
   .menu {
    height: auto;
    padding: 10px 16px;
    background: linear-gradient(to right, var(--rojo), var(--Azulm));
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 0 0 20px 20px;
  }

  .logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 5px 0;
    background-color: transparent;
  }

   .logo img {
    height: 42px; /* más chico en móviles */
    max-height: 45px;
  }

  .logo-text {
    font-size: 13px;
    text-align: center;
    color: rgb(0, 0, 0); /* Para que combine con el fondo azul */
    font-weight: 600;
  }

  .menu-items {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: linear-gradient(to right, var(--rojo), var(--Azulm));
    flex-direction: column;
    align-items: center;
    padding: 25px 0;
    gap: 20px;
    opacity: 0;
    transform: translateY(-20%);
    pointer-events: none;
    transition: all 0.35s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-radius: 0 0 20px 20px;
  }

  .menu-items.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  }

  .menu-item a {
    font-size: 16px;
    color: white;
    font-weight: 600;
    text-decoration: none;
  }

  .menu-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    margin-left: auto;
    margin-right: 20px;
    padding: 10px;
    z-index: 1001;
    background-color: transparent;
    border: none;
  }

  .menu-icon span {
    display: block;
    width: 28px;
    height: 3.5px;
    background-color: #fff;
    border-radius: 4px;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .menu-icon.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-icon.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-icon.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}


/* SLIDER FULL WIDTH */
.slider_section {
    width: 100%;
    overflow: hidden;
    margin-top: 0px; /* Ajuste para el menú fijo */
    position: relative;
}
  
.carousel-container {
    width: 100%;
    position: relative;
}

.carousel-inner {
    display: flex;
    transition: transform 0.6s ease;
    width: 100%;
}

.carousel-item {
    min-width: 100%;
    position: relative;
    height: 80vh; /* Altura del slider */
    display: flex;
    align-items: center;
}

/* Fondo de imagen para cada slide */
.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* Imágenes específicas para cada slide */
.carousel-item:nth-of-type(1)::before {
    background-image: url('../images/Feliz.png');
}

.carousel-item:nth-of-type(2)::before {
    background-image: url('../imagenes/Meta.jpg');
}

.carousel-item:nth-of-type(3)::before {
    background-image: url('../images/aseosr.jpg');
}
/* Overlay para mejorar legibilidad del texto */
.carousel-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 137, 167, 0.5); /* Color con transparencia */
    z-index: 2;
}

.container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.slide-content {
    display: flex;
    align-items: center;
    width: 100%;
    color: white;
}

.text-content {
    flex: 1;
    padding: 40px;
    max-width: 600px;
}

.image-content {
    display: none; /* Ocultamos la imagen ya que ahora es fondo */
}

.slider_detail-box h1 {
    font-size: 3.5rem;
    color: var(--blanco);
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    font-weight: 700;
}

.slider_detail-box p {
    font-size: 1.2rem;
    color: var(--blanco);
    margin-bottom: 30px;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.btn-1 {
    display: inline-block;
    background: linear-gradient(to right, var(--azul-oscuro), var(--azul-claro));
    color: var(--blanco);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: var(--sombra);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

.btn-1:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* CONTROLES DEL CAROUSEL */
.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    list-style: none;
}

.carousel-indicators li {
    width: 40px;
    height: 5px;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
    text-indent: -9999px;
    border-radius: 3px;
}

.carousel-indicators .active {
    background-color: var(--blanco);
    width: 60px;
}

.carousel_btn-container {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    z-index: 1000;
}

.carousel-control-prev, 
.carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blanco); /* asegúrate de que esté definida */
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
    z-index: 1000;
    pointer-events: all;
}

.carousel-control-prev:hover, 
.carousel-control-next:hover {
    background-color: rgba(255,255,255,0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-item {
        height: 60vh;
    }
    
    .slide-content {
        flex-direction: column;
        text-align: center;
    }
    
    .text-content {
        padding: 20px;
    }
    
    .slider_detail-box h1 {
        font-size: 2.5rem;
    }
    
    .slider_detail-box p {
        font-size: 1rem;
    }
}
      
      /* SECCIÓN QUIÉNES SOMOS */
      .quienes-somos-img {
    text-align: center;
    margin-bottom: 20px;
}
.quienes-somos-img img {
    max-width: 100%;
    height: auto;
}

      .welcome_section {
          padding: 80px 0;
          background-color: var(--blanco);
          position: relative;
          overflow: hidden;
      }
      
      .welcome_section::before {
          content: '';
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          background: linear-gradient(135deg, rgba(5, 47, 95, 0.03) 0%, rgba(134, 77, 223, 0.03) 100%);
          z-index: 0;
      }
      
.custom_heading-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

      
      .custom_heading-container h2 {
          font-size: 2.5rem;
          color: var(--azul-oscuro);
          position: relative;
          display: inline-block;
          padding-bottom: 15px;
      }
      
      .custom_heading-container h2::after {
          content: '';
          position: absolute;
          bottom: 0;
          left: 50%;
          transform: translateX(-50%);
          width: 80px;
          height: 3px;
          background: linear-gradient(to right, var(--azul-oscuro), var(--azul-claro));
      }
      
      .layout_padding2 {
          display: flex;
          align-items: center;
          flex-wrap: wrap;
          position: relative;
          z-index: 1;
      }
      
      .img-box {
          flex: 1;
          min-width: 300px;
          padding: 20px;
          display: flex;
          justify-content: center;
      }
      
      .img-box img {
          max-width: 100%;
          height: auto;
          border-radius: 10px;
          box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
          transition: transform 0.5s ease;
      }
      
      .img-box img:hover {
          transform: translateY(-10px);
      }
      
      .detail-box {
          flex: 1;
          min-width: 300px;
          padding: 20px;
      }
      
      .detail-box p {
          font-size: 1.1rem;
          line-height: 1.8;
          color: #555;
          margin-bottom: 40px;
      }
      
      /* TARJETAS MISIÓN, VISIÓN, VALORES */
      .mision-vision-valores {
          display: grid;
          grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
          gap: 30px;
          margin-top: 50px;
          width: 100%;
      }
      
      .mvv-card {
          background: var(--blanco);
          border-radius: 10px;
          padding: 30px;
          box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
          transition: all 0.4s ease;
          text-align: center;
          border-top: 4px solid var(--verde-cip);
          position: relative;
          overflow: hidden;
      }
      
      .mvv-card:hover {
          transform: translateY(-10px);
          box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
      }
      
      .mvv-image {
          width: 80px;
          height: 80px;
          margin: 0 auto 20px;
          display: flex;
          align-items: center;
          justify-content: center;
          background: rgba(0, 128, 128, 0.1);
          border-radius: 50%;
          padding: 15px;
      }
      
      .mvv-image img {
          max-width: 100%;
          max-height: 100%;
          object-fit: contain;
      }
      
      .mvv-card h3 {
          color: var(--azul-oscuro);
          font-size: 1.4rem;
          margin-bottom: 15px;
      }
      
      .mvv-text {
          color: #666;
          font-size: 1rem;
          line-height: 1.6;
          transition: all 0.4s ease;
      }
      
      /* NUEVO CONTENEDOR PARA MVV */
      .mvv-container {
          width: 100%;
          margin-top: 40px;
      }
      
      /* RESPONSIVE */
      @media (max-width: 992px) {
          .slider_detail-box h1 {
              font-size: 2.2rem;
          }
          
          .slider_detail-box p {
              font-size: 1rem;
          }
          
          .slide-content {
              flex-direction: column;
          }
          
          .text-content, .image-content {
              flex: none;
              width: 100%;
              padding: 0 20px;
          }
          
          .text-content {
              order: 2;
              margin-top: 30px;
              text-align: center;
          }
          
          .image-content {
              order: 1;
          }
          
          .welcome_section {
              padding: 60px 0;
          }
          
          .mision-vision-valores {
              grid-template-columns: repeat(2, 1fr);
          }
          
          .img-box, .detail-box {
              flex: 100%;
          }
          
          .img-box {
              order: 1;
              margin-bottom: 30px;
          }
          
          .detail-box {
              order: 2;
              text-align: center;
          }
      }
      
      @media (max-width: 768px) {
          .menu-items {
              position: fixed;
              top: 90px;
              left: 0;
              width: 100%;
              background-color: var(--verde-cip);
              flex-direction: column;
              align-items: center;
              padding: 20px 0;
              gap: 15px;
              transform: translateY(-150%);
              transition: transform 0.3s ease;
              box-shadow: 0 10px 15px rgba(0,0,0,0.1);
          }
          
          .menu-items.show {
              transform: translateY(0);
              display: flex;
          }
          
          .menu-icon {
              display: flex;
          }
          
          .menu-icon.active span:nth-child(1) {
              transform: rotate(45deg) translate(5px, 5px);
          }
          
          .menu-icon.active span:nth-child(2) {
              opacity: 0;
          }
          
          .menu-icon.active span:nth-child(3) {
              transform: rotate(-45deg) translate(7px, -6px);
          }
          
          .slider_section {
              padding-top: 90px;
          }
          
          .slider_img-box img {
              max-height: 300px;
          }
          
          .custom_heading-container h2 {
              font-size: 2rem;
          }
          
          .detail-box p {
              font-size: 1rem;
          }
      }
      
      @media (max-width: 576px) {
          .slider_detail-box h1 {
              font-size: 1.8rem;
          }
          
          .btn-1 {
              padding: 10px 25px;
              font-size: 0.9rem;
          }
          
          .menu {
              height: 60px;
              border-radius: 50px;
          }
          
          .logo img {
              height: 90px;
          }
          
          .carousel-control-prev, 
          .carousel-control-next {
              width: 40px;
              height: 40px;
              font-size: 1.2rem;
          }
          
          .mision-vision-valores {
              grid-template-columns: 1fr;
          }
          
          .custom_heading-container h2 {
              font-size: 1.8rem;
          }
          
          .mvv-card {
              padding: 25px;
          }
      }
          /* ESTILOS PARA LA SECCIÓN DE SERVICIOS */
.service_section {
    background-color: #f9fafc;
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.service_section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="%23008080" opacity="0.03" d="M0,0 L100,0 L100,100 L0,100 Z"></path></svg>');
    background-size: cover;
    z-index: 0;
}

.service_section .custom_heading-container h2 {
    position: relative;
    display: inline-block;
}

.service_section .custom_heading-container h2 span {
    color: var(--verde-cip);
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-top: 15px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.service_container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: -100px; /* Este lo corregiremos en móvil */
    position: relative;
    z-index: 1;
}

.service_box {
    position: relative;
    height: 100%;
    transition: all 0.4s ease;
}

.service_content {
    background: white;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.service_box:hover .service_content {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 128, 128, 0.1);
}

.service-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--verde-cip), var(--azul-oscuro));
    border-radius: 15px;
    opacity: 0;
    transition: all 0.3s ease;
}

.service_box:hover .service-bg {
    opacity: 0.1;
    transform: translateY(10px);
}

.img-box {
    margin-bottom: 25px;
}

.service-icon {
    max-width: 100%;
    height: auto;
    max-height: 150px;
    width: auto;
}

.service-number {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(0, 128, 128, 0.1);
    line-height: 1;
}

.service_content h4 {
    font-size: 1.4rem;
    color: var(--azul-oscuro);
    margin-bottom: 15px;
    line-height: 1.3;
}

.service_content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--verde-cip);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-link span {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.service-link:hover {
    color: var(--azul-oscuro);
}

.service-link:hover span {
    transform: translateX(5px);
}

.btn-2 {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(to right, var(--verde-cip), var(--azul-oscuro));
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 5px 15px #00808033;
}

.btn-2 svg {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.btn-2:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 128, 128, 0.3);
}

.btn-2:hover svg {
    transform: translateX(5px);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .service_container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .service_section {
        padding: 60px 0;
    }

    .service_container {
        grid-template-columns: 1fr;
        margin-top: 20px; /* <--- CORREGIDO para que no rompa en móvil */
    }

    .service_content {
        padding: 25px;
    }
}

@media (max-width: 576px) {
    .service_content h4 {
        font-size: 1.3rem;
    }

    .btn-2 {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

  /* Añade estos estilos a tu CSS existente */
.custom_heading-container {
    text-align: center;
    margin-bottom: 40px;
}

.heading-with-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
}

.heading-logo {
    height: 250px; /* Ajusta según necesites */
    width: auto;
}

.custom_heading-container h2 {
    margin: 0;
    font-size: 2rem;
    color: var(--azul-oscuro);
    position: relative;
    display: inline-block;
}

.custom_heading-container h2 span {
    color: var(--verde-cip);
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Ajustes responsivos */
@media (max-width: 768px) {
    .heading-with-logo {
        flex-direction: column;
        gap: 15px; /* un poco más de espacio entre imagen y texto */
    }

    .heading-logo {
        height: 120px; /* un tamaño muy bueno para móvil */
        max-width: 80%; /* para que no se pase del ancho */
        object-fit: contain; /* por si el logo es raro */
    }

    .custom_heading-container h2 {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }
}

  /* ESTILOS PARA LA SECCIÓN "POR QUÉ ELEGIRNOS" */
  .why_section {
      background-color: #ffffff;
      position: relative;
      overflow: hidden;
       padding: 60px 0;  
  }
  
  .why_section::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="%23052F5F" opacity="0.03" d="M0,0 L100,0 L100,100 L0,100 Z"></path></svg>');
      background-size: cover;
      z-index: 0;
  }
  
  .why-content {
      max-width: 900px;
      margin: 0 auto;
      position: relative;
      z-index: 1;
  }
  
  .main-description {
      font-size: 1.1rem;
      color: #555;
      line-height: 1.8;
      text-align: center;
      margin-bottom: 60px;
      padding: 0 20px;
  }
  
  .main-description strong {
      color: var(--azul-oscuro);
      font-weight: 600;
  }
  
.stats-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* para que en móviles baje bien */
    gap: 20px;
}
  

.stat-box {
    width: 280px; /* Este es el tamaño que tenían cuando había 3 */
    background: #fff;
    border-radius: 15px;
    padding: 30px 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}
  
  .stat-content {
      background: white;
      border-radius: 15px;
      padding: 40px 25px;
      height: 100%;
      position: relative;
      z-index: 2;
      box-shadow: 0 10px 30px rgba(5, 47, 95, 0.08);
      transition: all 0.4s ease;
      text-align: center;
      border: 1px solid rgba(5, 47, 95, 0.05);
  }
  
.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.1);
}
.stats-container.single {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* centra horizontalmente */
    align-items: center;     /* centra verticalmente en caso de altura */
    max-width: 100%; /* o 900px si quieres limitar */
    margin: 0 auto;
    padding: 20px 0;
}


  .stat-bg {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, var(--azul-oscuro), var(--verde-cip));
      border-radius: 15px;
      opacity: 0;
      transition: all 0.4s ease;
  }
  
  .stat-box:hover .stat-bg {
      opacity: 0.1;
      transform: translateY(10px);
  }
  
  .icon-box {
      position: relative;
      width: 80px;
      height: 80px;
      margin: 0 auto 25px;
      display: flex;
      align-items: center;
      justify-content: center;
  }
  
  .pulse-effect {
      position: absolute;
      width: 100%;
      height: 100%;
      background: rgba(0, 128, 128, 0.1);
      border-radius: 50%;
      animation: pulse 2s infinite;
      opacity: 0;
  }
  
  .stat-box:hover .pulse-effect {
      animation: pulse 2s infinite;
  }
  
  @keyframes pulse {
      0% {
          transform: scale(0.8);
          opacity: 0.5;
      }
      70% {
          transform: scale(1.2);
          opacity: 0;
      }
      100% {
          transform: scale(0.8);
          opacity: 0;
      }
  }
  
  .stat-icon {
      width: 50px;
      height: 50px;
      object-fit: contain;
      position: relative;
      z-index: 2;
  }
  
  .stat-number {
      font-size: 2.5rem;
      color: var(--azul-oscuro);
      margin-bottom: 10px;
      font-weight: 700;
  }
  
  .stat-title {
      color: var(--verde-cip);
      font-size: 1rem;
      text-transform: uppercase;
      letter-spacing: 1px;
      font-weight: 600;
      margin: 0;
  }
  
  /* ANIMACIÓN DE CONTADORES */
  .stat-number {
      transition: all 1s ease;
  }
  
  /* RESPONSIVE */
  @media (max-width: 992px) {
      .stats-container {
          grid-template-columns: repeat(2, 1fr);
      }
      
      .why_section {
          padding: 80px 0;
      }
  }
  
  @media (max-width: 768px) {
      .main-description {
          font-size: 1rem;
          margin-bottom: 40px;
      }
      
      .stat-content {
          padding: 30px 20px;
      }
  }
  
  @media (max-width: 576px) {
      .stats-container {
          grid-template-columns: 1fr;
      }
      
      .why_section {
          padding: 60px 0;
      }
      
      .stat-number {
          font-size: 2.2rem;
      }
      
      .stat-title {
          font-size: 0.9rem;
      }
  }
    /* ESTILOS PARA LA SECCIÓN DE CONTACTO */
    .contact_section {
      background-color: #f9fafc;
      position: relative;
      overflow: hidden;
      padding: 60px 0;
  }
  
  .contact_section::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="%23008080" opacity="0.03" d="M0,0 L100,0 L100,100 L0,100 Z"></path></svg>');
      background-size: cover;
      z-index: 0;
  }
  
  .contact_header {
      margin-bottom: 60px;
      position: relative;
      z-index: 1;
  }
  
  .section-title {
      font-size: 2.5rem;
      color: var(--azul-oscuro);
      margin-bottom: 15px;
      position: relative;
      display: inline-block;
  }
  
  .section-title::after {
      content: '';
      position: absolute;
      bottom: -10px;
      left: 50%;
      transform: translateX(-50%);
      width: 80px;
      height: 3px;
      background: linear-gradient(to right, var(--azul-oscuro), var(--verde-cip));
  }
  
  .section-subtitle {
      color: #666;
      font-size: 1.1rem;
      line-height: 1.6;
      max-width: 600px;
      margin: 0 auto;
  }
  
  .contact-icon {
      margin: 30px auto;
      width: 80px;
      height: 80px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(0, 128, 128, 0.1);
      border-radius: 50%;
  }
  
  .contact-icon svg {
      width: 40px;
      height: 40px;
  }
  
  .contact_form-container {
      max-width: 800px;
      margin: 0 auto;
      position: relative;
      z-index: 1;
  }
  
  .contact-form {
      background: white;
      border-radius: 15px;
      padding: 40px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  }
  
  .form-row {
      display: flex;
      flex-wrap: wrap;
      margin: 0 -15px;
  }
  
  .form-group {
      padding: 0 15px;
      margin-bottom: 25px;
  }
  
  .half-width {
      flex: 0 0 50%;
      max-width: 50%;
  }
  
  .contact-form label {
      display: block;
      margin-bottom: 8px;
      font-weight: 600;
      color: var(--azul-oscuro);
  }
  
  .input-container {
      position: relative;
  }
  
  .input-container svg {
      position: absolute;
      left: 15px;
      top: 50%;
      transform: translateY(-50%);
      z-index: 2;
  }
  
  .form-control {
      width: 100%;
      padding: 12px 15px 12px 45px;
      border: 1px solid #e0e0e0;
      border-radius: 8px;
      font-size: 1rem;
      transition: all 0.3s;
      background-color: #f9f9f9;
  }
  
  .form-control:focus {
      outline: none;
      border-color: var(--verde-cip);
      box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.1);
      background-color: white;
  }
  
  textarea.form-control {
      min-height: 150px;
      padding-top: 15px;
      resize: vertical;
  }
  
  select.form-control {
      appearance: none;
      background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
      background-repeat: no-repeat;
      background-position: right 15px center;
      background-size: 15px;
  }
  
  .form-submit {
      text-align: center;
      margin-top: 30px;
  }
  
  .submit-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(to right, var(--verde-cip), var(--azul-oscuro));
      color: white;
      border: none;
      padding: 15px 35px;
      border-radius: 50px;
      font-size: 1rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s;
      box-shadow: 0 5px 15px rgba(0, 128, 128, 0.2);
  }
  
  .submit-btn svg {
      margin-left: 10px;
      transition: transform 0.3s;
  }
  
  .submit-btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 20px rgba(0, 128, 128, 0.3);
  }
  
  .submit-btn:hover svg {
      transform: translateX(5px);
  }
  
  /* RESPONSIVE */
  @media (max-width: 992px) {
      .contact_section {
          padding: 80px 0;
      }
      
      .contact-form {
          padding: 30px;
      }
  }
  
  @media (max-width: 768px) {
      .section-title {
          font-size: 2rem;
      }
      
      .section-subtitle {
          font-size: 1rem;
      }
      
      .half-width {
          flex: 0 0 100%;
          max-width: 100%;
      }
      
      .contact-icon {
          width: 70px;
          height: 70px;
          margin: 20px auto;
      }
  }
  
  @media (max-width: 576px) {
      .contact_section {
          padding: 60px 0;
      }
      
      .contact-form {
          padding: 25px 20px;
      }
      
      .section-title {
          font-size: 1.8rem;
      }
      
      .submit-btn {
          padding: 12px 25px;
          font-size: 0.9rem;
      }
  }
    /* ESTILOS PARA EL FOOTER */
    :root {
      --azul-oscuro: #052F5F;
      --azul-claro: #1E88E5;
      --blanco: #FFFFFF;
      --gris-claro: #F5F5F5;
      --verde-cip: #008080;
      --sombra: 0 2px 10px rgba(0,0,0,0.1);
  }
  
  .footer {
      background-color: var(--azul-oscuro);
      color: white;
      position: relative;
      overflow: hidden;
  }
  
  .footer::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="%23008080" opacity="0.1" d="M0,0 L100,0 L100,100 L0,100 Z"></path></svg>');
      background-size: cover;
      z-index: 0;
  }
  
  .footer-container {
      position: relative;
      z-index: 1;
  }
  
  .footer-top {
      padding: 60px 0 40px;
  }
  
  .footer-title {
      font-size: 1.8rem;
      margin-bottom: 15px;
      color: white;
      position: relative;
      display: inline-block;
  }
  
  .footer-title::after {
      content: '';
      position: absolute;
      bottom: -8px;
      left: 0;
      width: 50px;
      height: 3px;
      background: var(--verde-cip);
  }
  
  .footer-text {
      color: rgba(255,255,255,0.8);
      margin-bottom: 20px;
      max-width: 300px;
  }
  
  .footer-social {
      display: flex;
      gap: 15px;
      margin-top: 20px;
  }
  
  .social-link {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: rgba(255,255,255,0.1);
      color: white;
      transition: all 0.3s ease;
  }
  
  .social-link:hover {
      background: var(--verde-cip);
      transform: translateY(-3px);
  }
  
  .social-link svg {
      width: 20px;
      height: 20px;
  }
  
  .footer-links {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 40px;
      margin-top: 40px;
  }
  
  .links-group {
      margin-bottom: 30px;
  }
  
  .links-title {
      font-size: 1.2rem;
      margin-bottom: 20px;
      color: white;
      position: relative;
      padding-bottom: 10px;
  }
  
  .links-title::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 40px;
      height: 2px;
      background: var(--verde-cip);
  }
  
  .links-list {
      list-style: none;
      padding: 0;
      margin: 0;
  }
  
  .links-list li {
      margin-bottom: 12px;
  }
  
  .footer-link {
      color: rgba(255,255,255,0.7);
      text-decoration: none;
      transition: all 0.3s ease;
      display: inline-flex;
      align-items: center;
  }
  
  .footer-link:hover {
      color: white;
      transform: translateX(5px);
  }
  
  .contact-list .footer-link {
      align-items: flex-start;
  }
  
  .contact-link svg {
      margin-right: 10px;
      flex-shrink: 0;
      margin-top: 3px;
  }
  
  .whatsapp:hover {
      color: #25D366;
  }
  
  .map:hover {
      color: #34B7F1;
  }
  
  .footer-newsletter {
      margin-top: 40px;
      max-width: 500px;
  }
  
  .newsletter-title {
      font-size: 1.2rem;
      margin-bottom: 15px;
      color: white;
  }
  
  .newsletter-form {
      position: relative;
  }
  
  .input-group {
      display: flex;
      border-radius: 30px;
      overflow: hidden;
      box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }
  
  .newsletter-form input {
      flex: 1;
      padding: 12px 20px;
      border: none;
      font-size: 1rem;
      background: rgba(255,255,255,0.9);
  }
  
  .newsletter-form input:focus {
      outline: none;
      background: white;
  }
  
  .newsletter-form button {
      background: var(--verde-cip);
      color: white;
      border: none;
      padding: 0 25px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
  }
  
  .newsletter-form button:hover {
      background: #006666;
  }
  
  .footer-bottom {
      padding: 20px 0;
      background: rgba(0,0,0,0.2);
      text-align: center;
  }
  
  .copyright {
      color: rgba(255,255,255,0.6);
      font-size: 0.9rem;
      margin: 0;
  }
  
  /* RESPONSIVE */
  @media (max-width: 992px) {
      .footer-links {
          grid-template-columns: repeat(2, 1fr);
      }
      
      .footer-newsletter {
          max-width: 100%;
      }
  }
  
  @media (max-width: 768px) {
      .footer-top {
          padding: 40px 0 30px;
      }
      
      .footer-title {
          font-size: 1.6rem;
      }
      
      .links-title {
          font-size: 1.1rem;
      }
  }
  
  @media (max-width: 576px) {
      .footer-links {
          grid-template-columns: 1fr;
          gap: 30px;
      }
      
      .input-group {
          flex-direction: column;
          border-radius: 8px;
      }
      
      .newsletter-form input, 
      .newsletter-form button {
          width: 100%;
          padding: 12px 15px;
      }
      
      .newsletter-form button {
          margin-top: 10px;
          border-radius: 8px;
      }
  }


      /* Estilos para los iconos */
      .icon-custom {
        font-size: 2.5rem;
        color: var(--verde-cip);
        position: relative;
        z-index: 2;
        transition: all 0.3s ease;
    }
    
    .stat-box:hover .icon-custom {
        transform: scale(1.1);
        color: var(--azul-oscuro);
    }
    
    /* Efecto pulse para iconos */
    @keyframes pulse {
        0% {
            transform: scale(0.8);
            opacity: 0.7;
        }
        70% {
            transform: scale(1.3);
            opacity: 0;
        }
        100% {
            transform: scale(0.8);
            opacity: 0;
        }
    }
    
    .pulse-effect {
        position: absolute;
        width: 100%;
        height: 100%;
        background: rgba(0, 128, 128, 0.2);
        border-radius: 50%;
        animation: pulse 2s infinite;
        opacity: 0;
    }
    
    .stat-box:hover .pulse-effect {
        animation: pulse 2s infinite;
    }
    
    /* Ajustes para la sección completa */
    .why_section {
        background-color: #f9fafc;
        position: relative;
    }
    
    .stats-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
        margin-top: 50px;
    }
    
    .stat-box {
        position: relative;
        height: 100%;
    }
    
    .stat-content {
        background: white;
        border-radius: 15px;
        padding: 40px 25px;
        height: 100%;
        position: relative;
        z-index: 2;
        box-shadow: 0 10px 30px rgba(5, 47, 95, 0.08);
        transition: all 0.4s ease;
        text-align: center;
    }
    
    .stat-box:hover .stat-content {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(5, 47, 95, 0.15);
    }

  /* Estilos para el Hero Banner */
  .hero-banner {
    position: relative;
    height: 80vh;
    min-height: 500px;
    background: url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    margin-top: 0px; /* Espacio para el menú fijo */
  }

  /* Si tu menú es fixed, añade este ajuste */
  header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }

  .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(5, 47, 95, 0.8) 0%, rgba(0, 96, 100, 0.8) 100%);
    z-index: 1;
  }

  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
    margin-top: -40px; /* Compensa el espacio del menú */
  }

  .hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
    padding-top: 20px; /* Espacio adicional */
  }

  .hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    display: inline-block;
    background: #00C4CC;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border: 2px solid transparent;
    font-size: 1rem;
  }

  /* Animación */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Responsive */
  @media (max-width: 992px) {
    .hero-banner {
      margin-top: 70px;
    }
    
    .hero-content h1 {
      font-size: 2.8rem;
    }
    
    .hero-subtitle {
      font-size: 1.1rem;
    }
  }

  @media (max-width: 768px) {
    .hero-banner {
      height: 70vh;
      margin-top: 60px;
    }
    
    .hero-content h1 {
      font-size: 2.3rem;
      padding-top: 15px;
    }
    
    .hero-cta {
      padding: 10px 25px;
    }
  }

  @media (max-width: 576px) {
    .hero-banner {
      height: 60vh;
      min-height: 400px;
      margin-top: 60px;
    }
    
    .hero-content h1 {
      font-size: 2rem;
      padding-top: 10px;
    }
    
    .hero-subtitle {
      font-size: 1rem;
    }
    
    .hero-cta {
      padding: 10px 20px;
      font-size: 0.9rem;
    }
  }


  /* ===== Sección Imagen + Texto ===== */
.image-text-section {
    padding: 80px 0;
  }
  
  .split-container {
    display: flex;
    align-items: center;
    gap: 50px;
  }
  
  .image-column, .text-column {
    flex: 1;
  }
  
  .section-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
  }
  
  .section-image:hover {
    transform: scale(1.02);
  }
  
  .text-column h2 {
    color: var(--azul-oscuro);
    font-size: 2rem;
    margin-bottom: 25px;
    line-height: 1.3;
  }
  
  .text-column h2 span {
    color: var(--verde-cip);
  }
  
  .text-column p {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #555;
  }
  
  /* Elementos destacados */
  .highlights {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
  }
  
  .highlight-item {
    display: flex;
    align-items: center;
    background: var(--gris-claro);
    padding: 10px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
  }
  
  .highlight-item:hover {
    background: var(--verde-cip);
    color: white;
  }
  
  .highlight-item:hover i {
    color: white;
  }
  
  .highlight-item i {
    color: var(--verde-cip);
    margin-right: 10px;
    transition: all 0.3s ease;
  }
  
  @media (max-width: 992px) {
    .split-container {
      flex-direction: column;
      gap: 30px;
    }
    
    .image-column, .text-column {
      width: 100%;
      max-width: 600px;
    }
    
    .text-column h2 {
      font-size: 1.8rem;
    }
  }

  /* ===== Sección Invertida (Texto + Imagen) ===== */
.image-text-section.inverted {
    background-color: var(--gris-claro);
  }
  
  .image-text-section.inverted .text-column {
    order: 1;
  }
  
  .image-text-section.inverted .image-column {
    order: 2;
  }
  
  /* Estadísticas */
  .stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
  }
  
  .stat-item {
    text-align: center;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    min-width: 120px;
    flex: 1;
  }
  
  .stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--verde-cip);
    line-height: 1;
  }
  
  .stat-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
  }
  
  @media (max-width: 992px) {
    .image-text-section.inverted .split-container {
      flex-direction: column-reverse;
    }
    
    .stats {
      gap: 15px;
    }
  }
  
  @media (max-width: 576px) {
    .stat-item {
      min-width: 100%;
    }
  }


/* Estilos para la sección de equipo */
.team-section {
  padding: 80px 0;
  background-color: #f9fafc;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--azul-oscuro);
  margin-bottom: 15px;
}

.section-header h2 span {
  color: var(--verde-cip);
}

.section-header .section-subtitle {
  color: #666;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.team-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.team-img-container {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .team-img {
  transform: scale(1.05);
}

.social-links {
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  background: rgba(0,128,128,0.8);
  padding: 15px 0;
  transition: all 0.3s ease;
}

.team-card:hover .social-links {
  bottom: 0;
}

.social-links a {
  color: white;
  margin: 0 10px;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-3px);
  color: var(--azul-oscuro);
}

.team-info {
  padding: 20px;
  text-align: center;
}

.team-info h3 {
  color: var(--azul-oscuro);
  margin-bottom: 5px;
  font-size: 1.3rem;
}

.position {
  color: var(--verde-cip);
  font-weight: 600;
  margin-bottom: 10px;
}

.expertise {
  color: #666;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.expertise i {
  color: var(--verde-cip);
  font-size: 0.8rem;
}

.btn-team {
  display: inline-flex;
  align-items: center;
  background: var(--verde-cip);
  color: white;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-team:hover {
  background: var(--azul-oscuro);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,128,128,0.2);
}

.btn-team i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.btn-team:hover i {
  transform: translateX(5px);
}

/* Responsive */
@media (max-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section-header h2 {
    font-size: 2rem;
  }
  
  .team-section {
    padding: 60px 0;
  }
}

@media (max-width: 576px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
}

/* Estilos para la sección de Pensiones */
#nuestros-servicios {
    padding: 40px 20px;
    text-align: center;
    background: #f8f9fa;
}

#nuestros-servicios h2 {
    color: #2c3e50;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Estilos para la sección de imagen de fondo */
.u-section-2 {
    position: relative;
    height: 100vh;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.u-section-2 > div {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    width: 100%;
    padding-right: 150px;
    max-width: 1200px;
    margin: 0 auto;
}

.u-section-2 > div > div:last-child {
    text-align: left;
    color: #fff;
    padding: 30px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    max-width: 400px;
}

.u-section-2 h2 {
    font-size: 2.5em;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 15px;
}

.u-section-2 p {
    font-size: 1.2em;
    line-height: 1.4;
}

/* Estilos para la sección "Ofrecemos" */
.ofrecemos-section {
    background-color: #0a192f;
    padding: 60px 20px;
    text-align: center;
}

.ofrecemos-section h2 {
    font-size: 3em;
    font-weight: bold;
    color: #64ffda;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

.ofrecemos-section p {
    font-size: 1.2em;
    color: #fff;
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 992px) {
    .u-section-2 > div {
        padding-right: 80px;
    }
}

@media (max-width: 768px) {
    #nuestros-servicios h2 {
        font-size: 2rem;
    }
    
    .u-section-2 > div {
        padding-right: 20px;
        justify-content: center;
    }
    
    .u-section-2 > div > div:first-child {
        display: none;
    }
    
    .u-section-2 > div > div:last-child {
        text-align: center;
        margin: 0 20px;
    }
    
    .ofrecemos-section h2 {
        font-size: 2.5em;
    }
}

@media (max-width: 576px) {
    #nuestros-servicios h2 {
        font-size: 1.8rem;
    }
    
    .u-section-2 h2 {
        font-size: 2em;
    }
    
    .u-section-2 p {
        font-size: 1em;
    }
    
    .ofrecemos-section h2 {
        font-size: 2em;
    }
    
    .ofrecemos-section p {
        font-size: 1em;
    }
}

        /* Estilos solo para las secciones posteriores al menú */
        
        /* Espacio para el menú fijo */
        body {
            padding-top: 100px;
             scroll-padding-top: 100px; /* para anclas internas */
        }
        
        /* Sección de Pensiones */
        #nuestros-servicios {
            padding: 40px 20px;
            text-align: center;
            background: #f8f9fa;
        }
        
        #nuestros-servicios h2 {
            color: #2c3e50;
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 20px;
        }
        
        /* Hero de Pensiones */
        .pension-hero {
            height: 100vh;
            background: url('https://images.pexels.com/photos/6787960/pexels-photo-6787960.jpeg') center/cover no-repeat;
            display: flex;
            align-items: center;
            position: relative;
        }
        
        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
        }
        
        .hero-content {
            position: relative;
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .hero-text-box {
            max-width: 500px;
            color: #fff;
            padding: 30px;
            background: rgba(0, 0, 0, 0.6);
            border-radius: 10px;
            margin-left: auto;
        }
        
        .hero-text-box h2 {
            font-size: 2.5rem;
            font-weight: bold;
            line-height: 1.2;
            margin-bottom: 15px;
        }
        
        .hero-text-box p {
            font-size: 1.2rem;
            line-height: 1.4;
            margin-bottom: 25px;
        }
        
        .cta-button {
            display: inline-block;
            background: #64ffda;
            color: #0a192f;
            padding: 12px 30px;
            border-radius: 4px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
        }
        
        .cta-button:hover {
            background: #52d6c2;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(100, 255, 218, 0.3);
        }
        
        /* Sección Ofrecemos */
        .ofrecemos-section {
            background-color: #0a192f;
            padding: 80px 20px;
            text-align: center;
        }
        
        .ofrecemos-section h2 {
            font-size: 3rem;
            font-weight: bold;
            color: #64ffda;
            text-transform: uppercase;
            letter-spacing: 2px;
            margin: 0;
        }
        
        .ofrecemos-section p {
            font-size: 1.2rem;
            color: #fff;
            margin-top: 15px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }
        
      
        
        /* Sección de Ahorro */
        .ahorro-section {
            margin-top: 60px;
            text-align: center;
            padding: 80px 20px;
            background-color: #f9f9f9;
        }
        
        .ahorro-logo {
            background-color: white;
            padding: 20px;
            border-radius: 15px;
            display: inline-block;
            margin-bottom: 30px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        }
        
        .ahorro-logo img {
            height: 120px;
        }
        
        .ahorro-section h2 {
            color: #2c3e50;
            font-size: 2.8rem;
            font-weight: 700;
            margin-bottom: 25px;
            line-height: 1.3;
        }
        
        .ahorro-section p {
            font-size: 1.25rem;
            line-height: 1.8;
            color: #555;
            max-width: 800px;
            margin: 0 auto 30px;
        }
        
        .ahorro-cta {
            background-color: #2c3e50;
            color: white;
            font-size: 1.1rem;
            font-weight: 600;
            padding: 12px 30px;
            border-radius: 25px;
            text-decoration: none;
            transition: background-color 0.3s ease;
            display: inline-block;
        }
        
        .ahorro-cta:hover {
            background-color: #1a2a4a;
        }
        
        /* Sección de Créditos */
        .creditos-section {
            padding: 80px 20px;
            background-color: #ffffff;
        }
        
        .creditos-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 40px;
        }
        
        .creditos-image {
            flex: 1;
            min-width: 300px;
        }
        
        .creditos-image img {
            width: 100%;
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .creditos-content {
            flex: 1;
            min-width: 300px;
        }
        
        .creditos-content h2 {
            color: #2c3e50;
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 20px;
        }
        
        .creditos-content p {
            font-size: 1.2rem;
            line-height: 1.6;
            color: #333;
            margin-bottom: 20px;
        }
        
        .creditos-list {
            list-style: none;
            padding: 0;
            margin-top: 20px;
        }
        
        .creditos-list li {
            margin-bottom: 15px;
            display: flex;
            align-items: flex-start;
        }
        
        .creditos-list i {
            color: #007bff;
            margin-right: 10px;
            margin-top: 3px;
        }
        
        .creditos-cta {
            background-color: #007bff;
            color: white;
            padding: 12px 30px;
            border-radius: 5px;
            text-decoration: none;
            display: inline-block;
            margin-top: 20px;
            font-weight: 600;
            transition: background-color 0.3s ease;
        }
        
        .creditos-cta:hover {
            background-color: #0069d9;
        }
        
        /* Responsive */
        @media (max-width: 992px) {
            .hero-text-box {
                max-width: 450px;
            }
            
            .creditos-container {
                flex-direction: column;
            }
        }
        
        @media (max-width: 768px) {
            .hero-text-box {
                margin: 0 auto;
                text-align: center;
            }
            
            .ofrecemos-section h2 {
                font-size: 2.5rem;
            }
            
            .ahorro-section h2 {
                font-size: 2.2rem;
            }
            
            .creditos-content h2 {
                font-size: 2rem;
            }
        }
        
        @media (max-width: 576px) {
            #nuestros-servicios h2 {
                font-size: 1.8rem;
            }
            
            .hero-text-box h2 {
                font-size: 2rem;
            }
            
            .hero-text-box p {
                font-size: 1rem;
            }
            
            .ofrecemos-section h2 {
                font-size: 2rem;
            }
            
            .ofrecemos-section p {
                font-size: 1rem;
            }
            
            .ahorro-section h2 {
                font-size: 1.8rem;
            }
            
            .ahorro-section p {
                font-size: 1.1rem;
            }
            
            #card-container {
                grid-template-columns: 1fr;
            }
        }
          /* Estilos para el botón de asesor */
        .asesor-btn-container {
            text-align: center;
            margin: 50px 0;
            padding: 0 20px;
        }
        
        .asesor-btn {
            background-color: #007bff;
            color: white;
            border: none;
            padding: 15px 35px;
            font-size: 1.2rem;
            font-weight: 600;
            border-radius: 30px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
            box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
        }
        
        .asesor-btn:hover {
            background-color: #0069d9;
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
        }
        
        .asesor-btn i {
            font-size: 1.4rem;
            transition: transform 0.3s ease;
        }
        
        .asesor-btn:hover i {
            transform: scale(1.1);
        }

        @media (max-width: 768px) {
            .asesor-btn {
                padding: 12px 25px;
                font-size: 1.1rem;
            }
        }
     /* Estilos para el menú desplegable */
  .dropdown {
    position: relative;
  }
  
  .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
  }
  
  .dropdown-toggle i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
  }
  
  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    border-radius: 5px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none; /* Elimina los puntos */
    padding-left: 0;  /* Elimina padding izquierdo */
  }
  
  .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
  }
  
  .dropdown-menu li {
    padding: 0; /* Aseguramos no hay padding */
    margin: 0;  /* Aseguramos no hay margen */
  }
  
  .dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: #333;
    transition: all 0.3s ease;
  }
  
  .dropdown-menu a:hover {
    background: #f5f5f5;
    color: #007bff;
    padding-left: 25px;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .dropdown-menu {
      position: static;
      box-shadow: none;
      display: none;
      opacity: 1;
      visibility: visible;
      transform: none;
    }
    

  }


        /* Estilo específico para la sección de servicios */
        .services-section {
            padding: 60px 20px;
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .services-section h1 {
            text-align: center;
            color: #2c3e50;
            font-size: 2.5rem;
            margin-bottom: 15px;
            font-weight: 700;
        }
        
        .services-section .subtitle {
            text-align: center;
            color: #7f8c8d;
            font-size: 1.2rem;
            max-width: 600px;
            margin: 0 auto 40px;
        }
        
        .services-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }
        
        .service-card {
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
        }
        
        .service-card:hover {
            transform: translateY(-5px);
        }
        
        .service-header {
            padding: 20px;
            background: #0a192f;
            color: white;
            display: flex;
            align-items: center;
        }
        
        .service-icon {
            width: 50px;
            height: 50px;
            background: rgba(255,255,255,0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            font-size: 1.5rem;
            color: #64ffda;
        }
        
        .service-card h2 {
            margin: 0;
            font-size: 1.5rem;
        }
        
        .service-content {
            padding: 20px;
        }
        
        .service-description {
            color: #555;
            margin-bottom: 15px;
            line-height: 1.6;
        }
        
        .feature-list {
            list-style: none;
            padding: 0;
            margin-bottom: 20px;
        }
        
        .feature-list li {
            padding: 8px 0;
            border-bottom: 1px solid #eee;
            display: flex;
            align-items: center;
        }
        
        .feature-list li:last-child {
            border-bottom: none;
        }
        
        .feature-list li::before {
            content: "•";
            color: #0a192f;
            font-weight: bold;
            margin-right: 10px;
        }
        
        .btn-details {
            display: inline-flex;
            align-items: center;
            padding: 10px 20px;
            background: #0a192f;
            color: white;
            border-radius: 5px;
            text-decoration: none;
            font-weight: 600;
            transition: background 0.3s ease;
        }
        
        .btn-details:hover {
            background: #1a2a4a;
        }
        
        .btn-details i {
            margin-left: 8px;
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            .services-section h1 {
                font-size: 2rem;
            }
            
            .services-section .subtitle {
                font-size: 1rem;
            }
            
            .services-container {
                grid-template-columns: 1fr;
            }
        }

        /* Modo móvil: asegúrate de que solo gire cuando esté activo */
            @media (max-width: 768px) {
            .dropdown .dropdown-toggle .fa-chevron-down {
                transition: transform 0.3s ease;
                transform: rotate(0deg);
            }

            }

            /* Sobrescribe hover en escritorio para evitar conflicto con "active" */
            @media (min-width: 769px) {
            .dropdown:hover .dropdown-toggle .fa-chevron-down {
                transform: rotate(180deg);
            }

            }


            .ubicacion-section {
            padding: 60px 20px;
            background-color: #f5f7fa;
            text-align: center;
            }

            .ubicacion-section h2 {
            font-size: 2.2rem;
            color: #2c3e50;
            margin-bottom: 10px;
            }

            .ubicacion-section p {
            font-size: 1.1rem;
            color: #555;
            margin-bottom: 25px;
            }

            .mapa-container {
            max-width: 100%;
            overflow: hidden;
            border-radius: 10px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            }
