*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Segoe UI',Arial,sans-serif;
  scroll-behavior:smooth;
}

body{
  background:#f4f6f9;
  overflow-x:hidden;
}

/* =========================
   NAVBAR
========================= */

.nav{
  width:100%;
  background:rgba(10,10,10,0.95);

  position:fixed;
  top:0;
  left:0;
  z-index:1000;

  display:flex;
  justify-content:space-between;
  align-items:center;

  padding:18px 50px;

  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(255,255,255,0.05);
}

/* LOGO */

.logo{
  display:flex;
  align-items:center;
  gap:15px;
}

.logo-img{
  width:65px;
  height:65px;
  object-fit:contain;
  border-radius:50%;
}

.logo h2{
  color:white;
  font-size:28px;
  font-weight:700;
}

/* MENU */

.menu{
  display:flex;
  align-items:center;
  gap:35px;
}

.menu a{
  color:white;
  text-decoration:none;
  font-size:20px;
  font-weight:600;
  transition:0.3s;
  position:relative;
}

.menu a:hover{
  color:#f2d24b;
}

.menu a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-8px;

  width:0%;
  height:2px;

  background:#f2d24b;
  transition:0.3s;
}

.menu a:hover::after{
  width:100%;
}

/* =========================
   HERO
========================= */

.hero{
  height:100vh;
  position:relative;
  overflow:hidden;
}

.slides img{
  position:absolute;
  width:100%;
  height:100%;
  object-fit:cover;

  opacity:0;
  transition:opacity 1.5s ease;
}

.slides img.activo{
  opacity:1;
}

.overlay{
  position:absolute;
  width:100%;
  height:100%;

  background:linear-gradient(
    to bottom,
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.80)
  );

  z-index:2;
}

.hero-text{
  position:absolute;
  z-index:3;

  top:50%;
  left:50%;

  transform:translate(-50%, -50%);

  text-align:center;
  color:white;

  width:90%;
  max-width:900px;
}

.hero-text h1{
  font-size:72px;
  line-height:1.1;
  margin-bottom:25px;
}

.hero-text p{
  font-size:26px;
  margin-bottom:35px;
  opacity:0.95;
}

/* BOTON */

.btn{
  display:inline-block;

  background:#f2d24b;
  color:black;

  padding:18px 40px;

  border-radius:12px;

  text-decoration:none;

  font-weight:bold;
  font-size:20px;

  transition:0.3s;
}

.btn:hover{
  background:#ffd900;
  transform:translateY(-5px);

  box-shadow:0 10px 25px rgba(0,0,0,0.25);
}

/* =========================
   SECCIONES
========================= */

.section{
  padding:140px 60px;
  max-width:1300px;
  margin:auto;
  text-align:center;
}

.section h2{
  font-size:60px;
  margin-bottom:25px;
  color:#111;
}

.section p{
  font-size:22px;
  line-height:1.8;
  color:#555;
}

/* =========================
   SERVICIOS
========================= */

.grid{
  margin-top:70px;

  display:flex;
  justify-content:center;
  gap:35px;
  flex-wrap:wrap;
}

.card{
  background:white;

  width:360px;

  padding:50px 35px;

  border-radius:25px;

  box-shadow:0 15px 40px rgba(0,0,0,0.08);

  transition:0.4s;
}

.card:hover{
  transform:translateY(-15px);
}

.card i{
  font-size:55px;
  color:#2f5aa8;
  margin-bottom:25px;
}

.card h3{
  font-size:30px;
  margin-bottom:18px;
  color:#111;
}

.card p{
  font-size:18px;
  color:#666;
}

/* =========================
   GALERIA
========================= */

.galeria{
  margin-top:70px;

  display:flex;
  justify-content:center;
  gap:25px;
  flex-wrap:wrap;
}

.galeria img{
  width:380px;
  height:280px;

  object-fit:cover;

  border-radius:20px;

  transition:0.4s;

  box-shadow:0 10px 30px rgba(0,0,0,0.15);
}

.galeria img:hover{
  transform:scale(1.05);
}

/* =========================
   CTA
========================= */

.cta{
  padding:140px 30px;

  background:linear-gradient(
    135deg,
    #2f5aa8,
    #17386d
  );

  text-align:center;
  color:white;
}

.cta h2{
  font-size:60px;
  margin-bottom:20px;
}

.cta p{
  font-size:24px;
  margin-bottom:35px;
}

/* =========================
   CONTACTO
========================= */

.contacto{
  background:white;
}

.contacto-box{
  margin-top:50px;
}

.contacto-box p{
  margin-bottom:18px;
  font-size:24px;
  color:#444;
}

/* =========================
   FOOTER
========================= */

.footer{
  background:#0c0c0c;
  color:white;

  text-align:center;

  padding:30px;
}

.footer p{
  font-size:16px;
  opacity:0.8;
}

/* =========================
   WHATSAPP
========================= */

.whatsapp{
  position:fixed;

  right:25px;
  bottom:25px;

  width:70px;
  height:70px;

  background:#25d366;
  color:white;

  border-radius:50%;

  display:flex;
  justify-content:center;
  align-items:center;

  text-decoration:none;

  font-size:35px;

  z-index:999;

  box-shadow:0 10px 25px rgba(0,0,0,0.25);

  transition:0.3s;
}

.whatsapp:hover{
  transform:scale(1.1);
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:900px){

  .nav{
    padding:15px 20px;
    flex-direction:column;
    gap:15px;
  }

  .logo{
    justify-content:center;
  }

  .logo-img{
    width:50px;
    height:50px;
  }

  .logo h2{
    font-size:18px;
    text-align:center;
  }

  .menu{
    gap:18px;
    flex-wrap:wrap;
    justify-content:center;
  }

  .menu a{
    font-size:15px;
  }

  .hero-text h1{
    font-size:42px;
  }

  .hero-text p{
    font-size:18px;
  }

  .section{
    padding:100px 20px;
  }

  .section h2{
    font-size:40px;
  }

  .card{
    width:100%;
  }

  .galeria img{
    width:100%;
    height:auto;
  }

  .cta h2{
    font-size:38px;
  }

}
