/* HERO */
.hero {
  position: relative;
  margin: 3rem 1rem;
  background-color: var(--theme-accent-two);
  border-radius: 4rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../img/background-hero.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  mix-blend-mode: multiply;
  border-radius: inherit;
}

.hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  padding: 5rem 1rem 0;
}

.hero__texts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.hero__title {
  font-size: 2.5rem;
  font-weight: bold;
}

.hero__paragraph {
  font-weight: 500;
  color: var(--theme-primary);
  text-wrap: pretty;
}

.hero__image {
  position: relative;
}

.hero__image img {
  display: block;
  width: 100%;
  max-width: 450px;
  height: auto;
  border-radius: 2rem;
}

.hero__stat {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  width: max-content;
  padding: .75rem;
  background-color: #ffffffcc;
  border-radius: 1rem;
  border: 1px solid var(--theme-primary);
}

.hero__stat--one {
  bottom: 190px;
}

.hero__stat--two {
  bottom: 110px;
}

.hero__stat--three {
  bottom: 30px;
}

.hero__stat span {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--theme-primary);
  background-color: var(--theme-accent-three);
  border-radius: 9999px;
}

.hero__stat h3 {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--theme-accent-three);
}

@media (width >=768px) {
  .hero__title {
    font-size: 3rem;
  }
}

@media (width >=1024px) {
  .hero__content {
    flex-direction: row;
    padding: 5rem 1rem;
    padding-left: 3rem;
    min-height: 550px;
  }

  .hero__texts {
    width: 55%;
  }

  .hero__title {
    font-size: 3.75rem;
  }

  .hero__paragraph {
    font-size: 1.125rem;
  }

  .hero__image {
    position: absolute;
    right: 0;
  }

  .hero__image img {
    max-width: 425px;
  }

  .hero__stat--one {
    bottom: unset;
    top: 250px;
    left: -50px
  }

  .hero__stat--two {
    bottom: unset;
    top: 340px;
    left: -30px;
  }

  .hero__stat--three {
    bottom: 100px;
    left: 25px;
  }
}


/* SERVICES */
.services {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  padding: 3rem 1rem;
}

.services__image {
  width: 100%;
  height: 21.875rem;
  border-radius: 2.5rem;
  overflow: hidden;
  aspect-ratio: 49/50;
}

.services__image img {
  width: 100%;
  height: 100%;
  aspect-ratio: 49/50;
  object-fit: cover;
  object-position: center;
}

.services__texts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.services__paragraph {
  color: var(--theme-text);
}

.services__swiper {
  width: 100%;
  height: 600px;
  margin: 0.5rem 0;
}

.services__swiper::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 120px;
  width: 100%;
  pointer-events: none;
  background: linear-gradient(to top, white, transparent);
  z-index: 10;
}

.services__swiper .swiper-slide {
  padding: 0 .5rem;
}

.service {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1rem;
  background-color: #ffffffcc;
  border-radius: 1rem;
  border: 1px solid var(--theme-primary);
  box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.1);
}

.service span {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--theme-primary);
  background-color: var(--theme-accent);
  border-radius: 9999px;
}

.service span svg {
  width: 1.5rem;
  height: 1.5rem;
}

.service h3 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--theme-accent-two);
}

@media (width >=1024px) {
  .services {
    flex-direction: row;
    justify-content: space-between;
    padding: 3rem 1rem;
  }

  .services__texts {
    width: 50%;
  }

  .services__image {
    width: auto;
    height: auto;
    aspect-ratio: 521/768;
  }

  .services__image img {
    aspect-ratio: 521/768;
  }
}


/* CTA */
.cta__container {
  padding: 3rem 1rem;
}

.cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem 3rem;
  padding: 3rem 1rem;
  background-color: var(--theme-accent-four);
  border-radius: 2.5rem;
}

.cta__texts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.cta__list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  color: var(--theme-text);
  font-size: .875rem;
  list-style-position: inside;
}

.cta__list ol,
.cta__list ul {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  margin-top: .5rem;
  padding-left: 1.5rem;
}

@media (width >=768px) {
  .cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (width >=1024px) {
  .cta {
    padding: 3rem;
  }

  .cta__texts {
    width: 70%;
  }
}


/* WHY */
.why__background {
  position: relative;
  background-color: var(--theme-accent-two);
}

.why__background::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../img/background-why.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  mix-blend-mode: multiply;
  border-radius: inherit;
}

.why {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  padding: 3rem 1rem 0;
}

.why__texts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.why__paragraph {
  color: var(--theme-primary);
}

