/* SECCIÓN IMPACTO */
.impact-section{
  padding: 20px 0 20px 0;
  background: var(--bg-100);
}

/* SECCIÓN IMPACTO */
.azul-suave{
 
  background: var(--azul-10);
}
.impact-container{
  max-width: 1284px;
  margin: 0 auto;
  text-align: center;
}

/* TÍTULO */
.impact-title{
  
  color: var(--azul2-100);
  margin-bottom: 40px;
}
/* WRAPPER DEL SLIDER */
.impact-slider{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;     /* 🔹 misma altura que la pista */
}

/* FLECHAS */
.impact-arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 64px;
  height: 64px;
  border-radius: 999px;
  border: 2px solid #5BB600;   /* verde */
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 5;
}

.impact-arrow span{
  font-size: 20px;
  line-height: 1;
  color: #5BB600;
}

/* lados */
.impact-arrow--prev{
  left: 0px;
}

.impact-arrow--next{
  right: 0px;
}

/* hover */
.impact-arrow:hover{
  background: #ecf7e5;
  transform: translateY(-50%) scale(1.05);
}

/* PISTA: contenedor fijo para los slides */
.impact-track{
  position: relative;
  width: 100%;
  max-width: 663px;   /* 🔹 ancho exacto */
  margin: 0 auto;
  height: 380px;      /* 🔹 alto exacto */
}


/* SLIDE BASE: todos empiezan centrados pero ocultos */
.impact-slide{
  position: absolute;
  /* top: 0;
  left: 50%;
  transform: translateX(-50%) scale(0.7); */
  top: 50%;                         /* el centro vertical del contenedor */
  left: 44%;
  transform: translate(-50%, -50%) scale(0.7);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    filter 0.3s ease;
  filter: blur(1px);
}

.impact-slide-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.impact-slide-image{
  width: 100%;
  height: 100%;           /* 🔹 ocupa todo el alto de la pista */
  border-radius: 38px;
  overflow: hidden;
  box-shadow: 0 22px 40px rgba(0,0,0,0.18);
  background: #000;
}

/* SLIDE CENTRAL (ACTIVO) */
.impact-slide.is-active{
  opacity: 1;
  /* transform: translateX(-50%) scale(1); */
  transform: translate(-50%, -50%) scale(1);
  filter: none;
  pointer-events: auto;
  z-index: 3;
  width: 663px;
  height: 380px;
}

/* SLIDE IZQUIERDO */
.impact-slide.is-left{
  opacity: 0.35;
  /* transform: translateX(-115%) scale(0.85); */
  transform: translate(calc(-50% - 350px), -50%) scale(0.85);
  filter: blur(1px);
  z-index: 2;
  height: 263px;
  width: 500px;
}

/* SLIDE DERECHO */
.impact-slide.is-right{
  opacity: 0.35;
  /* transform: translateX(15%) scale(0.85); */
  transform: translate(calc(-50% + 350px), -50%) scale(0.85);
  filter: blur(1px);
  z-index: 2;
  height: 263px;
  width: 500px;
}

.impact-arrow-icon{
  width: 18px;
  height: 18px;
  fill: #5BB600;        /* verde */
}

.impact-arrow:hover .impact-arrow-icon{
  fill: #3f8a00;
}


/* IMAGEN CON BORDES REDONDOS Y SOMBRA */
.impact-slide-image{
  border-radius: 38px;
  overflow: hidden;
  box-shadow: 0 22px 40px rgba(0,0,0,0.18);
  background: #000; 
}



/* CAPTION */
.impact-caption{
  margin-top: 16px;
  font-size: 0.95rem;
  color: #004b78;
}


/* TABLET / MOBILE */
@media (max-width: 768px){
  .impact-section{
    padding: 60px 16px;
  }

  .impact-arrow--prev{
    left: 8px;
  }

  .impact-arrow--next{
    right: 8px;
  }

  .impact-track{
    gap: 16px;
  }

  .impact-slide{
    flex: 0 0 100%;
    opacity: 0.2;
    transform: scale(0.9);
  }

  .impact-slide.is-active{
    flex: 0 0 100%;
    transform: scale(1);
    opacity: 1;
  }
}
