/* Explicit rows and columns: no shared flex row squeezing company info/navigation. */
.site-footer {
  border-top: 1px solid #e2e7ef;
  padding: 42px 0 24px;
  color: #52637d;
  font-size: 14px;
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.7fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: start;
  padding-bottom: 32px;
}
.footer-brand .brand {
  font-size: 23px;
  color: #14253d;
}
.footer-brand .brand b {
  font-size: 20px;
}
.footer-brand .logo-crop {
  width: 36px;
  height: 36px;
}
.footer-brand p {
  margin: 13px 0 0;
  max-width: 290px;
  line-height: 1.9;
}
.footer-nav,
.footer-contact {
  min-width: 0;
}
.footer-main h3 {
  font-size: 14px;
  font-weight: 600;
  color: #20334f;
  margin: 4px 0 16px;
}
.footer-nav {
  display: grid;
  justify-items: start;
  gap: 9px;
}
.footer-nav h3 {
  margin-bottom: 5px;
}
.footer-nav a,
.footer-nav button {
  font-size: 14px;
  padding: 0;
  color: #52637d;
  line-height: 1.8;
}
.footer-nav a:hover,
.footer-nav button:hover,
.footer-contact a:hover {
  color: var(--blue);
}
.footer-contact a {
  display: block;
  width: fit-content;
  max-width: 100%;
  overflow-wrap: anywhere;
  margin: 0 0 9px;
}
.footer-contact address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.9;
  margin-top: 12px;
}
.footer-bottom {
  border-top: 1px solid #e2e7ef;
  padding-top: 21px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: #63718a;
  font-size: 12px;
}
.footer-bottom p {
  margin: 0;
}
.footer-bottom-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-shrink: 0;
}
.footer-bottom-actions a,
.footer-bottom-actions button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #52637d;
  padding: 4px 0;
}
.footer-bottom svg {
  width: 14px;
  height: 14px;
}
.closing {
  margin-bottom: 48px;
}
.consult-email {
  overflow-wrap: anywhere;
  max-width: 100%;
}
.required-mark {
  color: #b63749;
  display: inline;
}
.form-grid label:has(.required-mark) {
  display: block;
}
.form-grid label:has(.required-mark) input {
  display: block;
  margin-top: 6px;
}
.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.consent-row {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin-top: 20px;
  color: #52637d;
  font-size: 13px;
  line-height: 1.8;
}
.consent-row input {
  appearance: auto;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin: 4px 0 0;
  accent-color: var(--blue);
}
.privacy-inline {
  display: inline;
  padding: 0 3px;
  color: #344ec8;
  font-size: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mail-status-note {
  padding: 12px 14px;
  background: #f4f6fb;
  border: 1px solid #e0e6f0;
  border-radius: 7px;
  font-size: 13px;
  line-height: 1.8;
  color: #53637d;
}
.button:disabled {
  cursor: not-allowed;
}
.form-grid [aria-invalid="true"] {
  border-color: #b63749;
}
@media (max-width: 820px) {
  .footer-main {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px 42px;
  }
  .footer-brand {
    grid-column: 1/-1;
    display: flex;
    gap: 25px;
    align-items: center;
  }
  .footer-brand p {
    margin: 0;
    max-width: none;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .footer-bottom-actions {
    flex-wrap: wrap;
  }
  .site-footer {
    padding-top: 32px;
  }
}
@media (max-width: 520px) {
  .footer-main {
    gap: 27px 24px;
    padding-bottom: 25px;
  }
  .footer-brand {
    display: block;
  }
  .footer-brand p {
    margin-top: 10px;
    font-size: 14px;
  }
  .footer-contact a,
  .footer-contact address,
  .footer-nav a,
  .footer-nav button {
    font-size: 13px;
  }
  .footer-main h3 {
    font-size: 14px;
  }
  .footer-bottom {
    gap: 12px;
  }
  .footer-bottom-actions {
    width: 100%;
    justify-content: space-between;
  }
  .footer-brand .logo-crop {
    width: 34px;
    height: 34px;
  }
  .closing {
    margin-bottom: 32px;
  }
}
@media (max-width: 360px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-brand {
    grid-column: auto;
  }
  .footer-nav {
    grid-template-columns: 1fr 1fr;
  }
  .footer-nav h3 {
    grid-column: 1/-1;
  }
  .footer-main h3 {
    margin-top: 0;
  }
  .footer-contact address {
    margin-top: 8px;
  }
}
