/* Updated: 2026-02-03 */
/* Acopio Section */
.acopio-section {
  width: 100%;
  background: linear-gradient(135deg, rgba(60, 36, 21, 0.98) 0%, rgba(45, 27, 16, 0.98) 100%);
  background-attachment: scroll;
  /* Disable parallax to avoid edge artifacts */
  padding: 72px 0;
}

.acopio-badge {
  background: rgba(187, 145, 60, 0.15);
  border: 1px solid rgba(212, 164, 69, 0.3);
  color: #d4a445;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 12px;
  text-transform: capitalize;
  letter-spacing: 0.5px;
}

.acopio-subsection {
  max-width: 1100px;
  margin: 0 auto 80px;
  padding: 0 40px;
}

/* Funciona - Timeline */
.acopio-funciona {
  text-align: center;
}

.acopio-funciona h2 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 8px;
}

.acopio-funciona h2 .highlight {
  color: #d4a445;
}

.acopio-subtitle {
  font-size: 1.25rem;
  color: #e8e8e8;
  margin-bottom: 48px;
  font-weight: 500;
}

.acopio-timeline {
  display: flex;
  align-items: center;
  /* keep all icons on the same horizontal line */
  justify-content: space-between;
  gap: 0;
  position: relative;
  margin: 60px 0;
}

.acopio-timeline::before {
  content: '';
  position: absolute;
  display: none;
  /* remove background line; connectors will be per-step */
}

.acopio-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Dotted connector between steps (not behind cards) */
.acopio-step::after {
  content: '';
  position: absolute;
  top: 40px;
  /* center along icon height (80px) */
  left: 140px;
  /* icon width (80) + margin */
  right: -35px;
  /* extend slightly into gap */
  height: 8px;
  background-image: radial-gradient(circle, rgba(212, 164, 69, 0.7) 2px, transparent 3px);
  background-size: 12px 12px;
  background-repeat: repeat-x;
}

.acopio-step:last-child::after {
  display: none;
}

.acopio-step-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(212, 164, 69, 0.2), rgba(212, 164, 69, 0.1));
  border: 2px solid #d4a445;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  position: relative;
  font-size: 1.5rem;
  color: #d4a445;
  font-weight: 700;
}

.acopio-step-label {
  font-size: 0.95rem;
  color: #e8e8e8;
  text-align: center;
  font-weight: 500;
  line-height: 1.4;
  max-width: 140px;
  min-height: 40px;
  /* normalize label height so icons align */
}

/* Beneficios Grid */

/* Illuminate animation for each step - 2 seconds per step, 12 second total cycle */
.acopio-step:nth-child(1) .acopio-step-icon {
  animation: aciopioGlow1 12s infinite;
}

@keyframes aciopioGlow1 {

  0%,
  16.666% {
    background: linear-gradient(135deg, rgba(212, 164, 69, 0.5), rgba(212, 164, 69, 0.3));
    border-color: #ffd700;
    box-shadow: 0 0 25px rgba(212, 164, 69, 0.6), inset 0 0 15px rgba(212, 164, 69, 0.2);
  }

  16.667%,
  100% {
    background: linear-gradient(135deg, rgba(212, 164, 69, 0.2), rgba(212, 164, 69, 0.1));
    border-color: #d4a445;
    box-shadow: none;
  }
}

.acopio-step:nth-child(2) .acopio-step-icon {
  animation: aciopioGlow2 12s infinite;
}

@keyframes aciopioGlow2 {

  0%,
  16.666% {
    background: linear-gradient(135deg, rgba(212, 164, 69, 0.2), rgba(212, 164, 69, 0.1));
    border-color: #d4a445;
  }

  16.667%,
  33.333% {
    background: linear-gradient(135deg, rgba(212, 164, 69, 0.5), rgba(212, 164, 69, 0.3));
    border-color: #ffd700;
    box-shadow: 0 0 25px rgba(212, 164, 69, 0.6), inset 0 0 15px rgba(212, 164, 69, 0.2);
  }

  33.334%,
  100% {
    background: linear-gradient(135deg, rgba(212, 164, 69, 0.2), rgba(212, 164, 69, 0.1));
    border-color: #d4a445;
  }
}

