:root {
  --ff-head: "Archivo", Inter, system-ui, -apple-system, "Segoe UI",
    "Helvetica Neue", Arial, sans-serif;
  --ff-body: Inter, system-ui, -apple-system, "Segoe UI", "Helvetica Neue",
    Arial, sans-serif;

  --c-olive: #3c3d1d;
  --c-olive-dark: #2c3018;
  --c-black: #121212;
  --c-neutral: #f5f5f5;
  --c-white: #fff;
  color-scheme: light;

  --row-padding: 120px 60px;
  @media (max-width: 767px) {
    --row-padding: 60px 30px;
  }

  --content-width: 1280px;
  --radius: 8px;
}

*,
*::before,
*::after {
  margin: 0;
  border: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: var(--ff-body);
  font-size: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  scroll-padding-top: 100px; /* Ensure this value is larger than your header's height to prevent content being obscured */
}

/*---------------------------------------------------------------------------------------------------------
|* HEADER
|*--------------------------------------------------------------------------------------------------------*/
.header {
  padding: 30px;
  background-color: var(--c-white);
  position: sticky;
  top: 0;
  z-index: 1000;

  .header__logo {
    width: 200px;
    @media (max-width: 991px) {
      margin-right: auto;
      margin-left: 0;
    }
  }

  .header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--content-width);
    margin: 0 auto;
  }

  .header__nav {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;

    @media (max-width: 991px) {
      display: none;
    }

    .header__nav-item {
      list-style-type: none;

      .header__nav-link {
        font-family: var(--ff-head);
        font-size: 16px;
        font-weight: 600;
        text-decoration: none;
        color: var(--c-black);
        padding: 5px 0;
        position: relative;

        &::after {
          content: "";
          position: absolute;
          bottom: -5px;
          left: 0;
          width: 0;
          height: 2px;
          background-color: var(--c-olive-dark);
          transition: width 0.3s ease;
        }

        &:hover::after,
        &.is-active::after {
          width: 100%;
        }
      }

      &--cta {
        margin-left: 1.5rem;

        .btn--olive {
          /* CHANGED TO btn--olive */
          font-size: 15px;
          padding: 8px 18px;
          line-height: 1.2;
          .fa-solid {
            display: none;
          }
        }
      }
    }
  }

  .header__menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    width: 44px;
    height: 44px;
    z-index: 1100;

    @media (max-width: 991px) {
      display: flex;
      justify-content: center;
      align-items: center;
      margin-left: auto;
    }

    .header__menu-icon {
      position: absolute;
      width: 28px;
      height: 3px;
      background-color: var(--c-black);
      border-radius: 1px;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      transition: background-color 0.3s ease 0.2s, transform 0.3s ease;

      &::before,
      &::after {
        content: "";
        position: absolute;
        width: 100%;
        height: 3px;
        background-color: var(--c-black);
        border-radius: 1px;
        left: 0;
        transition: transform 0.3s ease, top 0.3s ease,
          background-color 0.3s ease 0.2s;
      }

      &::before {
        top: -9px;
      }

      &::after {
        top: 9px;
      }
    }

    &.is-active .header__menu-icon {
      background-color: transparent;

      &::before {
        top: 0;
        transform: rotate(45deg);
      }

      &::after {
        top: 0;
        transform: rotate(-45deg);
      }
    }
  }
}

/*---------------------------------------------------------------------------------------------------------
|* MOBILE NAVIGATION
|--------------------------------------------------------------------------------------------------------*/
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--c-white);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateX(100%);
  transition: transform 0.4s ease-in-out;

  background-image: radial-gradient(
    rgba(221, 221, 221, 0.3) 1px,
    transparent 1px
  );
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;

  &.is-open {
    transform: translateX(0);
  }

  .mobile-nav__logo-container {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 200px;

    img {
      width: 100%;
      height: auto;
    }

    @media (max-width: 480px) {
      top: 20px;
      left: 20px;
      width: 150px;
    }
  }

  .mobile-nav__list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;

    li {
      margin-bottom: 25px;

      /* FIXED: Removed specific margin-top for last child, now relies on generic margin-bottom for all <li> */
      &:last-child {
        margin-bottom: 0; /* Keep this to remove bottom margin of the very last item */
        /* REMOVED: margin-top: 40px; */
      }
    }
  }

  .mobile-nav__link {
    font-family: var(--ff-head);
    font-size: 28px;
    font-weight: 700;
    color: var(--c-black);
    text-decoration: none;
    display: block;
    padding: 10px 0;
    position: relative;
    transition: color 0.2s ease-in-out;

    &::after {
      content: "";
      position: absolute;
      bottom: 5px;
      left: 50%;
      transform: translateX(-50%);
      width: 0;
      height: 3px;
      background-color: var(--c-olive-dark);
      transition: width 0.3s ease;
    }

    &:hover::after,
    &.is-active::after {
      width: 80%;
    }

    &:hover {
      color: var(--c-olive-dark);
    }
  }
}