.why__list {
  display: grid;
  gap: 1rem;
  width: 100%;
  margin-bottom: 1rem;
}

.why__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid var(--theme-primary);
  box-shadow: 0px 16px 32px 0px rgba(0, 0, 0, 0.1);
}

.why__item span {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--theme-primary);
  background-color: var(--theme-accent);
  border-radius: 9999px;
}

.why__item span svg {
  width: 1.5rem;
  height: 1.5rem;
}

.why__item h3 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--theme-primary);
}

.why__image {
  position: relative;
  margin-right: -1rem;
}

.why__image img {
  display: block;
  width: 100%;
  max-width: 450px;
  height: auto;
}

.why__certificate {
  position: absolute;
  bottom: 1rem;
  left: 0;
  max-width: 320px;
  padding: 1rem;
  background-color: #ffffff47;
  border-radius: 1rem;
}

.why__certificate div {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--theme-primary);
  border-radius: 1rem;
  padding: 1rem;
}

.why__certificate img {
  width: 75%;
  height: auto;
  border-radius: inherit;
}

@media (width >=768px) {
  .why {
    flex-direction: row;
    justify-content: space-between;
    padding: 5rem 1rem;
  }

  .why__texts {
    position: relative;
    z-index: 1;
    width: 50%;
  }

  .why__image {
    position: absolute;
    right: 0;
    bottom: 0;
    margin-right: 0;
  }

  .why__image img {
    max-width: 640px;
  }

  .why__certificate {
    bottom: 1rem;
    left: unset;
    right: 0;
  }
}

@media (width >=1024px) {
  .why__container {
    padding: 3rem 0 0;
  }

  .why {
    padding: 5rem 1rem 8rem;
  }

  .why__texts {
    width: 40%;
  }

  .why__image img {
    max-width: 880px;
  }

  .why__certificate {
    bottom: 8rem;
    right: 375px;
  }
}


/* FORM */
.bg-resalt {
  background-color: var(--theme-accent-four);
}

.form__container {
  padding: 3rem 1rem;
  background-color: var(--theme-accent-four);
  border-radius: 2.5rem;
}

.form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  padding: 3rem 1rem;
  background-color: var(--theme-primary);
  border-radius: 2.5rem;
}

.form__texts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.form__paragraph {
  color: var(--theme-text);
}

.form__form {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
  width: 100%;
}

.form__input {
  width: 100%;
  padding: 1rem 2rem;
  font-size: .875rem;
  line-height: .875rem;
  color: var(--theme-accent-two);
  border-radius: 9999px;
  border: 1px solid transparent;
  background-color: var(--theme-accent-four);
}

.form__input::placeholder {
  color: var(--theme-accent-two);
}

@media (width >=640px) {
  .form__form {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (width >=768px) {
  .form__container {
    position: relative;
    margin-top: -1.5rem;
    margin-inline: 1rem;
    margin-bottom: 3rem;
    padding: 1rem;
  }

  .form {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .form__texts {
    width: 40%;
  }

  .form__form {
    width: 60%;
  }
}

@media (width >=1024px) {
  .form__container {
    margin-top: -3rem;
  }

  .form {
    padding: 3rem;
  }

  .form__texts {
    width: 30%;
  }

  .form__form {
    width: 70%;
    grid-template-columns: repeat(3, 1fr);
  }
}


/* BENEFITS */
.benefits {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  padding: 3rem 1rem;
}

.benefits__texts {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.benefits__paragraph {
  color: var(--theme-text);
}

.benefits__background {
  position: relative;
  width: 100%;
  background-color: var(--theme-accent-two);
  border-radius: 4rem;
}

.benefits__background::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../img/background-benefits.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  mix-blend-mode: multiply;
  border-radius: inherit;
}

.benefits__content {
  position: relative;
  display: flex;
  justify-content: center;
  max-width: 896px;
  margin: 0 auto;
  padding: 3rem 1rem 0;
}

.benefits__content img {
  display: block;
  width: 100%;
  max-width: 400px;
}

.benefits__btn {
  position: absolute;
  bottom: 3rem;
}

.benefits__stat {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  width: 90%;
  max-width: 320px;
  padding: .75rem;
  background-color: #ffffffcc;
  border-radius: 1rem;
  border: 1px solid var(--theme-primary);
}

.benefits__stat--one {
  top: 3rem;
  left: 1rem;
}

.benefits__stat--two {
  top: 9.25rem;
  right: 1rem;
}

.benefits__stat--three {
  top: 15.5rem;
  left: 1rem;
}

.benefits__stat--four {
  top: 20.5rem;
  right: 1rem;
}

.benefits__stat span {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--theme-primary);
  background-color: var(--theme-accent-three);
  border-radius: 9999px;
}

.benefits__stat h3 {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--theme-accent-three);
}

@media (width >=768px) {
  .benefits__stat--one {
    top: 9.25rem;
  }

  .benefits__stat--three {
    top: 20.5rem;
    left: 2.5rem;
  }

  .benefits__stat--four {
    right: 2.5rem;
  }
}

@media (width >=1024px) {
  .benefits {
    gap: 5rem;
  }

  .benefits__content {
    margin-top: -6rem;
  }

  .benefits__stat--one {
    left: -1.5rem;
    top: 16.75rem;
  }

  .benefits__stat--two {
    right: -1.5rem;
    top: 16.75rem;
  }

  .benefits__stat--three {
    left: 3rem;
    top: 24rem;
  }

  .benefits__stat--four {
    right: 3rem;
    top: 24rem;
  }
}


/* FAQS */
.faqs__container {
  padding: 3rem 1rem;
}

.faqs {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  padding: 3rem 1rem;
  background-color: var(--theme-accent);
  border-radius: 4rem;
}

.faqs__title {
  text-align: center;
}

.faqs__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  max-width: 1024px;
}

