/* Owner-provided profile screenshots, styled within the ЧиниДом design system. */
.trust-profiles { padding-block: clamp(58px,6vw,92px); background: #eaf1eb; }
.trust-profiles__head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 30px; }
.trust-profiles__head > div { max-width: 640px; }
.trust-profiles__head .eyebrow { margin-bottom: 14px; }
.trust-profiles__head h2 { max-width: 17ch; margin: 0; text-wrap: balance; }
.trust-profiles__head > p { max-width: 43ch; margin: 0 0 3px; color: var(--muted); font-size: var(--text-body); line-height: var(--leading-body); }
.trust-profiles__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.trust-profile { min-width: 0; margin: 0; overflow: hidden; border: 1px solid #cbded0; border-radius: 24px; background: #fff; box-shadow: 0 12px 32px -20px #1e593941; transition: transform 260ms ease,border-color 260ms ease,box-shadow 260ms ease; }
.trust-profile > a { display: block; overflow: hidden; background: #f8faf8; }
.trust-profile > a:focus-visible { outline: 3px solid var(--accent); outline-offset: -5px; }
.trust-profile img { display: block; width: 100%; height: auto; aspect-ratio: 1470 / 1070; object-fit: contain; }
.trust-profile figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 19px 21px 21px; border-top: 1px solid #e2ece3; }
.trust-profile figcaption strong { font-size: var(--text-panel); line-height: var(--leading-card); font-weight: var(--weight-control); }
.trust-profile figcaption span { color: var(--muted); font-size: var(--text-xs); white-space: nowrap; }
.trust-profiles__footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 24px; padding: 22px 26px; border: 1px solid #cbded0; border-radius: 20px; background: #f7faf6; }
.trust-profiles__footer p { max-width: 72ch; margin: 0; color: var(--muted); font-size: var(--text-sm); line-height: var(--leading-body); }
.trust-profiles__link { display: inline-flex; flex-shrink: 0; align-items: center; min-height: 44px; color: var(--accent); font-size: var(--text-sm); font-weight: var(--weight-control); text-underline-offset: 4px; }
.trust-profiles__link:hover { text-decoration: underline; }
.trust-profiles__link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
@media (hover:hover) and (pointer:fine) {
  .trust-profile:hover { transform: translateY(-2px); border-color: #a4cbb0; box-shadow: 0 18px 34px -20px #1e593954; }
}
@media (max-width:1000px) {
  .trust-profiles__head { display: block; }
  .trust-profiles__head > p { margin-top: 18px; }
}
@media (max-width:650px) {
  .trust-profiles__head { margin-bottom: 24px; }
  .trust-profiles__grid { grid-template-columns: 1fr; gap: 14px; }
  .trust-profile figcaption { padding: 17px 18px 19px; }
  .trust-profiles__footer { display: block; padding: 20px; }
  .trust-profiles__link { margin-top: 12px; }
}
@media (prefers-reduced-motion:reduce) {
  .trust-profile { transform: none; transition: none; }
}
