.bloom-site-footer {
  --bow-footer-bg: var(--b-shell-footer-bg, var(--b-color-secondary, #111827));
  --bow-footer-surface: color-mix(in srgb, var(--bow-footer-bg) 88%, white 12%);
  --bow-footer-text: var(--b-shell-footer-text, #f8fafc);
  --bow-footer-muted: var(--b-shell-footer-muted, #cbd5e1);
  --bow-footer-line: color-mix(in srgb, var(--bow-footer-text) 15%, transparent);
  --bow-footer-accent: var(--b-brand-main, var(--b-color-primary, #6366f1));
  --bow-footer-accent-alt: var(--b-brand-accent, var(--b-color-accent, #06b6d4));
  --bow-footer-radius: var(--b-ui-radius, var(--b-radius-l, 1rem));
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  margin: 0;
  background:
    radial-gradient(circle at 12% 18%, color-mix(in srgb, var(--bow-footer-accent) 20%, transparent), transparent 30rem),
    radial-gradient(circle at 88% 8%, color-mix(in srgb, var(--bow-footer-accent-alt) 16%, transparent), transparent 32rem),
    var(--bow-footer-bg);
  color: var(--bow-footer-text);
  font: inherit;
}

.bloom-site-footer[data-bloom-theme="light"] {
  --bow-footer-bg: var(--b-ui-bg, #f8fafc);
  --bow-footer-surface: var(--b-ui-panel, #ffffff);
  --bow-footer-text: var(--b-copy-main, #111827);
  --bow-footer-muted: var(--b-copy-muted, #475569);
  --bow-footer-line: var(--b-ui-border, #dbe1ea);
}

.bloom-site-footer[data-bloom-theme="dark"] {
  --bow-footer-bg: var(--b-shell-footer-bg-dark, #111827);
  --bow-footer-surface: #1f2937;
  --bow-footer-text: #f8fafc;
  --bow-footer-muted: #cbd5e1;
  --bow-footer-line: rgba(248, 250, 252, .14);
}

.bloom-site-footer,
.bloom-site-footer * { box-sizing: border-box; }
.bloom-site-footer a { text-decoration: none; }
.bloom-site-footer ul { list-style: none; margin: 0; padding: 0; }
.bloom-site-footer button { font: inherit; }

.bloom-site-footer__watermark {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  color: var(--bow-footer-text);
  font-size: clamp(5rem, 15vw, 15rem);
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1;
  opacity: .025;
  white-space: nowrap;
  pointer-events: none;
}

.bloom-site-footer__inner,
.bloom-site-footer__bottom-inner {
  width: min(100% - 2rem, var(--b-container-l, 80rem));
  margin-inline: auto;
}

.bloom-site-footer__inner {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(150px, .75fr)) minmax(220px, 1fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

.bloom-site-footer__brand,
.bloom-site-footer__nav,
.bloom-site-footer__contact { min-width: 0; }

.bloom-site-footer__brand-link {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  color: var(--bow-footer-text);
}

.bloom-site-footer__logo,
.bloom-site-footer__mark {
  width: 3.25rem;
  height: 3.25rem;
  display: inline-grid;
  place-items: center;
  flex: 0 0 3.25rem;
  overflow: hidden;
  border-radius: 999rem;
  background: linear-gradient(135deg, var(--bow-footer-accent), var(--bow-footer-accent-alt));
  color: #fff;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255,255,255,.22);
  font-size: 1.35rem;
  font-weight: 850;
}

.bloom-site-footer__logo img { width: 100%; height: 100%; object-fit: contain; background: rgba(255,255,255,.96); }
.bloom-site-footer__brand-copy { display: grid; line-height: 1.08; }
.bloom-site-footer__brand-copy strong { color: var(--bow-footer-text); font-size: 1.35rem; font-weight: 800; }
.bloom-site-footer__brand-copy small { margin-top: .25rem; color: var(--bow-footer-muted); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.bloom-site-footer__brand > p { max-width: 34rem; margin: 1.35rem 0 0; color: var(--bow-footer-muted); line-height: 1.75; }

.bloom-site-footer h2 {
  margin: 0 0 1rem;
  color: var(--bow-footer-text);
  font-size: 1.1rem;
  line-height: 1.2;
}

.bloom-site-footer__menu li + li { margin-top: .65rem; }
.bloom-site-footer__menu ul { margin-top: .45rem; padding-left: .85rem; }
.bloom-site-footer__menu a,
.bloom-site-footer__social a,
.bloom-site-footer__contact a { color: var(--bow-footer-muted); }
.bloom-site-footer__menu a:hover,
.bloom-site-footer__menu a:focus-visible,
.bloom-site-footer__social a:hover,
.bloom-site-footer__social a:focus-visible,
.bloom-site-footer__contact a:hover,
.bloom-site-footer__contact a:focus-visible { color: var(--bow-footer-text); }

.bloom-site-footer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.15rem;
  padding: .82rem 1.1rem;
  border: 1px solid var(--bow-footer-line);
  border-radius: 999rem;
  background: color-mix(in srgb, var(--bow-footer-text) 10%, transparent);
  color: var(--bow-footer-text);
  font-weight: 800;
  transition: transform .2s ease, background-color .2s ease;
}
.bloom-site-footer__cta:hover,
.bloom-site-footer__cta:focus-visible { transform: translateY(-2px); background: color-mix(in srgb, var(--bow-footer-text) 16%, transparent); }

.bloom-site-footer__social { display: flex; flex-wrap: wrap; gap: .55rem .9rem; margin-top: 1.25rem; }
.bloom-site-footer__social a { font-size: .86rem; font-weight: 700; }

.bloom-site-footer__contact address { display: grid; gap: .65rem; color: var(--bow-footer-muted); font-style: normal; line-height: 1.55; }
.bloom-site-footer__contact address strong { color: var(--bow-footer-text); }
.bloom-site-footer__contact-row { display: grid; gap: .45rem; }
.bloom-site-footer__contact-row button {
  justify-self: start;
  padding: .55rem .8rem;
  border: 1px solid var(--bow-footer-line);
  border-radius: .7rem;
  background: color-mix(in srgb, var(--bow-footer-text) 9%, transparent);
  color: var(--bow-footer-text);
  cursor: pointer;
  font-size: .86rem;
  font-weight: 750;
}
.bloom-site-footer__contact-row button:hover,
.bloom-site-footer__contact-row button:focus-visible { background: color-mix(in srgb, var(--bow-footer-text) 15%, transparent); }

.bloom-site-footer__bottom { border-top: 1px solid var(--bow-footer-line); background: color-mix(in srgb, var(--bow-footer-bg) 90%, black 10%); }
.bloom-site-footer__bottom-inner { display: flex; justify-content: space-between; gap: 2rem; align-items: flex-start; padding-block: 1.25rem; }
.bloom-site-footer__bottom p { margin: 0; }
.bloom-site-footer__copyright { color: var(--bow-footer-text); font-weight: 700; }
.bloom-site-footer__notice { margin-top: .35rem !important; color: var(--bow-footer-muted); font-size: .86rem; }
.bloom-site-footer__legal { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .45rem 1rem; }
.bloom-site-footer__legal a,
.bloom-site-footer__legal button {
  appearance: none;
  padding: .2rem 0;
  border: 0;
  background: transparent;
  color: var(--bow-footer-muted);
  cursor: pointer;
  font: inherit;
  font-size: .86rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .18em;
}
.bloom-site-footer__legal a:hover,
.bloom-site-footer__legal a:focus-visible,
.bloom-site-footer__legal button:hover,
.bloom-site-footer__legal button:focus-visible { color: var(--bow-footer-text); }

.bloom-site-footer a:focus-visible,
.bloom-site-footer button:focus-visible { outline: 2px solid var(--bow-footer-accent-alt); outline-offset: 3px; }

@media (max-width: 1180px) {
  .bloom-site-footer__inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bloom-site-footer__brand { grid-column: span 2; }
}

@media (max-width: 760px) {
  .bloom-site-footer__inner { grid-template-columns: 1fr; }
  .bloom-site-footer__brand { grid-column: auto; }
  .bloom-site-footer__bottom-inner { flex-direction: column; }
  .bloom-site-footer__legal { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .bloom-site-footer *,
  .bloom-site-footer *::before,
  .bloom-site-footer *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
