/* NAVBAR */

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px;
  background: transparent;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-center {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-center a {
  position: relative;
  text-decoration: none;
  color: #b6bcc6;
  font-size: 20px;
  font-weight: bold;
  transition: color 0.3s ease;
}

.nav-center a:hover {
  color: white;
}

/* línea animada */
.nav-center a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #4F46E5, #B5529F);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.nav-center a:hover::after {
  width: 100%;
}

/* TÍTULO */

.typing-text {
  font-size: 33px;
  color: white;
  font-weight: bold;
  text-align: center;
  margin: 50px 0 80px 0;
}


/* CONTENEDOR CONTACTO */


.faq-contact {
  display: flex;
  justify-content: center;
  padding: 40px 20px;
}

.contact-box {
  width: 100%;
  max-width: 800px;

  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;

  backdrop-filter: blur(10px);

  padding: 50px 40px;
  text-align: center;
}

/* textos */

.contact-box h3 {
  color: white;
  margin-bottom: 10px;
}

.contact-box p {
  color: #9CA3AF;
  margin-bottom: 30px;
}

/* FORMULARIO */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* inputs mejorados */

.contact-form input,
.contact-form textarea {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  color: white;
  font-size: 0.95rem;

  outline: none;
  transition: all 0.2s ease;
}

/* placeholder */

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #6b7280;
}

/* focus */

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #B5529F;
  background: rgba(255,255,255,0.04);
  box-shadow: 0 0 10px rgba(181, 82, 159, 0.2);
}

/* textarea */

.contact-form textarea {
  resize: none;
}

/* BOTONES */

.btn-submit {
  width: 85%;
  margin: 0 auto;

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 14px;
  border-radius: 10px;

  border: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;

  color: white;
  background: rgba(255,255,255,0.04);

  transition: all 0.25s ease;
}

.btn-submit:hover {
  background: linear-gradient(90deg, #4F46E5, #B5529F);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(181, 82, 159, 0.25);
}

/* RESPONSIVE */

/* tablets */
@media (max-width: 1024px) {

  .navbar {
    padding: 15px 20px;
  }

  .nav-center {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-center a {
    font-size: 16px;
  }

  .contact-box {
    padding: 30px 20px;
  }

}

/* mobile */
@media (max-width: 768px) {

  .navbar {
    flex-direction: column;
    gap: 15px;
    padding: 15px 0;
  }

  .nav-center {
    flex-direction: column;
    gap: 12px;
  }

  .typing-text {
    font-size: 24px;
    margin: 30px 0 50px 0;
  }

  .contact-box {
    padding: 20px 15px;
  }

  .contact-form input,
  .contact-form textarea {
    width: 100%;
    font-size: 0.9rem;
  }

  .btn-submit {
    width: 100%;
  }

}