span {
  display: block;
}
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.hero {
  width: 100%;

  .image-container {
    width: 100%;
    display: flex;
    justify-content: center;

    img {
      width: 100%;
      height: auto;
      border-radius: 10px;
      object-fit: scale-down;
    }
  }
}

.promociones {
  width: 100%;
  display: flex;
  justify-content: center;
  ul {
    padding: 1rem;
    display: grid;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.9rem;
    width: 90%;
    grid-template-columns: repeat(2, 1fr);

    li {
      display: flex;
      align-items: center;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      width: 100%;
      flex: 1;
      padding: 1rem;
      gap: 0.5rem;
      > h2 {
        font-size: 2rem;
        margin-bottom: 0;
      }
      .promo-image-list {
        width: 60%;
        display: flex;
        justify-content: center;
        padding: 1rem;
        img {
          width: 100%;
          height: auto;
          border-radius: 10px;
        }
      }
      div.promo-content-list {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        
        span {
          display: flex;
          gap: 1rem;
          > a {
            text-decoration: none;
            color: #fff;
            display: flex;
            align-items: center;
            padding: 0.9rem 1.5rem;
            font-size: 0.9rem;
            border-radius: 1rem;
            font-weight: bold;
            background-color: var(--WhatsAap);
          }
          > a:hover {
            filter: brightness(1.2);
          }
          button {
            width: min-content;
            padding: 1rem;
            border-radius: 15px;
          }
        }
      }
    }
  }
}

.modal-consulta {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: flex-start;
  align-items: flex-start;
  padding: 5rem;
  .forms-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
    button.close-modal {
      background-color: #eee;
      width: 2.5rem;
      height: 2.5rem;
      padding: 0;
      color: #000;
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      font-weight: bold;
    }
    form {
      background-color: #fff;
      width: 50%;
      padding: 2rem;
      border-radius: 10px;
      button {
        color: #fff;
        padding: 1rem;
        border-radius: 5px;
        border: none;
        font-weight: bold;
        cursor: pointer;
      }

      .form-elements {
        display: flex;
        gap: 1rem;
        width: 80%;
        label {
          display: block;
          font-weight: bold;
          margin-bottom: 1px;
        }
        input,
        textarea {
          padding: 0.5rem;
          border-radius: 5px;
          border: 1px solid #ccc;
          width: 100%;
          resize: vertical;
          width: 100%;
        }
        textarea {
          min-height: 100px;
        }

        span {
          width: 100%;
        }
      }
    }
  }
}

@media (width <=750px) {
  .promociones {
    ul {
      width: 100%;
      display: flex;
      li {
        border-bottom: 1px solid #eee;
        .promo-image-list {
          width: 100%;
        }
        div.promo-content-list {
          gap: 1rem;
          span {
            flex-direction: column;
            > button {
              width: 100%;
              padding: 0.9rem 1rem;
              font-size: 0.9rem;
            }
          }
        }
      }
    }
  }

  .modal-consulta {
    padding: 1rem;
    .forms-container {
      form {
        width: 100%;
      }
    }
  }
}
