@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: radial-gradient(circle at top, #0a2540, #020c1b);
  color: white;
  overflow-x: hidden;
}

/* NAVBAR */
.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center; /* 👈 ESTO LOS CENTRA VERTICAL */
  padding: 15px 60px;
  backdrop-filter: blur(15px);
  background: rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  z-index: 1000;
}

.navbar a {
  color: #d9f3ff;
  margin-left: 25px;
  text-decoration: none;
  font-weight: 400;
  transition: 0.3s;
}

.navbar a:hover {
  color: #00d4ff;
}

/* LOGO */
.logo {
  width: 120px;
  transition: 0.3s;
}

/* HERO */
.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;

  background: 
    linear-gradient(rgba(2,12,27,0.7), rgba(2,12,27,0.9)),
    url('img/hero.jpg');

  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* efecto pro */
}



.hero span {
  background: linear-gradient(90deg, #00d4ff, #00ffa3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text {
  background: 
    linear-gradient(rgba(2,12,27,0.6), rgba(2,12,27,0.8)),
    url('img/hero.jpeg');

  background-size: cover;
  background-position: center;
  backdrop-filter: blur(10px);

  padding: 60px;
  border-radius: 25px;
  text-align: center;

  max-width: 700px;
  width: 90%;

  box-shadow: 0 0 40px rgba(0,0,0,0.5);

  animation: fadeIn 1.5s ease;
}

.hero h1 {
  font-size: 3rem;
}

.hero p {
  margin-top: 15px;
  color: #d0eaff;
}

.hero button {
  margin-top: 25px;
  padding: 15px 35px;
  border-radius: 30px;
  border: none;
  background: linear-gradient(90deg, #00d4ff, #00ffa3);
  color: black;
  font-weight: bold;
  cursor: pointer;
  transition: 0.4s;
}

.hero button:hover {
  transform: scale(1.1);
  box-shadow: 0 0 25px #00d4ff;
}

/* FORMULARIO */
.formulario-contacto {
  display: flex;
  justify-content: center;
  padding: 60px 20px;
}

.form-box {
  width: 100%;
  max-width: 450px;
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  text-align: center;
}

.form-box form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-box input,
.form-box textarea {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.form-box textarea {
  height: 110px;
}

/* BOTÓN BONITO */
.form-box button {
  background: #2b7cff;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s;
}

.form-box button:hover {
  background: #1a5edb;
}

/* CONTACTO */
.contacto {
  text-align: center;
  padding: 50px 20px;
}

.mapa {
  max-width: 600px;
  margin: 20px auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.mapa iframe {
  width: 100%;
  height: 250px;
}

/* WHATSAPP */
.whatsapp {
  background: #25D366;
  color: white;
}

.whatsapp:hover {
  background: #1ebe5d;
}

/* MAPS */
.maps {
  background: #2b7cff;
  color: white;
}

.maps:hover {
  background: #1a5edb;
}

/* SECCIÓN */
.form-box {
  max-width: 420px;
  margin: 0 auto;
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.form-box h2 {
  text-align: center;
  margin-bottom: 5px;
  color: #777;
}

.form-box p {
  text-align: center;
  font-size: 14px;
  color: #777;
  margin-bottom: 20px;
}

/* GRUPOS */
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

/* LABEL */
.form-group label {
  font-size: 13px;
  margin-bottom: 5px;
  color: #555;
}

/* INPUTS */
.form-group input,
.form-group textarea {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 14px;
}

/* TEXTAREA */
.form-group textarea {
  height: 100px;
  resize: none;
}

/* BOTÓN */
.form-box button {
  width: 100%;
  margin-top: 10px;
  background: #2b7cff;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s;
}

.form-box button:hover {
  background: #1a5edb;
}

.botones-contacto {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 25px;
  flex-wrap: wrap;
}

/* BOTÓN BASE */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 30px; /* más suave */
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

/* WHATSAPP */
.whatsapp {
  background: rgba(37, 211, 102, 0.1);
  color: #25D366;
  border: 1px solid rgba(37, 211, 102, 0.3);
}

.whatsapp:hover {
  background: #25D366;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

/* MAPS */
.maps {
  background: rgba(43, 124, 255, 0.1);
  color: #ff2b2b;
  border: 1px solid rgba(255, 43, 43, 0.3);
}

.maps:hover {
  background: #ff2b2b;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 43, 43, 0.3);
}

/* FACEBOOK */
.facebook {
  background: rgba(24, 119, 242, 0.1);
  color: #1877F2;
  border: 1px solid rgba(24, 119, 242, 0.3);
}

.facebook:hover {
  background: #1877F2;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(24, 119, 242, 0.3);
}
@media (max-width: 768px) {

  .navbar {
    padding: 10px 20px;
  }

  .hero {
    height: 70vh;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .cards {
    flex-direction: column;
    align-items: center;
  }

}