.jz-contact-dock {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: "Manrope", "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.jz-contact-action {
  min-width: 148px;
  height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid rgba(15, 128, 120, .18);
  border-radius: 14px;
  background: rgba(255, 255, 255, .96);
  color: #172033;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .14);
  cursor: pointer;
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
  line-height: 1;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: inherit;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.jz-phone-dialog { width: min(100%, 430px); text-align: center; }
.jz-phone-dialog .jz-contact-title { margin-right: 0; }
.jz-phone-number {
  margin: 18px 0 8px;
  color: #0f8078;
  font-size: clamp(28px, 7vw, 40px);
  font-weight: 800;
  letter-spacing: .04em;
}

.jz-contact-action:hover {
  color: #0f8078;
  border-color: rgba(15, 128, 120, .45);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, .18);
}

.jz-contact-action--whatsapp {
  background: #18a866;
  border-color: #18a866;
  color: #fff;
}

.jz-contact-action--whatsapp:hover {
  color: #fff;
  border-color: #118950;
  background: #118f57;
}

.jz-contact-icon {
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(15, 128, 120, .09);
  font-size: 15px;
}

.jz-contact-action--whatsapp .jz-contact-icon {
  background: rgba(255, 255, 255, .16);
}

.jz-contact-modal[hidden] { display: none !important; }

.jz-contact-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 20px;
  font-family: "Manrope", "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.jz-contact-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 8, 16, .68);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.jz-contact-dialog {
  position: relative;
  width: min(100%, 560px);
  max-height: min(92vh, 780px);
  overflow: auto;
  padding: 30px;
  border: 1px solid #e4e8ee;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(3, 8, 16, .3);
  color: #172033;
}

.jz-contact-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #e4e8ee;
  border-radius: 50%;
  background: #fff;
  color: #667085;
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
}

.jz-contact-eyebrow {
  margin-bottom: 8px;
  color: #0f8078;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 2px;
}

.jz-contact-title {
  margin: 0 40px 8px 0;
  color: #111827;
  font-size: 26px;
  line-height: 1.3;
}

.jz-contact-intro {
  margin: 0 0 24px;
  color: #667085;
  font-size: 14px;
  line-height: 1.75;
}

.jz-contact-field { margin-bottom: 18px; }

.jz-contact-label,
.jz-contact-legend {
  display: block;
  margin-bottom: 8px;
  color: #344054;
  font-size: 13px;
  font-weight: 700;
}

.jz-contact-required { color: #d92d20; }

.jz-contact-input,
.jz-contact-select,
.jz-contact-textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d8dee7;
  border-radius: 11px;
  background: #fff;
  color: #172033;
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.jz-contact-input,
.jz-contact-select { height: 46px; padding: 0 13px; }
.jz-contact-textarea { min-height: 86px; padding: 12px 13px; resize: vertical; }

.jz-contact-input:focus,
.jz-contact-select:focus,
.jz-contact-textarea:focus {
  border-color: #0f8078;
  box-shadow: 0 0 0 3px rgba(15, 128, 120, .11);
}

.jz-contact-goals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.jz-contact-goal {
  position: relative;
}

.jz-contact-goal input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.jz-contact-goal span {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border: 1px solid #dfe5ec;
  border-radius: 10px;
  color: #596476;
  font-size: 13px;
  cursor: pointer;
}

.jz-contact-goal input:checked + span {
  border-color: #0f8078;
  background: rgba(15, 128, 120, .07);
  color: #0f8078;
  font-weight: 700;
}

.jz-contact-submit {
  width: 100%;
  min-height: 49px;
  border: 0;
  border-radius: 12px;
  background: #0f8078;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 750;
  cursor: pointer;
}

.jz-contact-submit:hover { background: #0b6e68; }

.jz-contact-note {
  margin: 10px 0 0;
  color: #98a2b3;
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
}

body.jz-contact-modal-open { overflow: hidden; }

@media (max-width: 640px) {
  .jz-contact-dock {
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 10px;
    flex-direction: row;
    gap: 7px;
  }
  .jz-contact-action {
    min-width: 0;
    height: 50px;
    flex: 1 1 0;
    justify-content: center;
    padding: 0 8px;
    border-radius: 13px;
    font-size: 12px;
  }
  .jz-contact-icon { width: 24px; height: 24px; flex-basis: 24px; font-size: 13px; }
  .jz-contact-dialog { padding: 26px 20px 22px; border-radius: 18px; }
  .jz-contact-title { font-size: 23px; }
  .jz-contact-goals { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .jz-contact-action { transition: none; }
}
