.p24-footer,
  .p24-footer *,
  .p24-footer *::before,
  .p24-footer *::after { box-sizing: border-box; }

  .p24-footer {
    --p24-footer-ink: #050505;
    --p24-footer-blue: #145f9c;
    --p24-footer-blue-soft: #eef6fc;
    --p24-footer-orange: #ff5c00;
    --p24-footer-muted: #515967;
    --p24-footer-line: #d5e5f2;
    position: relative;
    width: 100%;
    margin: 0 !important;
    padding: 76px 24px 0;
    overflow: hidden;
    color: var(--p24-footer-ink);
    background: #eaf4fb;
    font-family: Inter, Arial, Helvetica, sans-serif;
  }

  .p24-footer h2,
  .p24-footer h3,
  .p24-footer p,
  .p24-footer dl,
  .p24-footer dd { margin: 0; padding: 0; }

  .p24-footer__container,
  .p24-footer__bottom-inner { width: min(1200px, 100%); margin: 0 auto; }

  .p24-footer__hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(480px, .82fr);
    gap: 42px;
    align-items: end;
    margin-bottom: 46px;
  }

  .p24-footer__intro { max-width: 700px; }

  .p24-footer__title {
    color: var(--p24-footer-ink);
    font-size: clamp(36px, 3.2vw, 44px);
    line-height: 1.08;
    font-weight: 550;
    letter-spacing: -.03em;
    text-transform: uppercase;
    text-wrap: balance;
  }

  .p24-footer__title span { color: var(--p24-footer-orange) !important; }

  .p24-footer__subtitle {
    max-width: 660px;
    margin-top: 20px !important;
    color: var(--p24-footer-muted);
    font-size: 18px;
    line-height: 1.55;
  }

  .p24-footer__quick {
    padding: 18px;
    border: 1px solid var(--p24-footer-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .68);
  }

  .p24-footer__quick-links {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
    gap: 10px;
    margin-bottom: 12px;
  }

  .p24-footer__quick-link,
  .p24-footer__messenger,
  .p24-footer-doc {
    border: 1px solid var(--p24-footer-line);
    color: var(--p24-footer-ink);
    background: #fff;
    text-decoration: none !important;
    transition: border-color 180ms ease, background-color 180ms ease;
  }

  .p24-footer__quick-link:hover,
  .p24-footer__messenger:hover,
  .p24-footer-doc:hover {
    border-color: rgba(20, 95, 156, .46);
    background: var(--p24-footer-blue-soft);
  }

  .p24-footer__quick-link {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 68px;
    padding: 10px;
    border-radius: 6px;
  }

  .p24-footer__quick-icon,
  .p24-footer-contact__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 6px;
    color: var(--p24-footer-blue);
    background: var(--p24-footer-blue-soft);
  }

  .p24-footer__quick-icon svg,
  .p24-footer-contact__icon svg { width: 25px; height: 25px; }
  .p24-footer__quick-link > span:last-child { min-width: 0; }
  .p24-footer__quick-link small,
  .p24-footer__quick-link strong { display: block; }
  .p24-footer__quick-link small { margin-bottom: 4px; color: #737b88; font-size: 11px; line-height: 1.15; }
  .p24-footer__quick-link strong { color: var(--p24-footer-ink); font-size: 13px; line-height: 1.2; font-weight: 600; white-space: nowrap; }
  .p24-footer__quick-link[href^="mailto:"] strong { font-size: 12.5px; letter-spacing: -.025em; }

  .p24-footer__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 14px 20px;
    border-radius: 6px;
    color: #fff !important;
    background: var(--p24-footer-orange);
    font-size: 14px;
    line-height: 1.2;
    font-weight: 600;
    text-align: center;
    text-decoration: none !important;
    text-transform: uppercase;
    transition: background-color 180ms ease;
  }

  .p24-footer__cta:hover { background: #e95300; }

  .p24-footer__grid {
    display: grid;
    grid-template-columns: minmax(285px, .85fr) minmax(320px, 1fr) minmax(360px, 1.15fr);
    gap: 20px;
    align-items: stretch;
    padding-bottom: 50px;
  }

  .p24-footer-card {
    min-width: 0;
    padding: 26px;
    border: 1px solid var(--p24-footer-line);
    border-top: 4px solid var(--p24-footer-blue);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(20, 95, 156, .08);
  }

  .p24-footer-card__head { display: flex; align-items: center; gap: 15px; margin-bottom: 24px; }
  .p24-footer-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    border: 1px solid rgba(20, 95, 156, .2);
    border-radius: 6px;
    color: var(--p24-footer-blue);
    background: var(--p24-footer-blue-soft);
  }
  .p24-footer-card__icon svg { width: 31px; height: 31px; }
  .p24-footer-card__label { display: block; margin-bottom: 4px; color: var(--p24-footer-orange); font-size: 10px; line-height: 1.2; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
  .p24-footer-card__head h3 { color: var(--p24-footer-ink); font-size: 20px; line-height: 1.2; font-weight: 600; }
  .p24-footer-card__company-name {
    margin-bottom: 20px;
    color: var(--p24-footer-ink);
    font-size: 19px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -.025em;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .p24-footer-card__details { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .p24-footer-card__details > div { min-width: 0; padding: 13px 14px; border: 1px solid var(--p24-footer-line); border-radius: 6px; background: #f8fafc; }
  .p24-footer-card__details dt { margin-bottom: 5px; color: #737b88; font-size: 10px; line-height: 1.2; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
  .p24-footer-card__details dd { color: var(--p24-footer-ink); font-size: 14px; line-height: 1.25; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }

  .p24-footer__messengers { display: grid; grid-template-columns: 1fr; gap: 9px; margin-top: 18px; }
  .p24-footer__messenger { display: grid; grid-template-columns: 46px minmax(0, 1fr); align-items: center; gap: 11px; min-height: 66px; padding: 9px; border-radius: 6px; }
  .p24-footer__messenger img { display: block; width: 46px; height: 46px; border-radius: 13px; object-fit: cover; }
  .p24-footer__messenger strong,
  .p24-footer__messenger small { display: block; }
  .p24-footer__messenger strong { margin-bottom: 3px; color: var(--p24-footer-ink); font-size: 14px; line-height: 1.1; font-weight: 600; }
  .p24-footer__messenger small { color: #737b88; font-size: 11px; line-height: 1.2; }

  .p24-footer-contact-list { display: flex; flex-direction: column; }
  .p24-footer-contact { display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: center; gap: 13px; padding: 15px 0; border-bottom: 1px solid var(--p24-footer-line); }
  .p24-footer-contact:first-child { padding-top: 0; }
  .p24-footer-contact:last-child { padding-bottom: 0; border-bottom: 0; }
  .p24-footer-contact p { color: var(--p24-footer-muted); font-size: 14px; line-height: 1.42; }

  .p24-footer-docs { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .p24-footer-doc { display: grid; grid-template-columns: minmax(0, 1fr) 28px; align-items: center; gap: 12px; min-height: 68px; padding: 13px 14px; border-radius: 6px; }
  .p24-footer-doc strong,
  .p24-footer-doc small { display: block; }
  .p24-footer-doc strong { margin-bottom: 4px; color: var(--p24-footer-ink); font-size: 14px; line-height: 1.2; font-weight: 600; }
  .p24-footer-doc small { color: #737b88; font-size: 11px; line-height: 1.25; }
  .p24-footer-doc > svg { width: 24px; height: 24px; color: var(--p24-footer-blue); }

  .p24-footer__bottom { margin-right: -24px; margin-left: -24px; border-top: 1px solid #1c6eae; background: var(--p24-footer-blue); }
  .p24-footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; padding: 20px 24px; }
  .p24-footer__bottom p { color: rgba(255, 255, 255, .78); font-size: 13px; line-height: 1.35; }
  .p24-footer__bottom a { color: #fff !important; font-size: 13px; line-height: 1.3; font-weight: 600; text-decoration: none; }
  .p24-footer a:focus-visible { outline: 3px solid rgba(255, 92, 0, .62); outline-offset: 4px; }

  @media (max-width: 1180px) {
    .p24-footer { padding-top: 72px; }
    .p24-footer__quick-links { grid-template-columns: 1fr; }
    .p24-footer__grid { grid-template-columns: minmax(285px, .8fr) minmax(390px, 1.2fr); }
    .p24-footer-card--docs { grid-column: 1 / -1; }
    .p24-footer-docs { grid-template-columns: 1fr 1fr; }
  }

  @media (max-width: 940px) {
    .p24-footer__hero { grid-template-columns: 1fr; align-items: stretch; }
    .p24-footer__quick { max-width: 640px; }
    .p24-footer__quick-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }

  @media (max-width: 860px) {
    .p24-footer__grid { grid-template-columns: 1fr; }
    .p24-footer-card--docs { grid-column: auto; }
  }

  @media (max-width: 620px) {
    .p24-footer { padding: 56px 16px 0; }
    .p24-footer__hero { gap: 28px; margin-bottom: 30px; }
    .p24-footer__title { font-size: clamp(30px, 8.6vw, 36px); }
    .p24-footer__subtitle { margin-top: 17px !important; font-size: 16px; line-height: 1.5; }
    .p24-footer__quick { padding: 12px; }
    .p24-footer__quick-links,
    .p24-footer-docs { grid-template-columns: 1fr; }
    .p24-footer__cta { min-height: 56px; font-size: 12px; }
    .p24-footer__grid { gap: 14px; padding-bottom: 34px; }
    .p24-footer-card { padding: 20px; }
    .p24-footer__bottom { margin-right: -16px; margin-left: -16px; }
    .p24-footer__bottom-inner { align-items: flex-start; flex-direction: column; gap: 10px; padding: 20px 16px 24px; }
  }

  @media (max-width: 390px) {
    .p24-footer { padding-right: 12px; padding-left: 12px; }
    .p24-footer-card { padding: 18px; }
    .p24-footer-card__details dd { font-size: 13px; }
    .p24-footer-card__company-name { font-size: 18px; }
    .p24-footer__bottom { margin-right: -12px; margin-left: -12px; }
  }

  @media (prefers-reduced-motion: reduce) {
    .p24-footer a { transition: none; }
  }