/* MTF UIUX overrides - loaded after the Vite bundle so it survives rebuilds.
   Targets stable Tailwind utility class names (active-scroll, w-full, bg-cream).
   Fix (2026-07-16): the service-card CTA ("Vaelg tid for opmaling") was rendered
   inside the card's inner scroll container, so on desktop it was pushed below the
   scroll fold and the user had to scroll to find it. Pin it as an always-visible
   full-width footer at the bottom of the card. */
.active-scroll > div > .w-full > a[class*="bg-cream"],
.active-scroll > div > .w-full > button[class*="bg-cream"] {
  position: sticky !important;
  bottom: 2px;
  z-index: 5;
  display: flex !important;
  width: 100%;
  justify-content: center;
  box-shadow: 0 -14px 18px -6px rgba(6, 28, 28, 0.95);
}

/* Fix (2026-08-01): callback modal ("Bestil et opkald") field labels were 9px
   at 45% ink + placeholders at 25% — too faint to see what to type. Boost
   legibility, scoped to the dialog so the dark group-inquiry form is untouched.
   Lives here (not the Vite bundle) so Philip's rebuilds keep it. */
[role="dialog"][aria-label="Bestil opkald"] label > span {
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
  color: rgba(6, 28, 28, 0.96) !important;
}
[role="dialog"][aria-label="Bestil opkald"] label > span > span {
  color: rgba(6, 28, 28, 0.55) !important;
  font-weight: 400 !important;
}
[role="dialog"][aria-label="Bestil opkald"] input {
  font-size: 16px !important;
  border-bottom-width: 1px !important;
  border-bottom-color: rgba(6, 28, 28, 0.18) !important;
}
[role="dialog"][aria-label="Bestil opkald"] input::placeholder {
  color: rgba(6, 28, 28, 0.62) !important;
}
/* Eyebrow "TELEFONOPKALD" was text-sage + font-light = near-invisible on cream.
   Darken + weight it so the section header actually reads. */
[role="dialog"][aria-label="Bestil opkald"] form > p:first-of-type {
  font-size: 11px !important;
  letter-spacing: 0.26em !important;
  font-weight: 500 !important;
  color: rgba(6, 28, 28, 0.7) !important;
}