.faqs__content .divider {
  width: 100%;
  height: 1px;
  background-color: var(--theme-primary);
}

.faq__container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.faq__container hr {
  width: 100%;
  border-color: var(--theme-primary);
}

.faq {
  width: 100%;
  color: var(--theme-primary);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
}

.faq summary svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  transition: transform 0.3s ease-in-out;
}

.faq[open] summary svg {
  transform: rotate(-180deg);
}

.faq p {
  padding: 1rem 0 .5rem;
  font-size: .875rem;
}

@media (width >=1024px) {
  .faqs__container {
    padding: 3rem 1rem 16rem;
  }

  .faqs__content {
    flex-direction: row;
    align-items: stretch;
    gap: 3rem;
  }

  .faqs__content .divider {
    width: 1px;
    height: auto;
    align-self: stretch;
  }
}


/* POPUP */
.popup,
.popup-services {
  position: fixed;
  z-index: 9999;
  width: calc(100% - 2rem);
  max-width: calc(75rem - 2rem);
  margin: auto;
  border: none;
  outline: none;
  background-color: transparent;
}

.popup::backdrop,
.popup-services::backdrop {
  background-color: #000000cc;
}

.popup {
  max-width: 720px;
}

.popup__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  background-color: white;
  border-radius: 2.5rem;
  padding: 1.5rem;
}

.popup .popup__content {
  padding: 0;
  border-radius: 1rem;
}

.popup__content img {
  width: 100%;
  display: block;
  margin: 0 auto;
  border-radius: 1rem;
}

.popup__content .texts-title {
  text-align: center;
}

.popup__content h1 {
  font-size: 1.4rem;
  color: black;
  font-weight: 500;
  position: absolute;
  top: 3.3rem;
}

.popup__content ul {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  list-style-position: inside;
  list-style: none;
  max-width: 768px;
}

.popup__content ul svg {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--theme-accent);
}

.popup__content ul li.sublist span {
  color: var(--theme-accent-three);
}

.popup__content ul li.sublist ul {
  padding-left: 1.5rem;
  margin-top: 1rem;
}

.popup__content .contact {
  margin-top: 1rem;
}

.popup__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: transparent;
  border: none;
  outline: none;
  cursor: pointer;
}


/* POPUP CHECKLIST SERVICES */
.popup-services {
  max-width: 35rem;
}

.popup-services__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 3rem 1.5rem;
  background-color: white;
  border-radius: 2.5rem;
}

.popup-services__content form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.popup-services__content label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.popup-services__content button {
  margin-top: .5rem;
}

.form__select {
  width: 100%;
  padding: 14px 18px;
  border-radius: 20px;
  border: none;
  background-color: #f0f6ff;
  font-size: 1rem;
  font-family: inherit;
  color: #000;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
}

.form__select:focus {
  background-color: #e8f0fe;
  box-shadow: 0 0 0 3px rgba(1, 57, 132, 0.2);
}

/* POPUP */
.popup__header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}

.popup__header img {
  margin: 0px;
}

.popup__content h2 {
  width: 100%;
  text-align: center;
}

.popup__content li a {
  color: var(--theme-accent);
}