.clientes-section {
    background: #f7f7f7;
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .clientes-wrapper {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  
  .clientes-titulo {
    color: #e17000;
    font-size: 24px;
    font-weight: bold;
    flex: 1 1 200px;
    text-align: left;
    margin-right: 20px;
  }
  
  .slider-clientes-container {
    overflow: hidden;
    flex: 3 1 600px;
    position: relative;
  }
  
  .clientes-slider {
    display: flex;
    gap: 40px;
    animation: scrollLogos 30s linear infinite;
  }
  
  .clientes-slider img {
    height: 60px;
    object-fit: contain;
    filter: grayscale(0%);
    transition: transform 0.3s ease;
  }
  
  .clientes-slider img:hover {
    transform: scale(1.1);
  }
  
  @keyframes scrollLogos {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .clientes-section {
      padding-bottom: 0; /* elimina el espacio extra */
    }
    
    .slider-clientes-container {
      min-height: 80px; 
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .clientes-slider {
      flex-wrap: nowrap;
      overflow: hidden;
      flex-shrink: 0;
      min-width: 200%;
    }
    
    .clientes-slider img {
      height: 40px; /* más compacto en móviles */
    }
    
  }
/* inicio del agradecimiento */
.agradecimiento-section {
    background-color: #050A9A;
    padding: 60px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .agradecimiento-card {
    background-color: #fffcfc;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    max-width: 800px;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease-in-out;
  }
  
  .agradecimiento-titulo {
    font-size: 2rem;
    color: #E17000;
    margin-bottom: 16px;
  }
  
  .agradecimiento-frase {
    font-size: 1.2rem;
    color: #333;
    font-weight: 400;
  }
  
  /* Animación scroll suave */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(40px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .agradecimiento-card {
      padding: 30px 20px;
    }
  
    .agradecimiento-titulo {
      font-size: 1.6rem;
    }
  
    .agradecimiento-frase {
      font-size: 1rem;
    }
  }
  /* inicio de quienes somos  */
  .quienes-somos-section {
    background-color: #fdfdfd;
    padding: 60px 20px;
    font-family: 'Poppins', sans-serif;
  }
  
  .quienes-wrapper {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
  }
  
  .quienes-imagen {
    flex: 1 1 500px;
    display: flex;
    justify-content: center;
  }
  
  .quienes-imagen img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }
  
  .quienes-texto {
    flex: 1 1 500px;
    color: #333;
  }
  
  .quienes-texto h2 {
    color: #110D7F;
    font-size: 2.2rem;
    margin-bottom: 16px;
    font-weight: 700;
  }
  
  .quienes-texto p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .quienes-wrapper {
      flex-direction: column;
      text-align: center;
    }
  
    .quienes-texto h2 {
      font-size: 1.8rem;
    }
  
    .quienes-texto p {
      font-size: 1rem;
    }
  }
  /*mision , vision y valores  */
  .mvv-section {
    padding: 100px 30px;
    background: linear-gradient(to bottom, #fefefe 0%, #f1f4ff 100%);
    font-family: 'Poppins', sans-serif;
    text-align: center;
  }
  
  .mvv-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-bottom: 60px;
  }
  
  .mvv-card {
    flex: 1 1 320px;
    max-width: 400px;
    background-color: #ffffff;
    border-top: 6px solid #e17000;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .mvv-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  }
  
  .mvv-card h3,
  .mvv-card h4 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: #110D7F;
    font-weight: 700;
  }
  
  .mvv-card p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #444;
  }
  
  .icono {
    color: #e17000;
    margin-right: 10px;
    font-size: 1.3rem;
    vertical-align: middle;
  }
  
  .valores-titulo {
    font-size: 2rem;
    color: #110D7F;
    font-weight: 800;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  /* Animación de entrada */
  .animado {
    opacity: 0;
    transform: translateY(30px);
    animation: aparecer 1s ease forwards;
  }
  
  .animado:nth-child(1) { animation-delay: 0.2s; }
  .animado:nth-child(2) { animation-delay: 0.4s; }
  .animado:nth-child(3) { animation-delay: 0.6s; }
  
  @keyframes aparecer {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .mvv-grid {
      flex-direction: column;
      gap: 30px;
    }
  
    .valores-titulo {
      font-size: 1.6rem;
    }
  
    .mvv-card {
      margin: 0 auto;
    }
  }
  /* noticias */
  .noticias-section {
    padding: 80px 20px;
    background-color: #fdfdfd;
    font-family: 'Poppins', sans-serif;
  }
  
  .noticias-titulo {
    text-align: center;
    color: #110D7F;
    font-size: 2rem;
    margin-bottom: 40px;
  }
  
  .noticias-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
  }
  
  .noticia-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    max-width: 350px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s;
  }
  
  .noticia-card:hover {
    transform: translateY(-6px);
  }
  
  .noticia-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
  }
  
  .noticia-contenido {
    padding: 20px;
    flex-grow: 1;
  }
  
  .noticia-contenido h3 {
    color: #110D7F;
    font-size: 1.2rem;
    margin-bottom: 10px;
  }
  
  .noticia-contenido p {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 15px;
  }
  
  .leer-mas {
    color: #d00000;
    font-weight: 600;
    text-decoration: none;
  }
  
  .leer-mas:hover {
    text-decoration: underline;
  }
  
  .noticia-footer {
    background: #f3f3f3;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #333;
    border-top: 1px solid #ddd;
  }
  
  /* Estado inicial antes de animar */
.animar {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  
  /* Cuando entra en vista */
  .animar.activo {
    opacity: 1;
    transform: translateY(0);
  }
  
  
  /* Responsive */
  @media (max-width: 768px) {
    .noticia-card {
      max-width: 90%;
    }
  }
  
  /* principales servicios */
  .servicios-section {
    background: #fdfdfd;
    padding: 80px 20px;
    font-family: 'Poppins', sans-serif;
  }
  
  .titulo-servicios {
    text-align: center;
    font-size: 2.4rem;
    color: #110D7F;
    margin-bottom: 50px;
  }
  
  .servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: auto;
  }
  
 
.tarjeta-servicio {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.4s ease;
    height: 320px; 
  }
  
  .tarjeta-servicio:hover {
    transform: scale(1.02);
  }
  
  .tarjeta-servicio img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(50%);
    transition: filter 0.3s ease;
  }
  
  /* TÍTULO SOBRE LA IMAGEN */
  .tarjeta-servicio h3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.6rem;
    font-weight: bold;
    text-align: center;
    z-index: 2;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  
  .tarjeta-servicio:hover h3 {
    opacity: 0; 
  }
  
  /* OVERLAY */
  .tarjeta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 13, 127, 0.95);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .tarjeta-servicio:hover .tarjeta-overlay {
    opacity: 1;
  }
  
  .tarjeta-overlay ul {
    list-style: none;
    padding-left: 0;
    font-size: 1rem;
    line-height: 1.7;
  }
  
  /* Animación inicial (para JS) */
  .tarjeta-servicio.animar {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  
  .tarjeta-servicio.animar.activo {
    opacity: 1;
    transform: translateY(0);
  }
  .descargar-brochure {
  margin-top: 20px;
}

.boton-descarga {
  display: inline-block;
  background-color: #050A9A;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.boton-descarga:hover {
  background-color: #ff9900;
}