/*---------------------------------------------------------------------------------------------------------
|* HERO
|*--------------------------------------------------------------------------------------------------------*/
.hero {
  padding: var(--row-padding);
  background-color: var(--c-olive);
  color: var(--c-white);

  @media (max-width: 991px) {
    padding: 60px 30px;
  }

  /* Reverting desktop-specific height and flex adjustments */
  @media (min-width: 992px) {
    height: auto; /* Reset to auto */
    display: block; /* Reset to block */
    padding: var(--row-padding); /* Reapply default padding */
  }

  .hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Original 2-column grid */
    gap: 60px; /* Original gap */
    max-width: var(--content-width);
    margin: 0 auto;
    align-items: center;

    /* Reverting desktop adjustments for inner content within hero */
    @media (min-width: 992px) {
      height: auto; /* Reset to auto */
      padding: 0; /* Remove specific padding for inner */
      max-width: var(--content-width); /* Reapply max-width */
      margin: 0 auto; /* Reapply auto margin */
    }

    @media (max-width: 991px) {
      grid-template-columns: 1fr;
      gap: 30px;
      text-align: center;
      padding: 0;
    }
  }

  .hero__left {
    /* Reverting desktop adjustments */
    @media (min-width: 992px) {
      display: block; /* Reset to block */
      flex-direction: initial;
      justify-content: initial;
      height: auto; /* Reset to auto */
      max-width: none; /* Remove max-width constraint here */
      margin-left: 0; /* Reset margin */
      margin-right: 0; /* Reset margin */
      padding-left: 0; /* Reset padding */
      padding-right: 0; /* Reset padding */
    }

    @media (max-width: 991px) {
      padding-right: 0;
      max-width: 100%;
    }
  }

  .hero__heading {
    font-family: var(--ff-head);
    font-size: 48px;
    font-weight: 900;
    line-height: 1.2;
    text-wrap: balance;

    @media (max-width: 767px) {
      font-size: 32px;
    }
  }

  .hero__subheading {
    margin: 20px 0 30px;
    font-family: var(--ff-body);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.5;
    text-wrap: balance;

    @media (max-width: 991px) {
      text-align: center;
    }
  }

  .hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;

    @media (max-width: 991px) {
      justify-content: center;
    }
  }

  .hero__features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;

    @media (max-width: 991px) {
      justify-content: center;
    }
  }

  .hero__feature-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--ff-body);
    font-size: 16px;
    font-weight: 400;

    .fa-solid.fa-circle-check {
      color: var(--c-white);
      font-size: 1.2em;
    }
  }

  .hero__right {
    /* Reverting desktop adjustments */
    @media (min-width: 992px) {
      width: auto;
      height: auto;
      position: static;
      border-radius: var(--radius); /* Reapply original radius */
      overflow: visible;
      box-shadow: rgba(18, 18, 18, 0.2) 0px 2px 8px 0px; /* Reapply original shadow */
    }

    .hero__image {
      @media (min-width: 992px) {
        position: static;
        top: auto;
        left: auto;
        width: 100%;
        height: auto;
        object-fit: initial;
        display: block;
        border-radius: var(--radius); /* Reapply original radius */
        box-shadow: rgba(18, 18, 18, 0.2) 0px 2px 8px 0px; /* Reapply original shadow */
      }

      @media (max-width: 991px) {
        display: block;
        max-width: 75%;
        margin: 0 auto;
        border-radius: var(--radius);
        box-shadow: rgba(18, 18, 18, 0.2) 0px 2px 8px 0px;
      }

      @media (max-width: 767px) {
        max-width: 100%;
      }
    }
  }
}

