/* Shared footer logo sizing/centering across panel + frontend pages. */

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.site-footer__logo-frame {
  width: 118px;
  height: 118px;
  margin: 0 auto 0.95rem;
  padding: 0.52rem;
  border-radius: 28px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 24% 22%, rgba(255, 255, 255, 0.42), transparent 54%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow:
    0 16px 28px rgba(7, 27, 51, 0.28),
    inset 0 1px 2px rgba(255, 255, 255, 0.55);
}

.site-footer__logo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  border-radius: 20px;
  padding: 0.36rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.66),
    0 8px 16px rgba(9, 28, 52, 0.2);
}

body.cweb-product-body .site-footer {
  --footer-left: #0b1d3a !important;
  --footer-right: #0d5bff !important;
  --footer-hover: #00b39e !important;
  margin-top: 1.25rem;
  padding: 2rem 1rem;
  color: #ffffff;
  background:
    radial-gradient(circle at 20% 0%, rgba(0, 179, 158, 0.18), transparent 28%),
    linear-gradient(120deg, #0b1d3a 0%, #0d5bff 100%);
}

body.cweb-product-body .site-footer__inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

body.cweb-product-body .site-footer__title {
  margin: 0.25rem 0 0;
  color: #ffffff;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-weight: 800;
}

body.cweb-product-body .site-footer__meta {
  margin: 0.38rem 0 0;
  color: rgba(255, 255, 255, 0.82);
}

body.cweb-product-body .site-footer__meta a {
  color: inherit;
}

body.cweb-product-body .site-footer__social {
  margin-top: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

body.cweb-product-body .site-footer__icon {
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: transform 0.2s ease, background 0.2s ease;
}

body.cweb-product-body .site-footer__icon:hover {
  transform: translateY(-2px);
  background: rgba(0, 179, 158, 0.82);
}

body.cweb-product-body .site-footer__legal {
  margin-top: 1.05rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  line-height: 1.6;
}

body.cweb-product-body .site-footer__legal p {
  margin: 0.2rem 0 0;
}

body.cweb-product-body .site-footer__logo-frame--product {
  width: min(260px, 76vw) !important;
  height: 82px !important;
  min-width: 0 !important;
  max-width: 260px !important;
  padding: 0.25rem 0.6rem;
  border-radius: 18px;
  background: #ffffff;
  border-color: rgba(229, 231, 235, 0.82);
  box-shadow: 0 16px 34px rgba(11, 29, 58, 0.16);
}

body.cweb-product-body .site-footer__logo--product {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.site-footer__meta a {
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.site-footer__meta a:hover {
  opacity: 0.9;
}

.site-footer__meta a.is-copied {
  font-weight: 700;
  opacity: 1;
}

@media (max-width: 640px) {
  .site-footer__logo-frame {
    width: 102px;
    height: 102px;
    border-radius: 24px;
  }
}
