
* { margin: 0; padding: 0; box-sizing: border-box; }
body, html {
    height: 100%;
    margin: 0;
    padding: 0; 
    font-family: 'Roboto', sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-y: auto;
    box-sizing: border-box;
}
#wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex:1;
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 30px;
    height: 75px;
    background-color: white;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.0);
}

.menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
    font-size: 1.3rem;
    padding-top: 5px;
}
.nav-links li a {
    text-decoration: none;
    color: #149db3;
    font-weight: 600;
}
.language-switcher {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-left: 15px;
}

.lang-btn {
  background-color: #ffffff;
  border: 1px solid #ccc;
  color: #333;
  padding: 5px 12px;
  font-size: 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-btn:hover {
  background-color: #e4cd4dfd;
  color: white;
  border-color: #e4cd4dfd;
}

.lang-btn.active {
  background-color: #e4cd4dfd;
  color: white;
  border-color: #e4cd4dfd;
}
@media (max-width: 768px) {
    .menu-icon {
        display: block;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        right: 30px;
        background: white;
        box-shadow: 0 0 10px rgba(0,0,0,0.2);
        flex-direction: column;
        padding: 10px;
        gap: 10px;
    }
    .nav-links.show {
        display: flex;
    }
}

.section {
    padding: 100px 20px 40px;
}
#mute-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #e4cd4dfd;
  border: none;
  color: white;
  padding: 10px 14px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  z-index: 999;
}
#inicio {
    background: url("../img/fondo-empresa.jpg") no-repeat center center/cover;
    color: rgba(2, 50, 91, 0.723);
    text-align: center;
    position: relative;
    min-height: 100vh;
    padding: 70px 20px 40px;
}
#inicio::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.05);
}
#inicio .content {
  margin-top: 110px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(3.5px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  max-width: 1100px;
}
#inicio h1 {
    font-size: 2.8rem;
    color: #6bf1d4d5;
}

/*#inicio p {
    font-size: 1.4rem;
    max-width: 600px;
    margin: auto;
    margin-bottom: 30px;
}*/
.texto_inicio {
  max-width: 100%;
  width: 100%;
  text-align: center;
  font-size: 1.4rem;
  line-height: 1.6;
  padding: 20px;
 

}
.texto_inicio p {
  margin: 0 auto;
  width: 100%;
  color: #fcffff;
}
.btn {
    padding: 20px 30px;
    background: #0da2c0;
    color: white;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 10px;
}

#quienes-somos {
    background: url("../img/quienes.jpg") no-repeat center center/cover;
    color: #d4f5fa;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* alto mínimo igual a la pantalla */
    padding: 20px;
}
.quienes-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 30px;
    border-radius: 10px;
    max-width: 1100px;
    margin: auto;
}
.quienes-texto h2 {
  color: #c2f2f9;
}
.quienes-texto { 
  flex: 2;
  font-size: 1.4rem;
  min-width: 250px;
  text-align: center;
}
.somos-imagen {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

#contacto {
    background-color: #2c879d;
    padding: 40px 10px;
    min-height: calc(100vh - 80px); /* Ajusta según el footer */
    display: flex;
    flex-direction: column;
    justify-content: space-between;  
}
#contacto h2 {
    font-size: 2rem;
    margin-top: 35px;
    text-align: center;
    color: aliceblue;
    
}
.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    align-items: flex-start;
}
.contact-wrapper {
    max-width: 1200px;
    margin: 0 auto; /* Centrado + margen superior */
    width: 100%;   
}
.mapa-container {
    width: 100%;
    margin-top: 5px;
}
.mapa-container iframe {
    width: 100%;
    height: 250px;
    border: none;
}
.contacto-contenido {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    padding: 40px;
    
}
.contacto-banner {
  background-color: #d4d6e0df;
  display: flex;
  justify-content: center;
  border-radius: 10px;
  padding: 10px 10px 10px 10px;
}
.info-contacto {
    flex: 1 1 30px;
    min-width: 300px;
    font-size: 1rem;
    color: rgba(12, 138, 241, 0.856);
    display: flex;
    flex-direction: column;
    align-items: left;   
}

.formulario {
    flex: 1 1 400px;
    width: 100%;
    max-width: 400px;
}
.formulario input,
.formulario textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.formulario button {
    background: #f2ff00;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: block;
    margin-left: auto;
}

footer {
    text-align: center;
    padding: 20px;
    background: #ffffff;
    color: #019fbb;
    margin-top: 0;
}

.footer-logo {
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.945);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  color: #064d63;
  font-size: 0.95rem;
}

