.lipous-contact-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  margin: .5rem;
  padding: 0;
  color: #fafafa;
  background: transparent;
  border: 2px solid #5de0b5;
  border-radius: 50%;
  cursor: pointer;
  transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.lipous-contact-trigger:hover,
.lipous-contact-trigger:focus-visible {
  color: #10221d;
  background: #5de0b5;
  transform: translateY(-2px);
  outline: none;
}

.lipous-contact-trigger svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.lipous-contact-modal[hidden] {
  display: none;
}

.lipous-contact-modal {
  position: fixed;
  z-index: 10050;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(10, 20, 18, .78);
}

.lipous-contact-dialog {
  position: relative;
  width: min(100%, 560px);
  max-height: min(780px, calc(100vh - 44px));
  overflow: auto;
  padding: 42px;
  color: #f7faf8;
  background: #172a25;
  border-top: 4px solid #5de0b5;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .42);
}

.lipous-contact-eyebrow {
  margin: 0 0 10px;
  color: #5de0b5;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.lipous-contact-dialog h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.08;
}

.lipous-contact-intro {
  margin: 14px 34px 26px 0;
  color: rgba(255, 255, 255, .82);
  line-height: 1.5;
}

.lipous-contact-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 38px;
  height: 38px;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 50%;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
}

.lipous-contact-close:hover,
.lipous-contact-close:focus-visible {
  color: #10221d;
  background: #5de0b5;
  border-color: #5de0b5;
  outline: none;
}

.lipous-contact-field {
  display: grid;
  gap: 7px;
  margin: 0 0 16px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.lipous-contact-field input,
.lipous-contact-field textarea {
  width: 100%;
  padding: 12px 13px;
  color: #15241f;
  background: #fff;
  border: 1px solid transparent;
  border-radius: 0;
  font: inherit;
  font-weight: 400;
}

.lipous-contact-field textarea {
  min-height: 130px;
  resize: vertical;
}

.lipous-contact-field input:focus,
.lipous-contact-field textarea:focus {
  border-color: #5de0b5;
  outline: 3px solid rgba(93, 224, 181, .24);
}

.lipous-contact-submit {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  color: #10221d;
  background: #5de0b5;
  border: 0;
  font: inherit;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
  cursor: pointer;
}

.lipous-contact-submit:hover,
.lipous-contact-submit:focus-visible {
  color: #fff;
  background: #319a78;
  outline: none;
}

.lipous-contact-submit:disabled {
  cursor: wait;
  opacity: .72;
}

.lipous-contact-status {
  min-height: 22px;
  margin: 16px 0 0;
  color: #fff;
  line-height: 1.4;
}

.lipous-contact-status.is-success { color: #8af0cc; }
.lipous-contact-status.is-error { color: #ffb7aa; }

.lipous-contact-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
}

body.lipous-contact-open { overflow: hidden; }

.guide-footer .lipous-contact-trigger {
  margin: 0;
  vertical-align: middle;
}

@media (max-width: 575px) {
  .lipous-contact-dialog { padding: 34px 22px 28px; }
}
