:root {
  --verde: #6b8f71;
  --fondo: #f4f7f2;
  --card: rgba(255, 255, 255, 0.65);
  --texto: #2f3e34;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  background: linear-gradient(180deg, #eef3ec, #f7f4ee);
  color: var(--texto);
}

/* ===== HEADER ===== */
header {
  background: linear-gradient(90deg, #c6e8c6, #f2eee6);
  padding: 18px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 44px;
  height: 44px;
}

.brand-title {
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(90deg, #6b8f71, #8c7a5a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== NAV ===== */
nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav a {
  position: relative;
  text-decoration: none;
  color: var(--texto);
  font-weight: 500;
  padding-bottom: 4px;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: var(--verde);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

.login-btn {
  background: var(--verde);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
}

.pacifico-regular {
  font-family: "Pacifico", cursive;
  font-weight: 400;
  font-style: normal;
}

/* =========================
   RESPONSIVE – AGREGADO
========================= */

/* Tablet */
@media (max-width: 900px) {
  header {
    padding: 16px 24px;
  }

  nav {
    gap: 20px;
  }
}

/* Móvil */
@media (max-width: 600px) {
  header {
    flex-direction: column;
    gap: 14px;
    padding: 14px 16px;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .brand-title {
    font-size: 1.25rem;
  }
}
