.contact-dialog {
  width: min(420px, calc(100vw - 28px));
  border-radius: 24px;
}

.contact-dialog-card {
  border-radius: 24px;
  padding: 34px;
}

.dialog-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-right: 42px;
  margin-bottom: 24px;
}

.dialog-contact-mark {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 15px 15px 15px 5px;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
  box-shadow: 0 10px 22px rgba(13, 91, 75, .2);
}

.dialog-heading .dialog-eyebrow {
  font-size: 13px;
  letter-spacing: .04em;
  color: #6b7f79;
  margin: 0 0 3px;
}

.dialog-heading h2 {
  font-size: 25px;
  line-height: 1.25;
  margin: 0;
}

.dialog-phone {
  background: #edf6f2;
  border: 1px solid rgba(13, 91, 75, .12);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 0 0 22px;
  font-size: initial;
  font-weight: initial;
  letter-spacing: initial;
}

.dialog-phone span,
.dialog-phone strong {
  display: block;
}

.dialog-phone span {
  font-size: 12px;
  font-weight: 600;
  color: #6c817b;
  margin-bottom: 4px;
}

.dialog-phone strong {
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: .045em;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}

.dialog-actions {
  grid-template-columns: 1fr 78px;
}

.dialog-copy {
  box-shadow: 0 9px 20px rgba(255, 122, 61, .2);
}

.dialog-close {
  right: 16px;
  top: 16px;
  width: 36px;
  height: 36px;
  font-size: 21px;
}

@media (max-width: 560px) {
  .contact-dialog-card {
    padding: 27px 22px 22px;
  }

  .dialog-heading {
    margin-bottom: 20px;
  }

  .dialog-contact-mark {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .dialog-heading h2 {
    font-size: 22px;
  }

  .dialog-phone strong {
    font-size: 27px;
  }

  .dialog-actions {
    grid-template-columns: 1fr 70px;
  }

  .dialog-cancel {
    order: initial;
  }
}

