.site-footer {
  margin-top: 64px;
  color: #ffffff;
  background: #1c375b;
  border-top: 4px solid #6f8197;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.footer-main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 44px 0 32px;
  display: grid;
  gap: 30px;
}

.footer-brand p,
.footer-newsletter p,
.footer-notice p,
.footer-bottom p {
  margin: 0;
}

.footer-logo-link {
  display: inline-flex;
  margin-bottom: 16px;
}

.footer-logo {
  width: 190px;
  max-width: 72vw;
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  max-width: 440px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.7;
}

.footer-column,
.footer-newsletter {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-column h2,
.footer-newsletter h2 {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-column a {
  width: fit-content;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: #ffffff;
  text-decoration: underline;
  outline: none;
}

.footer-newsletter p {
  max-width: 320px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.6;
}

.newsletter-form {
  margin-top: 6px;
  display: grid;
  gap: 8px;
}

.newsletter-label {
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

.newsletter-row {
  display: grid;
  gap: 8px;
}

.newsletter-row input {
  min-height: 42px;
  width: 100%;
  padding: 0 12px;
  color: #1c375b;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-family: inherit;
}

.newsletter-row input:focus {
  border-color: #6f8197;
  outline: 2px solid rgba(111, 129, 151, 0.45);
  outline-offset: 1px;
}

.newsletter-row button {
  min-height: 42px;
  padding: 0 16px;
  color: #ffffff;
  background: #6f8197;
  border: 1px solid #6f8197;
  font-size: 14px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
}

.newsletter-row button:hover,
.newsletter-row button:focus-visible {
  background: #ffffff;
  color: #1c375b;
  outline: none;
}

.newsletter-small {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
}

.newsletter-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  visibility: hidden;
}

.footer-notice {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-notice p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.65;
}

.footer-notice strong {
  color: #ffffff;
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 22px;
  display: grid;
  gap: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.5;
}

@media (min-width: 760px) {
  .footer-main,
  .footer-notice,
  .footer-bottom {
    width: min(1180px, calc(100% - 48px));
  }

  .footer-main {
    grid-template-columns: 1.35fr 0.75fr 0.75fr 0.75fr 1fr;
    gap: 26px;
    padding-top: 52px;
  }

  .footer-bottom {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .newsletter-row {
    grid-template-columns: 1fr auto;
  }
}

@media (min-width: 1080px) {
  .footer-logo {
    width: 205px;
  }

  .footer-main {
    gap: 34px;
  }
}