/* Страницы доверия: /o-kompanii/ и /kontakty/ (черновик 22.09.2026).
   Только добавки к seo-pages.css: ничего из общих файлов не переопределяем, кроме
   переноса слов в заголовках (в заголовках слова не рвем). */

/* --- заголовки: без переносов внутри слов --- */
.seo-page .trust-hero h1,
.seo-page .seo-section-title {
    overflow-wrap: normal;
    hyphens: manual;
}
.seo-page .trust-hero h1 {
    max-width: 100%;
}
.seo-page .trust-hero .seo-hero__grid {
    align-items: end;
}
.seo-page .trust-hero .seo-hero__aside .seo-buttons {
    margin-top: 4px;
}

/* --- ссылки внутри вводного текста --- */
.seo-page .trust-link {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}
.seo-page .trust-link:hover,
.seo-page .trust-link:focus-visible {
    color: var(--seo-blue);
    outline: 0;
}

/* --- три уровня участия (карточки .seo-card) --- */
.seo-page .trust-level {
    justify-content: flex-start;
}
.seo-page .trust-level h3 {
    margin-bottom: 14px;
}
.seo-page .trust-level__goal {
    margin: 0 0 14px;
    color: var(--seo-ink);
    font-size: 17px;
    font-weight: 650;
    letter-spacing: -0.02em;
    line-height: 1.35;
}
.seo-page .trust-level__list {
    margin: 22px 0 0;
    padding: 0;
    border-top: 1px solid var(--seo-line);
    list-style: none;
}
.seo-page .trust-level__list li {
    padding: 11px 0;
    border-bottom: 1px solid var(--seo-line);
    color: #2f312b;
    font-size: 14px;
    line-height: 1.45;
}
.seo-page .trust-level__res {
    margin-top: 22px;
    color: var(--seo-ink);
    font-size: 15px;
    line-height: 1.5;
}
.seo-page .trust-level__res i {
    display: block;
    margin-bottom: 6px;
    color: var(--seo-muted);
    font-size: 9px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

/* --- команда: подписи в карточке --- */
.seo-page .seo-team-card > div {
    min-width: 0;
}

/* --- отзывы: первый на всю ширину, остальные 2 x 2 --- */
.seo-page .trust-reviews {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.seo-page .trust-review {
    min-height: 0;
    margin: 0;
    justify-content: space-between;
}
.seo-page .trust-review:first-child {
    grid-column: 1 / -1;
}
.seo-page .trust-review blockquote {
    margin: 0 0 34px;
}
.seo-page .trust-review blockquote p {
    max-width: 880px;
    color: var(--seo-ink);
    font-size: clamp(18px, 1.6vw, 24px);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.45;
}
.seo-page .trust-review:first-child blockquote p {
    font-size: clamp(22px, 2.4vw, 36px);
    font-weight: 650;
    letter-spacing: -0.035em;
    line-height: 1.25;
}
.seo-page .trust-review__who {
    display: flex;
    align-items: center;
    gap: 14px;
}
.seo-page .trust-review__ava {
    width: 56px;
    height: 56px;
    flex: 0 0 auto;
    border: 1px solid var(--seo-ink);
    border-radius: 50%;
    background-color: #d7d7d1;
    background-position: var(--x, 50%) var(--y, 0%);
    background-repeat: no-repeat;
    background-size: var(--z, cover);
}
.seo-page .trust-review__id {
    display: grid;
    gap: 3px;
}
.seo-page .trust-review__id b {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.seo-page .trust-review__id span {
    color: var(--seo-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* --- реквизиты --- */
.seo-page .trust-req {
    margin: 0;
    border-top: 1px solid var(--seo-ink);
}
.seo-page .trust-req > div {
    display: grid;
    padding: 22px 18px;
    border-bottom: 1px solid var(--seo-ink);
    align-items: baseline;
    grid-template-columns: minmax(180px, 0.32fr) minmax(0, 1fr);
    gap: 18px;
}
.seo-page .trust-req dt {
    color: var(--seo-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.seo-page .trust-req dd {
    margin: 0;
    font-size: clamp(18px, 1.9vw, 26px);
    font-weight: 650;
    letter-spacing: -0.03em;
    line-height: 1.25;
    overflow-wrap: anywhere;
}
.seo-page .trust-req dd a {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
}
.seo-page .trust-req dd a:hover,
.seo-page .trust-req dd a:focus-visible {
    color: var(--seo-blue);
    outline: 0;
}

/* --- контакты: карточки каналов --- */
.seo-page .trust-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.seo-page .trust-contact {
    min-height: 250px;
}
.seo-page .trust-contact h3 {
    max-width: 100%;
    margin-bottom: 20px;
    font-size: clamp(24px, 2.5vw, 38px);
    overflow-wrap: anywhere;
}
.seo-page .trust-contact h3 a {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 6px;
}
.seo-page .trust-contact h3 a:hover,
.seo-page .trust-contact h3 a:focus-visible {
    color: var(--seo-blue);
    outline: 0;
}

@media (max-width: 900px) {
    .seo-page .trust-reviews,
    .seo-page .trust-grid--2 {
        grid-template-columns: 1fr;
    }
    .seo-page .trust-review:first-child blockquote p {
        font-size: clamp(20px, 3.2vw, 28px);
    }
}

@media (max-width: 620px) {
    .seo-page .trust-hero h1 {
        font-size: clamp(38px, 11vw, 50px);
        letter-spacing: -0.06em;
    }
    .seo-page .seo-section-title {
        font-size: clamp(38px, 10.5vw, 50px);
    }
    .seo-page .trust-req > div {
        padding: 18px 12px;
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .seo-page .trust-contact {
        min-height: 0;
    }
    .seo-page .trust-contact h3 {
        font-size: 24px;
    }
    .seo-page .trust-review blockquote {
        margin-bottom: 24px;
    }
}

/* --- команда: 6 карточек в сетке .seo-grid (портрет в круге, как у .seo-team-card в seo-pages.css;
   сам класс .seo-team-card не используем: site-unified.css переопределяет его под карусель) --- */
.seo-page .trust-person {
    min-height: 0;
    justify-content: flex-start;
}
.seo-page .trust-person figure {
    width: min(100%, 260px);
    aspect-ratio: 1;
    margin: 0 0 36px;
    overflow: hidden;
    border: 1px solid var(--seo-ink);
    border-radius: 50%;
    background: #d7d7d1;
    box-shadow: 12px 12px 0 var(--seo-lime);
}
.seo-page .trust-person img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center bottom;
}
.seo-page .trust-person > div {
    min-width: 0;
}
.seo-page .trust-person h3 {
    margin: 0;
    font-size: clamp(25px, 2.4vw, 34px);
    line-height: 1;
}
.seo-page .trust-person span {
    display: block;
    margin: 14px 0 18px;
    color: var(--seo-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.09em;
    line-height: 1.5;
    text-transform: uppercase;
}
.seo-page .trust-person p {
    font-size: 14px;
}

@media (max-width: 900px) {
    .seo-page .trust-team {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .seo-page .trust-person figure {
        width: min(100%, 200px);
        margin-bottom: 26px;
    }
}

@media (max-width: 620px) {
    .seo-page .trust-team {
        grid-template-columns: 1fr;
    }
    .seo-page .trust-person {
        display: grid;
        align-items: center;
        grid-template-columns: 112px minmax(0, 1fr);
        gap: 20px;
    }
    .seo-page .trust-person h3 {
        font-size: 22px;
    }
    .seo-page .trust-person span {
        margin: 10px 0 12px;
    }
    .seo-page .trust-person figure {
        width: 100%;
        margin: 0;
        box-shadow: 7px 7px 0 var(--seo-lime);
    }
}

/* --- плитки «Связанные направления»: слова в заголовках не рвем переносами --- */
@media (max-width: 760px) {
    .seo-page .seo-related strong {
        overflow-wrap: normal;
        hyphens: manual;
        font-size: clamp(22px, 6.4vw, 27px);
    }
}
