/* RESET */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:'Segoe UI', sans-serif;
  color:white;

  /* IMAGEN  */
  background: url('../assets/fondo.jpg') center/cover no-repeat fixed;
}

/* OVERLAY OSCURO */
body::before{
  content:"";
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.6);
  z-index:-1;
}

/* ================= HEADER ================= */

header{

  position:fixed;

  top:0;
  left:0;

  width:100%;

  z-index:1000;

  transition:0.4s ease;

  padding:20px 60px;

  display:flex;

  justify-content:space-between;
  align-items:center;

}

/* CONTENEDOR */

.top-header{

  display:flex;

  align-items:center;

}


/* LOGO */

.logo{

  display:flex;
  justify-content:center;
  align-items:center;

}

.logo img{

  height:60px;

  transition:0.3s ease;

}

/* NAV */

nav{

  display:flex;

  align-items:center;

  gap:35px;

  flex-wrap:wrap;

}

/* LINKS */

nav a{

  color:white;

  text-decoration:none;

  font-weight:bold;

  font-size:14px;

  transition:0.3s ease;

}

nav a:hover{

  transform:scale(1.08);

  color:#2ecc71;

}

/* MENU HAMBURGUESA */

.menu-toggle{

  display:none;

  position:absolute;

  right:0;

  font-size:35px;

  color:white;

  cursor:pointer;

}


/* ================= SCROLL HEADER ================= */

header.scrolled{

  background:rgba(15, 15, 15, 15, 15);

  backdrop-filter:blur(15px);

  box-shadow:0 5px 20px rgba(0,0,0,0.25);

  padding:15px 40px;

}

/* HEADER EN SCROLL */

header.scrolled .top-header{

  justify-content:space-between;

}

header.scrolled nav{

  margin-top:0;

}

header.scrolled .logo img{

  height:50px;

}

/* ================= SECCIONES ================= */
section{
  padding:140px 80px 100px;
}

/* HERO */
.hero{
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.hero-content{
  max-width:600px;
}

.hero-content h2{
  font-size:42px;
}

.hero-content p{
  margin-top:20px;
  line-height:1.6;
}

/* BOTÓN */
.btn-outline{
  display:inline-block;
  margin-top:25px;
  padding:12px 30px;
  border-radius:30px;
  background:rgba(255,255,255,0.2);
  backdrop-filter:blur(10px);
  text-decoration:none;
  color:white;
  font-weight:bold;
  transition:0.3s;
}

.btn-outline:hover{
  background:#2ecc71;
  transform:scale(1.1);
}

/* KPIS */
.kpis{
  display:flex;
  justify-content:space-around;
  margin-top:80px;
  text-align:center;
}

.kpis h3{
  font-size:32px;
}

/* GLASS SECTIONS */
.glass-section{
  backdrop-filter:blur(15px);
  background:rgba(255,255,255,0.1);
  border-radius:20px;
  margin:40px;
  padding:60px;
}
/* CONTACTO GLASS NEGRO  
#contacto{
  background:rgba(0,0,0,0.75);
  backdrop-filter:blur(15px);
}

*/


/* TITULOS */
.glass-section h2{
  text-align:center;
  margin-bottom:30px;
}

/* TEXTO */
.texto{
  text-align:center;
  max-width:900px;
  margin:auto;
  margin-bottom:40px;
}

/* GRID */
.grid{
  display:flex;
  gap:20px;
  justify-content:center;
}

/* CARDS */
.card{
  background:rgba(255,255,255,0.2);
  backdrop-filter:blur(10px);
  padding:20px;
  border-radius:15px;
  width:300px;
  text-align:center;
  transition:0.3s;
}

.card:hover{
  transform:translateY(-5px);
}

/* CARD FULL */
.card.full{
  width:80%;
  margin:30px auto;
}

/* GRID 3 */
.grid-3{
  display:flex;
  justify-content:space-around;
  text-align:center;
}

/* FOOTER */
.copy{
  text-align:center;
  margin-top:40px;
}



.admin-link{

    position:fixed;

    bottom:15px;

    right:20px;

    color:rgba(255,255,255,0.5);

    font-size:13px;

    text-decoration:none;

    z-index:9999;

    transition:0.3s;

}

.admin-link:hover{

    color:#35d06e;

}