.footer {
  background: var(--primary-color);
  color: var(--pure-white);
  padding: 80px 100px;
}

.footer a {
  color: var(--pure-white);
  text-decoration: none;
}

.footer__inner {
  max-width: 1200px;
  margin: 0;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px 48px;
  align-items: start;
}

.footer__brand {
  min-width: 260px;
}

.footer__logo img {
  height: 80px;
  width: auto;
  display: block;
}

.footer__tagline {
  margin: 32px 0 24px;
  font-family: var(--secondary-font);
  font-size: var(--lead-font-size);
  font-weight: 500;
  max-width: 46ch;
}

.footer__social {
  display: flex;
  gap: 16px;
  list-style: none;
  padding: 0;
}

.icon {
  font-size: 40px;
  line-height: 1;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
}

.footer__heading {
  font-size: var(--h3-font-size);
  font-family: var(--primary-font);
  font-weight: 600;
  margin-bottom: 16px;
}

.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
  font-family: var(--secondary-font);
  font-size: var(--p-font-size);
  font-weight: 500;
}

.footer__divider {
  max-width: 100%;
  margin: 16px 0;
  height: 1px;
  background: var(--typography-primary-color);
}

.footer__bottom {
  max-width: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  font-family: var(--secondary-font);
  font-weight: 500;
  font-size: var(--p-font-size);
}

.footer__bottom_text {
  flex: 0 0 100%;
  width: 100%;
  margin-top: 16px;
}

.footer__aclaration {
  margin: 0;
  width: 100%;
  text-align: justify;
  text-justify: inter-word;
  text-align-last: left;
  hyphens: auto;
  font-family: var(--secondary-font);
  font-weight: 500;
  font-size: clamp(1.05rem, 1rem + 0.25vw, 1.2rem);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .footer__inner {
    grid-template-columns: 1fr;
  }

  .footer__cols {
    grid-template-columns: 1fr 1fr;
  }

  .footer__tagline {
    max-width: none;
  }

  .footer__aclaration {
    line-height: 1.55;
    font-size: clamp(1rem, 0.95rem + 0.3vw, 1.2rem);
  }
}

@media (max-width: 560px) {
  .footer {
    padding: 28px 16px 14px;
  }

  .footer__cols {
    grid-template-columns: 1fr;
  }

  .footer__heading {
    margin-top: 16px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer__bottom_text {
    margin-top: 16px;
  }

  .footer__aclaration {
    font-size: clamp(1rem, 0.9rem + 0.45vw, 1.15rem);
    line-height: 1.5;
  }
}