/* ==========================================================================
   FORMULARIO PREMIUM USANDO IMAGEN DE FONDO REAL (ARDABYTEC)
   ========================================================================== */
.form-section-container {
  width: 100%;
  background-color: #f8fafc;
  font-family: 'Poppins', sans-serif;
  padding: 60px 20px;
  box-sizing: border-box;
}

.form-wrapper {
  max-width: 1250px;
  margin: 0 auto;
  background-image: url('../assets/imagenes-complementarias/fondo formulario.png');
  background-size: 100% 100%; 
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
  display: flex;
  overflow: hidden;
}

/* --- BARRA LATERAL (TRANSPARENTE EN DESKTOP) --- */
.form-sidebar {
  width: 32.5%; 
  background: transparent; 
  position: relative;
  padding: 55px 35px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.sidebar-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sidebar-subtitle {
  font-size: 1.1rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 1px;
}

.sidebar-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: #1e70ff;
  line-height: 1;
  margin: 5px 0 15px 0;
}

.title-underline {
  width: 60px;
  height: 4px;
  background-color: #1e70ff;
  margin-bottom: 25px;
}

.sidebar-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 40px;
}

/* --- ESTILIZACIÓN DE ICONOS LATERALES IZQUIERDOS --- */
.info-bullets {
  display: flex;
  flex-direction: column;
  gap: 30px;
  flex-grow: 1;
}

.bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.bullet-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background-color: #1e70ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(30, 112, 255, 0.3);
}

/* Asegura que el icono renderizado sea visible, blanco y centrado */
.bullet-icon i {
  color: #ffffff !important;
  font-size: 1.25rem !important;
  display: inline-block;
}

.bullet-text h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 5px 0;
}

.bullet-text p {
  font-size: 0.82rem;
  line-height: 1.4;
  color: #cbd5e1;
  margin: 0;
}

/* Footer de la barra lateral */
.sidebar-footer {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

.footer-icon-hex {
  width: 38px;
  height: 38px;
  min-width: 38px;
  background-color: rgba(30, 112, 255, 0.15);
  border: 1px solid #1e70ff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-icon-hex i {
  color: #ffffff !important;
  font-size: 1.1rem !important;
}

.sidebar-footer h4 {
  font-size: 0.75rem;
  font-weight: 700;
  margin: 0;
  color: #1e70ff;
}

.sidebar-footer p {
  font-size: 0.65rem;
  font-weight: 500;
  margin: 2px 0 0 0;
  color: #94a3b8;
}

/* --- SECCIÓN DERECHA DEL FORMULARIO --- */
.form-main-content {
  width: 67.5%;
  padding: 55px 60px 45px 70px; 
  box-sizing: border-box;
  background: transparent; 
}

/* Encabezado del Formulario e Icono Principal */
.form-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.form-header-icon {
  width: 65px;
  height: 65px;
  min-width: 65px;
  border: 2px solid #1e70ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.form-header-icon i {
  font-size: 1.8rem !important;
  color: #1e70ff !important;
}

.form-main-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.form-main-subtitle {
  font-size: 0.95rem;
  color: #64748b;
  margin: 5px 0 0 0;
}

.header-blue-line {
  width: 45px;
  height: 3px;
  background-color: #1e70ff;
  margin-top: 10px;
}

/* Estilos de los inputs */
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-bottom: 25px;
}

.input-group {
  display: flex;
  flex-direction: column;
}

.input-group.full-width {
  margin-bottom: 25px;
}

.input-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 8px;
}

.required {
  color: #ef4444;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

/* Iconos internos de los inputs */
.field-icon {
  position: absolute;
  left: 18px;
  color: #94a3b8 !important;
  font-size: 1.05rem !important;
  pointer-events: none;
}

.textarea-icon {
  top: 18px;
}

.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
  width: 100%;
  padding: 14px 18px 14px 48px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: #334155;
  background-color: #ffffff;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.input-wrapper select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23475569'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 16px;
}

.input-wrapper textarea {
  resize: vertical;
  min-height: 100px;
}

.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus {
  outline: none;
  border-color: #1e70ff;
  box-shadow: 0 0 0 4px rgba(30, 112, 255, 0.1);
}

.input-tip {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 5px;
}

/* Footer del Formulario */
.form-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 35px;
  border-top: 1px solid #f1f5f9;
  padding-top: 25px;
}

.privacy-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #475569;
}

.privacy-notice i {
  font-size: 1.3rem !important;
  color: #475569 !important;
}

.privacy-notice p {
  font-size: 0.78rem;
  margin: 0;
  line-height: 1.4;
}

.privacy-notice a {
  color: #1e70ff;
  text-decoration: none;
  font-weight: 500;
}

.privacy-notice a:hover {
  text-decoration: underline;
}

.btn-submit {
  background-color: #1e70ff;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 14px 28px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(30, 112, 255, 0.3);
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background-color: #0f5ee6;
  box-shadow: 0 6px 20px rgba(30, 112, 255, 0.4);
  transform: translateY(-2px);
}

/* --- BARRA INFERIOR DE DECORACIÓN --- */
.bottom-decorative-bar {
  max-width: 1250px;
  margin: 10px auto 0 auto;
  display: flex;
  justify-content: flex-end; 
  padding-right: 15px;
}

.decorative-text {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #1e70ff;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .form-wrapper {
    flex-direction: column;
    background-image: none; 
    background-color: #ffffff;
  }
  
  .form-sidebar {
    width: 100%;
    background: linear-gradient(145deg, #020b1e, #0a192f);
    padding: 40px 30px;
  }
  
  .form-main-content {
    width: 100%;
    padding: 40px 30px;
  }

  .bottom-decorative-bar {
    justify-content: center;
    padding-right: 0;
  }
}

@media (max-width: 600px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .form-footer-actions {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  
  .btn-submit {
    width: 100%;
    justify-content: center;
  }
}