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

body {
  font-family: 'Roboto', sans-serif;
  color: white;
  overflow-x: hidden;
}

/* Video de fondo */
#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;      /* ancho siempre */
  height: 100%;     /* alto siempre */
  object-fit: cover; /* recorta para llenar pantalla */
  z-index: -2;
}


/* Capa oscura encima del video */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.55);
  z-index: -1;
}

/* Layout principal */
.main-section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.left-panel {
  text-align: center;
  flex: 1 1 400px;
}

.left-panel h1 {
  font-size: 60px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #f72585, #7209b7, #4361ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 12px rgba(255,255,255,0.5);
}

.left-panel span {
  display: inline-block;
  font-size: 16px;
  letter-spacing: 2px;
  color: #fff;
}

.sub-title {
  font-size: 20px;
  margin-top: 10px;
  font-weight: 400;
}

/* Formulario */
.right-panel {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  padding: 30px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  color: #161a1b;
}

.form-title {
  text-align: center;
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 2px;
  color: #161a1b;
}

.form-custom {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-custom input,
.form-custom select {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  outline: none;
}

.form-custom input:focus,
.form-custom select:focus {
  border-color: #00d9ec;
  box-shadow: 0 0 5px rgba(0, 217, 236, 0.3);
}

.form-button {
  background-color: #161a1b;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.form-button:hover {
  background-color: #00d9ec;
  color: #161a1b;
}

/* Responsive */
@media (max-width: 768px) {
  .main-section {
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
  }

  .left-panel h1 {
    font-size: 40px;
  }
}

.logos {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px; /* espacio entre logos */
  flex-wrap: wrap; /* permite que bajen en móviles */
}

.logos img {
  max-height: 150px; /* más pequeño por defecto */
  width: auto;
  filter: drop-shadow(0 0 8px rgba(0,0,0,0.5));
}

/* En pantallas pequeñas, que los logos se apilen */
@media (max-width: 768px) {
  .logos {
    flex-direction: column;
    gap: 15px;
  }

  .logos img {
    max-height: 150px; /* aún más chico en celular */
  }
}
