/*--------------------------------------------------------------
# Page Home
--------------------------------------------------------------*/

.page-home {
  /* Section Spotlight
--------------------------------------------- */

  .section-spotlight {
    position: relative;
    width: 100%;
    height: 75vh;

    video,
    img {
      position: absolute;
      inset: 0;
      z-index: -1;
      display: block;
      object-fit: cover;
      width: 100%;
      height: 100%;
      z-index: -1;
    }

    .content {
      width: 100%;
      height: 100%;
      background-image: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.75) 0,
        rgba(0, 0, 0, 0.25) 100%
      );
      color: #fff;

      > .wrapper {
        height: 100%;
        max-width: var(--max-w-xl);
        margin: 0 auto;
        padding: 4.5rem 24px;
        display: flex;
        flex-direction: column;
        justify-content: center;
      }

      .title {
        margin-bottom: 1.5rem;
        font-size: var(--font-3xl);
        line-height: 1.2;
        font-weight: bold;
        animation: spotlight 0.4s;
        animation-delay: 0.4s;
        animation-fill-mode: backwards;
      }

      .subtitle {
        margin-bottom: 1.5rem;
        animation: spotlight 0.4s;
        animation-delay: 0.8s;
        animation-fill-mode: backwards;
      }
    }
  }

  /* Section Company
--------------------------------------------- */

  .section-company {
    > .wrapper {
      max-width: var(--max-w-xl);
      margin: 0 auto;
      padding: var(--padding-xxl) 24px;

      display: grid;
      grid-template-columns: repeat(1, minmax(0, 1fr));
      gap: 1.5rem;

      @media (min-width: 960px) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4.5rem;
      }
    }

    .title {
      margin-bottom: 1.5rem;
      font-size: var(--font-2xl);
      line-height: 1.2;
      font-weight: bold;
    }

    .cta {
      margin-top: 1.5rem;

      a {
        text-decoration: underline;
        text-underline-offset: 0.5rem;
      }
    }
  }

  /* Section Welcome
--------------------------------------------- */

  .section-welcome {
    > .wrapper {
      max-width: var(--max-w-xl);
      margin: 0 auto;
      padding: var(--padding-xxl) 24px;

      display: grid;
      grid-template-columns: repeat(1, minmax(0, 1fr));
      gap: 1.5rem;

      @media (min-width: 960px) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4.5rem;
      }
    }

    .title {
      margin-bottom: 1.5rem;
      font-size: var(--font-2xl);
      line-height: 1.2;
      font-weight: bold;
    }

    .cta {
      margin-top: 1.5rem;

      a {
        text-decoration: underline;
        text-underline-offset: 0.5rem;
      }
    }
  }

  /* Section Gallery
--------------------------------------------- */

  .section-gallery {
    .swiper img {
      object-fit: cover;
      aspect-ratio: 5 / 7;
    }

    > .wrapper {
      max-width: var(--max-w-xxl);
      margin: 0 auto;
      padding: 0 24px;
    }
  }

  /* Section USP
--------------------------------------------- */

  .section-usp {
    > .wrapper {
      max-width: var(--max-w-xl);
      margin: 0 auto;
      padding: var(--padding-xxl) 24px;

      display: grid;
      grid-template-columns: repeat(1, minmax(0, 1fr));
      gap: 1.5rem;

      @media (min-width: 960px) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4.5rem;
      }
    }

    .title {
      margin-bottom: 1.5rem;
      font-size: var(--font-2xl);
      line-height: 1.2;
      font-weight: bold;
    }

    .usp {
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
    }

    .usp > li {
      width: 100%;
      display: flex;
      gap: 1.5rem;

      & .symbol {
        font-size: var(--font-3xl);
        color: var(--primary-500);
      }
    }
  }

  /* Section Olive Oil
--------------------------------------------- */

  .section-olive-oil {
    position: relative;
    width: 100%;
    height: 50vh;

    img {
      position: absolute;
      inset: 0;
      z-index: -1;
      display: block;
      object-fit: cover;
      width: 100%;
      height: 100%;
      z-index: -1;
    }

    .content {
      width: 100%;
      height: 100%;
      background-image: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.75) 0,
        rgba(0, 0, 0, 0.25) 100%
      );
      color: #fff;

      > .wrapper {
        height: 100%;
        max-width: var(--max-w-xl);
        margin: 0 auto;
        padding: 4.5rem 24px;
        display: flex;
        flex-direction: column;
        justify-content: center;
      }

      .title {
        margin-bottom: 1.5rem;
        font-size: var(--font-2xl);
        line-height: 1.2;
        font-weight: bold;
      }

      .subtitle {
        margin-bottom: 1.5rem;
      }

      .cta a {
        color: #fff;
        text-decoration: underline;
        text-underline-offset: 0.5rem;
      }
    }
  }

  /* Section Qualifications
--------------------------------------------- */

  .section-qualifications {
    background-color: var(--primary-100);

    > .wrapper {
      max-width: var(--max-w-xl);
      margin: 0 auto;
      padding: var(--padding-xxl) 24px;

      display: grid;
      grid-template-columns: repeat(1, minmax(0, 1fr));
      gap: 1.5rem;

      @media (min-width: 960px) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4.5rem;
      }
    }

    .title {
      margin-bottom: 1.5rem;
      font-size: var(--font-2xl);
      line-height: 1.2;
      font-weight: bold;
    }

    .cta {
      margin-top: 1.5rem;

      a {
        text-decoration: underline;
        text-underline-offset: 0.5rem;
      }
    }
  }

  /* Section Partners
--------------------------------------------- */

  .section-partners {
    & .title {
      margin-bottom: 1.5rem;
      font-size: var(--font-2xl);
      line-height: 1.2;
      font-weight: bold;
      text-align: center;
    }

    & .subtitle {
      text-align: center;
    }
  }

  .section-partners .col:nth-child(1) {
    max-width: var(--max-w-md);
    margin: 0 auto;
  }

  .section-partners > .wrapper {
    max-width: var(--max-w-xl);
    margin: 0 auto;
    padding: var(--padding-xxl) 24px;

    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .section-partners .brands {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    column-gap: 2.5rem;

    & picture {
      display: block;
    }

    & img {
      max-width: 7.5rem;
      max-height: 7.5rem;
      mix-blend-mode: multiply;

      @media (min-width: 720px) {
        max-width: 9rem;
        max-height: 9rem;
      }
    }

    .euroinox img {
      max-height: 3.75rem;

      @media (min-width: 720px) {
        max-height: 4.5rem;
      }
    }
  }
}
