/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body, html {
  font-family: 'Space Grotesk', sans-serif;
  color: white;
  height: 100vh;
  overflow: hidden;
}

.bg-video {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  max-width: 1400px;
  width: 100%;
  gap: 60px;
  padding: 0 20px;
}

/* Content (8/12) */
.content {
  flex: 0 0 66.66%;
  max-width: 66.66%;
}

.logo {
  max-width: 100px;
  margin-bottom: 30px;
}

h1 {
  font-size: 10rem;
  line-height: 1;
  margin-bottom: 10px;
}

h2 {
  font-size: 5rem;
  color: #ffcc00;
  margin-bottom: 5px;
}

p {
  font-size: 1.8rem;
}

/* Formulario (4/12) */
.form-container {
  flex: 0 0 33.33%;
  max-width: 33.33%;
  background: rgba(0, 0, 0, 0.85);
  padding: 25px;
  border-radius: 10px;
  opacity: 0;
  display: none;
  transition: opacity 1s ease;
}

.form-container.visible {
  display: block;
  opacity: 1;
}

input, textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: none;
  font-size: 1rem;
}

button {
  background: #ffcc00;
  color: black;
  border: none;
  padding: 12px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  width: 100%;
}

/* Responsive */
@media screen and (max-width: 900px) {
  .container {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .content,
  .form-container {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
  }

  h1 {
    font-size: 3.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  p {
    font-size: 1.3rem;
  }

  .logo {
    margin: 0 auto 10px;
  }
}
/* scroll efect*/
.scroll-button {
  margin-top: 30px;
  padding: 12px 25px;
  font-size: 1rem;
  background-color: #ffcc00;
  color: black;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
  width: 180px;
}

/* Sección de formulario desplazada */
.form-section {
  background: rgba(0, 0, 0, 0.9);
  padding: 60px 20px;
  text-align: center;
}

.form-wrapper {
  max-width: 500px;
  margin: 0 auto;
}

.form-wrapper h3 {
  font-size: 2rem;
  margin-bottom: 30px;
}

.form-wrapper input,
.form-wrapper textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: none;
  font-size: 1rem;
}

.form-wrapper button {
  background: #ffcc00;
  border: none;
  padding: 12px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  width: 100%;
}

.scroll-button {
  margin-top: 30px;
  padding: 12px 25px;
  font-size: 1rem;
  background-color: #ffcc00;
  color: black;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}


.checkbox-container {
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: #ccc;
}

.checkbox-container label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1.4;
}

.checkbox-container input[type="checkbox"] {
  transform: scale(1.2);
  margin-top: 3px;
  accent-color: #ffcc00;
}

.checkbox-container a {
  color: #ffcc00;
  text-decoration: underline;
}

/* MODAL */
.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.modal {
  background: #111;
  padding: 30px;
  border-radius: 10px;
  max-width: 500px;
  width: 90%;
  position: relative;
}

.modal h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  text-align: center;
}

.modal input,
.modal textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: none;
  font-size: 1rem;
}

.modal button[type="submit"] {
  background: #ffcc00;
  border: none;
  padding: 12px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  width: 100%;
}

.close-modal {
  position: absolute;
  top: -15px;
  right: -15px;
  background: #ffcc00;
  color: black;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

