/* Shared footer: a spacious brand row, clear navigation and local social icons. */
.site-footer {
  background: linear-gradient(135deg, #193e30 0%, #102c23 58%, #0c251c 100%);
  color: #d7e2d3;
  border-top: 1px solid #ebcc9a30;
  border-radius: 0;
  padding-top: 60px;
  font-size: 1rem;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 44px 70px;
  padding-bottom: 54px;
}
.footer-brand {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 42px;
  border-bottom: 1px solid #ebcc9a2e;
}
.footer-brand > a { display: block; flex: 0 1 320px; }
.footer-brand img { width: 320px; max-width: 100%; filter: brightness(0) invert(1); }
.footer-brand p { margin: 0; max-width: 470px; text-align: right; }
.footer-tagline {
  display: block;
  margin-bottom: 10px;
  font: 400 .875rem/1.6 var(--sans);
  letter-spacing: .08em;
  color: #c4d4c1;
}
.footer-promise {
  display: block;
  font: italic 400 2.5rem/1.12 var(--serif);
  letter-spacing: -.02em;
  color: #f7f6ee;
}
.footer-column { min-width: 0; }
.footer-column h3 {
  margin-bottom: 18px;
  color: var(--gold);
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.footer-column > a {
  display: block;
  width: fit-content;
  max-width: 100%;
  padding-block: 5px;
  margin-top: 5px;
  font-size: .9375rem;
  line-height: 1.5;
  color: #d0dfcc;
  overflow-wrap: anywhere;
  text-underline-offset: .3em;
}
.footer-column > a:hover { color: var(--gold); text-decoration: underline; }
.footer-connect > a:first-of-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  margin-top: 0;
  margin-bottom: 9px;
  border: 1px solid #ebcc9a66;
  border-radius: 8px;
  background: #ebcc9a0c;
  color: #f7f6ee;
  font-weight: 500;
  transition: background .2s, border-color .2s, color .2s;
}
.footer-connect > a:first-of-type:hover,
.footer-connect > a:first-of-type:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--deep);
  text-decoration: none;
}
.footer-socials { display: flex; align-items: center; gap: 12px; margin-top: 25px; }
.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border: 1px solid #ebcc9a66;
  border-radius: 50%;
  background: #ffffff06;
  color: #f1dfbc;
  transition: background .2s, border-color .2s, color .2s;
}
.footer-social-link:hover,
.footer-social-link:focus-visible { background: var(--gold); border-color: var(--gold); color: var(--deep); }
.footer-social-icon { display: block; width: 21px; height: 21px; flex: none; }
.footer-bottom {
  border-top: 1px solid #ebcc9a2e;
  padding-block: 24px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: #bacbb6;
  font-size: .8125rem;
  line-height: 1.7;
}
@media (max-width: 1000px) {
  .footer-top { column-gap: 40px; }
  .footer-brand { gap: 36px; }
  .footer-brand > a { flex-basis: 280px; }
  .footer-promise { font-size: 2.25rem; }
}
@media (max-width: 760px) {
  .site-footer { padding-top: 42px; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; padding-bottom: 38px; }
  .footer-brand { flex-direction: column; align-items: flex-start; gap: 24px; padding-bottom: 30px; }
  .footer-brand > a { flex: none; width: min(100%, 292px); }
  .footer-brand p { max-width: 390px; text-align: left; }
  .footer-tagline { margin-bottom: 9px; letter-spacing: .05em; }
  .footer-promise { font-size: 2.125rem; line-height: 1.15; }
  .footer-column h3 { margin-bottom: 13px; }
  .footer-column:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
  .footer-column:last-child h3 { grid-column: 1 / -1; margin-bottom: 17px; }
  .footer-connect > a:nth-of-type(2) { align-self: center; margin-top: 0; }
  .footer-socials { grid-column: 1 / -1; margin-top: 22px; }
  .footer-bottom { flex-direction: column; gap: 7px; padding-block: 22px; }
}
