/* ===== Протокол24 FAQ + Contacts v3.4 ===== */

.p24-faq-contact-section {
  padding: 88px 0 42px;
  background:
    radial-gradient(circle at 88% 12%, rgba(21, 93, 252, .08), transparent 26%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  border-top: 1px solid #e6eef9;
}

.p24-faq-contact-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 44px;
  align-items: start;
}

.p24-faq-side {
  position: sticky;
  top: 110px;
}

.p24-faq-side .p24-section-sub {
  margin-bottom: 28px;
}

.p24-contact-card {
  padding: 26px;
  border: 1px solid #dce6f7;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(20, 35, 79, .07);
}

.p24-contact-title {
  margin-bottom: 18px;
  color: #10234f;
  font-size: 20px;
  font-weight: 950;
  letter-spacing: -.02em;
}

.p24-contact-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  color: #17284e !important;
  text-decoration: none !important;
  border-top: 1px solid #edf2fb;
}

.p24-contact-row:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.p24-contact-row b {
  display: block;
  color: #10234f;
  font-size: 16px;
  line-height: 1.2;
}

.p24-contact-row small {
  display: block;
  margin-top: 4px;
  color: #647497;
  font-size: 13px;
  line-height: 1.35;
}

.p24-contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  background: #edf3ff;
  color: #155dfc;
}

.p24-contact-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.p24-contact-btn {
  width: 100%;
  margin-top: 18px;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.p24-faq-list {
  display: grid;
  gap: 14px;
}

.p24-faq-item {
  border: 1px solid #dce6f7;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 14px 42px rgba(20, 35, 79, .045);
  overflow: hidden;
}

.p24-faq-item summary {
  position: relative;
  display: block;
  padding: 22px 58px 22px 24px;
  color: #10234f;
  font-size: 19px;
  font-weight: 950;
  line-height: 1.25;
  cursor: pointer;
  list-style: none;
}

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

.p24-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 30px;
  height: 30px;
  transform: translateY(-50%);
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: #edf3ff;
  color: #155dfc;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.p24-faq-item[open] summary::after {
  content: "−";
}

.p24-faq-item div {
  padding: 0 24px 24px;
  color: #607091;
  font-size: 17px;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .p24-faq-contact-section {
    padding: 68px 0 34px;
  }

  .p24-faq-contact-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .p24-faq-side {
    position: static;
  }
}

@media (max-width: 640px) {
  .p24-faq-item summary {
    padding: 20px 54px 20px 20px;
    font-size: 17px;
  }

  .p24-faq-item div {
    padding: 0 20px 20px;
    font-size: 15px;
  }

  .p24-contact-card {
    padding: 22px;
  }
}