/* Bottom-right inquire FAB (above .st-back-top) */

.st-home-brief-fab {
  --hb-ink: #212121;
  --hb-gold: #CFB080;
  --hb-gold-hover: #c0a06e;
  position: fixed;
  right: 20px;
  bottom: 148px;
  z-index: 1700;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

.st-home-brief-fab__btn {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  min-height: 56px;
  padding: 0;
  box-sizing: border-box;
  background: var(--hb-gold);
  color: #fff !important;
  text-decoration: none !important;
  text-align: center;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06), 0 2px 16px rgba(0, 0, 0, 0.12);
  transition: background 0.15s ease, transform 0.15s ease;
}

.st-home-brief-fab__btn:hover,
.st-home-brief-fab__btn:focus-visible {
  background: var(--hb-gold-hover);
  color: #fff !important;
  transform: scale(1.05);
}

.st-home-brief-fab__btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.st-home-brief-fab__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  flex-shrink: 0;
  color: #fff;
}

.st-home-brief-fab__icon svg {
  width: 26px;
  height: 26px;
  display: block;
}

.st-home-brief-fab__text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Modal shell */
.st-home-brief-modal {
  position: fixed;
  inset: 0;
  z-index: 1800;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.st-home-brief-modal[hidden] {
  display: none !important;
}

.st-home-brief-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 24, 28, 0.48);
}

.st-home-brief-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  max-height: min(92vh, 760px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  color: #212121;
  border: 1px solid #e4e4e0;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
  padding: 22px 20px 20px;
  box-sizing: border-box;
}

.st-home-brief-modal__close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: 0;
  background: transparent;
  font-size: 1.75rem;
  line-height: 1;
  color: #607d8b;
  cursor: pointer;
  padding: 4px 8px;
}

.st-home-brief-modal__close:focus-visible {
  outline: 2px solid #212121;
  outline-offset: 2px;
}

.st-home-brief__title {
  margin: 0 28px 0.65rem 0;
  font-family: var(--font-display, Marcellus, Georgia, serif);
  font-weight: 400;
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  line-height: 1.2;
  color: #212121;
}

.st-home-brief__lead {
  margin: 0 0 1rem;
  font-size: 12pt;
  line-height: 1.5;
  color: #5c5c58;
}

.st-home-brief__panel {
  background: #f7f7f5;
  border: 1px solid #e4e4e0;
  padding: 14px;
}

.st-home-brief__form-title {
  margin: 0 0 0.3rem;
  font-family: var(--font-display, Marcellus, Georgia, serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: #212121;
}

.st-home-brief__form-note {
  margin: 0 0 1rem;
  font-size: 12pt;
  line-height: 1.45;
  color: #5c5c58;
}

.st-home-brief__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.st-home-brief__form .fv-hidden-submit {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
  padding: 0 !important;
  margin: -1px !important;
}

.st-home-brief__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12pt;
  font-weight: 600;
  color: #212121;
}

.st-home-brief__field input,
.st-home-brief__field select {
  font-weight: 400;
  font-size: 1rem;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #cfd8dc;
  border-radius: 2px;
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  color: #212121;
}

.st-home-brief__field input:focus-visible,
.st-home-brief__field select:focus-visible,
.st-home-brief__submit:focus-visible {
  outline: 2px solid #212121;
  outline-offset: 2px;
}

.st-home-brief__field input[aria-invalid="true"],
.st-home-brief__field select[aria-invalid="true"] {
  border-color: #b71c1c;
  box-shadow: inset 0 0 0 1px #b71c1c;
}

.st-home-brief__hint {
  font-weight: 400;
  font-size: 12pt;
  color: #5c5c58;
}

.st-home-brief__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 2px;
  padding: 12px 18px;
  border: 0;
  background: #212121;
  color: #fff;
  font-size: 12pt;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
}

.st-home-brief__submit:hover {
  background: #000;
}

.st-home-brief__submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

.st-home-brief__privacy {
  margin: 12px 0 0;
  font-size: 12pt;
  line-height: 1.45;
  color: #78909c;
}

.st-home-brief__status {
  margin: 0 0 8px;
  min-height: 1.25em;
  font-size: 12pt;
  line-height: 1.45;
}

.st-home-brief__status--ok {
  color: #1b5e20;
}

.st-home-brief__status--err {
  color: #b71c1c;
}

.st-home-brief__fallback {
  margin: 0.35rem 0 0;
  font-size: 12pt;
  color: #5c5c58;
}

.st-home-brief__fallback-plain {
  color: #212121;
  font-weight: inherit;
  text-decoration: none;
}

.st-home-brief__fallback-plain:hover,
.st-home-brief__fallback-plain:focus-visible {
  color: #000;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.st-home-brief__fallback-link {
  color: #212121;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color 0.15s ease, text-decoration-thickness 0.15s ease;
}

.st-home-brief__fallback-link:hover,
.st-home-brief__fallback-link:focus-visible {
  color: #000;
  text-decoration-thickness: 2.5px;
}

.st-home-brief__fallback-link:focus-visible,
.st-home-brief__fallback-plain:focus-visible {
  outline: 2px solid #212121;
  outline-offset: 2px;
}

html.st-home-brief-open,
body.st-home-brief-open {
  overflow: hidden;
}

@media (max-width: 767.98px) {
  .st-home-brief-fab {
    right: 14px;
    bottom: 138px;
  }

  .st-home-brief-fab__btn {
    width: 50px;
    height: 50px;
    min-height: 50px;
  }

  .st-home-brief-fab__icon svg {
    width: 24px;
    height: 24px;
  }

  .st-home-brief-modal {
    align-items: flex-end;
    padding: 0;
  }

  .st-home-brief-modal__panel {
    width: 100%;
    max-height: 92vh;
    border-radius: 14px 14px 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .st-home-brief-fab__btn {
    transition: none;
  }
}
