
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

body {
  color: #fff;
  background-color: #000;
}
form.contacto-form {
  background-color: #ffffff;
  padding: 1.5rem;
  max-width: 600px;
  margin: 3rem auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-family: 'Segoe UI', sans-serif;
  color: #1e2d3b;
}

.contacto-form h2 {
  text-align: center;
  font-size: 1.6rem;
  color: #1e2d3b;
  margin-bottom: 1rem;
}

.contacto-form input,
.contacto-form textarea {
  font-size: 1rem;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #f9f9f9;
  color: #1e2d3b;
  transition: border-color 0.3s ease;
}

.contacto-form input:focus,
.contacto-form textarea:focus {
  border-color: #0060df;
  outline: none;
}

.contacto-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contacto-form button {
  background-color: #0060df;
  color: white;
  font-size: 1rem;
  padding: 0.9rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contacto-form button:hover {
  background-color: #004bb8;
}

.video-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -10; 
}

.video-container::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* oscurecimiento */
  z-index: 1;
}

video {
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

/* Navegación */
header {
  position: fixed;
  width: 100%;
  padding: 15px 20px;
  background: rgba(0,0,0,0.7);
  z-index: 999;
}
.nav-container {
  display: flex;
  justify-content: center; /* Centrado */
  align-items: center;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  padding: 0;
  margin: 0;
}

.banner-logo {
  max-width: 300px;
  margin-bottom: 25px;
  animation: fadeIn 1.5s ease forwards;
  opacity: 0;
}


nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 24px;
}

/* Banner principal */
.banner {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.banner-text h1, .banner-text h2, .banner-text p {
  margin-bottom: 10px;
}

.fade-in {
  opacity: 0;
  animation: fadeIn 2s ease forwards;
}

.fade-in.delay-1 {
  animation-delay: 0.5s;
}

.fade-in.delay-2 {
  animation-delay: 1s;
}

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

/* Quiénes Somos */
.empresa {
  position: relative;
  background-image: url('images/1.jpg');
  background-size: cover;
  background-position: center;
  padding: 80px 20px;
  color: #fff;
  z-index: 3;
  isolation: isolate; /* 👈 EVITA QUE EL VIDEO SE CUELE */
}

.empresa::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1;
}

.empresa-contenido {
  position: relative;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 40px;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 10px;
}

.empresa-texto h2 {
  margin-bottom: 20px;
  font-size: 2em;
}

.empresa-texto p {
  margin-bottom: 15px;
  line-height: 1.6;
}




.servicios-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Dos columnas en todas las resoluciones */
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.servicio {
  background-color: rgba(255,255,255,0.05);
  padding: 20px;
  border-radius: 10px;
  transition: transform 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.servicio:hover {
  transform: scale(1.03);
}

.servicio img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

.servicio h3 {
  font-size: 1.2em;
  color: #fff;
}

@media (max-width: 400px) {
  .servicios-grid {
    grid-template-columns: 1fr;
  }
}

/* Animación de aparición */
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}






/* Hover efecto */
.servicio:hover {
  transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 768px) {
  .grid-servicios {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .grid-servicios {
    grid-template-columns: 1fr;
  }
}
.clientes {
  background-color: #fff;
  padding: 80px 20px;
  color: #fff;
}

.clientes h3 {
  font-size: 2em;
    margin-bottom: 15px;
  color: #00aaff;
}

.contenedor-clientes {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.grid-clientes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 40px;
  align-items: center;
  justify-items: center;
  margin-top: 40px;
}

.cliente img {
  width: 100%;
  max-width: 150px;
  filter: grayscale(100%);
  transition: filter 0.4s ease, transform 0.3s ease;
  cursor: pointer;
}

.cliente img:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
}
.contacto {
  background-color: #111;
  padding: 80px 20px;
  color: #fff;
}

