.heroSection {
  picture {
    img {
      width: 100%;
      height: 100dvh;
      aspect-ratio: 1920/1080;
      @media (width < 768px) {
        object-fit: cover;
        object-position: 50% 85%;
        aspect-ratio: 375/812;
      }
    }
  }
}

.aboutSection,
.whatSection,
.casesSection,
.testimonialsSection,
.processSection,
.contactSection {
  padding: 5rem 1rem;
  max-width: 1200px;
  margin-inline: auto;
  h2 {
    font-size: clamp(1.8rem, 1.5rem + 1.5vw, 3rem);
    color: #001742;
    margin-bottom: 3rem;
    text-align: center;
  }
}

.aboutSection {
  max-width: revert;
  background-color: #f5f9f9;
  h2 {
    width: fit-content;
    color: #fc8803;
    padding: 1rem;
    border-radius: 24px;
    margin-inline: auto;
  }
  .aboutContent {
    max-width: 1200px;
    margin-inline: auto;
  }
}

.whatSection {
  text-align: center;
  h2 {
    display: inline-block;
    padding-bottom: 0.3em;
    background-image: linear-gradient(transparent 60%, #e444a9 60%);
    background-size: 100% 0.4em;
    background-position: bottom;
    background-repeat: no-repeat;
  }
}

.casesSection {
  text-align: center;
  h2 {
    display: inline-block;
    padding-bottom: 0.3em;
    background-image: linear-gradient(transparent 60%, #e444a9 60%);
    background-size: 100% 0.4em;
    background-position: bottom;
    background-repeat: no-repeat;
  }
}

.testimonialsSection {
  text-align: center;
  h2 {
    display: inline-block;
    padding-bottom: 0.3em;
    background-image: linear-gradient(transparent 60%, #e444a9 60%);
    background-size: 100% 0.4em;
    background-position: bottom;
    background-repeat: no-repeat;
  }
}

.processSection {
  text-align: center;
  h2 {
    display: inline-block;
    padding-bottom: 0.3em;
    background-image: linear-gradient(transparent 60%, #e444a9 60%);
    background-size: 100% 0.4em;
    background-position: bottom;
    background-repeat: no-repeat;
  }
}

.contactSection {
  max-width: revert;
  background-color: #fdf5ec;
  h2 {
    color: #fc8803;
    background-image: revert;
  }
}

.aboutContent {
  display: flex;
  gap: 4rem;
  align-items: center;

  figure {
    flex: 1;
  }

  .aboutText {
    flex: 1;

    p {
      font-size: clamp(1rem, 0.9rem + 0.5vw, 1.3rem);
      line-height: 1.8;
      margin-bottom: 1.5rem;
    }

    .benefits {
      list-style: none;

      li {
        font-size: clamp(1rem, 0.9rem + 0.5vw, 1.3rem);
        margin-bottom: 0.5rem;
        padding-left: 1.5rem;
        position: relative;

        &::before {
          content: "✔";
          position: absolute;
          left: 0;
          color: #7fd959;
        }
      }
    }
  }
}

.whatContent {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, auto 1fr 2fr);
  gap: 2rem;

  .whatCard {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
    gap: 1rem;
    background-color: #fff8ec;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    padding: 2rem;

    &:hover {
      transform: translateY(-5px);
    }

    h3 {
      font-size: clamp(1.1rem, 1rem + 0.5vw, 1.5rem);
      color: #001742;
    }

    p {
      font-size: clamp(0.9rem, 0.8rem + 0.5vw, 1.1rem);
      line-height: 1.8;
    }
  }
}

.casesContent {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;

  .caseCard {
    background-color: #fbfbfb;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    > figure {
      > img {
        aspect-ratio: 4/3;
        overflow: hidden;
        object-fit: cover;
      }
    }
  }
}

.testimonialSection {
  background-color: #f5f5f5;
}

.testimonialIntro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.3rem);
  line-height: 1.8;
}

.testimonialCards {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 900px;
  margin-inline: auto;

  .testimonialCard {
    background-color: #fff8ec;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 2rem;
    align-items: center;

    .comment {
      flex: 1;
      font-size: clamp(1rem, 0.9rem + 0.5vw, 1.3rem);
      line-height: 1.8;
    }

    .info {
      width: 200px;
      color: #004c80;
      font-size: clamp(0.9rem, 0.8rem + 0.5vw, 1.1rem);
      text-align: right;
    }
  }
}

.processIntro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.3rem);
  line-height: 1.8;
}

.processSteps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;

  .processStep {
    text-align: center;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

    .stepNumber {
      width: 40px;
      height: 40px;
      color: #fbfbfb;
      background-color: #79d7e2;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 1rem;
      font-size: 1.2rem;
    }

    h3 {
      color: #001742;
      font-size: clamp(1.1rem, 1rem + 0.5vw, 1.5rem);
      margin-bottom: 1rem;
    }

    p {
      font-size: clamp(0.9rem, 0.8rem + 0.5vw, 1.1rem);
      line-height: 1.8;
    }
  }
}

.contactContent {
  text-align: center;
  .phoneNumber {
    font-size: clamp(2rem, 1.5rem + 2vw, 4rem);
    color: #fc8803;
    font-weight: 700;
    margin: 1rem 0;
  }
}

@media (width < 768px) {
  .aboutContent {
    flex-direction: column;
    gap: 2rem;
  }

  .whatContent {
    grid-template-columns: 1fr;
  }

  .casesContent {
    grid-template-columns: 1fr;
  }

  .testimonialCards {
    .testimonialCard {
      flex-direction: column;
      text-align: center;

      .info {
        width: 100%;
        text-align: center;
      }
    }
  }
}
