/* MADMIX - Footer */

footer {
  border-top: 1px solid var(--border);
  background: var(--black);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  border-bottom: 1px solid var(--border);
}

.footer-col {
  padding: 3.5rem 3rem;
}

.footer-col:first-child {
  padding-left: var(--section-pad-x);
}

.footer-col:last-child {
  padding-right: var(--section-pad-x);
}

.footer-col + .footer-col {
  border-left: 1px solid var(--border);
}

.footer-brand-logo {
  display: block;
  margin-bottom: 1.6rem;
  line-height: 0;
}

.footer-brand-logo img {
  display: block;
  height: auto;
  width: auto;
  max-height: 64px;
  max-width: 240px;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity .18s;
}

.footer-brand-logo:hover img {
  opacity: 1;
}

.footer-slogan {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--text-sm);
  color: var(--gray3);
  line-height: 1.65;
  margin-bottom: 1.4rem;
  max-width: 220px;
}

.footer-email-link {
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  color: var(--gray4);
  transition: color .18s;
}

.footer-email-link:hover {
  color: var(--white);
}

.footer-col-title {
  font-size: var(--text-2xs);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gray4);
  margin-bottom: 1.6rem;
  display: block;
}

.footer-page-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1.6rem;
  row-gap: 0.8rem;
  list-style: none;
}

.footer-page-links li a {
  font-size: var(--text-sm);
  color: var(--gray3);
  transition: color .18s;
  letter-spacing: 0.02em;
}

.footer-page-links li a:hover {
  color: var(--white);
}

.footer-li-company {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem 1.1rem;
  border: 1px solid var(--border);
  margin-bottom: 1.2rem;
  transition: all .18s;
  color: var(--white);
}

.footer-li-company:hover {
  border-color: var(--blue2);
  color: var(--blue2);
}

.footer-li-company svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

.footer-li-company-name {
  font-size: var(--text-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

.footer-li-people {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  list-style: none;
}

.footer-li-person {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--text-xs);
  color: var(--gray3);
  transition: color .18s;
}

.footer-li-person:hover {
  color: var(--blue2);
}

.footer-li-person svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
  flex-shrink: 0;
  opacity: 0.55;
}

.footer-bottom {
  padding: 1.2rem var(--section-pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-rgb {
  display: flex;
  gap: 5px;
  align-items: center;
}

.footer-rgb-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.footer-rgb-dot--green {
  background: var(--green);
}

.footer-rgb-dot--blue {
  background: var(--blue2);
}

.footer-rgb-dot--red {
  background: var(--red2);
}

.footer-copy {
  font-size: var(--text-2xs);
  color: var(--gray4);
  letter-spacing: 0.08em;
  text-align: center;
  flex: 1;
}

.footer-domain {
  font-size: var(--text-2xs);
  color: var(--gray4);
  letter-spacing: 0.08em;
}

.li-icon path {
  fill: currentColor;
}

@media (max-width: 900px) {
  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-col {
    padding: 2.5rem var(--section-pad-x);
  }

  .footer-col + .footer-col {
    border-left: none;
    border-top: 1px solid var(--border);
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .footer-col {
    padding: 2rem 5vw;
  }

  .footer-page-links {
    grid-template-columns: 1fr;
  }

  .footer-brand-logo img {
    max-height: 48px;
  }

  .footer-slogan {
    font-size: var(--text-sm);
  }
}

@media (min-width: 1440px) {
  .footer-col {
    padding: 4rem 3.5rem;
  }

  .footer-col:first-child {
    padding-left: var(--section-pad-x);
  }

  .footer-col:last-child {
    padding-right: var(--section-pad-x);
  }
}