.acopio-step:nth-child(3) .acopio-step-icon {
  animation: aciopioGlow3 12s infinite;
}

@keyframes aciopioGlow3 {

  0%,
  33.333% {
    background: linear-gradient(135deg, rgba(212, 164, 69, 0.2), rgba(212, 164, 69, 0.1));
    border-color: #d4a445;
  }

  33.334%,
  50% {
    background: linear-gradient(135deg, rgba(212, 164, 69, 0.5), rgba(212, 164, 69, 0.3));
    border-color: #ffd700;
    box-shadow: 0 0 25px rgba(212, 164, 69, 0.6), inset 0 0 15px rgba(212, 164, 69, 0.2);
  }

  50.001%,
  100% {
    background: linear-gradient(135deg, rgba(212, 164, 69, 0.2), rgba(212, 164, 69, 0.1));
    border-color: #d4a445;
  }
}

.acopio-step:nth-child(4) .acopio-step-icon {
  animation: aciopioGlow4 12s infinite;
}

@keyframes aciopioGlow4 {

  0%,
  50% {
    background: linear-gradient(135deg, rgba(212, 164, 69, 0.2), rgba(212, 164, 69, 0.1));
    border-color: #d4a445;
  }

  50.001%,
  66.666% {
    background: linear-gradient(135deg, rgba(212, 164, 69, 0.5), rgba(212, 164, 69, 0.3));
    border-color: #ffd700;
    box-shadow: 0 0 25px rgba(212, 164, 69, 0.6), inset 0 0 15px rgba(212, 164, 69, 0.2);
  }

  66.667%,
  100% {
    background: linear-gradient(135deg, rgba(212, 164, 69, 0.2), rgba(212, 164, 69, 0.1));
    border-color: #d4a445;
  }
}

.acopio-step:nth-child(5) .acopio-step-icon {
  animation: aciopioGlow5 12s infinite;
}

@keyframes aciopioGlow5 {

  0%,
  66.666% {
    background: linear-gradient(135deg, rgba(212, 164, 69, 0.2), rgba(212, 164, 69, 0.1));
    border-color: #d4a445;
  }

  66.667%,
  83.333% {
    background: linear-gradient(135deg, rgba(212, 164, 69, 0.5), rgba(212, 164, 69, 0.3));
    border-color: #ffd700;
    box-shadow: 0 0 25px rgba(212, 164, 69, 0.6), inset 0 0 15px rgba(212, 164, 69, 0.2);
  }

  83.334%,
  100% {
    background: linear-gradient(135deg, rgba(212, 164, 69, 0.2), rgba(212, 164, 69, 0.1));
    border-color: #d4a445;
  }
}

.acopio-step:nth-child(6) .acopio-step-icon {
  animation: aciopioGlow6 12s infinite;
}

@keyframes aciopioGlow6 {

  0%,
  83.333% {
    background: linear-gradient(135deg, rgba(212, 164, 69, 0.2), rgba(212, 164, 69, 0.1));
    border-color: #d4a445;
  }

  83.334%,
  100% {
    background: linear-gradient(135deg, rgba(212, 164, 69, 0.5), rgba(212, 164, 69, 0.3));
    border-color: #ffd700;
    box-shadow: 0 0 25px rgba(212, 164, 69, 0.6), inset 0 0 15px rgba(212, 164, 69, 0.2);
  }
}

.acopio-beneficios {
  text-align: center;
  padding: 0 20px;
}

.acopio-beneficios h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 48px;
}

