:root {
  --PrimaryColor: #137695;
  --TitlesColor: #043c4d;
  --LegendsColor: #8c9394;
  --MenuHoverColor: #00c3ff;
  --ButonTextColor: #ffffff;
}

.how-works {
  width: 100%;
  height: auto;
  text-align: center;
  padding-top: 60px;
  padding-bottom: 50px;
}

.how-works .container h2 {
  font-size: 32px;
  font-weight: 600;
  color: var(--TitlesColor);
}

.work-legend {
  font-size: 15px;
  color: var(--LegendsColor);
  padding-top: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.works-list {
  width: 100%;
  padding-top: 50px;
}

.works-list ul {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.work-item {
  width: calc(100% / 4);
  font-size: clamp(0.7rem, 0.4167rem + 0.6944vw, 0.9375rem);
  color: var(--LegendsColor);
  list-style: none;
  padding: 25px;
  border-bottom: 0.5px solid var(--LegendsColor);
  cursor: pointer;
}

.work-item:hover {
  color: var(--TitlesColor);
}

.list-active {
  color: var(--TitlesColor);
  font-weight: 600;
  border-bottom: 2px solid var(--PrimaryColor);
}

.works-card {
  padding-top: 50px;
  width: 100%;

  display: none;
  justify-content: space-between;
  transition: 0.2s;
  opacity: 0;
}

.works-text {
  width: 30%;
  display: flex;
  justify-content: center;
  align-items: start;
  flex-direction: column;
  text-align: start;
}

.works-text h4 {
  font-size: 25px;
  color: var(--TitlesColor);
}

.works-text p {
  font-size: 16px;
  color: var(--LegendsColor);
  padding-top: 15px;
  text-align: justify;
}

.works-wrap figure {
  width: 70%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  text-align: end;
  padding-left: 30px;
}

.works-wrap figure img {
  width: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
}

.work-active {
  opacity: 1;
  display: flex;
}

.whatsapp-button {
  margin-top: 60px;
}
/*----------------------------------------------------------INFRASTRUCTURE---------------------------------*/
.infrastructure-works .works-text {
  width: 40%;
}

.infrastructure-works .works-wrap figure {
  width: 60%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.infrastructure-works .works-wrap figure img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.infrastructure-works .dispo-info {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  background-color: rgba(220, 220, 220, 0.655);
  border-radius: 3px;
  padding: 5px;
  gap: 10px;
  font-weight: 500;
}
.infrastructure-works .dispo-info-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.infrastructure-works .dispo-info .icon {
  width: 20px;
  height: 20px;
  background-image: url(../images/icones/INFRA-SENSOR.png);
  background-size: cover;
  background-position: center;
  height: 30px;
}
.infrastructure-works .dispo-info .dispo-info-text {
  display: flex;
  flex-direction: column;
  color: var(--TitlesColor);
  font-size: 16px;
}

.dispo-info-text .header-info {
  font-size: 12px;
  color: var(--PrimaryColor);
}

@media (max-width: 1000px) {
  .work-item {
    padding: 20px 0px;
  }

  .works-card {
    flex-direction: column;
    gap: 30px;
  }
  .works-wrap figure {
    padding-left: 0;
  }

  .works-text,
  .works-wrap figure {
    width: 100%;
  }

  .infrastructure-works .works-text {
    width: 100%;
  }

  .infrastructure-works .works-wrap figure {
    width: 100%;
  }
}
