.jg-web-offer,
.jg-contact-bar,
.jg-offer-dialog {
  --jg-ivory: #f7f3ec;
  --jg-ink: #26221c;
  --jg-muted: #665e54;
  --jg-gold: #9a7440;
  --jg-line: rgba(38, 34, 28, .16);
  font-family: "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.jg-web-offer-mount {
  min-height: 172px;
  background: #f7f3ec;
}

.jg-web-offer-mount > .jg-web-offer {
  display: flex;
  align-items: center;
  min-height: inherit;
  box-sizing: border-box;
}

.jg-web-offer {
  position: relative;
  z-index: 2;
  padding: 24px;
  color: var(--jg-ink);
  background: var(--jg-ivory);
  border-top: 1px solid var(--jg-line);
  border-bottom: 1px solid var(--jg-line);
}

.jg-web-offer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  width: min(1160px, 100%);
  margin: 0 auto;
}

.jg-web-offer-eyebrow {
  margin: 0 0 6px;
  color: var(--jg-gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.jg-web-offer h2 {
  margin: 0;
  color: var(--jg-ink);
  font-family: "Zodiak", Georgia, serif;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.08;
}

.jg-web-offer-copy {
  max-width: 760px;
  margin: 9px 0 0;
  color: var(--jg-muted);
  font-size: 15px;
  line-height: 1.55;
}

.jg-web-offer-button,
.jg-offer-submit {
  min-height: 48px;
  padding: 13px 20px;
  color: #fff;
  background: var(--jg-ink);
  border: 1px solid var(--jg-ink);
  border-radius: 2px;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.25;
  text-transform: uppercase;
  cursor: pointer;
}

.jg-web-offer-button:hover,
.jg-web-offer-button:focus-visible,
.jg-offer-submit:hover,
.jg-offer-submit:focus-visible {
  color: var(--jg-ink);
  background: #fff;
}

.jg-offer-dialog {
  width: min(620px, calc(100% - 28px));
  max-height: calc(100vh - 28px);
  margin: auto;
  padding: 0;
  color: var(--jg-ink);
  background: var(--jg-ivory);
  border: 1px solid rgba(38, 34, 28, .22);
  border-radius: 4px;
  box-shadow: 0 24px 80px rgba(18, 15, 11, .28);
  overflow: auto;
}

.jg-offer-dialog::backdrop {
  background: rgba(20, 17, 13, .72);
  backdrop-filter: blur(3px);
}

.jg-offer-dialog-inner {
  position: relative;
  padding: clamp(24px, 5vw, 44px);
}

.jg-offer-close {
  position: absolute;
  top: 13px;
  right: 13px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--jg-ink);
  background: transparent;
  border: 1px solid var(--jg-line);
  border-radius: 50%;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.jg-offer-dialog h2 {
  max-width: 500px;
  margin: 5px 42px 10px 0;
  font-family: "Zodiak", Georgia, serif;
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 400;
  line-height: 1.06;
}

.jg-offer-intro,
.jg-offer-terms,
.jg-offer-privacy {
  color: var(--jg-muted);
  line-height: 1.55;
}

.jg-offer-intro { margin: 0 0 22px; font-size: 15px; }
.jg-offer-terms { margin: 14px 0 0; font-size: 11px; }
.jg-offer-privacy { margin: 10px 0 0; font-size: 12px; }
.jg-offer-privacy a { color: inherit; text-decoration: underline; }

.jg-offer-form {
  display: grid;
  gap: 15px;
}

.jg-offer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.jg-offer-field { display: grid; gap: 6px; }
.jg-offer-field-full { grid-column: 1 / -1; }
.jg-offer-field label {
  color: var(--jg-ink);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .04em;
}

.jg-offer-field input {
  width: 100%;
  min-height: 47px;
  box-sizing: border-box;
  padding: 11px 12px;
  color: var(--jg-ink);
  background: #fff;
  border: 1px solid rgba(38, 34, 28, .28);
  border-radius: 2px;
  font: inherit;
  font-size: 16px;
}

.jg-offer-field input:focus {
  outline: 3px solid rgba(154, 116, 64, .25);
  outline-offset: 1px;
  border-color: var(--jg-gold);
}

.jg-offer-status {
  min-height: 24px;
  margin: 0;
  color: var(--jg-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.jg-offer-status[data-state="success"] { color: #2f6848; }
.jg-offer-status[data-state="error"] { color: #943c32; }

.jg-contact-bar {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 10020;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 6px;
  padding: 6px;
  background: rgba(247, 243, 236, .97);
  border: 1px solid rgba(38, 34, 28, .18);
  border-radius: 3px;
  box-shadow: 0 12px 38px rgba(18, 15, 11, .2);
}

.jg-contact-action {
  display: grid;
  place-items: center;
  min-width: 86px;
  min-height: 43px;
  padding: 8px 12px;
  color: var(--jg-ink);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .07em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.jg-contact-action:hover,
.jg-contact-action:focus-visible {
  background: #fff;
  border-color: var(--jg-line);
}

.jg-contact-action:last-child {
  color: #fff;
  background: var(--jg-ink);
}

@media (max-width: 720px) {
  body[data-jg-web-offer="buyer"] .jg-web-offer-mount { min-height: 268px; }
  body[data-jg-web-offer="seller"] .jg-web-offer-mount { min-height: 243px; }
  body.jg-has-contact-bar { padding-bottom: 70px !important; }
  .jg-web-offer { padding: 23px 18px; }
  .jg-web-offer-inner { grid-template-columns: 1fr; gap: 17px; }
  .jg-web-offer-button { width: 100%; }
  .jg-offer-grid { grid-template-columns: 1fr; }
  .jg-offer-field-full { grid-column: auto; }
  .jg-contact-bar {
    right: 0;
    bottom: 0;
    left: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding: 5px max(5px, env(safe-area-inset-right)) calc(5px + env(safe-area-inset-bottom)) max(5px, env(safe-area-inset-left));
    border-width: 1px 0 0;
    border-radius: 0;
  }
  .jg-contact-action {
    min-width: 0;
    min-height: 48px;
    padding: 8px 4px;
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jg-web-offer-button,
  .jg-offer-submit,
  .jg-contact-action { transition: none !important; }
}
