/* Fuente y reset */
body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  background-color: #f0f0f0;
  color: #333;
}

/* Header con logo tipo banner */
header {
  background-color: #000;
  color: #fff;
  overflow: hidden;
  border-radius: 0 0 20px 20px;
  text-align: center;
}

/* Logo ancho mejorado */
.logo img {
  width: 100%;
  max-width: 540px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.14);
  background: #fff;
  border: 4px solid #eee;
  display: block;
  margin: 0 auto;
}

/* Menú debajo del logo */
nav {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 0;
  background-color: #000;
  border-top: 2px solid #ff8c00;
}

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

nav ul.menu li a {
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  transition: color 0.3s;
}

nav ul.menu li a:hover {
  color: #ff8c00;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: #fff;
}

/* Quiénes Somos */
.quienes-somos {
  max-width: 900px;
  margin: 50px auto;
  background-color: #fff;
  padding: 40px 25px;
  border-radius: 16px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.quienes-somos h2 {
  color: #ff8c00;
  margin-bottom: 20px;
}

.vision-mision {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 20px;
}

.vision-mision .item {
  flex: 1 1 300px;
  background-color: #f7f7f7;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.vision-mision .item h3 {
  color: #ff8c00;
  margin-bottom: 10px;
}

/* Galería */
.galeria {
  text-align: center;
  padding: 50px 20px;
  background-color: #e0e0e0;
}

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

/* Bloque modificado para mostrar imagen completa sin recortes */
.imagenes-galeria {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  margin-top: 20px;
}

.imagenes-galeria img {
  width: 340px;
  max-width: 92vw;
  object-fit: contain;
  border-radius: 18px;
  background: #f7f7f7;
  box-shadow: 0 4px 22px rgba(0,0,0,0.14);
  transition: transform 0.28s, box-shadow 0.28s;
  display: block;
}

.imagenes-galeria img:hover {
  transform: scale(1.045);
  box-shadow: 0 10px 32px rgba(0,0,0,0.18);
}

@media (max-width: 1000px) {
  .imagenes-galeria img {
    width: 98vw;
    max-width: 440px;
  }
  .imagenes-galeria {
    gap: 22px;
  }
}

@media (max-width: 630px) {
  .imagenes-galeria img {
    width: 94vw;
    max-width: 99vw;
  }
  .imagenes-galeria {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
}

/* Servicios */
.servicios {
  padding: 50px 20px;
  background-color: #fff;
  text-align: center;
}

.servicios h2 {
  color: #ff8c00;
  margin-bottom: 40px;
}

.lista-servicios {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.servicio {
  width: 250px;
  background-color: #f7f7f7;
  border-radius: 15px;
  padding: 25px 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.servicio:hover {
  transform: translateY(-5px);
}

.servicio img {
  width: 60px;
  margin-bottom: 15px;
}

/* Contacto */
.contacto {
  max-width: 580px;
  margin: 50px auto;
  background-color: #fff;
  padding: 40px 25px;
  border-radius: 16px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.contacto h2 {
  color: #ff8c00;
  margin-bottom: 20px;
}

.contacto p {
  margin-bottom: 20px;
}

form input,
form textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 14px 18px;
  margin-bottom: 18px;
  border-radius: 8px;
  border: 2px solid #ff8c00;
  font-size: 1rem;
  transition: border-color 0.25s ease;
  resize: vertical;
}

form input:focus,
form textarea:focus {
  border-color: #ffa500;
  outline: none;
  box-shadow: 0 0 8px rgba(255,165,0,0.4);
}

form button {
  background-color: #ff8c00;
  color: #fff;
  padding: 14px 30px;
  font-size: 1.1rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(255,140,0,0.6);
  transition: background-color 0.25s ease;
}

form button:hover {
  background-color: #ffa500;
}

/* Botón flotante WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 100;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.5s, transform 0.5s;
  opacity: 1;
  transform: translateY(0);
}

.whatsapp-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

/* Footer */
footer {
  text-align: center;
  padding: 30px 20px 0 20px;
  background: linear-gradient(90deg, #000000, #333333);
  color: #ff8c00;
  border-radius: 0 0 16px 16px;
}

footer .redes {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 50px;
}

footer .redes img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  border: 2px solid #eee;
  transition: transform 0.3s;
}

footer .redes img:hover {
  transform: scale(1.12);
}

/* Responsive */
@media(max-width: 768px){
  nav ul.menu {
    flex-direction: column;
    gap: 15px;
    background-color: rgba(0,0,0,0.9);
    position: absolute;
    top: 70px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 12px;
    display: none;
  }

  nav ul.menu.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .lista-servicios {
    flex-direction: column;
    gap: 25px;
  }

  .vision-mision {
    flex-direction: column;
  }
}

