.topbar {
  background: #0f172a;
  color: white;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  z-index: 999;
}

.logo {
  font-size: 18px;
  font-weight: bold;
}

.menu-btn {
  font-size: 26px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  display: block;
}

.mobile-menu {
  position: absolute;
  top: 0; height: 100vh; padding-top: 70px;
  right: 10px;
  background: #1e293b;
  width: 270px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  z-index: 999;
}

.mobile-menu.active { transform: translateX(0); opacity: 1; pointer-events: auto; }
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu a {
  color: white;
  padding: 14px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 14px;
}

.mobile-menu a:hover {
  background: #334155;
}

}

/* === BLOQUE GUÍA CONTRATISTA === */
.guia-link {
  background: #123b2a;
  color: white;
  text-align: center;
  padding: 30px 20px;
  border-radius: 16px;
  margin: 40px 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.guia-link h2 {
  margin: 0 0 10px 0;
}

.guia-link p {
  margin: 0 0 15px 0;
  font-size: 14px;
  opacity: 0.9;
}

.btn-guia {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 22px;
  background: #22c55e;
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: bold;
  transition: 0.3s;
}

.btn-guia:hover {
  background: #16a34a;
}

#overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
}
#overlay.active {
  opacity: 1;
  pointer-events: auto;
}


.mobile-menu a {
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 500;
}

.mobile-menu a:visited {
  color: #ffffff !important;
}

.mobile-menu a:hover {
  background: rgba(255,255,255,0.08);
}


a { text-decoration: none; }

