/**
 * ========================================
 * PROCESO/CÓMO TRABAJAMOS SECTION STYLES
 * Estilos para la sección del proceso
 * ========================================
 */

.proceso-section {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, rgba(3, 40, 65, 0.05), rgba(26, 58, 82, 0.05));
  position: relative;
  overflow: hidden;
}

.proceso-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(204, 255, 0, 0.1), transparent);
  border-radius: 50%;
  pointer-events: none;
  display: none;
}

.proceso-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(26, 58, 82, 0.15), transparent);
  border-radius: 50%;
  pointer-events: none;
}

.section-title {
  position: relative;
  z-index: 1;
  margin-bottom: 4rem;
}

.section-title .sub-title {
  display: inline-block;
  color: #ccff00;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
  padding: 0.5rem 1rem;
  background: rgba(204, 255, 0, 0.1);
  border-left: 3px solid #ccff00;
}

.section-title h2 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.section-description {
  font-size: 1.1rem;
  color: #e0e0e0;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}

/* Timeline Container */
.proceso-timeline {
  position: relative;
  z-index: 1;
  margin-bottom: 4rem;
}

.proceso-cards-container {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 2rem;
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.proceso-card-wrapper {
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.connector-line {
  position: absolute;
  right: -18px;
  top: 40px;
  width: 18px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ccff00, transparent);
  z-index: 2;
}

.proceso-card-wrapper:last-child .connector-line {
  display: none;
}

/* Process Card Styles */
.proceso-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(204, 255, 0, 0.15);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.proceso-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ccff00, #d4af37);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.proceso-card:hover {
  background: rgba(204, 255, 0, 0.05);
  border-color: rgba(204, 255, 0, 0.3);
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(204, 255, 0, 0.15), 0 0 50px rgba(3, 40, 65, 0.2);
}

.proceso-card:hover::before {
  opacity: 1;
}

/* Highlighted Card (Middle) */
.proceso-card.highlight-card {
  background: rgba(204, 255, 0, 0.08);
  border-color: rgba(204, 255, 0, 0.3);
  box-shadow: 0 0 30px rgba(204, 255, 0, 0.1), inset 0 0 30px rgba(204, 255, 0, 0.05);
}

.proceso-card.highlight-card .step-badge {
  background: linear-gradient(135deg, #ccff00, #d4af37);
  border-color: #ccff00;
  box-shadow: 0 0 30px rgba(204, 255, 0, 0.3), 0 0 50px rgba(204, 255, 0, 0.15);
}

.proceso-card.highlight-card .step-number {
  color: #032841;
}

/* Step Header */
.paso-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  min-height: 70px;
}

.paso-icon {
  height: 70px;
  width: auto;
  object-fit: contain;
  transition: all 0.4s ease;
  filter: brightness(1.1) drop-shadow(0 2px 8px rgba(204, 255, 0, 0.2));
}

.proceso-card:hover .paso-icon {
  transform: scale(1.1);
  filter: brightness(1.3) drop-shadow(0 4px 12px rgba(204, 255, 0, 0.3));
}

.step-badge {
  display: none;
}

.step-number {
  display: none;
}

/* Step Content */
.paso-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.paso-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.paso-title i {
  display: none;
}

.paso-description {
  font-size: 0.95rem;
  color: #d0d0d0;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Features List */
.paso-features {
  margin-top: auto;
}

.paso-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.paso-features ul li {
  font-size: 0.9rem;
  color: #c0c0c0;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transition: all 0.3s ease;
}

.paso-features ul li i {
  color: #ccff00;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.proceso-card:hover .paso-features ul li {
  color: #e0e0e0;
  padding-left: 0.5rem;
}

.proceso-card:hover .paso-features ul li i {
  color: #d4af37;
  transform: scale(1.2);
}

/* CTA Section */
.cta-text {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 2rem;
  line-height: 1.6;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-consulta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, #ccff00, #d4af37);
  color: #032841;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(204, 255, 0, 0.3), 0 0 60px rgba(204, 255, 0, 0.1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-consulta-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(204, 255, 0, 0.4), 0 0 80px rgba(204, 255, 0, 0.2);
  background: linear-gradient(135deg, #d4af37, #e0c158);
}

.btn-consulta-primary:active {
  transform: translateY(-2px);
}

.btn-consulta-primary i {
  transition: transform 0.3s ease;
}

.btn-consulta-primary:hover i {
  transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .section-title h2 {
    font-size: 2.4rem;
  }

  .proceso-timeline::before {
    top: 70px;
  }

  .paso-title {
    font-size: 1.2rem;
  }
}

@media (max-width: 992px) {
  .proceso-section {
    padding: 4rem 1.5rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .section-description {
    font-size: 1rem;
  }

  .proceso-timeline::before {
    display: none;
  }

  .proceso-connector {
    display: none !important;
  }

  .paso-content {
    padding: 0;
  }

  .paso-title {
    font-size: 1.1rem;
  }

  .paso-description {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

  .paso-features ul li {
    font-size: 0.85rem;
  }

  .step-badge {
    width: 70px;
    height: 70px;
  }

  .step-number {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  .proceso-section {
    padding: 3rem 1rem;
  }

  .section-title h2 {
    font-size: 1.7rem;
    margin-bottom: 1rem;
  }

  .section-description {
    font-size: 0.95rem;
  }

  .proceso-card {
    padding: 2rem 1.5rem;
  }

  .step-badge {
    width: 60px;
    height: 60px;
  }

  .step-number {
    font-size: 1.4rem;
  }

  .paso-title {
    font-size: 1rem;
    margin-bottom: 0.8rem;
  }

  .paso-title i {
    font-size: 1.4rem;
  }

  .paso-description {
    font-size: 0.85rem;
    margin-bottom: 1rem;
    line-height: 1.6;
  }

  .paso-features ul {
    gap: 0.6rem;
  }

  .paso-features ul li {
    font-size: 0.8rem;
  }

  .btn-consulta-primary {
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
  }

  .cta-text {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 576px) {
  .proceso-section {
    padding: 2rem 0.8rem;
  }

  .section-title .sub-title {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
  }

  .section-title h2 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
  }

  .section-description {
    font-size: 0.9rem;
  }

  .proceso-card {
    padding: 1.5rem 1rem;
    margin-bottom: 1rem;
  }

  .paso-header {
    margin-bottom: 1.5rem;
  }

  .step-badge {
    width: 55px;
    height: 55px;
  }

  .step-number {
    font-size: 1.2rem;
  }

  .paso-title {
    font-size: 0.95rem;
    gap: 0.5rem;
    margin-bottom: 0.7rem;
  }

  .paso-title i {
    font-size: 1.2rem;
  }

  .paso-description {
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
  }

  .paso-features ul li {
    font-size: 0.75rem;
    gap: 0.5rem;
  }

  .btn-consulta-primary {
    padding: 0.7rem 1.5rem;
    font-size: 0.85rem;
    gap: 0.5rem;
  }

  .cta-text {
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
  }
}

@media (max-width: 400px) {
  .proceso-section {
    padding: 1.5rem 0.5rem;
  }

  .section-title h2 {
    font-size: 1.2rem;
  }

  .section-description {
    font-size: 0.85rem;
  }

  .proceso-card {
    padding: 1.2rem 0.8rem;
  }

  .paso-title {
    font-size: 0.9rem;
  }

  .paso-description {
    font-size: 0.75rem;
  }

  .btn-consulta-primary {
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
  }
}
