
/* Establecemos las variables de colores */
:root {
  --verde-neon: #33FF99;
  --negro-mate: #000000;
  --gris-oscuro: #2E2E2E;
  --gris-medio: #4D4D4D;
  --blanco: #FFFFFF;
}

/* Estilo global del body */
body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--negro-mate);
  color: var(--blanco);
  margin: 0;
  padding: 2rem;
}

/* Barra de navegación superior */
.navbar {
  background-color: var(--gris-oscuro);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
  overflow-x: auto;
}

.navbar .logo {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--verde-neon);
}

.navbar .nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.navbar .nav-links a {
  text-decoration: none;
  color: var(--blanco);
  transition: color 0.3s ease;
}

.navbar .nav-links a:hover {
  color: var(--verde-neon);
}

p, label, select, input, button {
  font-size: 1rem;
  color: var(--blanco);
}

label {
  display: block;
  margin-top: 1.2rem;
  font-weight: 500;
  color: var(--blanco);
}

input, select {
  background: var(--gris-oscuro);
  color: var(--blanco);
  border: 1px solid var(--gris-medio);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  margin-top: 0.25rem;
  width: 100%;
  max-width: 440px;
  transition: border-color 0.3s ease;
}

input:focus, select:focus {
  border-color: var(--verde-neon);
  outline: none;
}

select {
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23FFFFFF' viewBox='0 0 20 20'%3E%3Cpath d='M5.23 7.21a.75.75 0 011.06.02L10 10.94l3.71-3.71a.75.75 0 111.06 1.06l-4.24 4.25a.75.75 0 01-1.06 0L5.23 8.29a.75.75 0 01.02-1.06z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
}

/* Agrupaciones visuales */
.form-section {
  background: rgba(46, 46, 46, 0.6);
  padding: 1.5rem;
  border-radius: 16px;
  margin-bottom: 2rem;
  box-shadow: 0 0 10px rgba(0, 255, 153, 0.05);
}

/* Botones */
button {
  margin-top: 2rem;
  padding: 0.75rem 2rem;
  background-color: var(--negro-mate);
  color: var(--verde-neon);
  border: 2px solid var(--verde-neon);
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover {
  background-color: var(--verde-neon);
  color: var(--negro-mate);
}

/* Resultado */
#resultado {
  margin-top: 2rem;
  background: var(--gris-oscuro);
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0, 255, 153, 0.1);
  animation: fadeInUp 0.4s ease;
}

#precioHora {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--verde-neon);
}

#detalle {
  font-size: 0.95rem;
  color: var(--blanco);
}

/* Animación suave */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

section {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  line-height: 1.6;
}

section#inicio, section#sobre {
  padding-top: 6rem;
  text-align: center;
}

section#inicio h1,
section#sobre h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--verde-neon);
}

section#inicio p,
section#sobre p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.beneficios {
  justify-content: center;
}

footer {
  text-align: center;
  margin-top: 5rem;
  padding-bottom: 2rem;
  font-size: 0.9rem;
  color: #777;
}

/* Hero section */
.hero {
  min-height: 1vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Alinea los elementos hacia arriba */
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  gap: 1rem;
  max-width: 700px;
  margin: 0 auto;
}


/* Título principal de la sección hero */
.hero h1 {
  font-size: 3.5rem; /* Tamaño ajustado del título */
  color: var(--verde-neon);
  font-weight: bold;
  letter-spacing: 1px; /* Espaciado entre letras para mejor visibilidad */
  margin-bottom: 1rem; /* Espacio inferior para no pegarse a otros elementos */
  text-align: center; /* Centrar el texto */
}


.hero .intro {
  font-size: 1rem; /* Reducir el tamaño del texto */
  line-height: 1; /* Mantener la altura de línea normal */
  color: #ddd;
  margin-bottom: 1rem; /* Añadir un margen inferior para separar */
}


.boton-cta {
  display: inline-block;
  background: var(--verde-neon);
  color: var(--negro-mate);
  padding: 1rem 2rem;
  border-radius: 16px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(51, 255, 153, 0.3);
}

.boton-cta:hover {
  background: #2ee88e;
  box-shadow: 0 0 30px rgba(51, 255, 153, 0.5);
}

/* Ajustes Hero para ser más compacto */
.hero {
  padding-bottom: 2rem; /* Reducir espacio debajo del hero */
}

.funcionalidades {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
}

.funcionalidades .bloque {
  background-color: #111;
  padding: 1.5rem;
  border-radius: 2px;
  flex: 1;
  text-align: center;
}

.funcionalidades .icono {
  font-size: 5rem;
  color: var(--verde-neon);
  margin-bottom: 1rem;
}

.funcionalidades h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--verde-neon);
}

.funcionalidades p {
  font-size: 1rem;
  color: #aaa;
}

.colaboracion {
  text-align: center;
  margin-top: 2rem; /* Reducir espacio entre secciones */
}

.colaboracion p {
  font-size: 1.1rem;
  color: #ddd;
  margin-bottom: 1rem;
}

.colaboracion .boton-secundario {
  background-color: #333;
  color: #bbb;
  border: none;
  padding: 1rem;
  cursor: pointer;
  margin-top: 1rem;
  border-radius: 4px;
}

.colaboracion .boton-secundario:hover {
  background-color: var(--verde-neon);
  color: white;
}

footer {
  margin-top: 3rem;
  padding-bottom: 2rem;
  font-size: 0.9rem;
  color: #777;
  text-align: center;
}

/* Estilo específico para el título en la sección hero */
.sub-title {
  font-size: 1.3rem; /* Ajusta el tamaño según lo necesites */
  color: white;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  text-align: center;
}
