
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
  --primary-color: #e91e63;
  --secondary-color: #6a1b9a;
  --text-color: #333;
  --light-text: #666;
  --background: #fff;
  --card-bg: #fff;
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --card-hover-shadow: 0 15px 35px rgba(233, 30, 99, 0.15);
  --border-radius: 16px;
  --transition: all 0.3s ease;
}

.proceso-ia {
  /* padding: 80px 0; */
  background: linear-gradient(180deg, #f9f9f9 0%, #ffffff 100%);
  overflow: hidden;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 20px;
}

.title-above {
  font-size: 18px;
  font-weight: 500;
  color: var(--light-text);
  margin-bottom: 15px;
  /* max-width: 800px; */
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

.proceso-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 50px;
}

.proceso-card {
  flex: 1;
  min-width: 300px;
  max-width: 380px;
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.proceso-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--card-hover-shadow);
}

.card-header {
  padding: 25px 25px 15px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.step-number {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  position: relative;
}

.step-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-color);
  line-height: 1.3;
  margin: 0 auto;
}

.card-image {
  width: 100%;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  background: linear-gradient(180deg, rgba(233, 30, 99, 0.05) 0%, rgba(233, 30, 99, 0.01) 100%);
}

.card-image img {
  max-width: 100%;
  max-height: 180px;
  object-fit: contain;
  transition: var(--transition);
}

.proceso-card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.proceso-subtitle {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 15px;
}

.proceso-text {
    font-size: 15px;
    color: var(--light-text);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
  }
  
  .proceso-text.expanded {
    -webkit-line-clamp: unset;
    display: block;
  }
  
  .ver-mas {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    justify-content:center;
    align-items: center;
    margin-top: 5px;
    transition: all 0.2s ease;
    text-decoration: none;
  }
  
  .ver-mas:hover {
    opacity: 0.8;
  }
  
  .ver-mas i {
    font-size: 12px;
    margin-left: 4px;
    transition: transform 0.2s ease;
  }
  
  .ver-mas.active i {
    transform: rotate(180deg);
  }
  

.proceso-progress {
  position: relative;
  max-width: 600px;
  margin: 60px auto 0;
  padding: 0 20px;
}

.progress-line {
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 3px;
  background: #e0e0e0;
  transform: translateY(-50%);
  z-index: 1;
}

.progress-line::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 33.33%;
  background: var(--primary-color);
  transition: width 0.5s ease;
}

.progress-dots {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e0e0e0;
  position: relative;
  cursor: pointer;
  transition: var(--transition);
}

.dot::before {
  content: attr(data-step);
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  font-weight: 600;
  color: var(--light-text);
}

.dot.active {
  background: var(--primary-color);
  transform: scale(1.2);
}

.dot.active::before {
  color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .proceso-cards {
    gap: 20px;
  }

  .proceso-card {
    min-width: 280px;
  }
}

@media (max-width: 992px) {
  .section-title {
    font-size: 32px;
  }

  .title-above {
    font-size: 16px;
  }

  .proceso-cards {
    justify-content: center;
  }

  .proceso-card {
    flex: 0 0 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }
}

@media (max-width: 768px) {
  .proceso-ia {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-title {
    font-size: 28px;
  }

  .proceso-card {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 30px;
  }

  .card-header {
    padding: 20px 20px 10px;
  }

  .card-content {
    padding: 20px;
  }

  .proceso-subtitle {
    font-size: 16px;
  }

  .proceso-text {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 24px;
  }

  .title-above {
    font-size: 15px;
  }

  .step-title {
    font-size: 18px;
  }

  .card-image {
    height: 180px;
  }
}
