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

body {
    background-color: #02132D;
    color: #ffffff;

}

/* Cuerpos de texto */
p, body {
    font-family: 'Lato', sans-serif;
    font-size: 1.2rem;
    line-height: 1.6;
}

section {
    height: 100vh;
    text-align: center;
}

#intro {
    img {
        width: 100%;
    }
}

/* Titulo principal */
h1 {
    font-family: 'Alex Brush', cursive;
    font-weight: 400;
    font-size: 5rem;
}

/* Subtitulos */
h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* 1. Variables Globales (Facilita el mantenimiento futuro) */
:root {
  --color-primario: #0076DF;
  --color-primario-hover: #005bb5;
  --color-texto: #ffffff;
  --fondo-cristal: rgba(2, 19, 45, 0.8);
}

/* 2. Clases de Utilidad */
.hidden { display: none !important; }
.text-center { text-align: center; }

/* 3. Componentes del Modal */
.modal-overlay {
  position: fixed;
  inset: 0; /* Propiedad moderna que reemplaza top:0, left:0, width:100%, height:100% */
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background: var(--fondo-cristal);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--color-texto);
  padding: 30px;
  border-radius: 16px;
  width: 90%;
  max-width: 400px;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* 4. Elementos Internos del Modal (Agrupación de selectores) */
.modal-closure {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.modal-closure:hover { opacity: 1; }

.modal-content form {
  display: flex;
  flex-direction: column;
  gap: 15px; /* Espaciado automático entre inputs sin usar margin */
  margin-top: 20px;
}

.modal-content input, 
.modal-content select {
  padding: 10px;
  border-radius: 6px;
  border: none;
  font-family: inherit; /* Hereda la tipografía de tu página */
}

/* 5. Botones Universales */
.btn-primary {
  background-color: var(--color-primario);
  color: var(--color-texto);
  border: none;
  padding: 12px 40px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
  box-shadow: 0 4px 15px rgba(0, 118, 223, 0.4);
}

.btn-primary:hover {
  background-color: var(--color-primario-hover);
  transform: translateY(-2px);
}

.btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}