 /* Estilos Generales */
 body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  background-color: #ffffff;
 
}

/*
body {
  font-weight: 400;
}

strong {
  font-weight: 600;
}*/


/* Estilos del Encabezado (Header) */
.servicios-header {
  background-color: #001F3F; 
  color: #FFFFFF;
  padding: 60px 20px;
  text-align: center;
  margin-top: 100px;
}

.servicios-header h1 {
  margin-top: 0;
  font-size: 2.5em;
  letter-spacing: 2px;
}

.servicios-header p {
  font-size: 1.2em;
  margin-bottom: 0;
}

/* Estilos de la Sección de Servicios */
.servicios-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 40px 20px;
  width: 100%;
  max-width: 1200px;
  margin: auto;
}

/* ===== TARJETA ===== */
.servicio-card {
  background: #ffffff;
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%; 
}

.servicio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.servicio-card h2 {
  color: #002855;
  font-size: 22px;
  margin: 10px 0;
  font-weight: bold;
}
.servicio-card p {
  font-size: 16px;
  color: #333;
  line-height: 1.5;

}

/* Estilos de la Imagen */
.servicio-imagen{
  width: 100%;
  height: 200px;
  background-color: #0066a1; 
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  margin-bottom: 15px;
  text-transform: uppercase;
}
.servicio-imagen img{
  width: 100%;
  height: 200px;
  background-color: #0056b3; 
  display: flex;
  align-items: center;
  justify-content: center;
 
  border-radius: 4px;
  margin-bottom: 15px;
  text-transform: uppercase;
}



/* ==== MODAL ==== */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 31, 63, 0.8);
  justify-content: center;
  align-items: center;
  overflow-y: auto;
  padding: 0;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  width: 90%;
  max-width: 600px;
  text-align: center;
  position: relative;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  animation: slideUp 0.4s ease;
  box-sizing: border-box; 
   
    max-height: 100vh;
    overflow-y: auto;

  
}

.modal-content h2 {
  color: #001F3F;
  margin-top: 27px;
  margin-bottom: 5px;
}

.modal-content p {
  color: #333;
  margin-bottom: 10px;
  line-height: 1.6;
}

.close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  color: #001F3F;
}

.close:hover {
  color: #0074D9;
}

.modal_contact-btn {
  background-color: #001F3F;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 1em;
  cursor: pointer;
  transition: 0.3s;
}


.modal_contact-btn:hover {
  background-color: #0074D9;
}

/* Animaciones */
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ==== Modal: estilo específico para listas técnicas ==== */
.modal-content h3 {
  color: #001F3F;
  font-size: 1.2em;
  margin-top: 20px;
  text-align: left;
}

.equipos-lista {
  list-style: none;
  text-align: left;
  margin: 15px 0 25px;
  padding: 0;
  columns: 2; 
  column-gap: 30px;
}

.equipos-lista li {
  background: #f5f8fa;
  margin: 6px 0;
  padding: 8px 12px;
  border-left: 4px solid #001F3F;
  border-radius: 4px;
  font-size: 0.95em;
  transition: 0.3s;
}

.equipos-lista li:hover {
  background: #eaf2f9;
  transform: translateX(3px);
}



/*-----POLITICAS-----*/

.politica-calidad {
  background: #fff;
  font-family: "Poppins", sans-serif;
  padding: 80px 5%;
}

.politica-calidad .contenido {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 50px;
}

.politica-calidad .imagen {
  flex: 1 1 45%;
}

.politica-calidad .imagen img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.politica-calidad .texto {
  flex: 1 1 45%;
}

.politica-calidad h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
  color: #222;
}

.politica-calidad h2 strong {
  color: #333;
  font-weight: 700;
}

.politica-calidad p {
  color: #444;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 25px;
}

.boton-calidad {
  background-color: #0066a1;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.3s ease;
}

.boton-calidad:hover {
  background-color: #51779f;
}

/* ===== Certificaciones ===== */
.certificaciones {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  background-color: #0066a1;
  color: white;
  padding: 60px 5%;
  gap: 40px;
}

.certificado {
  flex: 1 1 45%;
  background-color: #0066a1;
  padding: 30px;
  border-radius: 10px;
  color: white;
}

