.c-fixed-consultation-cta {
  display: none;
}

@media (max-width: 760px) {
  .has-fixed-consultation-cta .site-footer {
    padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px));
  }

  .c-fixed-consultation-cta {
    position: fixed;
    z-index: 70;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(to top, rgba(255, 253, 248, 0.98), rgba(255, 253, 248, 0.9));
    box-shadow: 0 -8px 22px rgba(23, 40, 79, 0.11);
  }

  .c-fixed-consultation-cta__panel {
    width: min(100%, 520px);
    margin-inline: auto;
  }

  .c-fixed-consultation-cta__label {
    margin: 0 0 5px;
    color: #596574;
    font-size: 0.69rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-align: center;
  }

  .c-fixed-consultation-cta__routes {
    display: grid;
    grid-template-columns: repeat(var(--fixed-consultation-route-count), minmax(0, 1fr));
    gap: 6px;
  }

  .c-fixed-consultation-cta__route {
    display: inline-flex;
    min-width: 0;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 7px 4px;
    border: 1px solid rgba(23, 40, 79, 0.16);
    border-radius: 9px;
    color: #253043;
    background: #fff;
    font-size: clamp(0.7rem, 3.1vw, 0.82rem);
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
  }

  .c-fixed-consultation-cta__route .tkg-icon {
    width: 1em;
    height: 1em;
    flex: 0 0 auto;
  }

  .c-fixed-consultation-cta__route--form {
    border-color: rgba(191, 70, 81, 0.45);
    color: #9e3545;
    background: #fff8f6;
  }

  .c-fixed-consultation-cta__route--phone {
    color: #17315f;
    background: #f7faff;
  }

  .c-fixed-consultation-cta__route--line {
    border-color: rgba(32, 142, 72, 0.32);
    color: #176c38;
    background: #f6fcf7;
  }

  .c-fixed-consultation-cta__route:focus-visible {
    outline: 3px solid #b9872f;
    outline-offset: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .c-fixed-consultation-cta,
  .c-fixed-consultation-cta * {
    scroll-behavior: auto;
    transition: none !important;
  }
}
