/* Estilo general */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  color: #21211f;
  background: #fff;
}

h1, h2, h3 {
  font-family: 'Montserrat', sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: #21211f;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .logo {
  font-weight: bold;
  font-size: 1.2rem;
}

header .logo span {
  color: #d1f23f;
}

.logo img {
  height: 40px; /* ajusta la altura */
  width: auto;  /* mantiene proporción */
}

header nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

header nav a {
  color: #fff;
  font-weight: 600;
}

/* Estilo base */
nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

/* Botón hamburguesa oculto en escritorio */
.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: #fff;
}

/* Responsive: en pantallas pequeñas */
@media (max-width: 768px) {
  nav {
    display: none; /* el menú estará oculto */
    position: absolute;
    top: 60px;
    right: 0;
    background: #21211f;
    width: 200px;
    border-radius: 5px;
  }

  nav ul {
    flex-direction: column;
    padding: 1rem;
  }

  nav ul li {
    margin: 10px 0;
  }

  .menu-toggle {
    display: block; /* mostramos el botón */
  }

  nav.show {
    display: block; /* cuando tenga la clase "show" aparece */
  }
}

.btn-cta {
  background: #d1f23f;
  color: #21211f;
  padding: 0.6rem 1rem;
  border-radius: 5px;
  font-weight: bold;
}

/* Hero */
.hero {
  background: linear-gradient(rgba(33,33,31,0.6), rgba(33,33,31,0.6)), url('https://picsum.photos/1600/800?business,team') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 5rem 2rem;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn {
  background: #d1f23f;
  color: #21211f;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  font-weight: bold;
}

/* Servicios */
.servicios {
  padding: 4rem 2rem;
  text-align: center;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}

.card {
  background: #f8f8f8;
  padding: 2rem;
  border-radius: 10px;
  flex: 1 1 250px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Nosotros */
.nosotros {
  background: #21211f;
  color: #fff;
  padding: 4rem 2rem;
  text-align: center;
}

/* Contacto */
.contacto {
  padding: 4rem 2rem;
  text-align: center;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: auto;
}

input, textarea, button {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

button {
  background: #d1f23f;
  color: #21211f;
  font-weight: bold;
  cursor: pointer;
}

/* Footer */
footer {
  background: #21211f;
  color: #fff;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}