/*--------------------------------------------------
|* SOLUTIONS
|*-------------------------------------------------*/
.solutions {
  padding: var(--row-padding);
  background-color: var(--c-neutral);
  color: var(--c-black);
  text-align: center;

  .solutions__inner {
    max-width: var(--content-width);
    margin: 0 auto;
  }

  .solutions__heading {
    font-family: var(--ff-head);
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;

    @media (max-width: 767px) {
      font-size: 32px;
    }
  }

  .solutions__subheading {
    font-family: var(--ff-body);
    font-size: 18px;
    line-height: 1.5;
    max-width: 700px;
    margin: 0 auto 60px;

    @media (max-width: 767px) {
      font-size: 16px;
      margin-bottom: 30px;
    }
  }

  .solutions__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: left;

    @media (max-width: 1024px) {
      grid-template-columns: repeat(2, 1fr);
    }

    @media (max-width: 600px) {
      grid-template-columns: 1fr;
    }

    @media (max-width: 767px) {
      gap: 20px;
    }
  }

  .solutions__card {
    background-color: var(--c-white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: rgba(18, 18, 18, 0.08) 0px 4px 12px 0px;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;

    &:hover {
      transform: translateY(-5px);
      box-shadow: rgba(18, 18, 18, 0.15) 0px 8px 20px 0px;
    }

    .solutions__icon-wrapper {
      width: 60px;
      height: 60px;
      background-color: var(--c-olive-dark);
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      margin-bottom: 25px;

      .fa-solid {
        color: var(--c-white);
        font-size: 24px;
      }
    }

    .solutions__card-heading {
      font-family: var(--ff-head);
      font-size: 22px;
      font-weight: 700;
      line-height: 1.3;
      margin-bottom: 15px;
    }

    .solutions__card-description {
      font-family: var(--ff-body);
      font-size: 15px;
      font-weight: 400;
      line-height: 1.6;
      color: #555;
    }
  }
}

/*---------------------------------------------------------------------------------------------------------
|* ABOUT US
|*--------------------------------------------------------------------------------------------------------*/
.about-us {
  padding: var(--row-padding);
  background-color: var(--c-white);
  color: var(--c-black);

  .about-us__inner {
    display: grid;
    grid-template-columns: minmax(300px, 1.1fr) minmax(400px, 1fr);
    gap: 60px;
    max-width: var(--content-width);
    margin: 0 auto;
    align-items: center;

    @media (max-width: 1080px) {
      grid-template-columns: 1fr;
      gap: 40px;
      text-align: center;
    }
    @media (max-width: 767px) {
      gap: 30px;
    }
  }

  .about-us__image-wrapper {
    border-radius: var(--radius);
    overflow: hidden;
    /* REMOVED box-shadow from wrapper */

    @media (max-width: 1080px) {
      max-width: 80%;
      margin: 0 auto;
      height: 350px;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    @media (max-width: 600px) {
      max-width: 100%;
      height: 250px;
    }
    @media (max-width: 400px) {
      height: 200px;
    }
  }

  .about-us__image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--radius);
    max-height: 100%;
    box-shadow: rgba(18, 18, 18, 0.1) 0px 4px 12px 0px; /* ADDED box-shadow to the image itself */
  }

  /* .about-us__content {
  } */

  .about-us__heading {
    font-family: var(--ff-head);
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-wrap: balance;

    @media (max-width: 767px) {
      font-size: 32px;
    }
    @media (max-width: 480px) {
      font-size: 28px;
    }
  }

  .about-us__paragraph {
    font-family: var(--ff-body);
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 1.2em;

    @media (max-width: 480px) {
      font-size: 16px;
    }
  }

  .about-us__stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 40px;
    margin: 40px 0;

    @media (max-width: 1080px) {
      justify-content: center;
    }
    @media (max-width: 991px) {
      gap: 20px;
      margin: 30px 0;
    }
    @media (max-width: 480px) {
      flex-direction: column;
      align-items: center;
      gap: 15px;
    }
  }

  .about-us__stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;

    .about-us__stat-value-wrap {
      display: flex;
      align-items: center;
      gap: 8px;
      line-height: 1;
      margin-bottom: 0;
    }

    .about-us__stat-number {
      font-family: var(--ff-head);
      font-size: 48px;
      font-weight: 900;
      color: var(--c-olive-dark);
    }

    .about-us__stat-suffix {
      font-family: var(--ff-head);
      font-size: 36px;
      font-weight: 900;
      color: var(--c-olive-dark);
      line-height: 1;
    }

    .about-us__stat-label {
      font-family: var(--ff-body);
      font-size: 14px;
      line-height: 1.4;
      color: #666;
      margin-top: 5px;
    }
  }
}

