/*--------------------------------------------------------------
# Page Company
--------------------------------------------------------------*/

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

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

    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 {
        max-width: var(--max-w-md);
        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 {
        max-width: var(--max-w-md);
        animation: spotlight 0.4s;
        animation-delay: 0.8s;
        animation-fill-mode: backwards;
      }
    }
  }

  /* Section About Us
--------------------------------------------- */

  .section-about-us {
    > .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 {
      font-size: var(--font-2xl);
      line-height: 1.2;
      font-weight: bold;
    }

    .description p:not(:last-of-type) {
      margin-bottom: 1.5rem;
    }
  }

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

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

    .swiper img {
      object-fit: cover;
      aspect-ratio: 3 / 4;
    }
  }

  /* Section History
--------------------------------------------- */

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

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

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

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

    .description p:not(:last-of-type) {
      margin-bottom: 1.5rem;
    }
  }
}
