.footer-root {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--fw-white-000) 0%, var(--fw-white-050) 100%);
  border-top: 1px solid var(--fw-white-300);
}

.footer-root::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 220px;
  background:
    repeating-linear-gradient(
      120deg,
      color-mix(in srgb, var(--red-100) 22%, transparent) 0 14px,
      transparent 14px 28px
    );
  opacity: 0.22;
  pointer-events: none;
}

.footer-root::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--red-000) 46%, transparent);
  box-shadow:
    0 0 0 38px color-mix(in srgb, var(--red-000) 14%, transparent),
    0 0 0 76px color-mix(in srgb, var(--red-000) 8%, transparent);
  opacity: 0.34;
  pointer-events: none;
}

.footer-root-shell {
  position: relative;
  z-index: 1;
  border: 1px solid var(--fw-white-250);
  border-radius: 16px;
  background: linear-gradient(165deg, var(--fw-white-050), var(--fw-white-150));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.4);
}

.footer-root-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.footer-root-logo {
  width: 52px;
  height: 52px;
  padding: 5px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--fw-white-250);
  background: var(--fw-white-100);
}

.footer-root-title {
  margin: 0;
  color: var(--fw-black-050);
  font-weight: 700;
  font-size: clamp(1rem, 2.8vw, 1.25rem);
  line-height: 1.2;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer-root-sub {
  margin: 0;
  color: var(--fw-black-450);
  font-size: 13px;
  overflow-wrap: anywhere;
}

@media (max-width: 767.98px) {
  .footer-root-shell {
    border-radius: 12px;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .footer-root-brand {
    align-items: flex-start;
    gap: 10px;
  }

  .footer-root-logo {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
  }

  .footer-root-bottom {
    gap: 4px !important;
  }
}

.footer-root-heading {
  color: var(--red-100);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-root-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--fw-black-350);
  font-size: 14px;
  line-height: 1.8;
}

.footer-root-social-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-root-social-link {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--red-000) 40%, var(--fw-white-350));
  color: var(--red-350) !important;
  background: color-mix(in srgb, var(--red-000) 20%, var(--fw-white-150));
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.footer-root-social-link:hover {
  transform: translateY(-2px);
  color: var(--fw-black-050) !important;
  background: var(--red-000);
}

.footer-root-divider {
  border-top: 1px solid var(--fw-white-250);
  opacity: 1;
}

.footer-root-bottom {
  color: var(--fw-black-500);
  font-size: 12px;
}
