.site-footer {
  background: #ffffff;
}

.site-footer__newsletter {
  background: var(--quimatic-orange);
}

.site-footer__newsletter-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 8px 0;
}

.site-footer__newsletter-copy h2 {
  margin: 0;
  font-family: "Myriad Pro", sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.24px;
  color: #ffffff;
}

.site-footer__newsletter-copy p {
  margin: 0;
  font-family: "DM Sans";
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--quimatic-text);
}

.site-footer__newsletter-actions {
  width: 100%;
  max-width: 380px;
}

.site-footer__newsletter-form {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.site-footer__newsletter-form input {
  flex: 1 1 auto;
  min-width: 0;
  height: 40px;
  border: 1px solid transparent;
  border-radius: 0;
  padding: 8px 12px;
  font-family: "DM Sans";
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--quimatic-text);
  background: #ffffff;
  outline: none;
}

.site-footer__newsletter-form input::placeholder {
  color: rgba(10, 2, 3, 0.55);
}

.site-footer__newsletter-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 113px;
  height: 40px;
  border: 1px solid #0a0203;
  padding: 8px 16px;
  background: #0a0203;
  color: #ffffff;
  font-family: "Myriad Pro", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
}

.site-footer__newsletter-form button img {
  width: 24px;
  height: 24px;
  display: block;
}

.site-footer__newsletter-consent {
  margin: 4px 0 0;
  font-family: "Roboto";
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  color: #ffffff;
}

.site-footer__newsletter-consent p {
  margin: 2px 0 0 0;
}

.site-footer__newsletter-consent a {
  color: #ffffff;
  text-decoration: underline;
}

.site-footer__main {
  padding: 24px 0 12px;
}

.site-footer__content {
  display: grid;
  grid-template-columns: 313px 1fr;
  gap: 24px;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 40px;
}

.site-footer__logo img {
  width: 188px;
  height: 40px;
  display: block;
}

.site-footer__socials {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-footer__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.site-footer__socials img {
  max-width: 24px;
  max-height: 24px;
  display: block;
}

.site-footer__contact-label {
  margin: 0;
  font-family: "Myriad Pro", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--quimatic-orange);
}

.site-footer__contact-value {
  margin: 0;
  font-family: "Myriad Pro", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--quimatic-text);
  text-decoration: none;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding: 0 32px;
}

.site-footer__column {
  flex: 1 1 180px;
  min-width: 120px;
}

.site-footer__column h3 {
  margin: 0 0 16px;
  font-family: "Myriad Pro", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--quimatic-orange);
}

.site-footer__column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__column li {
  padding: 8px 0;
}

.site-footer__column a {
  font-family: "Myriad Pro", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--quimatic-text);
  text-decoration: none;
}

.site-footer__credits {
  margin-top: 24px;
  padding-top: 16px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-footer__credits::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 16px;
  right: 16px;
  border-top: 1px solid var(--quimatic-orange);
}

.site-footer__credits-left {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-left: 16px;
}

.site-footer__credits-left p,
.site-footer__credits-left a {
  margin: 0;
  font-family: "Myriad Pro", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--quimatic-text);
  text-decoration: none;
}

.site-footer__credits-left a {
  text-decoration: underline;
}

.site-footer__credits-right {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  margin-right: 16px;
  margin-top: -4px;
}

.site-footer__credits-right span {
  font-family: "DM Sans";
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--quimatic-text);
}

.site-footer__credits-right a {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
}

.site-footer__credits-right img {
  width: auto;
  height: auto;
  max-width: 96px;
  max-height: 24px;
  display: block;
}

@media (max-width: 1200px) {
  .site-footer__newsletter-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
  }

  .site-footer__newsletter-actions {
    max-width: 100%;
  }

  .site-footer__content {
    grid-template-columns: 1fr;
  }

  .site-footer__brand {
    padding: 0;
  }

  .site-footer__links {
    padding: 0;
  }
}

@media (max-width: 920px) {
  .site-footer__column {
    flex: 0 1 calc(50% - 8px);
  }

  .site-footer__credits {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .site-footer__newsletter-container {
    width: min(358px, calc(100% - 16px));
    gap: 12px;
    padding: 12px 0;
  }

  .site-footer__newsletter-copy h2 {
    font-size: 21px;
    line-height: 1.4;
    letter-spacing: -0.24px;
  }

  .site-footer__newsletter-copy p {
    font-size: 15px;
    line-height: 1.5;
  }

  .site-footer__newsletter-form {
    flex-direction: column;
  }

  .site-footer__newsletter-form input {
    padding: 9.5px 13px;
    font-size: 16px;
    font-weight: 300;
    line-height: normal;
  }

  .site-footer__newsletter-form button {
    width: 100%;
    font-size: 14px;
    line-height: 1.5;
  }

  .site-footer__newsletter-consent {
    font-size: 12px;
    line-height: 1.5;
  }

  .site-footer__main {
    background: #f2f2f2;
  }

  .site-footer__content {
    gap: 24px;
  }

  .site-footer__links {
    gap: 24px;
  }

  .site-footer__column {
    flex: 0 1 100%;
  }

  .site-footer__brand {
    width: 100%;
  }

  .site-footer__socials {
    width: 100%;
    padding-top: 8px;
    justify-content: space-between;
    gap: 0;
  }

  .site-footer__socials a {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
  }

  .site-footer__socials img {
    width: auto;
    height: auto;
    max-width: 20px;
    max-height: 20px;
  }

  .site-footer__contact-label {
    font-size: 16px;
    line-height: 1.5;
  }

  .site-footer__contact-value,
  .site-footer__column a,
  .site-footer__credits-left p,
  .site-footer__credits-left a {
    font-size: 14px;
    line-height: 1.5;
  }

  .site-footer__column h3 {
    margin: 0 0 4px;
    font-size: 20px;
    line-height: 1.2;
  }

  .site-footer__column a {
    text-decoration: underline;
    text-decoration-skip-ink: none;
  }

  .site-footer__credits {
    gap: 24px;
    align-items: center;
  }

  .site-footer__credits-left {
    width: 100%;
    margin-left: 0;
    flex-direction: column;
    align-items: center;
    gap: 10px 16px;
    text-align: center;
  }

  .site-footer__credits-right span {
    font-size: 12px;
    line-height: 1.5;
  }

  .site-footer__credits-right {
    width: 100%;
    justify-content: center;
    gap: 8px;
    margin-right: 0;
    margin-top: 0;
  }

  .site-footer__credits-right img {
    width: 38px;
    height: 12px;
    max-width: none;
    max-height: none;
  }
}
