.hm-line-consult {
  position: fixed;
  z-index: 90;
  right: 22px;
  bottom: 22px;
  width: min(430px, calc(100vw - 44px));
  margin: 0;
}

.hm-line-consult__link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 70px;
  padding: 11px 18px 11px 12px;
  color: #103541;
  background: #9bea00;
  border: 3px solid #103541;
  box-shadow: 7px 7px 0 #103541;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

.hm-line-consult__link:hover,
.hm-line-consult__link:focus-visible {
  color: #103541;
  transform: translate(-2px, -2px);
  box-shadow: 9px 9px 0 #103541;
}

.hm-line-consult__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 3px solid #103541;
  border-radius: 50%;
  color: #fff;
  background: #06c755;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: -.03em;
}

.hm-line-consult__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.25;
}

.hm-line-consult__copy strong {
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 900;
  letter-spacing: .02em;
}

.hm-line-consult__copy small {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
}

.hm-line-consult__arrow {
  font-size: 26px;
  font-weight: 900;
}

body.hm-line-consult-visible {
  padding-bottom: 102px;
}

@media (max-width: 782px) {
  .hm-line-consult {
    right: 10px;
    bottom: calc(88px + env(safe-area-inset-bottom));
    left: 10px;
    width: auto;
  }

  .hm-line-consult__link {
    min-height: 62px;
    gap: 10px;
    padding: 8px 13px 8px 9px;
    box-shadow: 5px 5px 0 #103541;
  }

  .hm-line-consult__icon {
    width: 42px;
    height: 42px;
    font-size: 10px;
  }

  .hm-line-consult__copy strong { font-size: 18px; }
  .hm-line-consult__copy small { font-size: 10px; }
  .hm-line-consult__arrow { font-size: 22px; }

  body.hm-line-consult-visible {
    padding-bottom: calc(180px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 380px) {
  .hm-line-consult__copy small { display: none; }
}

