* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", "Arial";
}
html, body {
  overflow-x: hidden;
}
.navbar {
  background-color: #ffffff;
  color: #1a3046;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
  box-shadow: 0 4px 8px rgba(56, 56, 56, 0.3);
}
.logo-img {
  height: 80px;
  width: auto;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 35px;
  text-transform: uppercase;
}
.nav-links a {
  text-decoration: none;
  color: #1a3046;
  position: relative;
  transition: color 0.3s;
}
.nav-links a:hover{
    color:rgb(0, 183, 255);
    cursor:pointer;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: rgb(0, 183, 255);
  bottom: -3px;
  transition: width .4s ease;
}
.nav-links a:hover::after {
  width: 100%;
}
.menu-toggle {
  font-size: 35px;
  cursor: pointer;
  display: none;
  user-select: none;
}
body{
  background-color: #ecf0f1;
}
.img-container {
  position: relative;
  width: 100%;   
  max-width: 100%;
  height: 60vh;            
  min-height: 500px; 
  overflow: hidden;
  margin: 115px auto 10px auto;
  box-shadow: 0 4px 8px #0000004d;
}
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;     
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 0;
}
.slide.active {
  opacity: 1;
  z-index: 1;
}
.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(0, 0, 0, 0.425) 60%, 
    rgba(0, 0, 0, 0.85) 100%
  );
  opacity: 1;
}
.overlay.animando {
  animation: aparecerSombra 2s ease forwards;
}
.texto {
  position: absolute;
  bottom: 8%;
  left: 5%;
  width: 90%; 
  color: white;
  text-align: left;
  opacity: 0;
  z-index: 2;
}
.texto.animando {
  animation: aparecerTexto 2s ease 1.5s forwards;
}

@keyframes aparecerSombra {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes aparecerTexto {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.texto h1 {
  font-size: 45px;
}
.texto h2 {
  font-size: 25px;
  font-weight: 350;
}
.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 2rem;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 5;
}
.prev:hover,
.next:hover {
  color: white;
}
.prev { left: 10px; }
.next { right: 10px; }
.button{
  background-color: rgb(255, 255, 255);
  color:rgb(0, 0, 0);
  border-color: white;
  border-radius: 15px;
  border-width: 1px;
  font-size: 20px;
  padding: 10px 20px;
  cursor:pointer;
  text-decoration: none;
  box-shadow: 4px 4px 10px black;
  transition: 0.4s;
}
.button:hover{
  background-color: #000000;
  color:rgb(255, 255, 255);
}
.contenedor-gen{
  padding: 30px 10px;
  position: relative;
  width: 100%; 
  max-width: 1200px;
  margin: 0 auto;
  height: auto;
  overflow: hidden;
}
.contenedor{
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  margin:0;
  width: 100%;
}
.contenedor p, 
.contenedor h3{
  color:#ffffff;
}
.contenedor-gen h1{
  text-align: left;
  font-size: 3rem;
  color:#294a6b;
  font-weight: 400;
  font-family: "Roboto","Arial";
}
.contenedor-gen h2{
  text-align: center;
  font-size: 2.8rem;
  color:#244c74;
  font-family: "Montserrat","Arial";
  font-weight: 600;
}
.contenedor-gen h3{
  font-size: 1.9rem;
  font-weight: 600;
  font-family: "Montserrat","Arial";
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}
.procesos {
  display: flex;
  align-items: center;
  gap: 25px;
}
.procesos p{
  font-size: 1.3rem;
  text-align: left;
}
.derecha p{
  text-align: right;
}
.procesos img {
  width: 100%;
  max-width: 550px;
  height: auto;
  filter: contrast(125%);
  border-top-left-radius: 50px;
  border-bottom-right-radius: 50px;
  box-shadow: 0 0 10px #00000069;
}
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.contenedor-clientes{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
  margin: 20px 0;
}
.marca{
  width: 200px;
  height: 100px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.38);
  border-radius: 15px;
  background-color: #ffffff;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}
.form-contacto {
  color: #ffffff;
  font-family: "Montserrat", "Arial";
  font-size: 1.3rem;
  text-align: center;
}
.form-contacto label {
  font-weight: bold;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}
.form-contacto input[type="text"],
.form-contacto input[type="email"],
.form-contacto input[type="tel"],
.form-contacto textarea {
  font-size: 1.1rem;
  border-radius: 0.5rem;
  border: 1px solid #133b5c5e;
  padding: 1rem;
  margin: 0.5rem auto;
  width: 100%; 
  max-width: 600px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.75);
  background-color: #ecf0f1;
  display: block;
}
.form-contacto input:hover,
.form-contacto textarea:hover {
  background-color: #dce3e7;
}
.form-contacto input:focus,
.form-contacto textarea:focus {
  outline: none;
}
.form-contacto button[type="submit"] {
  font-size: 1.3rem;
  padding: 1rem;
  border-radius: 0.5rem;
  width: 100%;             
  max-width: 600px;
  border: none;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.75);
  background-color: #9cbee0;
  font-weight: 500;
  transition: 0.4s;
  cursor: pointer;
}
.form-contacto button[type="submit"]:hover {
  background-color: #000000;
  color: #ffffff;
}
.mapa-contenedor {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: center;
  align-items: center;
  background-color: #327eca;
  border-radius: 15px;
  padding: 20px;
  width: 90%;
  max-width: 1100px;
  margin: 0 auto; 
  box-shadow: 4px 4px 10px rgba(0,0,0,0.3);
  flex-wrap: wrap; 
}
.mapa-contenedor iframe {
  width: 100%;
  max-width: 600px;
  height: 350px;
  border: 0;
  border-radius: 10px;
  box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.685);
}
.contenedor-direccion {
  background-color: #9cbee0;
  border-radius: 15px;
  padding: 15px 20px;
  width: 100%;
  max-width: 350px;
  text-align: center;
  box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.685);
  font-size: 1.1rem;
  margin-top: 10px;
}
.contenedor-direccion p {
  margin: 0;
  color: #1a3046;
  font-weight: 500;
}
footer .contenedor-gen {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px 40px;
  gap: 40px;
}
footer .contenedor{
  border-top-left-radius: 85%;
  border-top-right-radius: 85%;
}
.footer-logo img {
  width: 300px;
  max-width: 100%;
}
.footer-contacto p img {
  width: 20px;
  vertical-align: middle;
  margin-right: 8px;
}
.footer-contacto {
  text-align: right;
}
.footer-contacto a {
  text-decoration: none;
  color: #ecf0f1;
  transition: color 0.3s;
}
.footer-contacto a:hover {
  color: #9cbee0;
}
html {
  scroll-behavior: smooth;
}
:target {
  scroll-margin-top: 100px;
}
@media (max-width: 768px) {

  footer .contenedor-gen {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }
  .footer-contacto {
    text-align: center !important;
  }
  .footer-contacto h1 {
    font-size: 1.7rem;
  }
  .footer-contacto p {
    font-size: 1rem;
  }
  .footer-logo img {
    width: 220px;
  }
  footer .contenedor{
     border-top-left-radius: 0%;
    border-top-right-radius: 0%;
  }
}