.certificado h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.certificado p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.boton-cert {
  background-color: white;
  color: #0066a1;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
}

.boton-cert:hover {
  background-color: #acdefbed;
  transform: scale(1.05);
}




/*====RESPONSIVE GENERAL===*/

   @media (max-width: 1024px) {

    .servicios-header {
      padding: 80px 20px !important;
      background-size: cover;
      background-position: center;
    }
  
    .servicios-header h1 {
      font-size: 2.2em;
    }
  
    .servicios-container {
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 25px;
    }
  
    .equipos-lista {
      columns: 1;
    }
  
    .politica-calidad .contenido {
      flex-direction: column;
      text-align: center;
    }
  
    .politica-calidad .imagen,
    .politica-calidad .texto {
      flex: 1 1 100%;
    }
  
    .certificaciones {
      flex-direction: column;
    }
  
    .certificado {
      flex: 1 1 100%;
    }

    .modal {
      display: none;
      position: fixed;
      z-index: 10000;
      inset: 0;
      background: rgba(0, 31, 63, 0.8);
      padding: 0px;
      overflow-y: auto; 
    }
    
    .modal-content {
      width: 100%;
      max-width: 600px;
      margin: auto;
      background: #fff;
      border-radius: 12px;
      padding: 25px;
      box-sizing: border-box;
    }
  }
  
 
  @media (max-width: 768px) {
    /* Header */
    .servicios-header {
      padding: 80px 20px;
      margin-top: 70px;
      background-size: cover;
    }
  
    .servicios-header h1 {
      font-size: 1.8em;
      line-height: 1.2;
    }
  
    .servicios-header p {
      font-size: 1em;
    }
  
    /* Cards */
    .servicios-container {
      grid-template-columns: 1fr;
      padding: 20px;
      width: auto;
    }
  
    .servicio-card {
      padding: 20px;
    }
  
    .servicio-imagen img {
      height: 170px;
      object-fit: cover;
    }
  
    /* Modal */
    .modal {
      display: none;
      position: fixed;
      z-index: 10000;
      inset: 0;
      background: rgba(0, 31, 63, 0.8);
      padding: 0px;
      overflow-y: auto; 
    }
    .modal-content {
      width: 90%;
      max-height: 90vh;
      overflow-y: auto;
    }
    .modal-content {
      padding-bottom: 60px !important; 
  }


  
    .equipos-lista {
      columns: 1;
    }
  
    /* Política */
    .politica-calidad h2 {
      font-size: 1.9rem;
    }
  
    .politica-calidad p {
      font-size: 1rem;
    }
  
    /* Certificaciones */
    .certificado h3 {
      font-size: 1.5rem;
    }
  }
 
  @media (max-width: 480px) {
  
    /* HEADER */
    .servicios-header {
      padding: 70px 15px;
      background-position: center;
    }
  
    .servicios-header h1 {
      font-size: 1.5rem;
    }
  
    .servicios-header p {
      font-size: 0.95rem;
    }
  
    /* TARJETAS */
    .servicio-card {
      padding: 18px;
    }
  
    .servicio-card h2 {
      font-size: 19px;
    }
  
    .servicio-card p {
      font-size: 14px;
    }
  
    .servicio-imagen img {
      height: 150px;
      border-radius: 6px;
      object-fit: cover;
    }
  
    /* MODAL */

    .modal {
      display: none;
      position: fixed;
      z-index: 10000;
      inset: 0;
      background: rgba(0, 31, 63, 0.8);
      padding: 0px;
      overflow-y: auto; 
    }
    

  .modal-content {
    width: 92%;
    padding: 18px;
  }

  
    .modal-content h2 {
      font-size: 1.3rem;
    }
  
    .modal-content p {
      font-size: 0.9rem;
    }
  
    .close {
      font-size: 24px;
    }
  
    /* Política */
    .politica-calidad {
      padding: 50px 20px;
    }
  
    .politica-calidad h2 {
      font-size: 1.7rem;
    }
  
    /* Certificaciones */
    .certificaciones {
      padding: 40px 20px;
    }
  
    .certificado {
      padding: 20px;
    }
  
    .certificado p {
      font-size: 0.9rem;
    }
  
    .boton-cert {
      font-size: 0.9rem;
    }
  }
  

