.happening {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 2rem;
  min-height: 40rem;
}

.happening > div {
  text-align: center;
  width: 100%;
}

.happening > div > div {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 5rem;
  width: 100%;
}

.happening > div > div > div {
  width: 100%;
  position: relative;
  padding: 0.5rem 2rem;
  font-size: 16px;
  color: #000;
  background: white;
  border: none;
  border-radius: 4rem;
  cursor: pointer;
  z-index: 1;
  overflow: hidden;
  cursor: default;
  width: 100%;
  max-width: 30rem;
}

.happening > div > div > div::after {
  z-index: -1;
  background-color: #fff1d1;
  content: "";
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  position: absolute;
  margin: 3px;
  border-radius: 4rem;
}

.happening > div > div > div::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    to right,
    #ffcf62 7%,
    #dfa31c 37%,
    #c69421 58%,
    #ad8426 83%
  );
  z-index: -2;
  border-radius: inherit;
}

.happening h2 {
  margin-bottom: 0.5rem;
}

.happening > div > div > div:not(:last-child) {
  margin-right: 4.5rem;
}

.happening > div p {
  font-size: 2.8rem;
}

@media only screen and (max-width: 720px) {
  .happening > div p {
    font-size: 2rem;
  }

  .happening > div > div {
    flex-direction: column;
  }

  .happening > div > div > div:not(:last-child) {
    margin-right: 0;
    margin-bottom: 3rem;
  }
}

