*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Segoe UI', Tahoma, sans-serif;
}
li, ul{
    list-style: none;
}
a {
    text-decoration: none;
}

body{
  background:#000;
  color:white;
}

/* ===== HEADER ===== */
header{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #000;
  border-bottom: 1px solid rgba(0,255,255,0.2);
}

.header-container{
  max-width: 1200px;
  margin: auto;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

/* =======  LOGO ===========*/
.logo img{
  height: 55px;
  width: auto;
  object-fit: contain;
}

/* ===== MENU ===== */

.menu{ 
  position: relative;
  height: 100%;
}

.menu > ul{
  list-style:none;
  display:flex;
  height:100%;
}

.menu li{
  position:relative;
}

.menu a{
  height:100%;
  display:flex;
  align-items:center;
  padding: 0 18px;
  color:#e0ffff;
  font-size:16px;
  text-transform:uppercase;
  transition: all 0.3s ease;
}

.menu a:hover{
  background: rgba(0,255,255,0.15);
  color:#00ffff;
}

/*========= HOME ICON =======*/
.menu .home{
  background:url("./imagenes/casaBlanca.png") center no-repeat;
  background-size:24px;
  width:20px;
}

/* ====== SUBMENU ========= */ 


.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: black;
  display: none;
  white-space: nowrap;
  max-width: max-content;
  padding: 10px 0;
  box-shadow: 0 0 15px rgba(0,255,255,0.3);
  z-index: 1000;
}

.has-submenu:hover .submenu {
  display: block;
}
.submenu li {
  width: 100%;
}
.submenu a {
  display: block;
  padding: 12px 20px;
  color: #e0ffff;
}

.submenu a:hover {
  background: rgba(0,255,255,0.15);
  color: #00ffff;
}
.submenu {
  white-space: nowrap;
}

/* ===== EFECTO ENERGÍA ===== */
.menu::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(120deg, transparent, rgba(0,255,255,0.4), transparent);
  animation: energia 3s linear infinite;
  pointer-events:none;
}

@keyframes energia{
  from{transform:translateX(-100%)}
  to{transform:translateX(100%)}
}

/* ===== FOOTER ===== */
.footer {
  background: #000; /* Negro absoluto */
  padding: 80px 30px 30px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #fff;
}

/*===== Contenedor efecto vidrio =========*/
.glass-container {
  max-width: 1100px;
  margin: auto;
  padding: 40px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 20px;

  background: rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border: 1px solid rgba(255, 255, 255, 0.08);
}

/*========== Logo ===========*/
.footer-logo {
  width: 200px;
  object-fit: contain;
  transition: 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.03);
}

/*========== Navegación ===========*/
.footer-center nav {
  display: flex;
  gap: 40px;
}

.footer-center a {
  text-decoration: none;
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  letter-spacing: 0.5px;
  transition: 0.3s ease;
}

.footer-center a:hover {
  color: #fff;
}

/* Redes */
.footer-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.follow-text {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-right: 10px;
}

.social {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);

  transition: 0.3s ease;
}

.social svg {
  width: 20px;
  height: 20px;
  fill: #fff;
  opacity: 0.8;
  transition: 0.3s ease;
}

.social:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-3px);
}

.social:hover svg {
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  margin-top: 50px;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}


/* ================= BOTÓN WHATSAPP GLOBAL ================= */

.wsp-float{
  position:fixed;
  bottom:25px;
  right:25px;
  background:#25d366;
  color:#000;
  font-size:26px;
  padding:15px 18px;
  border-radius:50%;
  box-shadow:0 0 15px rgba(0,0,0,0.5);
  z-index:9999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wsp-float:hover{
  transform:scale(1.08);
  box-shadow:0 0 25px rgba(37,211,102,0.7);
}


/*==========nuevo boton whatsaap==================*/
/*<script>
  const wspBtn = document.querySelector(".wsp-float");

  window.addEventListener("scroll", () => {
    if (window.scrollY > 300) {
      wspBtn.classList.add("show");
    } else {
      wspBtn.classList.remove("show");
    }
  });
</script>
*/