.acopio-benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.acopio-benefit-card {
  background: rgba(60, 36, 21, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 164, 69, 0.2);
  border-radius: 20px;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.acopio-benefit-card:hover {
  border-color: rgba(212, 164, 69, 0.4);
  transform: translateY(-4px);
}

.acopio-benefit-card.featured {
  background: rgba(60, 36, 21, 0.6);
  border: 1px solid rgba(212, 164, 69, 0.2);
}

.acopio-benefit-icon {
  width: 56px;
  height: 56px;
  background: rgba(212, 164, 69, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4a445;
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.acopio-benefit-title {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

/* Integración */
.acopio-integracion {
  text-align: center;
}

.acopio-integracion h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.acopio-integracion h2 .highlight {
  color: #d4a445;
}

.acopio-integration-desc {
  font-size: 1.1rem;
  color: #e8e8e8;
  margin-bottom: 48px;
  line-height: 1.6;
}

.acopio-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  max-width: 1400px;
  margin: 0 auto;
}

.acopio-flow-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.acopio-flow-button {
  background: rgba(212, 164, 69, 0.15);
  border: 2px solid #d4a445;
  color: #fff;
  padding: 12px 32px;
  border-radius: 24px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: default;
}

.acopio-flow-button:hover {
  background: rgba(212, 164, 69, 0.25);
  box-shadow: 0 0 20px rgba(212, 164, 69, 0.3);
}

.acopio-flow-arrow {
  color: #d4a445;
  font-size: 1.5rem;
  font-weight: 700;
}

/* Exportación subsection */
.acopio-exportacion {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
}

.acopio-exportacion-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
  z-index: 0;
}

.acopio-exportacion-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.acopio-exportacion-content {
  position: relative;
  z-index: 1;
  width: 50%;
  padding: 48px 80px 48px 40px;
  background: rgba(58, 58, 58, 0.233);
  backdrop-filter: blur(5px);
  margin-right: 20;
}

.acopio-exportacion-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #d4a445;
  margin-bottom: 16px;
}

.acopio-exportacion-content h3 {
  font-size: 1.1rem;
  font-weight: 500;
  color: #e8e8e8;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
  .acopio-exportacion {
    height: auto;
    justify-content: center;
  }

  .acopio-exportacion-image {
    position: relative;
    height: 350px;
    width: 100%;
  }

  .acopio-exportacion-content {
    width: 100%;
    padding: 36px 32px;
  }

  .acopio-exportacion-content h2 {
    font-size: 1.75rem;
  }

  .acopio-timeline {
    gap: 16px;
  }

  .acopio-step-icon {
    width: 60px;
    height: 60px;
    font-size: 1.2rem;
  }

  .acopio-step-label {
    font-size: 0.85rem;
    max-width: 100px;
  }

  .acopio-benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .acopio-benefit-card.featured {
    box-shadow: none;
    transform: none;
  }

  .acopio-funciona h2,
  .acopio-integracion h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .acopio-section {
    padding: 48px 20px;
  }

  .acopio-subsection {
    margin-bottom: 60px;
    padding: 0 20px;
  }

  .acopio-timeline {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 16px;
    justify-items: center;
    align-items: start;
    align-content: start;
  }

  .acopio-timeline::before {
    display: none;
  }

  .acopio-step::after {
    display: none;
  }

  .acopio-step {
    margin-bottom: 0;
  }

  .acopio-step-icon {
    width: 90px;
    height: 90px;
    font-size: 1.75rem;
    margin-bottom: 12px;
  }

  .acopio-step-label {
    max-width: 140px;
    font-size: 0.95rem;
    font-weight: 600;
  }

  .acopio-benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    justify-items: stretch;
    align-items: start;
    align-content: start;
  }

  .acopio-benefit-card:nth-child(5) {
    grid-column: 1 / -1;
  }

  .acopio-benefit-card.featured {
    /* no scale effect */
  }

  .acopio-flow {
    flex-direction: column;
    gap: 12px;
  }

  .acopio-flow-button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .acopio-flow-arrow {
    display: none;
  }

  .acopio-funciona h2,
  .acopio-integracion h2 {
    font-size: 1.75rem;
  }

  .acopio-subtitle {
    font-size: 1rem;
  }
}