/* ======================
   ESTILOS GENERALES
====================== */
body {
  margin: 0;
  background-color: white;
  font-family: "Segoe UI", sans-serif;
}

/* ======================
   PRELOADER / TRANSICIONES
====================== */
.hidden {
  display: none;
}

.contenedor {
  text-align: center;
  animation: fadeIn 2s ease-in;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mensaje {
  font-size: 24px;
  color: #333;
  margin-bottom: 10px;
}

/* ======================
   ANIMACIONES
====================== */
@keyframes imageFadeIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ======================
   HERO CON VIDEO
====================== */
#hero {
  height: 500px;
  position: relative;
  overflow: hidden;
}

#hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  z-index: 2;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
}

.hero-fallback {
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.4);
}

.logo-hero {
  max-width: 280px;
  width: 100%;
  height: auto;
  object-fit: contain;
  animation: fadeIn 1.2s ease-in;
}
/* ======================
   IMÁGENES Y SERVICIOS
====================== */
.servicio-img {
  max-width: 200px;
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* ======================
   SLIDESHOW DE IMÁGENES
====================== */
.slideshow-container {
  position: relative;
  width: 100%;
  height: 350px; /* Altura fija para que las imágenes no salten */
  overflow: hidden;
  border-radius: 10px;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: cover;
  transition: opacity 2s ease-in-out;

}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

/* ======================
   OFERTA DE VALOR
====================== */
.oferta-valor img {
  animation: fadeIn 1.2s ease-in-out;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.oferta-valor p {
  color: #333;
  font-size: 1.05rem;
  line-height: 1.7;
}

.mapa-ajustado {
  width: 100%;
  height: 300px; /* Puedes reducir o aumentar según necesidad */
}

.mapa-ajustado iframe {
  width: 100%;
  height: 100%;
  border: 0;
}


.blog-img-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.blog-img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}
/* ======================
   ÁREA PERSONALIZABLE
====================== */
/* Puedes agregar más estilos personalizados aquí */
