:root {
  --azul-profundo: #1e293b;
  --azul-glaciar: #00b4d8;
  --azul-hielo: #f0fafc;
  --blanco-puro: #ffffff;
  --borde-cristal: rgba(0, 180, 216, 0.2);
  --sombra-fria: 0 15px 35px rgba(0, 119, 182, 0.08);
  --frost-effect: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 50%, rgba(255,255,255,0.4) 100%);
}

.hero-section {
    position: relative;
    /* Reducimos el alto mínimo para que el footer suba si no hay contenido */
    min-height: 60vh; 
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px; /* Un padding equilibrado */
    background-color: #ffffff;
    overflow: hidden;
    margin-bottom: 0 !important; /* Forzamos a que no haya margen debajo */
}

/* Forzamos al body a no tener márgenes por defecto del navegador */
body {
    margin: 0;
    padding: 0;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: url('/img/arctic-tech-background.png'); 
  background-size: 100% auto; /* Aleja la imagen */
  background-position: center top; 
  background-repeat: no-repeat;
  opacity: 0.12; 
  z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1300px; /* Ajustado para que no sea excesivo */
    margin: 0 auto;
    
    /* FONDO: Combinamos la imagen con un degradado blanco para que se funda */
    background-color: #ffffff;
    background-image: 
        linear-gradient(to bottom, rgba(255,255,255,0.7) 0%, #ffffff 40%), 
        url('/img/form-top-decor.png');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% auto; /* Se ajusta al ancho total */
    
    /* Estética de cristal */
    border: 1px solid rgba(0, 180, 216, 0.1);
    border-radius: 20px;
    padding: 80px 60px 60px 60px; /* Más aire arriba para la imagen */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    text-align: center;
    overflow: hidden;
}

/* Efecto de escarcha suave en los bordes del contenedor */
.hero-content::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 12px;
  background: var(--frost-effect);
  pointer-events: none;
  opacity: 0.5;
  z-index: -1;
}

.hero-header {
  margin-bottom: 50px;
}

.hero-header h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 200; /* Muy fino para look premium */
    font-size: 3rem;
    color: #1e293b;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-top: 10px;
}

.hero-header h1 b, 
.hero-header h1 strong {
    font-weight: 700; /* Solo si quieres resaltar una palabra */
}

.hero-subtitle {
    color: #00b4d8 !important; 
font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

/* Busca .brand-badge en tu hero.css o añade esto */
.brand-badge {
display: block; /* Ocupa su propia línea */
    color: #00b4d8 !important; 
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

/* Buscador en fila horizontal para 32:9 (adaptable) */
.search-container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}

.search-container::before {
    content: "";
    position: absolute;
    top: -30px; /* Que sobresalga un poco */
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100px;
    /* Un degradado que imita destellos de hielo */
    background: radial-gradient(circle at 20% 50%, rgba(0, 180, 216, 0.1) 0%, transparent 40%),
                radial-gradient(circle at 80% 50%, rgba(0, 180, 216, 0.08) 0%, transparent 40%);
    z-index: -1;
    filter: blur(15px);
}

/* Efecto de líneas de ingeniería (estrellas técnicas) */
.hero-header::after {
    content: "❄"; /* O un icono SVG de estrella técnica */
    position: absolute;
    top: 10px;
    right: 10%;
    font-size: 80px;
    color: rgba(0, 180, 216, 0.05); /* Muy muy sutil */
    transform: rotate(15deg);
    font-family: serif;
    pointer-events: none;
}

.inputs-row {
  display: grid;
  /* Cambiamos a 5 columnas iguales */
  grid-template-columns: repeat(5, 1fr); 
  gap: 20px;
  margin-bottom: 40px;
}

.input-group {
  text-align: left;
}

/* Estilo para el label general */
.input-group label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    color: #64748b; /* Un gris azulado más suave que el negro */
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

/* Estilo específico para el número (01., 02.) */
.step-number {
    color: #00b4d8; /* Resaltamos el número en azul */
    font-weight: 800;
    margin-right: 5px;
    opacity: 0.8;
}

.input-group select {
  width: 100%;
  padding: 15px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: white;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  color: var(--azul-profundo);
  cursor: pointer;
  appearance: none; /* Elimina estilos nativos */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 15px;
}

.input-group select:focus {
  outline: none;
  border-color: var(--azul-glaciar);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
}

/* Botón principal - Amigable pero impactante */
#btn-search {
  background: linear-gradient(135deg, #0284c7 0%, #00b4d8 100%); /* Slate blue to glacier blue */
  color: white;
  padding: 18px 50px;
  border: none;
  border-radius: 50px;
  font-size: 0.95rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 180, 216, 0.15);
}

#btn-search:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(0, 180, 216, 0.3);
  background: linear-gradient(135deg, #00b4d8 0%, #0284c7 100%);
}

#btn-search:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Responsive para pantallas medianas */
@media (max-width: 1200px) {
  .hero-header h1 { font-size: 2.8rem; }
  /* Pasa a 3 columnas o 2 columnas si prefieres (recomendado usar auto-fill para 5) */
  .inputs-row { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
}

/* Responsive para móviles */
@media (max-width: 600px) {
  .hero-header h1 { font-size: 2.2rem; }
  .hero-content { padding: 50px 20px; }
  .inputs-row { grid-template-columns: 1fr; gap: 15px; }
  #btn-search { padding: 15px 30px; width: 100%; }
}