.site-footer#contact {
  border-top: 1px solid rgba(188, 229, 224, .24);
  background: #0b293e;
  color: #f5fbf8;
}
.genki-footer {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 160px;
  grid-template-rows: auto auto auto;
  align-items: center;
  width: min(calc(100% - 40px), 1200px);
  margin-inline: auto;
  padding: 26px 0 18px;
}
.genki-footer a { color: inherit; text-decoration: none; }
.genki-footer a:hover { color: #b5e6da; }
.genki-footer a:focus-visible { outline: 2px solid #b5e6da; outline-offset: 5px; }
.genki-footer__brand { display: block; grid-column: 1; grid-row: 1; width: fit-content; }
.genki-footer__brand img { display: block; width: 120px; height: auto; }
.genki-footer__links {
  display: flex;
  grid-column: 2;
  grid-row: 1;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(18px, 3.4vw, 48px);
  width: 100%;
  white-space: nowrap;
}
.genki-footer__links a { font-size: clamp(14px, 1.1vw, 16px); font-weight: 650; letter-spacing: .025em; }
.genki-footer__social { display: flex; grid-column: 1 / -1; grid-row: 2; justify-content: center; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(188, 229, 224, .18); }
.genki-footer__social span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(213, 241, 235, .45);
  border-radius: 50%;
  color: #e3f4ee;
}
.genki-footer__social svg { display: block; width: 17px; height: 17px; }
.genki-footer__owner { grid-column: 1 / -1; grid-row: 3; justify-self: center; margin-top: 9px; color: #91b0b7; font-size: 10px; line-height: 1.5; letter-spacing: .01em; }
@media (max-width: 900px) {
  .genki-footer { grid-template-columns: minmax(0, 1fr); grid-template-rows: repeat(4, auto); }
  .genki-footer__brand { grid-column: 1; grid-row: 1; margin-bottom: 20px; }
  .genki-footer__links { grid-column: 1; grid-row: 2; }
  .genki-footer__social { grid-column: 1; grid-row: 3; }
  .genki-footer__owner { grid-column: 1; grid-row: 4; }
}
@media (max-width: 560px) {
  .genki-footer { grid-template-columns: minmax(0, 1fr); grid-template-rows: repeat(4, auto); width: min(calc(100% - 40px), 420px); padding: 24px 0 50px; }
  .genki-footer__brand { display: flex; grid-column: 1; grid-row: 1; flex-direction: column; align-items: center; justify-self: center; margin-bottom: 22px; }
  .genki-footer__brand img { width: 112px; }
  .genki-footer__brand::after { content: ''; width: 38px; height: 2px; margin-top: 12px; border-radius: 2px; background: linear-gradient(90deg, #5ad1d7, #f7dc67); }
  .genki-footer__links { display: grid; grid-column: 1; grid-row: 2; grid-template-columns: repeat(4, minmax(0, 1fr)); justify-items: center; gap: 12px 0; }
  .genki-footer__links a { padding: 4px 0; font-size: 14px; font-weight: 600; line-height: 1.45; letter-spacing: 0; text-align: center; }
  .genki-footer__links a:last-child { grid-column: 1 / -1; margin-top: 5px; padding: 9px 24px; border: 1px solid rgba(181, 230, 218, .38); border-radius: 999px; background: rgba(181, 230, 218, .07); color: #f5fbf8; font-weight: 650; }
  .genki-footer__social { grid-column: 1; grid-row: 3; gap: 22px; margin-top: 21px; padding-top: 0; border-top: 0; }
  .genki-footer__social span { width: 28px; height: 28px; border: 0; color: #cde7e4; }
  .genki-footer__social svg { width: 20px; height: 20px; }
  .genki-footer__owner { grid-column: 1; grid-row: 4; justify-self: center; margin-top: 12px; font-size: 10px; text-align: center; }
}
