/* ===== RESET GENERAL ===== */
.logo-letras {
  font-weight: 800;
  font-size: 15px;
}  
.logo-letras:hover {
  text-decoration: none;
}  

.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
 /* background: white;*/
	 background:black;
}

.header-top {
  display: flex;
  justify-content: space-around;
  align-items: center;
  
   background-size: cover;
  background-position: center center; 
  background-repeat: no-repeat;
  padding: 3rem 0;

}

/* ===== ACCIONES HEADER ===== */
.header-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  max-width: 250px;
}
.header-actions-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.header-actions-mobile {
  padding: .3rem .3rem .3rem .3rem;

  display: grid;
  gap: .3rem;
  grid-template-columns: 1fr 1fr 1fr;
  justify-content: center;
  align-items: center;
  background-color: var(--azuloscuro);
}
.header-actions-mobile a {
  margin: 0 auto;
}

@media(max-width:1024px){
  .header-actions {
    display: none;
  }
  .header-top{
    padding: 2rem 0;
  }
}
@media(min-width:1025px){
  .header-actions-mobile {
    display: none;
  }
}

/* ===== HAMBURGER ===== */
.navbar-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}
.navbar-toggle span {
  height: 3px;
  width: 25px;
  background: #ffffff;
  margin: 4px 0;
  display: block;
  transition: 0.3s;
}

/* ===== NAVBAR ===== */
.navbar {
  background: #000033;
}
.navbar-menu {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
}
.navbar-menu li a {
  color: white;
  text-decoration: none;
  padding: 1rem;
  display: block;
  font-weight: 400;
}
.navbar-menu li a:hover {
  background: rgb(82, 88, 131);
}
.navbar-menu a.activo {
  background: rgb(82, 88, 131);
}

/* ===== MOBILE ===== */
@media (max-width: 1024px) {
  .header-actions {
    gap: 0.5rem;
  }

  .navbar-toggle {
    display: flex;
  }

  .navbar-menu {
    position: fixed;
    top: 0;
    left: -250px;
    flex-direction: column;
    background: #000033;
    width: 250px;
    height: 100%;
    transition: left 0.3s ease;
    justify-content: flex-start;
  }

  .navbar-menu.show {
    left: 0;
  }

  .navbar {
    background: transparent; /* Para que el nav base no tape contenido */
  }

  .navbar-menu li:not(.menu-logo) a {
    border-bottom: 1px solid #444;
  }
}

/* ===== DESKTOP ===== */
@media (min-width: 1025px) {
  .navbar-toggle {
    display: none;
  }
}

/* ===== SUBMENÚ ===== */
.has-submenu {
  position: relative;
} 
.has-submenu .submenu {
  display: none; 
  position: absolute;
  background: #000033;
  list-style: none;
  padding: 0;
  margin: 0;
  top: 100%;
  left: 0;
  min-width: 180px;
  z-index: 1000;
}
@media (min-width: 1024px) {
  .has-submenu:hover .submenu {
    display: block;
  }
}
.has-submenu .submenu li a {
  display: block;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid #444;
  color: white;
}
@media (max-width: 1024px) {
  .has-submenu .submenu {
    position: static;
    background: none;
    margin: 0.5rem 0;
  }
  .has-submenu .submenu li a {
    padding: 0.8rem 2rem;
    border: none;
  }
  .has-submenu.open .submenu {
    display: block;
  }
  .has-submenu > a::after {
    content: " ▼";
    font-size: 0.7rem;
    transition: transform 0.3s ease;
  }
  .has-submenu.open > a::after {
    transform: rotate(180deg);
  }
}

/* ===== LOGOS ===== */
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.menu-logo {
  display: none;
}
@media (max-width: 1024px) {
  .menu-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
  }
  .menu-logo img {
    max-width: 180px;
    height: auto;
  }
}

.logo2 {
  width: 80px;
}
.logo3 {
  width: 90px;
}

/* Nuevo: logo chico + hamburguesa juntos */
.logo-hamburguesa {
  display: flex;
  align-items: center;
  gap: 1rem; 
}

.logo-botones {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ===== RESPONSIVE LOGOS ===== */
@media(max-width:768px){
  .logo-botones {
    flex-direction: column;
    gap: .3rem;
  }
  .logo-hamburguesa {
    justify-content: center;
  }
  .logo2 {
    width: 50px;
  }
  .logo3 {
    width: 60px;
  }
  .logo-letras {
    font-size: 13px;
  }
}
