/* Shared by static pages and the profession catalogue. No page-wide selectors. */
.footer.footer {
  display: block; position: relative; width: 100%; max-width: none;
  margin: 0; padding: 52px 0 0 !important; border: 0; border-top: 1px solid #EDEAF7;
  background: #fff; color: #3A3F63; text-align: left;
  font-family: Inter, sans-serif; font-size: 15px; font-weight: 400; line-height: 1.55;
}
.footer *, .footer *::before, .footer *::after { box-sizing: border-box; }
.footer .site-footer__container { width: min(100% - 64px, 1280px); margin: 0 auto; }
.footer .site-footer__grid { display: grid; grid-template-columns: 1.04fr 1fr 1fr 1.15fr; gap: 40px; align-items: start; padding-bottom: 40px; }
.footer .site-footer__intro { min-width: 0; }
.footer .site-footer__description { margin: 0 0 14px; font-size: 14px; color: #6B7094; line-height: 1.6; }
.footer a { text-decoration: none; }
.footer .site-footer__telegram { display: inline-flex; gap: 14px; align-items: center; padding: 10px 14px; border: 1px solid #E5DDFB; border-radius: 10px; color: #5B2BEC; background: #F8F5FE; font-size: 14px; font-weight: 600; min-height: 44px; }
.footer .site-footer__telegram span { font-size: 18px; }
.footer .site-footer__title { margin: 0 0 18px; padding: 0; color: #0B0B14; font: 600 14px/1.5 Inter, sans-serif; letter-spacing: 0; text-transform: none; }
.footer .site-footer__list, .footer .site-footer__resources { display: grid; margin: 0; padding: 0; list-style: none; }
.footer .site-footer__list { gap: 8px; }
.footer .site-footer__list li, .footer .site-footer__resources li { margin: 0; padding: 0; list-style: none; }
.footer .site-footer__list a { display: inline-block; padding: 5px 0; color: #3A3F63; font-size: 15px; font-weight: 400; line-height: 1.6; overflow-wrap: anywhere; }
.footer .site-footer__resources { gap: 10px; }
.footer .site-footer__resources a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; min-height: 58px; border: 1px solid #EDEAF7; border-radius: 12px; color: #3A3F63; background: #FAF9FD; font-size: 15px; font-weight: 500; line-height: 1.4; }
.footer .site-footer__icon { display: flex; width: 24px; height: 24px; flex: 0 0 24px; align-items: center; justify-content: center; color: #5B2BEC; }
.footer .site-footer__icon svg { display: block; width: 24px; height: 24px; }
.footer .site-footer__arrow { margin-left: auto; color: #8C80AE; font-size: 19px; }
.footer .site-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid #EDEAF7; padding: 20px 0 24px; color: #6B7094; font-size: 13px; line-height: 1.5; }
.footer .site-footer__bottom p { margin: 0; font: inherit; color: inherit; }
.footer .site-footer__bottom a { display: inline-flex; align-items: center; gap: 10px; color: #6B7094; font-size: 13px; padding: 6px 0; }
.footer a:focus-visible { outline: 3px solid #5B2BEC; outline-offset: 5px; border-radius: 4px; }
@media (hover: hover) {
  .footer .site-footer__list a:hover, .footer .site-footer__bottom a:hover { color: #5B2BEC; }
  .footer .site-footer__telegram:hover, .footer .site-footer__resources a:hover { background: #F3EEFD; border-color: #C4B8F5; color: #5B2BEC; }
}
@media (max-width: 1100px) {
  .footer .site-footer__grid { grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
  .footer .site-footer__intro { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; }
  .footer .site-footer__description { margin: 0; }
  .footer .site-footer__telegram { margin-left: auto; }
}
@media (max-width: 700px) {
  .footer.footer { padding-top: 32px !important; }
  .footer .site-footer__container { width: calc(100% - 40px); }
  .footer .site-footer__grid { grid-template-columns: 1fr; gap: 28px; padding-bottom: 28px; }
  .footer .site-footer__intro { display: block; grid-column: auto; padding-bottom: 24px; border-bottom: 1px solid #EDEAF7; }
  .footer .site-footer__description { margin: 0 0 14px; }
  .footer .site-footer__title { margin-bottom: 10px; }
  .footer .site-footer__list { gap: 0; }
  .footer .site-footer__list a { padding: 10px 0; min-height: 44px; }
  .footer .site-footer__resources { max-width: 400px; }
  .footer .site-footer__bottom { align-items: flex-start; gap: 16px; padding: 18px 0; }
  .footer .site-footer__bottom p { max-width: 190px; }
}

/* Catalogue legacy styles also target bare footer/nav/p elements. */
.footer .site-footer__group { display: block; min-width: 0; }
.footer p { order: 0; width: auto; }

.footer .site-footer__copyright { white-space: nowrap; }
.footer .site-footer__description a { color: inherit; font: inherit; }
.footer .site-footer__description a:hover { color: #5B2BEC; }
