.site-footer { font: 400 16px/1.6 var(--font-body); color: #D7E4EF; background: var(--color-primary-dark); border-top: 1px solid #284359; }
.site-footer a { color: #D7E4EF; text-decoration: none; }
.site-footer a:hover { color: #A7F3D0; text-decoration: underline; }
.site-footer :focus-visible { outline-color: #A7F3D0; }
.footer-wrap { width: min(1320px, calc(100% - 48px)); margin-inline: auto; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 1fr));
  column-gap: clamp(1.55rem, 4vw, 4.25rem);
  row-gap: 1.9rem;
  padding-block: clamp(2.1rem, 4vw, 3.6rem) clamp(1.8rem, 3vw, 2.55rem);
}
.footer-identity p { max-width: 25ch; margin-block: .85rem .65rem; }
.site-footer .footer-brand { color: #fff; font-family: var(--font-heading); font-size: 1.28rem; }
.footer-brand img { padding: 4px; background: #F8FAFC; border-radius: var(--radius-button); }
.footer-contact { display: grid; justify-items: start; font-style: normal; }
.footer-contact a { padding-block: .21rem; overflow-wrap: anywhere; }
.site-footer h2 { color: #fff; font-size: 1rem; letter-spacing: normal; margin: 0 0 .65rem; }
.footer-links ul { margin: 0; padding: 0; list-style: none; }
.footer-links a { display: block; width: fit-content; padding-block: .24rem; }
.footer-updates {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: .85rem 1.6rem;
  padding: clamp(1rem, 2.2vw, 1.65rem);
  border: 1px solid #29485F;
  border-radius: var(--radius-card);
  background: var(--color-primary);
}
.footer-updates h2 { font-size: 1.13rem; margin-bottom: .25rem; }
.footer-updates p, .footer-bottom p { margin: 0; }
.footer-subscribe { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .6rem; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .45rem 1.2rem;
  margin-top: clamp(1.3rem, 2.5vw, 2rem);
  padding-block: .9rem 1.25rem;
  border-top: 1px solid #29485F;
  font-size: .875rem;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: .1rem 1.1rem; }
.footer-bottom a { padding-block: .3rem; }
@media (max-width: 56rem) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 47.5rem) {
  .footer-wrap { width: calc(100% - 32px); }
  .footer-updates { grid-template-columns: minmax(0, 1fr); }
  .footer-links a { padding-block: .44rem; }
}
@media (max-width: 29rem) {
  .footer-identity, .footer-grid > .footer-links:last-child { grid-column: 1 / -1; }
  .footer-grid > .footer-links:last-child ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.55rem; }
  .footer-subscribe { grid-template-columns: minmax(0, 1fr); }
}
.site-footer *, .site-footer *::before, .site-footer *::after { box-sizing: border-box; }
.site-footer .footer-brand { display: inline-flex; align-items: center; gap: .65rem; font-weight: 760; }
.site-footer .footer-brand img { display: block; width: 38px; height: 38px; }
.site-footer .footer-contact { margin-bottom: 0; }
.site-footer .footer-social { display: flex; flex-wrap: wrap; gap: .1rem .7rem; margin-top: .6rem; font-size: .875rem; }
.site-footer .footer-social a { padding-block: .25rem; }
.site-footer .footer-subscribe label {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.site-footer .footer-subscribe input,
.site-footer .footer-subscribe button {
  min-width: 0; min-height: 44px; padding: .55rem .75rem; border-radius: var(--radius-input); font: inherit;
}
.site-footer .footer-subscribe input { width: 100%; border: 1px solid var(--color-input-border); background: white; color: var(--color-text); }
.site-footer .footer-subscribe button { border: 1px solid transparent; background: var(--color-accent-hover); color: white; font-weight: 700; cursor: pointer; }
.site-footer .footer-subscribe button:hover { background: var(--color-accent-active); }
@media print { .site-footer { display: none; } }