@media (max-width:768px) {
    .contacto-contenido {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }
    .formulario button {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .quienes-container,
    .contact-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}


/* NUEVA SECCIÓN DE SERVICIOS TIPO CONTOSO */

.contenedor-servicios {
  display: flex;
  flex-direction: column;
  gap: 80px;
  padding: 60px 5%;
  background-color: #090d30;
}

.servicio-bloque {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

/* .servicio-bloque.inverso {
  flex-direction: row-reverse;
}*/

.servicio-img img {
  width: 100%;
  max-width: 600px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

.servicio-texto {
  max-width: 600px;
  color: #ffffff;
}

.etiqueta {
  font-size: 14px;
  font-weight: bold;
  background-color: #e95420;
  color: white;
  padding: 4px 12px;
  border-radius: 4px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 16px;
}

.servicio-texto h3 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: #ffffff;
}

.servicio-texto p {
  font-size: 1.1rem;
  margin-bottom: 24px;
  line-height: 1.6;
  color: #ddd;
}

.btn-texto {
    text-decoration: none;
    font-weight: bold;
    color: #e95420;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.btn-texto:hover {
    color: #fff;
    text-decoration: underline;
}

/* Responsivo para móviles */
@media (max-width: 768px) {
  .servicio-bloque,
  .servicio-bloque.inverso {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .servicio-texto {
    max-width: 100%;
  }

  .servicio-img img {
    max-width: 100%;
  }
}
.servicios-modernos {
    width: 100%;
    padding: 80px 5%;
    background-color: #1f3439;
    box-sizing: border-box;
}

.servicio-moderno {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto 60px auto;
}

/* .servicio-moderno.invertido {
  flex-direction: row-reverse;
}*/

.servicio-moderno img {
  width: 400px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.servicio-contenido {
  flex: 1;
  min-width: 280px;
  color: white;
  text-align: left;
}

.servicio-contenido h3 {
  font-size: 1.8rem;
  margin-top: 0.5rem;
}

.servicio-contenido p {
  margin-top: 10px;
  color: #ccc;
  line-height: 1.6;
}

.servicio-etiqueta {
  font-size: 1rem;
  font-weight: bold;
  color: white;
  background-color: #1aa7a0;
  padding: 4px 8px;
  display: inline-block;
  border-radius: 4px;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.servicio-link {
  color: #06d9b3;
  text-decoration: none;
  font-weight: bold;
  margin-top: 0.6rem;
  display: inline-block;
}
/* ARREGLO PARA SECCIÓN MODERNA EN PANTALLAS GRANDES */
.servicios-modernos {
  background-color: #2c879d;
  padding: 80px 20px;
}

.servicio-moderno {
  max-width: 1200px;
  margin: auto;
  padding: 40px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.servicio-moderno img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.servicio-contenido h3 {
  color: white;
  font-size: 2rem;
}

.servicio-contenido p {
  color: #ede9e9;
  font-size: 1.4rem;
}

@media (min-width: 1200px) {
  .servicio-moderno img {
    width: 290px;
  }
}
@media (min-width: 1600px) {
  .servicio-moderno {
    gap: 80px;
  }
}
@media (min-width: 992px) {
  .servicios-modernos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
  }

  .servicio-moderno {
    width: calc(50% - 40px); /* dos columnas con espacio entre medio */
    margin-bottom: 40px;
    border-bottom: none; /* opcional: evita doble línea */
  }

  .servicio-moderno:nth-child(3) {
    width: 100%; /* el tercero ocupa toda la fila */
    /* flex-direction: row-reverse; /* mantiene invertido si es necesario */
    justify-content: center;
  }
}

.logo {
  height: 100%;              /* Se ajusta a la altura del nav */
  display: flex;
  align-items: center;
}

.logo-img {
  max-height: 100px; /* Controla el alto sin afectar la barra */
  width: auto;      /* Mantiene proporciones */
  object-fit: contain;
}


.carrusel-clientes {
  background-color: #c7e8f88b;
  min-height: 700px; /* puedes ajustar la altura como gustes */
  padding: 10px 10%; /* espacio arriba/abajo y a los costados */
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  min-height: 100vh;
}
.carrusel-banner {
  background-color: white;
  padding: 60px 0;
  width: 100%;
  display: flex;
  justify-content: center;
  border-radius: 10px;
}

.carrusel-clientes h2 {
  font-size: 2rem;
  margin-bottom: 60px;
  color: #1191b1;;
}

.carrusel-contenedor {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0 auto;
  padding: 0 5%; /* espaciado lateral */
}

.carrusel-track {
  display: flex;
  align-items: center;
  gap: 20px;
  transition: transform 0.5s ease-in-out;
  min-width: fit-content;
  will-change: transform;
}

.carrusel-track img {
  height: 150px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.carrusel-track img:hover {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.carrusel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #025f6d91;
  color: white;
  border: none;
  padding: 10px;
  font-size: 1.5rem;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
}

.carrusel-btn.prev {
  left: 0;
}

.carrusel-btn.next {
  right: 0;
}

@media (max-width: 768px) {
  .carrusel-clientes {
    padding: 30px 5%;
  }

  .carrusel-track {
    gap: 20px;
  }

  .carrusel-track img {
    height: 70px;
  }
}

.certificacion {
  padding-top: 40px;
  align-items: center;
}