/* Footer */
.footer {
  background: #151515;
  color: #ffffff;
  padding: 80px 64px;
  font-family:
    "DM Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

.footer__container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.footer__newsletter {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
}

.footer__newsletter-text {
  max-width: 560px;
}

.footer__newsletter-heading {
  margin: 0 0 4px;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 700;
}

.footer__newsletter-body {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 300;
}

.footer__newsletter-formwrap {
  max-width: 448px;
}

.footer__newsletter-form {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer__newsletter-input {
  flex: 0 0 330px;
  height: 42px;
  padding: 9px 14px;
  border-radius: 23px;
  border: 1px solid #ffffff;
  background: #ffffff;
  font-family:
    "Roboto",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.6);
}

.footer__newsletter-button {
  height: 42px;
  padding: 8px 16px;
  border-radius: 23px;
  border: 1px solid #ffffff;
  background: transparent;
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}

.footer__newsletter-consent {
  margin: 0;
  font-size: 10px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
}

.footer__links {
  display: flex;
  gap: 73px;
}

.footer__brand {
  width: 324px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
}

.footer__logo img {
  max-height: 60px;
  width: auto;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 16px;
  line-height: 1.5;
  text-decoration: underline;
}

.footer__contact-link {
  color: inherit;
}

.footer__primary {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
}

.footer__primary-link {
  color: inherit;
  text-decoration: none;
}

.footer__column {
  flex: 1 0 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__column-title {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.footer__column-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__column-link {
  display: block;
  padding: 8px 0;
  font-size: 14px;
  line-height: 1.5;
  color: #ffffff;
  text-decoration: none;
}

.footer__credits {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer__credits-divider {
  height: 1px;
  width: 100%;
  background: rgba(255, 255, 255, 0.2);
}

.footer__credits-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.footer__credits-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer__copy {
  margin: 0;
  font-family:
    "Roboto",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.footer__credits-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 24px;
  font-family:
    "Roboto",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.footer__credits-links a {
  color: #ffffff;
  text-decoration: underline;
}

.footer__credits-socials {
  display: flex;
  gap: 12px;
}

.footer__credits-social-link {
  display: inline-flex;
  width: 24px;
  height: 24px;
}

.footer__credits-social-icon {
  width: 24px;
  height: 24px;
  display: block;
}

@media (max-width: 1024px) {
  .footer {
    padding: 64px 32px;
  }

  .footer__newsletter {
    flex-direction: column;
  }

  .footer__links {
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .footer {
    padding: 48px 20px;
  }

  .footer__credits-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__credits-left {
    flex-direction: column;
    align-items: flex-start;
  }
}
