.mobile-contact-bar {
  display: none;
}

.callback-link {
  margin: 12px 0 22px;
  font-size: 0.94rem;
}

.callback-link a {
  color: #16588e;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.lead-request-type {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.lead-request-type legend {
  margin-bottom: 10px;
  font-weight: 800;
}

.lead-request-type label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  cursor: pointer;
}

.lead-request-type input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: #16588e;
}

.lead-optional-details {
  border-top: 1px solid rgba(16, 19, 22, 0.12);
  padding-top: 12px;
}

.lead-optional-details summary {
  padding: 10px 0;
  color: #16588e;
  font-weight: 750;
  cursor: pointer;
}

.lead-optional-details[open] summary {
  margin-bottom: 12px;
}

.lead-optional-details summary:focus-visible,
.mobile-contact-bar a:focus-visible {
  outline: 3px solid #35a8e0;
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .has-mobile-contact {
    --mobile-contact-height: calc(76px + env(safe-area-inset-bottom, 0px));
    padding-bottom: var(--mobile-contact-height);
  }

  .has-mobile-contact .mobile-contact-bar {
    position: fixed;
    inset: auto 0 0;
    z-index: 1001;
    display: grid;
    grid-template-columns: 1fr 1.45fr;
    gap: 10px;
    height: var(--mobile-contact-height);
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(16, 19, 22, 0.12);
    background: #fff;
    box-shadow: 0 -6px 24px rgba(16, 19, 22, 0.1);
  }

  .mobile-contact-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 48px;
    padding: 0 8px;
    border: 1px solid #16588e;
    border-radius: 12px;
    font-family: var(--font-body, system-ui, sans-serif);
    font-size: 0.94rem;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
  }

  .mobile-contact-call {
    color: #16588e;
    background: #fff;
  }

  .mobile-contact-lead {
    color: #fff;
    background: #16588e;
  }

  .has-mobile-contact .analytics-consent {
    bottom: calc(var(--mobile-contact-height) + 10px);
    max-height: calc(100dvh - var(--mobile-contact-height) - 20px);
    overflow-y: auto;
    padding: 12px;
  }

  .has-mobile-contact .analytics-consent p {
    margin-bottom: 10px;
    font-size: 0.82rem;
  }

  .has-mobile-contact .analytics-consent__actions {
    flex-wrap: nowrap;
    gap: 8px;
  }

  .has-mobile-contact .analytics-consent button {
    flex: 1 1 0;
    min-width: 0;
    min-height: 44px;
    padding: 8px;
    font-size: 0.82rem;
  }
}
