/* ===============================
   HEADER
=============================== */

.header{
  position:fixed;
  width:100%;
  top:0;
  left:0;
  z-index:1000;
  padding:22px 0;
  transition:all .3s ease;
}

/* SCROLL */
.header.scrolled{
  background:rgba(255,255,255,0.90);
  backdrop-filter:blur(6px);
  padding:12px 0;
  border-bottom:1px solid rgba(0,0,0,0.08);
  box-shadow:0 3px 10px rgba(0,0,0,0.05);
}

/* ===============================
   NAV LAYOUT
=============================== */

.nav{
  width:90%;
  max-width:1200px;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

/* ===============================
   LOGO
=============================== */

.logo img{
  height:48px;
  transition:.3s;
}

.header.scrolled .logo img{
  height:36px;
}

/* ===============================
   MENU DESKTOP
=============================== */

.menu-desktop{
  display:flex;
  gap:25px;
}

.menu-desktop a{
  color:white;
  text-decoration:none;
  transition:.3s;
  font-weight:500;
}

/* links oscuros al hacer scroll */
.header.scrolled .menu-desktop a{
  color:#222;
}

.menu-desktop a:hover{
  color:#25D366;
}

/* ===============================
   BOTON WHATSAPP
=============================== */

.btn-wsp{
  border:2px solid #25D366;
  color:#25D366;
  padding:10px 18px;
  border-radius:8px;
  text-decoration:none;
  transition:.3s;
  font-weight:600;
}

.btn-wsp:hover{
  background:#25D366;
  color:black;
}

/* ===============================
   HAMBURGER
=============================== */

.hamburger{
  display:none;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
}

.hamburger span{
  width:25px;
  height:3px;
  background:white;
  transition:.3s;
}

/* oscuro al hacer scroll */
.header.scrolled .hamburger span{
  background:#222;
}

/* ===============================
   HERO
=============================== */

.hero{
  height:85vh;
  min-height:600px;
  background:url('../img/fondo.jpeg') center/cover no-repeat;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  position:relative;
  padding:0 20px;
}

.overlay{
  position:absolute;
  width:100%;
  height:100%;
  background:linear-gradient(
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.65)
  );
}

.hero-content{
  position:relative;
  z-index:2;
  max-width:800px;
}

.hero h1{
  font-size:46px;
  font-weight:800;
  margin-bottom:20px;
  color:white;
}

.hero p{
  font-size:20px;
  color:#eaeaea;
}

/* ===============================
   MOBILE MENU
=============================== */

.mobile-menu{
  position:fixed;
  top:-100%;
  left:0;
  width:100%;
  height:100vh;
  background:black;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:25px;
  transition:.5s ease;
  z-index:999;
}

.mobile-menu a{
  color:white;
  text-decoration:none;
  font-size:22px;
}

.mobile-menu.active{
  top:0;
}

/* ===============================
   RESPONSIVE
=============================== */

@media(max-width:900px){

  .menu-desktop,
  .btn-wsp{
    display:none;
  }

  .hamburger{
    display:flex;
  }

  .hero h1{
    font-size:34px;
  }

  .hero p{
    font-size:18px;
  }
}
