* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background: #f7f4f1;
  color: #222;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
}

.navbar nav a {
  margin: 0 15px;
  text-decoration: none;
  color: #555;
}

.navbar nav a.active {
  color: #e35d2f;
  border-bottom: 2px solid #e35d2f;
}

.logo {
  font-size: 24px;
}

/* BUTTONS */
.btn {
  padding: 10px 18px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 14px;
}

.primary {
  background: #e35d2f;
  color: white;
}

.outline {
  border: 1px solid #e35d2f;
  color: #e35d2f;
}

.whatsapp {
  background: #e35d2f;
  color: white;
}

/* HERO */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px;
}

.hero-text {
  max-width: 500px;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero h1 span {
  color: #e35d2f;
}

.hero p {
  margin-bottom: 20px;
  color: #666;
}

.buttons {
  margin-bottom: 30px;
}

.buttons .btn {
  margin-right: 10px;
}

/* FEATURES */
.features {
  display: flex;
  gap: 20px;
  font-size: 14px;
}

.features div p {
  color: #777;
}

/* IMAGE */
.hero-image img {
  width: 400px;
  border-radius: 20px;
}

/* SERVICES */
.services {
  padding: 20px;
  text-align: center;
}

.services h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.services p {
  color: #666;
  margin-bottom: 40px;
}

.cards {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  width: 280px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.card h3 {
  margin: 15px;
}

.card p {
  margin: 0 15px 20px;
  color: #666;
}

.menu-icon {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  /* NAVBAR */
  .navbar {
    flex-direction: row;
    justify-content: space-between;
    padding: 15px 20px;
  }

  .navbar nav {
    display: none; /* oculta menú */
  }
  .menu-icon {
    display: block; /* muestra icono */
  }

  .navbar nav a {
    margin: 5px 10px;
  }

  /* HERO */
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 20px 20px; /* antes 40px */
    gap: 10px;
  }

  .hero p {
    margin-bottom: 10px;
  }
  .hero h1 {
    font-size: 32px;
  }

  .hero-text {
    max-width: 100%;
  }

  .buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
  }

  .buttons .btn {
    margin: 0;
  }

  .features {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .hero-image img {
    width: 100%;
    max-width: 350px;
    margin-top: 10px; /* antes 30px */
  }

  /* SERVICES */
  .services {
    padding: 40px 20px;
  }

  .cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 90%;
    max-width: 320px;
  }
}

/* EXTRA: móviles pequeños */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 26px;
  }

  .services h2 {
    font-size: 24px;
  }

  .btn {
    font-size: 13px;
    padding: 10px;
  }
}
