/* ==========================================================================
   Site footer
   ========================================================================== */

.site-footer {
  position: relative;
  overflow: hidden;
  color: #e9e9ea;
  background: linear-gradient(180deg, #2a2b2c 0%, #1c1c1f 100%);
}

.site-footer__top { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; padding: 36px 20px 28px; }
.site-footer__brand { grid-column: 1 / -1; }
.site-footer__logo img { width: 150px; }
.site-footer__tagline { margin-top: 14px; max-width: 320px; font-size: 14px; line-height: 1.55; color: #cfcfd2; }
.site-footer__title { margin-bottom: 12px; font-size: 16px; font-weight: 600; color: #fff; }
.site-footer__col li { padding: 4px 0; font-size: 14px; }
.site-footer__col a { color: #d6d6d8; }
.site-footer__col a:hover { color: var(--c-orange-2); }
.site-footer__col--contact { grid-column: 1 / -1; }
.site-footer__col--contact li { display: flex; align-items: flex-start; gap: 10px; padding: 6px 0; }
.site-footer__col--contact .icon { margin-top: 3px; font-size: 16px; color: #f2f2f2; }

.site-footer__social { grid-column: 1 / -1; display: flex; gap: 14px; }
.site-footer__social a,
.site-footer__social .is-placeholder { display: grid; place-items: center; width: 44px; height: 44px; color: #fff; }
.site-footer__social .icon { font-size: 24px; }
.site-footer__social a:hover { color: var(--c-orange-2); }

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 20px 22px;
  font-size: 13px;
  color: #bdbdc0;
  background: #1a1a1d;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.site-footer__legal a:hover { color: var(--c-orange-2); }
.site-footer__decor { display: none; }

@media (min-width: 640px) and (max-width: 991px) {
  .site-footer__top { grid-template-columns: repeat(3, 1fr); }
  .site-footer__col--contact { grid-column: auto; }
  .site-footer__bottom { flex-direction: row; justify-content: space-between; }
}

/* ==========================================================================
   Desktop
   ========================================================================== */
@media (min-width: 992px) {
  .site-footer { margin-top: 2.4rem; height: 14.1rem; }

  .site-footer__top { position: static; display: block; padding: 0; }
  .site-footer__top > * { position: absolute; margin: 0; }

  .site-footer__brand { left: 5.7rem; top: 1.9rem; width: 21rem; }
  .site-footer__logo img { width: 12.4rem; }
  .site-footer__tagline { margin-top: 1.2rem; max-width: none; font-size: 1.02rem; line-height: 1.4rem; letter-spacing: 0; color: #dcdcde; }

  .site-footer__col { top: 1.6rem; }
  .site-footer__col::before { content: ''; position: absolute; left: -3.8rem; top: -.2rem; height: 8.6rem; border-left: 1px solid rgba(255, 255, 255, .22); }
  .site-footer__top > .site-footer__col:nth-child(2) { left: 32rem; }
  .site-footer__top > .site-footer__col:nth-child(3) { left: 47.7rem; }
  .site-footer__top > .site-footer__col--contact { left: 65.6rem; }
  .site-footer__title { margin-bottom: .9rem; font-size: 1.15rem; font-weight: 600; line-height: 1.5rem; letter-spacing: 0; }
  .site-footer__col li { padding: 0; font-size: .96rem; line-height: 1.29rem; letter-spacing: 0; }
  .site-footer__col--contact li { gap: 1rem; align-items: center; padding: 0; height: 2rem; font-size: 1.05rem; }
  .site-footer__col--contact .icon { margin: 0; font-size: 1.4rem; }
  .site-footer__col--contact::before { left: -3.9rem; }

  .site-footer__social { left: 86rem; top: 5.2rem; gap: 1.8rem; }
  .site-footer__social::before { content: ''; position: absolute; left: -3.8rem; top: -3.6rem; height: 8.6rem; border-left: 1px solid rgba(255, 255, 255, .22); }
  .site-footer__social a,
  .site-footer__social .is-placeholder { width: 2.2rem; height: 2.2rem; }
  .site-footer__social .icon { font-size: 2.1rem; stroke-width: 1.7; }

  .site-footer__bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3.0rem;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    padding: 0 5.5rem 0 5.7rem;
    font-size: .96rem;
    background: #1a1a1d;
    border-top: 1px solid rgba(255, 255, 255, .16);
  }
  .site-footer__bottom::before { content: none; }
  .site-footer__copy { flex: 0 0 65rem; letter-spacing: 0; }
  .site-footer__legal { gap: 0; flex-wrap: nowrap; margin-left: 0; }
  .site-footer__legal a { position: relative; padding: 0 1.4rem; white-space: nowrap; }
  .site-footer__legal a + a::before { content: ''; position: absolute; left: 0; top: 15%; height: 70%; border-left: 1px solid rgba(255, 255, 255, .35); }

  .site-footer__decor {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 9rem;
    background:
      linear-gradient(115deg, transparent 0 62%, rgba(232, 118, 40, .95) 62% 69%, transparent 69% 100%),
      linear-gradient(115deg, transparent 0 74%, rgba(160, 70, 30, .8) 74% 77%, transparent 77% 100%);
    pointer-events: none;
  }
}
