.home-site-footer {
  margin-top: 48px;
  border-top: 1px solid #dbe5f2;
  background:
    radial-gradient(circle at 82% 0, rgba(57, 167, 223, 0.1), transparent 28%),
    linear-gradient(180deg, #f9fcff 0%, #f1f6fb 100%);
  color: #172238;
  font-family: Arial, sans-serif;
}

body[data-page='home'] .home-site-footer {
  margin-top: 0;
}

.home-site-footer-inner,
.home-site-footer-meta {
  width: min(1280px, calc(100vw - 64px));
  margin: 0 auto;
}

.home-site-footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  min-height: 90px;
}

.home-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: inherit;
  text-decoration: none;
}

.home-footer-brand .brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(145deg, #11284a, #1f9ed1);
  box-shadow: 0 7px 14px rgba(27, 87, 144, 0.2);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.home-footer-brand img.brand-logo {
  display: block;
  object-fit: cover;
  background: transparent;
  box-shadow: none;
}

.home-footer-brand-logo {
  display: inline-flex;
  line-height: 0;
}

.home-footer-brand-copy {
  display: grid;
  gap: 2px;
  color: inherit;
  line-height: 1;
  text-decoration: none;
}

.home-footer-brand-copy strong {
  color: #172238;
  font-size: 0.88rem;
  font-weight: 850;
}

.home-footer-brand-copy em {
  color: #1f9ed1;
  font-style: normal;
}

.home-footer-brand-copy small {
  color: #6d7b90;
  font-size: 0.7rem;
  font-weight: 650;
}

.home-footer-actions {
  display: inline-flex;
  align-items: center;
}

.home-footer-actions {
  justify-content: flex-end;
  gap: 10px;
}

.home-site-footer .support-channel-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

.home-site-footer .support-channel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  min-width: 118px;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  white-space: nowrap;
}

.home-site-footer .support-channel-btn:hover,
.home-site-footer .support-channel-btn:focus-visible {
  transform: translateY(-2px);
}

.home-site-footer .support-channel-btn:focus-visible {
  outline: 3px solid rgba(34, 158, 217, 0.28);
  outline-offset: 3px;
}

.home-site-footer .support-channel-icon,
.home-site-footer .support-channel-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.home-site-footer .support-channel-telegram {
  background: #229ed9;
  box-shadow: 0 12px 22px rgba(34, 158, 217, 0.2);
}

.home-site-footer .support-channel-telegram:hover,
.home-site-footer .support-channel-telegram:focus-visible {
  border-color: rgba(17, 121, 173, 0.34);
  box-shadow: 0 16px 30px rgba(34, 158, 217, 0.3);
}

.home-site-footer .support-channel-whatsapp {
  background: #2cb54c;
  box-shadow: 0 12px 22px rgba(44, 181, 76, 0.18);
}

.home-site-footer .support-channel-whatsapp:hover,
.home-site-footer .support-channel-whatsapp:focus-visible {
  border-color: rgba(22, 147, 54, 0.3);
  box-shadow: 0 16px 30px rgba(44, 181, 76, 0.28);
}

.home-site-footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0 17px;
  border-top: 1px solid rgba(199, 214, 230, 0.72);
  color: #7a899d;
  font-size: 0.7rem;
  font-weight: 650;
}

@media (max-width: 880px) {
  .home-site-footer-inner {
    grid-template-columns: auto auto;
    gap: 18px;
  }

}

@media (max-width: 620px) {
  .home-site-footer {
    margin-top: 32px;
  }

  .home-site-footer-inner,
  .home-site-footer-meta {
    width: min(100% - 40px, 1280px);
  }

  .home-site-footer-inner {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px 0;
  }

  .home-footer-actions,
  .home-site-footer .support-channel-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .home-site-footer .support-channel-btn {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .home-site-footer-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}