.contacto-container {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.titulo-seccion {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.subtitulo-seccion {
  font-size: 1.1em;
  color: #aaa;
  margin-bottom: 40px;
}
.contacto {
  background-color: #111;
  padding: 80px 20px;
  color: #fff;
}

.contacto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.info-contacto h2 {
  font-size: 2em;
  margin-bottom: 10px;
}

.subtitulo-seccion {
  color: #aaa;
  margin-bottom: 25px;
}

.datos-contacto {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.datos-contacto li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.redes-sociales a {
  color: #00aaff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.redes-sociales a:hover {
  color: #ffffff;
}

/* Formulario */
.formulario-container {
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 10px;
}

.formulario-contacto {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.campo input,
.campo textarea {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 5px;
  background-color: #222;
  color: #fff;
  font-size: 1em;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.campo input:focus,
.campo textarea:focus {
  outline: none;
  background-color: #333;
  box-shadow: 0 0 0 2px #00aaff;
}

.btn-enviar {
  background-color: #00aaff;
  color: #fff;
  padding: 15px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-enviar:hover {
  background-color: #008ecc;
}

.mision-vision {
  background-color: #000000;
  color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.mision-vision-contenedor {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto 60px;
}

.mision-vision-col {
  flex: 1 1 400px;
  background-color: #1e1e1e;
  padding: 30px;
  border-radius: 10px;
}

.mision-vision-col h3 {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #00aaff;
}

.mision-vision-col p {
  line-height: 1.6;
  color: #ccc;
}

/* Cifras destacadas */
.destacados {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.dato-destacado {
  text-align: center;
}

.dato-destacado h2 {
  font-size: 3.5em;
  color: #00aaff;
  margin-bottom: 10px;
}

.dato-destacado p {
  font-size: 1.1em;
  color: #ccc;
}
.galeria-proyectos {
  background-image: url('images/proyectos.jpg'); /* Cambia por tu imagen */
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 100px 20px;
  color: #fff;
  position: relative;
  z-index: 1;
}

.galeria-proyectos::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Oscurecimiento */
  z-index: -1;
}

.galeria-contenedor h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
  animation: fadeIn 2s ease forwards;
}

.galeria-contenedor p {
  font-size: 1.2em;
  margin-bottom: 30px;
  animation: fadeIn 2s ease forwards;
  animation-delay: 0.5s;
}

.btn-ver-mas {
  display: inline-block;
  background-color: #00aaff;
  padding: 12px 30px;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.2em;
  animation: fadeIn 2s ease forwards;
  animation-delay: 1s;
}

.btn-ver-mas:hover {
  background-color: #0088cc;
  transform: translateY(-3px);
}
/* Banner del servicio */
.servicio-banner {
  background-image: url('servicio-banner.jpg'); /* Cambia la imagen */
  background-size: cover;
  background-position: center;
  height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
}

.servicio-banner h1 {
  font-size: 4em;
  margin-bottom: 15px;
  animation: fadeIn 2s ease forwards;
}

.servicio-banner p {
  font-size: 1.2em;
  animation: fadeIn 2s ease forwards;
  animation-delay: 0.5s;
}


/* Detalles del servicio */
.servicio-detalles {
  padding: 40px 20px;
  background-color: #f4f4f4;
  color: #333;
}

.servicio-contenedor {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.servicio-imagen {
  flex: 1;
  padding-right: 20px;
  text-align: center;
}

.servicio-img {
  width: 100%;
  height: auto;
  max-width: 400px; /* Limita el tamaño de la imagen */
  border-radius: 10px;
}

.servicio-texto {
  flex: 2;
  padding-left: 20px;
}

.servicio-detalles h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
}

.servicio-detalles ul {
  list-style-type: none;
  padding: 0;
}

.servicio-detalles ul li {
  font-size: 1.2em;
  margin-bottom: 10px;
}
.galeria {
  background-color: #111;
  padding: 80px 20px;
  text-align: center;
}

.galeria h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #f0c040;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.galeria-grid a {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.galeria-grid a:hover {
  transform: scale(1.03);
}

.galeria-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  transition: filter 0.3s ease;
  filter: grayscale(40%);
}

.galeria-grid img:hover {
  filter: grayscale(0%);
}
.footer {
  background-color: #111;
  color: #bbb;
  text-align: center;
  padding: 30px 20px;
  font-size: 0.9em;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.footer a:hover {
  text-decoration: underline;
}