/*--------------------------------------------------
|* GALLERY
|*-------------------------------------------------*/
.gallery {
  padding: var(--row-padding);
  background-color: var(--c-neutral);
  color: var(--c-black);
  text-align: center;

  .gallery__inner {
    max-width: var(--content-width);
    margin: 0 auto;
  }

  .gallery__heading {
    font-family: var(--ff-head);
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;

    @media (max-width: 767px) {
      font-size: 32px;
    }
  }

  .gallery__subheading {
    font-family: var(--ff-body);
    font-size: 18px;
    line-height: 1.5;
    max-width: 700px;
    margin: 0 auto 60px;

    @media (max-width: 767px) {
      font-size: 16px;
      margin-bottom: 30px;
    }
  }

  .gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: left;

    @media (max-width: 767px) {
      gap: 20px;
      grid-template-columns: 1fr;
    }
  }

  .gallery__card {
    display: flex;
    flex-direction: column;
    background-color: var(--c-white);
    border-radius: var(--radius);
    box-shadow: rgba(18, 18, 18, 0.08) 0px 4px 12px 0px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;

    &:hover {
      transform: translateY(-5px);
      box-shadow: rgba(18, 18, 18, 0.15) 0px 8px 20px 0px;
    }

    @media (max-width: 600px) {
      flex-direction: row;
      align-items: center;
      padding: 15px;
      gap: 15px;

      .gallery__image-wrapper {
        flex-shrink: 0;
        width: 120px;
        padding-bottom: 0;
        height: 80px;
        border-radius: var(--radius);
      }

      .gallery__text-content {
        padding: 0;
        flex-grow: 1;
      }

      .gallery__category {
        font-size: 12px;
        margin-bottom: 2px;
      }

      .gallery__title {
        font-size: 16px;
        line-height: 1.2;
      }
    }
  }

  .gallery__image-wrapper {
    width: 100%;
    padding-bottom: 66.66%;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
  }

  .gallery__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .gallery__text-content {
    padding: 20px 30px 30px;
  }

  .gallery__category {
    font-family: var(--ff-body);
    font-size: 14px;
    font-weight: 400;
    color: #666;
    display: block;
    margin-bottom: 5px;
  }

  .gallery__title {
    font-family: var(--ff-head);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--c-black);
  }
}

/*--------------------------------------------------
|* CONTACT
|*-------------------------------------------------*/
.contact {
  padding: var(--row-padding);
  background-color: var(--c-white);
  color: var(--c-black);
  text-align: center;

  background-image: radial-gradient(
    rgba(221, 221, 221, 0.5) 1px,
    transparent 1px
  );
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;

  .contact__inner {
    max-width: var(--content-width);
    margin: 0 auto;
  }

  .contact__heading {
    font-family: var(--ff-head);
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-wrap: balance;

    @media (max-width: 767px) {
      font-size: 32px;
    }
  }

  .contact__subheading {
    font-family: var(--ff-body);
    font-size: 18px;
    line-height: 1.5;
    max-width: 700px;
    margin: 0 auto 60px;

    @media (max-width: 767px) {
      font-size: 16px;
      margin-bottom: 30px;
    }
  }

  .contact__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;

    @media (max-width: 991px) {
      grid-template-columns: 1fr;
      gap: 30px;
    }
  }

  .contact__form-card {
    background-color: var(--c-white);
    padding: 35px;
    border-radius: var(--radius);
    box-shadow: rgba(18, 18, 18, 0.08) 0px 4px 12px 0px;
  }

  .contact__info-card {
    background-color: transparent;
    padding: 35px 0 0 0;
    border-radius: var(--radius);
    box-shadow: none;

    @media (max-width: 991px) {
      padding: 0;
    }
  }

  .contact__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .contact__form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;

    @media (max-width: 480px) {
      grid-template-columns: 1fr;
      gap: 15px;
    }
  }

  .contact__form-group {
    display: flex;
    flex-direction: column;
  }

  .contact__label {
    font-family: var(--ff-head);
    font-size: 15px;
    font-weight: 600;
    color: var(--c-black);
    margin-bottom: 5px;
    display: block;
  }

  .contact__input,
  .contact__textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    font-family: var(--ff-body);
    font-size: 16px;
    color: var(--c-black);
    background-color: var(--c-white);

    &:focus {
      outline: none;
      border-color: var(--c-olive);
      box-shadow: 0 0 0 2px rgba(60, 61, 29, 0.2);
    }
  }

  .contact__textarea {
    resize: vertical;
    min-height: 120px;
  }

  .contact__submit-btn {
    width: auto;
    align-self: flex-start;

    @media (max-width: 991px) {
      width: 100%;
      align-self: center;
    }
    @media (max-width: 480px) {
      width: 100%;
      align-self: center;
    }
  }

  .contact__info-block {
    margin-bottom: 40px;
    padding-right: 35px;

    @media (max-width: 991px) {
      padding-right: 0;
    }
  }

  .contact__info-heading {
    font-family: var(--ff-head);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
  }

  .contact__info-subheading {
    font-family: var(--ff-body);
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 25px;
  }

  .contact__info-group-inline {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 25px;

    @media (max-width: 480px) {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
  }

  .contact__info-item {
    display: flex;
    align-items: center;
    gap: 10px;

    .contact__info-icon {
      color: var(--c-olive-dark);
      font-size: 20px;
      flex-shrink: 0;
    }

    .contact__info-link {
      font-family: var(--ff-body);
      font-size: 16px;
      color: var(--c-black);
      text-decoration: none;

      &:hover {
        text-decoration: underline;
      }
    }
  }

  .contact__business-hours {
    background-color: var(--c-olive-dark);
    color: var(--c-white);
    padding: 25px 35px;
    border-radius: var(--radius);

    .contact__info-heading {
      color: var(--c-white);
      margin-bottom: 20px;
    }

    .contact__hours-list {
      list-style-type: none;
      padding: 0;

      li {
        display: flex;
        justify-content: space-between;
        padding: 8px 0;
        font-family: var(--ff-body);
        font-size: 16px;
        color: var(--c-white);

        &:not(:last-child) {
          border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        }

        span:first-child {
          font-weight: 600;
          color: var(--c-white);
        }
      }
    }
  }
}

