* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #fff;
  color: #333;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, #f77f0b, #f4a42c);
  padding: 35px 30px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo img {
  height: 80px;
  width: 180px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}
.mobile-call {
  display: none;
}

.nav-links li a {
  text-decoration: none;
  color: white;
  font-weight: 600;
  transition: border 0.3s;
  padding-bottom: 3px;
}

.nav-links li a.active,
.nav-links li a:hover {
  border-top: 2px solid white;
  border-bottom: 2px solid white;
  padding-top: 3px;
}

.call-button a {
  background-color: transparent;
  border: 2px solid white;
  color: white;
  padding: 8px 16px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s, color 0.3s;
}

.call-button a:hover {
  background-color: white;
  color: #f77f0b;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
}

.menu-close {
  position: absolute;
  display: none;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  color: #f77f0b;
  cursor: pointer;
  z-index: 105;
  user-select: none;
  transition: transform 0.2s;
}

.menu-close:hover {
  transform: scale(1.2);
}

main.servicios {
  padding-top: 160px;
  text-align: center;
}

main.servicios h1 {
  font-size: 2.5rem;
  color: #f77f0b;
  margin-bottom: 40px;
}

.grid-servicios {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 0 30px 60px;
  max-width: 1800px;
  margin: 0 auto;
}

.servicio {
  background-color: #eee;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s;
  cursor: pointer;
}

.servicio img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}

.servicio p {
  background-color: #f5f5f5;
  padding: 15px;
  font-weight: 600;
}

.info-desplegable {
  width: 100%;
  max-width: 1700px;
  margin: 20px auto 0;
  padding: 0 30px;
  display: none;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.4s ease;
}

.info-desplegable.activo {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.info-contenido {
  background: #fff7ef;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  position: relative;
  min-height: 300px;
  height: auto;
  max-width: 100%;
  overflow-wrap: break-word;
}

.info-contenido h2 {
  margin-top: 30px;
  margin-bottom: 15px;
  color: #f77f0b;
}

.info-contenido p {
  margin-bottom: 20px;
  line-height: 1.6;
}

.cerrar-info {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 30px;
  cursor: pointer;
  font-weight: bold;
  color: #f77f0b;
  transition: 0.2s;
}

.cerrar-info:hover {
  transform: scale(1.1);
}

.link-instagram {
  color: #f77f0b;
  font-weight: 700;
  text-decoration: none;
}

.link-instagram:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {

  .menu-toggle {
    display: flex;
  }

  .call-button {
    display: none;
  }
   .menu-close {
    display: block;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 250px;
    background: #111;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: right 0.3s ease;
  }

  nav.active {
    right: 0;
  }

  .nav-links {
    flex-direction: column;
    gap: 30px;
  }

  .mobile-call {
    display: block;
  }

  .grid-servicios {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px 40px;
  }

  .servicio img {
    height: 400px;
  }

  main.servicios h1 {
    font-size: 2rem;
  }

  .info-contenido {
    padding: 25px 15px;
  }
}