/* Estilos para la sección de Incoterms */
.incoterms {
  padding: 60px 0;
  background-color: #f8f9fa;
  font-family: 'Inter', sans-serif;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: #191b87;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}


.section-title p {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  color: #444;
}

.incoterms .container {
  background-color: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Leyenda */
.incoterm-legend {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  gap: 40px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.legend-color {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 4px;
}

.legend-color.seller {
  background-color: #1b1d94;
}

.legend-color.buyer {
  background-color: #e9ecef;
}

.legend-text {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #555;
}

/* Etapas */
.incoterm-stages {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  margin-bottom: 20px;
  padding: 0 80px 0 10px;
}

.stage {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #666;
  padding: 5px;
  border-right: 1px dashed #ccc;
}

.stage:last-child {
  border-right: none;
}

/* Barras de progreso */
.incoterm-progress {
  margin-bottom: 20px;
}

.incoterm {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.incoterm span {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  color: #000000;
  font-size: 17px;
}

.dpu-icon {
  height: 1em;         /* Igual al tamaño del texto */
  vertical-align: middle;
  fill: blue;          /* NO funciona en <img>, necesitas opción B si quieres cambiar color */
}

.incoterm i {
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 600;
  color: #888;
}

.progress-bar-wrap {
  background-color: #e9ecef;
  height: 18px;
  border-radius: 50px;
  overflow: hidden;
  position: relative;
}

.progress-bar {
  background-color: #191b87;
  height: 100%;
  width: 0;
  border-radius: 50px;
  transition: width 1.5s ease;
  position: relative;
}

/* Eliminar el efecto de rayas y dejarlo como color sólido */
/* Animaciones */
.incoterms .incoterm-progress {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

.incoterms .incoterm-progress:nth-child(1) {
  animation-delay: 0.1s;
}

.incoterms .incoterm-progress:nth-child(2) {
  animation-delay: 0.2s;
}

.incoterms .incoterm-progress:nth-child(3) {
  animation-delay: 0.3s;
}

.incoterms .incoterm-progress:nth-child(4) {
  animation-delay: 0.4s;
}

.incoterms .incoterm-progress:nth-child(5) {
  animation-delay: 0.5s;
}

.incoterms .incoterm-progress:nth-child(6) {
  animation-delay: 0.6s;
}

.incoterms .incoterm-progress:nth-child(7) {
  animation-delay: 0.7s;
}

.incoterms .incoterm-progress:nth-child(8) {
  animation-delay: 0.8s;
}

.incoterms .incoterm-progress:nth-child(9) {
  animation-delay: 0.9s;
}

.incoterms .incoterm-progress:nth-child(10) {
  animation-delay: 1s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .incoterm-stages {
    display: none;
  }
  
  .progress-bar-wrap {
    height: 15px;
  }
  
  .incoterm span {
    font-size: 14px;
  }
}