/*--------------------------------------------------
|* Footer
|*-------------------------------------------------*/
.footer {
  background-color: var(--c-neutral);
  color: var(--c-black);
  padding: var(--row-padding);
  font-family: var(--ff-body);

  .footer__inner {
    display: grid;
    grid-template-columns: 1.5fr 0.5fr repeat(2, 1fr);
    gap: 40px;
    max-width: var(--content-width);
    margin: 0 auto 60px;
    text-align: left;

    @media (max-width: 1024px) {
      grid-template-columns: 1fr 1fr;
      margin-bottom: 40px;
    }

    @media (max-width: 767px) {
      grid-template-columns: 1fr;
      gap: 30px;
      text-align: center;
      margin-bottom: 30px;
    }
  }

  .footer__brand {
    @media (max-width: 767px) {
      max-width: 80%;
      margin: 0 auto;
    }
  }

  .footer__logo {
    display: inline-block;
    margin-bottom: 15px;

    img {
      width: 180px;
      height: auto;
    }
  }

  .footer__brand-description {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 0;
  }

  .footer__spacer {
    @media (max-width: 1024px) {
      display: none;
    }
  }

  .footer__nav-heading {
    font-family: var(--ff-head);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--c-black);

    @media (max-width: 767px) {
      margin-bottom: 15px;
    }
  }

  .footer__nav-list {
    list-style-type: none;
    padding: 0;
    margin: 0;

    li {
      margin-bottom: 10px;

      &:last-child {
        margin-bottom: 0;
      }
    }
  }

  .footer__nav-link {
    font-size: 16px;
    line-height: 1.5;
    color: var(--c-black);
    text-decoration: none;
    transition: color 0.2s ease-in-out;

    &:hover {
      color: var(--c-olive);
      text-decoration: underline;
    }
  }

  .footer__bottom-bar {
    border-top: 1px solid #ddd;
    padding-top: 30px;
    text-align: center;
    max-width: var(--content-width);
    margin: 0 auto;

    @media (max-width: 767px) {
      padding-top: 20px;
    }
  }

  .footer__copyright {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
  }
}

