/* Блоки доверия: карточка юриста, границы пакета, обязательства, реквизиты.
   Разметка — ukompas24/templates/includes/legal_expert.html,
   offer_limits.html, trust_commitments.html, company_details.html. */

/* --- Кто готовит документы ------------------------------------------- */

.legal-expert {
  margin: 24px 0;
  padding: 18px 20px;
  border: 1px solid #dfe4ea;
  border-radius: 12px;
  background: #fff;
}

.legal-expert__heading {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7a8a95;
}

.legal-expert__person {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
}

.legal-expert__photo {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.legal-expert__name-block {
  min-width: 0;
}

.legal-expert__name {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  color: #01314c;
}

.legal-expert__credentials {
  margin: 2px 0 0;
  font-size: 14px;
  color: #40525e;
}

.legal-expert__specialization,
.legal-expert__review {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.5;
  color: #40525e;
}

.legal-expert__review {
  margin-bottom: 0;
}

.legal-expert__label {
  font-weight: 600;
  color: #01314c;
}

/* --- Границы пакета --------------------------------------------------- */

.offer-limits {
  margin: 14px 0;
}

.offer-limits__heading {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: #01314c;
}

.offer-limits__list {
  margin: 0;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.55;
  color: #40525e;
}

.offer-limits__note {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-left: 3px solid #dfe4ea;
  background: #f7fafb;
  font-size: 14px;
  line-height: 1.55;
  color: #40525e;
}

.offer-limits__note .offer-limits__heading {
  display: block;
  margin-bottom: 4px;
}

/* --- Что мы гарантируем / как мы не делаем ---------------------------- */

.trust-commitments {
  display: grid;
  gap: 20px;
  margin: 32px 0;
}

@media (min-width: 768px) {
  .trust-commitments {
    grid-template-columns: 1fr 1fr;
  }
}

.trust-commitments__item {
  padding: 20px 22px;
  border: 1px solid #dfe4ea;
  border-radius: 12px;
  background: #f7fafb;
}

.trust-commitments__item--how-not {
  background: #fff;
}

.trust-commitments__heading {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: #01314c;
}

.trust-commitments__body {
  font-size: 15px;
  line-height: 1.6;
  color: #40525e;
}

.trust-commitments__body p:last-child,
.trust-commitments__body ul:last-child {
  margin-bottom: 0;
}

/* --- Реквизиты в подвале ---------------------------------------------- */

.company-details {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(39, 39, 39, 0.12);
  font-size: 13px;
  line-height: 1.6;
  color: #6b7a85;
}

.company-details__name {
  font-weight: 600;
  color: #40525e;
}

.company-details__item::before {
  content: " · ";
  color: #b6c0c7;
}
