/* ===== Протокол24 mobile footer v4.3 ===== */

.p24-footer-messengers {
  display: none;
}

@media (max-width: 760px) {
  footer,
  .p24-footer {
    padding-top: 34px !important;
    padding-bottom: 38px !important;
  }

  .p24-footer .p24-container,
  footer .p24-container,
  .p24-footer-inner,
  footer .p24-footer-inner {
    width: min(100% - 28px, 100%) !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;
    text-align: center !important;
  }

  .p24-footer .p24-brand,
  footer .p24-brand,
  .p24-footer-logo,
  footer .p24-footer-logo {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    text-align: center !important;
    margin: 0 auto !important;
  }

  .p24-footer .p24-brand span:last-child,
  footer .p24-brand span:last-child,
  .p24-footer-logo-text,
  .p24-footer-brand-title {
    font-size: 18px !important;
    line-height: 1.1 !important;
    font-weight: 950 !important;
    color: #10234f !important;
  }

  .p24-footer-copy,
  footer .p24-footer-copy,
  .p24-footer-meta,
  footer .p24-footer-meta,
  .p24-footer-note {
    color: #72819c !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
    text-align: center !important;
  }

  .p24-footer-contacts,
  footer .p24-footer-contacts,
  .p24-footer-contact-list,
  footer .p24-footer-contact-list {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 4px 0 0 !important;
    text-align: center !important;
  }

  .p24-footer-contacts a,
  footer .p24-footer-contacts a,
  .p24-footer-contact-list a,
  footer .p24-footer-contact-list a {
    display: block !important;
    color: #10234f !important;
    text-decoration: none !important;
    font-size: 17px !important;
    line-height: 1.35 !important;
    font-weight: 900 !important;
    overflow-wrap: anywhere !important;
    max-width: 100% !important;
  }

  .p24-footer-contacts .sep,
  footer .p24-footer-contacts .sep,
  .p24-footer-contact-list .sep,
  footer .p24-footer-contact-list .sep {
    display: none !important;
  }

  .p24-footer-messengers {
    display: block !important;
    width: 100% !important;
    margin-top: 4px !important;
    padding: 18px 16px !important;
    border: 1px solid #dde7f7 !important;
    border-radius: 22px !important;
    background: linear-gradient(180deg, #ffffff 0%, #f6faff 100%) !important;
    box-shadow: 0 12px 30px rgba(16,35,79,.05) !important;
  }

  .p24-footer-messengers-title {
    margin: 0 0 12px !important;
    color: #155dfc !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    font-weight: 950 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
  }

  .p24-footer-messengers-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .p24-footer-messengers-grid a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 44px !important;
    padding: 10px 8px !important;
    border-radius: 14px !important;
    background: #eef4ff !important;
    color: #155dfc !important;
    text-decoration: none !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
  }

  .p24-footer-messengers-grid a:hover,
  .p24-footer-messengers-grid a:active {
    background: #155dfc !important;
    color: #ffffff !important;
  }
}