/* ─── Norrma Footer ───────────────────────────────────────────────────────── */

.wp-site-blocks > .wp-block-template-part:last-child {
  margin-block-start: 0 !important;
}

#norrma-footer.wp-block-group {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

#norrma-footer {
  background: #11111A;
  color: #EAE8E4;
  border-top: 1px solid rgba(234, 232, 228, 0.16);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 96px 32px 40px;
}

.footer-column a.footer-brand-link {
  display: inline-block;
  width: fit-content;
  text-decoration: none;
  line-height: 0;
}

.footer-brand-logo {
  display: block;
  width: auto;
  height: clamp(48px, 5vw, 60px);
}

.footer-column a.footer-brand-link:hover {
  opacity: 0.85;
}

.footer-tagline {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9898B0;
}

.footer-blurb {
  max-width: 320px;
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: #EAE8E4 !important;
}

.footer-nav {
  display: grid;
  grid-template-columns: minmax(280px, 1.35fr) repeat(3, minmax(140px, 1fr));
  gap: 32px;
  padding: 0 0 72px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-brand-column {
  gap: 18px;
}

.footer-links-column {
  padding-top: 8px;
}

.footer-column h2 {
  margin: 0 0 8px;
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #EAE8E4;
}

.footer-column a {
  width: fit-content;
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: #EAE8E4;
  text-decoration: none;
  transition: color 240ms ease;
}

.footer-column a:hover {
  color: #43C7F4;
}

.footer-address {
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: rgba(234, 232, 228, 0.5);
}

.footer-contact-link {
  margin-top: 8px;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.07em !important;
  text-transform: uppercase;
  color: #43C7F4 !important;
}

.footer-contact-link:hover {
  color: #F7F6F2 !important;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(234, 232, 228, 0.16);
}

.footer-bottom p,
.footer-legal a {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #EAE8E4;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 12px 12px;
}

.footer-legal a {
  text-decoration: none;
  transition: color 240ms ease;
}

.footer-legal a:hover {
  color: #43C7F4;
}

.back-to-top {
  position: fixed;
  right: 32px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  color: #F7F6F2;
  opacity: 0;
  pointer-events: none;
  z-index: 90;
  transition:
    opacity 180ms ease,
    color 180ms ease,
    transform 180ms ease;
  cursor: pointer;
  background: transparent;
  border: 0;
  white-space: nowrap;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  color: #43C7F4;
}

.back-to-top:focus-visible {
  outline: 2px solid #43C7F4;
  outline-offset: 4px;
}

.back-to-top-glyph {
  display: block;
  font-family: 'Manrope', 'Segoe UI Symbol', 'Noto Sans Symbols 2', sans-serif;
  font-size: 18px;
  line-height: 1;
  font-weight: 400;
  transform: translateY(-1px);
}

@media (max-width: 1023px) {
  .footer-inner {
    padding: 72px 24px 36px;
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding-bottom: 56px;
  }

  .footer-brand-column {
    grid-column: 1 / -1;
    max-width: 560px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
  }

  .footer-legal {
    justify-content: flex-start;
  }

  .back-to-top {
    right: 24px;
    bottom: 20px;
  }
}

@media (max-width: 767px) {
  .footer-inner {
    padding: 64px 20px 32px;
  }

  .footer-brand-link {
    line-height: 0;
  }

  .footer-brand-logo {
    height: 56px;
  }

  .footer-tagline {
    font-size: 20px;
  }

  .footer-nav {
    grid-template-columns: 1fr;
  }

  .back-to-top-glyph {
    font-size: 16px;
  }
}
