/* ==========================================================
   SECCIÓN: PROCESO DE SELECCIÓN (TRACK HORIZONTAL CONECTADO)
   Archivo independiente: proceso_seleccion.css
   ========================================================== */

.process-section {
  padding: 175px 24px 160px 24px;
  background-color: #ffffff !important;
  border-top-left-radius: 45px;
  border-top-right-radius: 45px;
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-top: -30px;
  z-index: 10;
}

.process-section .container {
  max-width: 1340px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.process-section .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.process-section .sections-tag {
  display: inline-block;
  background: linear-gradient(90deg, #90e705, #8bf105);
  color: #000000 !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 900;
  padding: 7px 20px;
  border-radius: 30px;
  margin-bottom: 16px;
  box-shadow: none !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.process-section .section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(3.2rem, 6.2vw, 4.7rem);
  font-weight: 900;
  color: #090d12 !important;
  margin: 0 0 14px 0;
  letter-spacing: -1.5px;
  line-height: 1.12;
}

.process-section .sections-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  color: #475569 !important;
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.75;
}

/* Track Horizontal Conectado */
.process-horizontal-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  margin-top: 65px;
}

/* Línea conectora punteada */
.process-horizontal-track::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12%;
  right: 12%;
  height: 0;
  border-top: 2px dashed #cbd5e1;
  z-index: 1;
}

/* Paso individual */
.process-h-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
  opacity: 1 !important;
  visibility: visible !important;
}

.process-h-step:hover {
  transform: translateY(-4px);
}

/* Contenedor del Círculo con Badge */
.step-icon-badge-wrapper {
  position: relative;
  width: 82px;
  height: 82px;
  margin-bottom: 20px;
}

.step-circle-icon {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 1.8rem;
  box-shadow: none !important;
  transition: all 0.3s ease;
  position: relative;
}

.step-circle-icon.active-step,
.process-h-step:hover .step-circle-icon {
  background: #000000;
  border-color: #86ff05;
  color: #86ff05;
  box-shadow: none !important;
}

.step-circle-icon i {
  transition: transform 0.3s ease;
}

.process-h-step:hover .step-circle-icon i {
  transform: scale(1.08);
}

/* Badge numérico en la esquina superior derecha */
.step-counter-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #86ff05;
  color: #000000;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none !important;
  border: 2.5px solid #ffffff;
  z-index: 3;
}

/* Textos de cada paso */
.step-h-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 270px;
}

.step-h-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: #090d12;
  margin: 0 0 8px 0;
  letter-spacing: -0.3px;
  transition: color 0.3s ease;
}

.process-h-step:first-child .step-h-title,
.process-h-step:hover .step-h-title {
  color: #52a600;
}

.step-h-desc {
  font-family: 'Poppins', sans-serif;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
}

/* Responsividad Proceso */
@media (max-width: 992px) {
  .process-section {
    padding: 100px 24px 110px 24px;
  }

  .process-section .section-title {
    font-size: clamp(2.4rem, 5vw, 3.4rem);
  }

  .process-horizontal-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 45px 30px;
    margin-top: 45px;
  }

  .process-horizontal-track::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .process-section {
    padding: 85px 36px 95px 36px;
    border-top-left-radius: 32px;
    border-top-right-radius: 32px;
  }

  .process-section .section-header {
    margin-bottom: 25px;
    padding: 0 8px;
  }

  .process-tag-pill {
    font-size: 11px;
    padding: 5px 16px;
    margin-bottom: 16px;
  }

  .process-section .section-title {
    font-size: clamp(2.2rem, 7.5vw, 2.9rem);
    letter-spacing: -1.2px;
  }

  .process-section .sections-subtitle {
    font-size: 0.96rem;
    line-height: 1.65;
    padding: 0 4px;
  }

  .process-horizontal-track {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 35px auto 0 auto;
    gap: 30px;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .process-section {
    padding: 65px 28px 80px 28px;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
  }

  .process-tag-pill {
    font-size: 10.5px;
    padding: 4px 14px;
  }

  .process-section .section-title {
    font-size: clamp(2rem, 8.5vw, 2.6rem);
    letter-spacing: -1px;
  }

  .process-section .sections-subtitle {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .step-icon-badge-wrapper {
    width: 72px;
    height: 72px;
    margin-bottom: 14px;
  }

  .step-circle-icon {
    width: 72px;
    height: 72px;
    font-size: 1.5rem;
  }

  .step-h-title {
    font-size: 1.2rem;
  }

  .step-h-desc {
    font-size: 0.88rem;
    line-height: 1.6;
  }
}