body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #ffffff;
}

header {
  background: #00c8b4e6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  position: relative;
  z-index: 10;
}

header .logo {
  display: flex;
  align-items: center;
}

header .logo img {
  height: 80px;
  margin-right: 10px;
}

header h1 {
  font-size: 22px;
  color: #535353;
}

.search input {
  padding: 6px 12px;
  border-radius: 15px;
  border: none;
  outline: none;
}

.banner {
  background: url("png para fondos/boceto de animales.jpg") no-repeat center/cover;
  height: 450px;
}

main {
  padding: 40px;
  text-align: center;
}

.servicios {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.servicio {
  flex: 1 1 250px;
  max-width: 300px;
  background-color: #00c8b4e6;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease, background-color 0.4s ease;
}

.servicio:hover {
  transform: translateY(-10px) scale(1.05);
  background-color: #111312e6;
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.nosotros {
  background: rgba(252, 140, 76, 0.25);
  padding: 20px;
  border-radius: 15px;
  color: #000000;
  margin-top: 20px;
}

footer {
  background: #222;
  color: rgb(246, 247, 241);
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

footer a {
  color: #f6f7f1;
  margin-left: 8px;
  text-decoration: none;
}

footer a:hover {
  color: #00c8b4;
}

/* Menú hamburguesa */
.burger {
  position: relative;
  z-index: 20;
  width: 40px;
  height: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.burger span {
  display: block;
  height: 4px;
  border-radius: 3px;
  background: #000; /* negro para que contraste */
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.nav {
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  background: #3b3b3b;
  display: none;
  padding: 8px 0;
  z-index: 10;
}

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav li {
  padding: 10px 16px;
}

.nav a {
  color: white;
  text-decoration: none;
  display: block;
}

.nav.active {
  display: block;
}

.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (min-width: 1000px) {
  .burger { display: none; }
  .nav { position: static; display: block; background: transparent; }
  .nav ul { display: flex; gap: 14px; justify-content: center; }
  .nav li { padding: 0; }
  .nav a { color: white; }
}

@media (max-width: 600px) {
  .servicio {
    width: 90%;
    margin-bottom: 15px;
  }
}