

.p24-faq {
    --p24-faq-ink: #050505;
    --p24-faq-blue: #145f9c;
    --p24-faq-blue-soft: #eef6fc;
    --p24-faq-orange: #ff5c00;
    --p24-faq-text: #515967;
    --p24-faq-line: #dfe3ea;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 92px 24px 96px;
    color: var(--p24-faq-ink);
    font-family: Inter, Arial, Helvetica, sans-serif;
    background: #ffffff;
  }

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

  .p24-faq__anchor {
    position: absolute;
    top: -90px;
    left: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
  }

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

  .p24-faq__head {
    width: min(920px, 100%);
    margin: 0 0 46px;
    text-align: left;
  }

  .p24-faq__title {
    margin: 0;
    color: var(--p24-faq-ink);
    font-family: Inter, Arial, Helvetica, sans-serif;
    font-size: clamp(36px, 3.2vw, 44px);
    font-weight: 550;
    line-height: 1.08;
    letter-spacing: -0.04em;
    text-transform: uppercase;
  }

  .p24-faq__title span {
    display: block;
    margin-top: 5px;
    color: var(--p24-faq-orange);
  }

  .p24-faq__subtitle {
    max-width: 760px;
    margin: 22px 0 0;
    color: var(--p24-faq-text);
    font-size: 18px;
    line-height: 1.55;
  }

  .p24-faq__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 370px;
    align-items: start;
    gap: 30px;
  }

  .p24-faq__list {
    display: grid;
    gap: 12px;
  }

  .p24-faq-item {
    overflow: hidden;
    border: 1px solid var(--p24-faq-line);
    border-radius: 6px;
    background: #ffffff;
    transition: border-color 0.22s ease, box-shadow 0.22s ease;
  }

  .p24-faq-item:hover {
    border-color: rgba(20, 95, 156, 0.38);
  }

  .p24-faq-item[open] {
    border-color: rgba(20, 95, 156, 0.58);
    box-shadow: 0 12px 30px rgba(20, 95, 156, 0.08);
  }

  .p24-faq-item summary {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 40px;
    align-items: center;
    gap: 16px;
    min-height: 76px;
    padding: 15px 18px;
    cursor: pointer;
    list-style: none;
  }

  .p24-faq-item summary::-webkit-details-marker {
    display: none;
  }

  .p24-faq-item__num {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(20, 95, 156, 0.22);
    border-radius: 5px;
    background: var(--p24-faq-blue-soft);
    color: var(--p24-faq-blue);
    font: 600 13px/1 Arial, Helvetica, sans-serif;
    transition: color 0.22s ease, border-color 0.22s ease, background 0.22s ease;
  }

  .p24-faq-item[open] .p24-faq-item__num {
    border-color: var(--p24-faq-orange);
    background: var(--p24-faq-orange);
    color: #ffffff;
  }

  .p24-faq-item__question {
    color: var(--p24-faq-ink);
    font: 600 19px/1.3 Inter, Arial, Helvetica, sans-serif;
  }

  .p24-faq-item__toggle {
    position: relative;
    display: block;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(20, 95, 156, 0.24);
    border-radius: 50%;
    background: #f7f9fd;
  }

  .p24-faq-item__toggle::before,
  .p24-faq-item__toggle::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 2px;
    border-radius: 2px;
    background: var(--p24-faq-blue);
    content: "";
    transform: translate(-50%, -50%);
    transition: transform 0.22s ease;
  }

  .p24-faq-item__toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
  }

  .p24-faq-item[open] .p24-faq-item__toggle {
    border-color: rgba(255, 98, 0, 0.24);
    background: #fff1e8;
  }

  .p24-faq-item[open] .p24-faq-item__toggle::before,
  .p24-faq-item[open] .p24-faq-item__toggle::after {
    background: var(--p24-faq-orange);
  }

  .p24-faq-item[open] .p24-faq-item__toggle::after {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  .p24-faq-item__answer {
    margin: 0;
    padding: 18px 74px 24px 78px;
    border-top: 1px solid var(--p24-faq-line);
    background: #f8fafc;
    color: var(--p24-faq-text);
  }

  .p24-faq-item__answer p {
    margin: 0;
    color: inherit;
    font-size: 16px;
    line-height: 1.62;
  }

  .p24-faq-item__answer p + p {
    margin-top: 12px;
  }

  .p24-faq-item__answer a {
    color: inherit;
    font-weight: 700;
    text-decoration-color: rgba(20, 95, 156, 0.58);
    text-underline-offset: 3px;
  }

  .p24-faq-item__answer a:hover {
    color: var(--p24-faq-ink);
    text-decoration-color: var(--p24-faq-orange);
  }

  .p24-faq-item__link {
    display: inline-flex;
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.35;
  }

  .p24-faq__side {
    position: sticky;
    top: 24px;
    min-height: 0;
    padding: 30px;
    border: 1px solid var(--p24-faq-line);
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(5, 5, 5, 0.07);
    color: var(--p24-faq-ink);
    text-align: left;
  }

  .p24-faq__side h3 {
    margin: 0;
    color: var(--p24-faq-ink);
    font-family: Inter, Arial, Helvetica, sans-serif;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.025em;
  }

  .p24-faq__side > p {
    margin: 17px 0 24px;
    color: var(--p24-faq-text);
    font-size: 15px;
    line-height: 1.55;
  }

  .p24-faq__cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 58px;
    padding: 12px 18px;
    border-radius: 5px;
    background: var(--p24-faq-orange);
    box-shadow: 0 14px 28px rgba(255, 98, 0, 0.22);
    color: #ffffff;
    font: 600 14px/1.25 Arial, Helvetica, sans-serif;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .p24-faq__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(255, 98, 0, 0.29);
  }

  .p24-faq__messenger-caption {
    margin: 25px 0 11px;
    color: #737b88;
    font-size: 12px;
    line-height: 1.3;
  }

  .p24-faq__messengers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .p24-faq__messenger {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 10px;
    overflow: hidden;
    border: 1px solid var(--p24-faq-line);
    border-radius: 5px;
    background: #f8fafc;
    color: var(--p24-faq-ink);
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
  }

  .p24-faq__messenger:hover {
    border-color: rgba(20, 95, 156, 0.48);
    background: var(--p24-faq-blue-soft);
    transform: translateY(-2px);
  }

  .p24-faq__messenger-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    overflow: hidden;
    border-radius: 11px;
    background: #ffffff;
  }

  .p24-faq__messenger-icon img {
    display: block;
    width: 38px;
    height: 38px;
    object-fit: cover;
  }

  .p24-faq__messenger-text {
    min-width: 0;
  }

  .p24-faq__messenger-text strong {
    display: block;
    color: var(--p24-faq-ink);
    font-size: 13px;
    line-height: 1.25;
  }

  .p24-faq__messenger-text small {
    display: block;
    margin-top: 2px;
    overflow: hidden;
    color: #737b88;
    font-size: 10px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .p24-faq__quick {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px solid var(--p24-faq-line);
    color: #66707e;
    font-size: 12px;
    line-height: 1.35;
  }

  .p24-faq__quick svg {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    color: var(--p24-faq-blue);
  }

  .p24-faq summary:focus-visible,
  .p24-faq__cta:focus-visible,
  .p24-faq__messenger:focus-visible,
  .p24-faq-item__answer a:focus-visible {
    outline: 3px solid rgba(255, 98, 0, 0.58);
    outline-offset: 3px;
  }

  @media (max-width: 1080px) {
    .p24-faq {
      padding: 78px 20px 84px;
    }

    .p24-faq__layout {
      grid-template-columns: 1fr;
    }

    .p24-faq__side {
      position: static;
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
      column-gap: 28px;
      align-items: start;
    }

    .p24-faq__side h3,
    .p24-faq__side > p {
      grid-column: 1;
    }

    .p24-faq__cta,
    .p24-faq__messenger-caption,
    .p24-faq__messengers,
    .p24-faq__quick {
      grid-column: 2;
    }

    .p24-faq__cta {
      grid-row: 1 / span 2;
      align-self: end;
    }

    .p24-faq__messenger-caption {
      margin-top: 18px;
    }
  }

  @media (max-width: 700px) {
    .p24-faq {
      padding: 64px 14px 70px;
    }

    .p24-faq__head {
      margin-bottom: 32px;
      text-align: left;
    }

    .p24-faq__title {
      font-size: clamp(30px, 8.6vw, 36px);
      line-height: 1.02;
      overflow-wrap: normal;
      word-break: normal;
      hyphens: none;
    }

    .p24-faq__subtitle {
      margin-top: 17px;
      font-size: 16px;
    }

    .p24-faq__layout {
      gap: 18px;
    }

    .p24-faq-item {
      border-radius: 6px;
    }

    .p24-faq-item summary {
      grid-template-columns: 38px minmax(0, 1fr) 34px;
      gap: 11px;
      min-height: 68px;
      padding: 13px;
    }

    .p24-faq-item__num {
      width: 38px;
      height: 38px;
      border-radius: 5px;
      font-size: 12px;
    }

    .p24-faq-item__question {
      font-size: 16px;
      line-height: 1.35;
      overflow-wrap: normal;
      word-break: normal;
      hyphens: none;
    }

    .p24-faq-item__toggle {
      width: 34px;
      height: 34px;
    }

    .p24-faq-item__answer {
      padding: 16px 18px 20px;
    }

    .p24-faq-item__answer p {
      font-size: 15px;
      line-height: 1.58;
    }

    .p24-faq__side {
      display: block;
      padding: 24px;
      border-radius: 6px;
    }

    .p24-faq__side h3 {
      font-size: 27px;
    }

    .p24-faq__messengers {
      grid-template-columns: 1fr 1fr;
    }

  }

  @media (max-width: 390px) {
    .p24-faq__messengers {
      grid-template-columns: 1fr;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .p24-faq *,
    .p24-faq *::before,
    .p24-faq *::after {
      transition: none;
      animation: none;
      scroll-behavior: auto;
    }
  }

/* ==========================================================================

  .p24-faq__messenger-text strong,
  .p24-faq-item__answer a {
    font-weight: 600;
  }

  .p24-faq__title,
  .p24-faq-item__question,
  .p24-faq-item__num,
  .p24-faq__side h3,
  .p24-faq__cta,
  .p24-faq__messenger-text strong {
    font-synthesis: none;
  }
