/* Hero: fondo y background opcional con --hero-bg */
.hero {
  position: relative;
  overflow: hidden;
  /* Ensure no spillover */
}

/* Premium Form Styles */
.hero-form-card {
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0, 4, 154, 0.15);
  /* Deep blue shadow */
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
}

.hero-form-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 4, 154, 0.2);
}

.hero-form-header {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-mid) 100%);
  color: var(--white);
  padding: 0.5rem;
  text-align: center;
  border-bottom: none;
}

.hero-form-header h3 {
  color: var(--white);
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.hero-form-body {
  padding: 2rem;
}

/* Custom Input Groups */
.input-group-text {
  background-color: #f8f9fa;
  border-right: none;
  color: var(--blue-mid);
  border-color: var(--border-color);
  border-top-left-radius: var(--radius-sm);
  border-bottom-left-radius: var(--radius-sm);
}

.form-control,
.form-select {
  border-left: none;
  padding-left: 0;
  border-color: var(--border-color);
  box-shadow: none;
  /* Remove default browser shadow */
}

.form-control:focus,
.form-select:focus {
  border-color: var(--blue-mid);
  box-shadow: none;
  border-left: 1px solid var(--blue-mid);
  /* Bring back border on focus */
  padding-left: 0.75rem;
  /* Adjust padding to make up for border */
  margin-left: -1px;
  /* Pull back to align */
}

/* Fix for input group focus visual */
.input-group:focus-within .input-group-text {
  border-color: var(--blue-mid);
  color: var(--blue-deep);
}

.input-group:focus-within .form-control,
.input-group:focus-within .form-select {
  border-left: none;
  /* Keep it seamless */
  box-shadow: none;
}

/* Floating labels or just nice labels */
.form-label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--blue-deep);
  margin-bottom: 0.35rem;
  display: block;
}

/* Custom Radio Buttons */
.form-check-input:checked {
  background-color: var(--blue-mid);
  border-color: var(--blue-mid);
}


/* Icons inside inputs */
.input-icon-wrapper {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--blue-mid);
  pointer-events: none;
  z-index: 10;
}

.form-control-icon {
  padding-left: 2.5rem !important;
}

/* Card unificada para la columna izquierda del Hero */
.hero-left-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #ffffff;
}

/* Banner de hero: centrado por defecto, alinea a la derecha en móvil */
.hero-banner {
  background-position: center;
}

@media (max-width: 767.98px) {
  .hero-banner {
    background-position: right center !important;
  }
}