body {
  margin: 0;
 font-family: 'Montserrat', Arial, sans-serif;
  color: #000000; /* Texto principal en negro */
}

.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px;
  background: black;
  position: relative;
}

nav {
  display: flex;
  gap: 20px;
}


.icon-white {
  color: white;
  font-size: 32px;

}



.hamburger {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: white;
 
}

nav a {
  position: relative;
  text-decoration: none;
  color: inherit;
  padding: 4px;
 
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: white;
  transition: width 0.3s ease-in-out;
}

nav a:hover::after {
  width: 100%;
}


header a {
    font-size: 20px;
}
.logo {
  font-weight: bold;
}
.img{
    width: 125px;
    height: 80px;
    padding: 0;
    margin: 0;
}
nav a {
  margin-right: 20px;
  text-decoration: none;
  color: #f9dd44; /* Gris oscuro para enlaces */
  transition: color 0.3s;
 
}

nav a:hover {
  color: white;
}

/* HERO */
.hero {
  position: relative;
  background-image: url('assets/banner.jpg');
  background-size: cover;
  background-position: center;
  height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero .overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.hero button {
  margin: 0 10px;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.btn-outline, .btn-solid {
  margin: 5px;
  padding: 12px 18px;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
}



.btn-outline:hover {
  background: #FFD700;
transform: scale(1.2); /* Escala 120% */
}


.hero h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.hero button {
  padding: 10px 20px;
  margin: 0 10px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  border-radius: 5px;
  transition: all 0.3s;
}
.btn-outline {
  background: #f9dd44;
  color: black;
  border: 2px solid #000;
}
.btn-outline:hover {
  background: #FFD700;
  color: #000;
  transform: scale(1.1);
}

.btn-solid {
  background: #f9dd44;
  color: black;
}
.btn-solid:hover {
  background:  #FFD700;
  transform: scale(1.1);
}

.servicios{
  background-color: #eeeeee;

}

.servicios-titulo{
  background-color: #000000;
  text-align: center;
  padding: 60px;
  font-size: 28px;
  color: white;
}

.section {
 padding-top: 20px;
 padding-bottom: 0;
  max-width: 1900px;
  margin: auto;
  
}

.section h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #333333; /* Gris oscuro para títulos */
  font-size: 28px;

}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 10px 0;
  position: relative;
  
}

.card {
  
  background: #0c0c0c;
  padding: 24px;
  width: 300px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-top: 4px solid #FFD700;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
   position: relative;
  bottom: 90px;
  text-align: center;
}

.icono-servicio {
  width: 100px;         /* tamaño del ícono */
  height: auto;
  display: block;
  margin: 0 auto 16px auto; /* centrado + espacio inferior */
  filter: drop-shadow(0 0 2px rgba(0,0,0,0.2));
}

.icono3,.icono4{
  width: 100px;
  height: 100px;
}


.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  border-top: 4px solid #d1aa0e; /* Amarillo más oscuro */
}


.card strong {
  color: #ce950f;
  font-size: 1.2rem;
  display: block;
  margin-bottom: 10px;
}

.card p {
  color: white;
  line-height: 1.5;
  font-size: 0.95rem;
}

.carrusel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  max-height: 750px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}


.carrusel-slide {
  display: none;
  width: 100%;
  max-height: 750px;  
  display: flex;      
  justify-content: center; /* centrar horizontal */
  align-items: center;     /* centrar vertical */
  overflow: hidden;
}

.img-carrusel {
  max-height: 600px;
  width: auto;
  display: block;
  margin: 0 auto;
  transition: opacity 0.1s ease-in-out;
  opacity: 1;
}

.carrusel-slide img {
  width: 100%;
  max-height: 100%;  /* para que la imagen no supere la altura */
  object-fit: contain; /* la imagen se adapta sin deformarse, con espacios */
  display: block;
}

.carrusel-slide.activo {
  display: flex;
}

.carrusel-indicadores {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.punto {
  width: 12px;
  height: 12px;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.punto.activo {
  background-color: #FFD700;
}


.mision-vision {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 60px 10%;
  background-color: #000000;
  position: relative;
  flex-wrap: wrap;
}

.mision-vision .contenido {
  flex: 1;
  z-index: 2;
  max-width: 600px;
}

.mision-vision .contenido h2 {
  font-size: 2rem;
  color: white;
  margin-bottom: 10px;
}

.mision-vision .contenido p {
  font-size: 1.1rem;
  color: white;
  margin-bottom: 30px;
  line-height: 1.6;
}

.mision-vision .imagen {
  flex: 1;
  position: relative;
}

.mision-vision .imagen img {
  max-width: 100%;
  height: auto;
  position: relative;
  right: -40px; /* sobresale hacia la izquierda */
  top: 20px;
  z-index: 1;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.mision-vision .imagen img:hover {
  transform: scale(1.02);
}

.whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 2rem;
    line-height: 60px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    z-index: 1000;
  }
  
  .whatsapp:hover {
    background-color: #128c7e;
  }
  .w-img{
    width: 50px;
    height: 50px;
  }

.btn-flotante {
  color: #FFD700; /* esto hace blanco el ícono y texto */
  background-color: black;
  padding: 12px 16px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 999;
  font-weight: bold;
  
}

.btn-flotante:hover {
  background-color: #252521;
}

.testimonios .card {
  text-align: center;
}

footer {
  background: #3a3638;
  color: white;
  text-align: center;
  padding: 0px 0px;
  padding-bottom: 15px;
  font-size: 0.9rem;
}



@media screen and (max-width: 768px) {
  .mision-vision {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 5%;
    text-align: center;
  }

  .mision-vision .imagen img {
    right: 0;
    top: 0;
    margin-top: 30px;
  }
   .texto-boton {
    display: none;
  }
.btn-flotante {
  font-size: 20px;
}
#nav-menu{
  background-color: #292929;
}

.section {
  height: 1420px;
}

}

/* Por defecto ocultamos el menú en móviles */
@media (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: white;
    width: 100%;
    box-shadow: 0 8px 12px rgba(0,0,0,0.1);
    padding: 10px 0;
    z-index: 10;
  }

  /* Mostrar el menú cuando se añade la clase 'show' */
  nav.show {
    display: flex;
    align-items: center;
  text-align: center;
  }

  .hamburger {
    display: block;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
  }

  .carrusel-container {
    height: 250px;
    max-height: none;
  }

  .carrusel-slide {
    height: 100%;
    max-height: none;
  }

  .img-carrusel {
    height: 100%;
    max-height: none;
    width: 100%;
    object-fit: cover;
  }

  .carrusel-slide img {
    height: 100%;
    max-height: none;
    object-fit: cover;
  }


}
  

@media (min-width: 769px) {
  nav {
    display: flex !important;
    gap: 20px;
  }

  .hamburger {
    display: none;
  }

  
}



@media screen and (min-width: 1600px) {
  body {
    font-size: 21px;
  }
h1,h2 {
  font-size: 36px;
}
  
  main {
    max-width: 1400px;
    padding: 4em;
  }

  .card {
    width: 300px;
  }

  .hero {
    height: 800px;
  }
  .carrusel-container{
    height: 700px;
  }
}

