/* ===========================
   Navbar general
   =========================== */
.titulo-container h2 {
  color: #fff;
  margin: 0;
  font-size: clamp(1.2rem, 4vw, 2rem);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #222;
  padding: 10px 20px;
}

.logo-img {
  height: 50px;
}

/* Botón hamburguesa (oculto en escritorio) */
.hamburger {
  background: none;
  border: none;
  color: white;
  font-size: 22px;
  cursor: pointer;
  display: none;
}

/* Lista de enlaces (escritorio) */
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #ffcc00;
}

/* ===========================
   Botón fijo "Cotiza Ahora"
   =========================== */
.btn-fixed {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #e63946;
  color: #fff;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: background 0.3s;
  z-index: 1000;
}

.btn-fixed:hover {
  background-color: #d62828;
}

/* ===========================
   Títulos
   =========================== */
.titulo-container {
  background-color: #444;
  padding: 20px;
  text-align: center;
  border-radius: 8px;
}

.titulo-container h2 {
  color: #fff;
  font-size: 2rem;
  margin: 0;
}

/* ===========================
   Footer
   =========================== */
.footer {
  background-color: #222;
  color: #fff;
  text-align: center;
  padding: 15px;
}

/* ===========================
   Responsive (móviles y tablets)
   =========================== */
@media (max-width: 768px) {
  .hamburger {
    display: block; /* mostrar botón */
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background-color: #222;
    flex-direction: column;
    width: 200px;
    padding: 20px;
    display: none; /* oculto por defecto */
  }

  .nav-links.active {
    display: flex; /* se muestra al hacer click */
  }

  .nav-links li {
    margin: 10px 0;
  }
}