/*--------------------------------------------------
|* BACK TO TOP BUTTON
|*-------------------------------------------------*/
.back-to-top {
  position: fixed;
  bottom: 20px; /* Distance from bottom */
  right: 20px; /* Distance from right */
  background-color: var(--c-olive-dark);
  color: var(--c-white);
  border: none;
  border-radius: 50%; /* Circular button */
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px; /* Icon size */
  cursor: pointer;
  box-shadow: rgba(18, 18, 18, 0.2) 0px 4px 12px 0px;
  opacity: 0; /* Hidden by default */
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out,
    transform 0.3s ease-in-out;
  z-index: 900; /* Above regular content, below header */
  transform: translateY(10px); /* Slightly off screen */

  &:hover {
    background-color: var(--c-olive);
    transform: translateY(-2px); /* Slight lift on hover */
  }

  &.is-visible {
    /* Class added by JS when visible */
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

/*--------------------------------------------------
|* Buttons
|*-------------------------------------------------*/
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 11px 20px;
  border-radius: var(--radius);
  font-family: var(--ff-head);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  line-height: 1.5;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  border: none;

  &.btn--primary {
    background-color: var(--c-white);
    color: var(--c-black);
    box-shadow: rgba(18, 18, 18, 0.1) 0px 4px 12px 0px;

    &:hover {
      background-color: var(--c-neutral);
      box-shadow: rgba(18, 18, 18, 0.15) 0px 6px 16px 0px;
    }

    .fa-solid.fa-arrow-right {
      font-size: 1.2em;
      line-height: 1;
      transition: transform 0.2s ease-in-out;
    }

    &:hover .fa-solid.fa-arrow-right {
      transform: translateX(3px);
    }
  }

  &.btn--secondary {
    background-color: transparent;
    color: var(--c-white);
    border: 1px solid var(--c-white);

    &:hover {
      background-color: var(--c-white);
      color: var(--c-black);
    }
  }

  &.btn--solid-primary {
    background-color: var(--c-olive-dark);
    color: var(--c-white);
    padding: 11px 28px;
    border-radius: var(--radius);
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    border: none;
    box-shadow: rgba(18, 18, 18, 0.1) 0px 4px 12px 0px;

    &:hover {
      background-color: var(--c-olive);
      box-shadow: rgba(18, 18, 18, 0.15) 0px 6px 16px 0px;
    }

    @media (max-width: 991px) {
      margin: 20px auto 0;
      display: table;
    }
  }

  /* NEW: Button style for the header CTA (lighter olive) */
  &.btn--olive {
    background-color: var(--c-olive); /* The hero background color */
    color: var(--c-white);
    box-shadow: rgba(18, 18, 18, 0.1) 0px 4px 12px 0px; /* Optional: subtle shadow */

    &:hover {
      background-color: var(--c-olive-dark); /* Darker olive on hover */
      box-shadow: rgba(18, 18, 18, 0.15) 0px 6px 16px 0px;
    }
  }
}

/*--------------------------------------------------
|* UTILITIES
|*-------------------------------------------------*/
body.no-scroll {
  overflow: hidden;
}

/* New utility class to hide site content */
body.site-hidden header, /* Also hide header, main, footer if not explicitly in #site-content */
body.site-hidden main,
body.site-hidden footer {
  display: none;
}
/* Revert only when body does NOT have site-hidden */
body:not(.site-hidden) header,
body:not(.site-hidden) main,
body:not(.site-hidden) footer {
  display: block; /* Or initial/flex/grid as appropriate */
}

/* Styling for the password gate itself */
.password-gate {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--c-white);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease;

  /* ADDED: Background pattern for the gate */
  background-image: radial-gradient(
    rgba(221, 221, 221, 0.5) 1px,
    transparent 1px
  );
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
}

.password-gate.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.password-gate__content {
  text-align: center;
  padding: 30px;
  background-color: var(--c-white);
  border-radius: var(--radius);
  box-shadow: rgba(18, 18, 18, 0.1) 0px 8px 24px 0px;
  max-width: 400px;
  width: 90%;
}

.password-gate__logo {
  width: 250px;
  height: auto;
  margin-bottom: 25px;
}

.password-gate__heading {
  font-family: var(--ff-head);
  font-size: 28px;
  font-weight: 700;
  color: var(--c-black);
  margin-bottom: 10px;
}

.password-gate__subheading {
  font-family: var(--ff-body);
  font-size: 16px;
  color: #666;
  margin-bottom: 25px;
}

.password-gate__form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.password-gate__input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  font-family: var(--ff-body);
  font-size: 16px;
  color: var(--c-black);
  background-color: var(--c-white);
  text-align: center;

  &:focus {
    outline: none;
    border-color: var(--c-olive);
    box-shadow: 0 0 0 2px rgba(60, 61, 29, 0.2);
  }
}

.password-gate__error {
  color: #cc0000;
  font-size: 14px;
  /* REVISED: Starts hidden with 0 height and 0 margin-top */
  height: 0;
  opacity: 0;
  margin-top: 0; /* No margin when hidden */
  overflow: hidden;
  transition: height 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease;

  &.is-visible {
    height: auto; /* Let content define height */
    opacity: 1;
    margin-top: 10px; /* Add margin when visible */
  }
}