.solution {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 2rem;
  min-height: 40rem;
  background-color: #000;
  color: #fff;
  background-image: url(https://res.cloudinary.com/dwvare9zx/image/upload/v1748988113/pactum/Captura_de_pantalla_2025-06-03_a_la_s_4.01.37_p.m._jyybut.png);
  background-size: cover;
  background-position: center;
}

.solution > div {
  display: flex;
  width: 100%;
  justify-content: center;
  text-align: center;
  align-items: center;
}

.solution > div > div:last-child {
  max-width: 30rem;
  justify-self: flex-end;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 3rem;
  display: none;
}

.solution .medal {
  position: absolute;
  max-width: 38rem;
  right: 0;
}

.solution > div p {
  font-size: 3rem;
}

.solution {
  position: relative;
}

.solution > div h2 {
  margin-bottom: 3.4rem;
}

@media only screen and (max-width: 720px) {
  .solution .medal {
    display: none;
  }

  .solution > div {
    flex-direction: column;
  }

  .solution > div > div:last-child {
    margin-left: 0;
    margin-top: 3rem;
    max-width: 25rem;
  }

  .solution > div > div:last-child {
    display: flex;
  }

  .solution > div p {
    font-size: 2rem;
  }
}

.integrity {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 2rem;
  min-height: 30rem;
  background-image: url(https://res.cloudinary.com/dwvare9zx/image/upload/v1748989016/pactum/cfadsft_1_pq76ea.png);
  background-size: cover;
  background-position: center;
  color: #fff;
}

.integrity > div p {
  font-size: 2.5rem;
}

.integrity > div {
  text-align: center;
}

.integrity > div h2 {
  margin-bottom: 2rem;
}

.integrity > div > div p {
  font-weight: bold;
}

.integrity > div a {
  display: inline-block;
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.integrity hr {
  max-width: 40rem;
  margin: 0 auto;
  margin-bottom: 0.4rem;
}

@media only screen and (max-width: 720px) {
  .integrity > div p {
    font-size: 2rem;
  }
}

.steps {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 2rem;
  min-height: 30rem;
}

.steps > div {
  width: 100%;
  /* max-width: 110rem; */
}

.steps > div p,
.steps > div label {
  font-size: 2.5rem;
}

.steps h2 {
  text-align: center;
}

.steps > div > div:nth-child(2) {
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  margin-bottom: 2rem;
  margin-top: 2rem;
  max-width: 120rem;
  width: 100%;
}

.steps > div > div:nth-child(2) > div {
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  background-image: url(https://res.cloudinary.com/dwvare9zx/image/upload/v1748991953/pactum/Rectangle_4_hozlxn.png);
  background-size: cover;
  background-position: center;
  border-radius: 6rem;
  font-weight: 400;
  min-height: 35rem;
  width: 100%;
}

.steps > div > div:nth-child(2) > div:not(:last-child) {
  margin-right: 4rem;
}

.steps label {
  font-weight: 600;
}

.steps form {
  display: flex;
  flex-direction: column;
  max-width: 100rem;
  margin: 0 auto;
}

.steps form button {
  align-self: center;
  margin-top: 4rem;
  font-size: 2.5rem;
  max-width: 20rem;
  min-width: 0 !important;
  width: 100%;
}

.steps form > div {
  display: flex;
}

.steps form > div > div > div {
  display: flex;
  flex-direction: column;
}

.steps form > div > div > div select,
.steps form > div > div > div input {
  font-size: 1.8rem;
  padding: 1rem 1rem;
  cursor: pointer;
  border-radius: 2rem;
  border: 1px solid #00000080;
}

.steps form > div > div > div:not(:last-child) {
  margin-bottom: 3rem;
}

.steps form > div > div {
  width: 100%;
}

.steps form > div > div:not(:last-child) {
  margin-right: 4rem;
}

.steps form > div > div {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

@media only screen and (max-width: 720px) {
  .steps > div p,
  .steps > div label {
    font-size: 2rem;
  }

  .steps form > div {
    flex-direction: column;
  }

  .steps > div > div:nth-child(2) {
    flex-direction: column;
  }

  .steps > div > div:nth-child(2) > div {
    max-width: 20rem;
  }

  .steps > div > div:nth-child(2) > div:not(:last-child) {
    margin-right: 0;
    /* margin-bottom: 2rem; */
  }

  .steps form > div > div:not(:last-child) {
    margin-right: 0;
    margin-bottom: 4rem;
  }

  .steps > div > div:nth-child(2) > div {
    min-height: 25rem;
  }
}

.uses {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 2rem;
  min-height: 30rem;
  color: #fff;
  text-align: center;
  background-image: url(https://res.cloudinary.com/dwvare9zx/image/upload/v1748993922/pactum/Group_2_inmny9.png);
  background-size: cover;
  background-position: center;
}

.uses > div p {
  font-size: 2.7rem;
}

.uses > div > div hr {
  max-width: 40rem;
  margin: 0 auto;
  margin-bottom: 2rem;
}

.uses > div h2 {
  margin-bottom: 3rem;
}

@media only screen and (max-width: 720px) {
  .uses > div p {
    font-size: 2rem;
  }
}

.contact h2 {
  font-size: 4rem;
}

.contact {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 2rem;
  min-height: 70rem;
  text-align: center;
  background-image: url(https://res.cloudinary.com/dwvare9zx/image/upload/v1749504749/pactum/Frame_es7zae.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.contact > div > form {
  display: flex;
  flex-direction: column;
  margin-top: 2rem;
  justify-content: center;
}

.contact > div p {
  font-size: 2rem;
  margin-top: 4rem;
  margin-bottom: 3rem;
}

.contact > div > form input {
  font-size: 1.8rem;
  padding: 1rem 1rem;
  cursor: pointer;
  border-radius: 2rem;
  border: 1px solid #00000080;
  margin-bottom: 2rem;
}

.contact input::placeholder {
  text-align: center;
}

.contact > div > form button {
  align-self: center;
  margin-top: 4rem;
  font-size: 2.3rem;
  max-width: 25rem;
  min-width: 0 !important;
  width: 100%;
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 4rem;
  padding-left: 2rem;
  padding-right: 2rem;
  padding-bottom: 2rem;
  position: relative;
}

footer > a:first-child {
  position: absolute;
}

footer > div > div:not(:first-child) > a {
  opacity: 0;
}

footer > div {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: flex-end;
}

footer > div img {
  max-width: 14rem;
}

footer > div > div:first-child {
  text-align: left;
  display: flex;
  flex-direction: column;
}

footer > div > div:first-child p {
  font-weight: bold;
}

footer > div > div:first-child a:not(:last-child) {
  margin-top: 1rem;
}

footer > div > div:first-child a:last-child {
  margin-top: 4rem;
  color: #626060;
  font-weight: 500;
}

footer > div > div:last-child p {
  font-weight: bold;
}

footer > div > div:last-child ul {
  display: flex;
  margin-bottom: 1.3rem;
}

footer > div > div:last-child ul li,
footer > div > div:last-child ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
}

footer > div > div:last-child ul li a {
  width: 4.5rem;
  height: 4.5rem;
}

footer > div > div:last-child ul li:not(:last-child) {
  margin-right: 0.5rem;
}

@media only screen and (max-width: 720px) {
  footer > a:first-child {
    opacity: 0;
  }

  footer > div > div:not(:first-child) > a {
    opacity: 1;
  }

  footer > div {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: flex-end;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  footer > div > div:first-child {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  footer > div img {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
}