@media (max-width: 480px) {
  .footer-contacto h1 {
    font-size: 1.5rem;
  }

  .footer-logo img {
    width: 180px;
  }
  footer .contenedor{
     border-top-left-radius: 0%;
    border-top-right-radius: 0%;
  }
}
@media (max-width: 600px) {

  .img-container {
    height: 45vh;
    min-height: 280px;
  }

  .texto {
    bottom: 10%;
  }

  .texto h1 {
    font-size: 26px;
  }

  .texto h2 {
    font-size: 16px;
  }

  .button {
    font-size: 14px;
    padding: 7px 14px;
  }

  .prev, .next {
    font-size: 1.6rem;
    top: 45%;
  }
  .button {
    font-size: 15px;
    padding: 7px 14px;
    border-radius: 10px;
    box-shadow: 3px 3px 7px black;
  }
   .marca{
    width: 120px;
    height: 70px;
  }
  .form-contacto {
    font-size: 1rem;
    padding: 0 20px;
  }

  .form-contacto input,
  .form-contacto textarea,
  .form-contacto button {
    font-size: 1rem;
    padding: 0.8rem;
  }

  .form-contacto textarea {
    height: 130px;
  }
  .mapa-contenedor {
    flex-direction: column;
    padding: 15px;
  }

  .mapa-contenedor iframe {
    width: 100%;
    height: 250px;
  }

  .contenedor-direccion {
    width: 100%;
    font-size: 1rem;
  }
  footer .contenedor{
     border-top-left-radius: 0%;
    border-top-right-radius: 0%;
  }
}

@media (max-width: 900px) {

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    flex-direction: column;
    gap: 20px;
    width: 60%;
    padding: 25px;
    box-shadow: 0 4px 8px rgba(56, 56, 56, 0.3);
    display: none; 
  }

  .nav-links.active {
    display: flex;
  }
  .img-container {
    height: 50vh;
    min-height: 320px;
  }

  .texto h1 {
    font-size: 34px;
  }

  .texto h2 {
    font-size: 20px;
  }

  .prev, .next {
    font-size: 1.8rem;
  }
  .button {
    font-size: 18px;
    padding: 8px 18px;
    border-radius: 12px;
  }
  .procesos {
    flex-direction: column; 
    text-align: center;
  }

  .derecha{
    flex-direction: column !important;
    text-align: center !important;
  }

  .procesos p{
    text-align: center !important;
  }

  .procesos img{
    max-width: 90%;
  }

  .contenedor-gen h1{
    font-size: 2.2rem;
    text-align: center;
  }

  .contenedor-gen h2{
    font-size: 2rem;
  }

  .contenedor-gen h3{
    font-size: 1.7rem;
  }
  .marca{
    width: 150px; 
    height: 80px;
  }
  footer .contenedor{
     border-top-left-radius: 0%;
    border-top-right-radius: 0%;
  }
}
