/* Reset y base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  padding: 60px 0;
}

/* Hero */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1600864854605-9e6585e9d3a3?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 120px 20px;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.contact-info a {
  margin: 0 10px;
  font-weight: 600;
}

.btn {
  display: inline-block;
  background: #e65100;
  color: white;
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.3s;
}

.btn:hover {
  background: #bf360c;
}

/* Secciones */
h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  color: #01579b;
}

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.card {
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.card h3 {
  color: #e65100;
  margin-bottom: 15px;
}

.card ul {
  list-style: none;
}

.card li {
  margin-bottom: 8px;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.servicio ul {
  padding-left: 20px;
  margin-top: 10px;
}

.servicio li {
  margin-bottom: 8px;
}

.filosofia {
  background: #e3f2fd;
  text-align: center;
}

.filosofia blockquote {
  font-size: 1.3rem;
  font-style: italic;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  color: #01579b;
}

.contacto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.info-contacto p {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

form input,
form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
}

form button {
  align-self: flex-start;
}

/* Footer */
footer {
  background: #01579b;
  color: white;
  text-align: center;
  padding: 20px 0;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}




/* Carrusel de Proyectos - Versión con Imagen */
.carousel {
  position: relative;
  max-width: 950px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  background: white;
}

.carousel-inner {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide {
  min-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 20px;
  text-align: center;
}

.carousel-image {
  width: 100%;
  max-width: 500px;
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-slide h4 {
  color: #e65100;
  margin-bottom: 12px;
  font-size: 1.4rem;
}

.carousel-slide p {
  color: #444;
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(230, 81, 0, 0.85);
  color: white;
  border: none;
  width: 48px;
  height: 48px;
  font-size: 1.4rem;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.carousel-btn:hover {
  background: rgba(230, 81, 0, 1);
}

.prev { left: 15px; }
.next { right: 15px; }

.carousel-indicators {
  display: flex;
  justify-content: center;
  margin-top: 25px;
}

.carousel-indicators span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  margin: 0 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.carousel-indicators span.active {
  background: #e65100;
}

/* Responsive */
@media (max-width: 768px) {
  .carousel-image {
    height: 220px;
  }
  .carousel-slide h4 {
    font-size: 1.25rem;
  }
}



/* Galería de Equipos */
.section-intro {
  text-align: center;
  margin-bottom: 30px;
  color: #555;
  font-size: 1.1rem;
}

.galeria-equipos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 25px;
  margin-top: 20px;
}

.equipo-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.equipo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.equipo-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.equipo-info {
  padding: 16px;
  text-align: center;
}

.equipo-info h4 {
  color: #01579b;
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.equipo-info p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
}



/* Sección de Clientes */
.clientes-galeria {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
}

.cliente-logo {
  width: 140px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.cliente-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0,0,0,0.12);
}

.cliente-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}


/* Fondo de imagen en el encabezado */
.hero {
  background: url('img/fondo.jpg') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  padding: 80px 20px;
  text-align: center;
  color: white;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Sombra oscura para contraste */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}


.hero-logo {
  max-width: 200px;
  height:50%;
  margin-bottom: 10px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}