.mantenimiento {
  padding-top: 60px;
  padding-bottom: 10rem;
  max-width: 80vw;
  margin: 0 auto;
}

.mantenimiento__text {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mantenimiento__text h1 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
}

.mantenimiento__text p {
  font-size: 16px;
  font-weight: 400;
}

.mantenimiento__items {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
  justify-content: center;
}

.mantenimiento__item {
  max-width: 305px;
  display: flex;
  flex-direction: column;
}

.mantenimiento__item__image {
  display: flex;
  align-items: end;
  flex: 1;
}

.mantenimiento__item__image img {
  width: 100%;
  height: auto;
  display: block;
}

.mantenimiento__item__name {
  padding: 20px;
  font-size: 24px;
  font-weight: 700;
}

.mantenimiento__item__btn,
.mantenimiento__item__doc {
  padding: 16px 40px;
}

.mantenimiento__item__btn {
  width: 100%;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  cursor: pointer;
  border: none;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.mantenimiento__item__container-docs {
  position: relative;
}

.mantenimiento__item__docs {
  position: absolute;
  width: 100%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--primary-color);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.mantenimiento__item__doc {
  color: var(--primary-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--secondary-color);
}
.mantenimiento__item__btn img {
  transition: transform 0.3s ease;
}

.mantenimiento__item__container-docs .mantenimiento__item__btn img {
  transform: rotate(180deg);
}
.mantenimiento__item__container-docs.active .mantenimiento__item__btn img {
  transform: rotate(0deg);
}

@media (min-width: 1060px) {
  .mantenimiento {
    padding-top: 60px;
    max-width: 90vw;
    margin: 0 auto;
    min-height: calc(100vh);
  }

  .mantenimiento__text {
    margin-top: 5rem;
  }

  .mantenimiento__items {
    justify-content: normal;
  }
}
