/*
 * Готовая Terra-разметка внутри темы Realty.
 * Оформление переведено на палитру и шрифты Realty, область ограничена
 * .terra-content, чтобы не задевать остальные страницы.
 */
.terra-content {
    color: var(--rt-body);
    font-family: inherit;
    line-height: 1.65;
}

.terra-content .t-wrap { width: 100%; max-width: 1240px; margin: 0 auto; }
.terra-content .t-section { padding: 48px 0; }
.terra-content .t-section--tight { padding: 28px 0 42px; }
.terra-content .t-section--paper {
    margin: 0 -15px;
    padding: 48px 15px;
    background: var(--rt-bg);
}

.terra-content .rt-page-head { padding: 32px 0 4px; }
.terra-content .rt-page-head__eyebrow {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--rt-blue);
}
.terra-content .rt-page-head h1 {
    margin: 0;
    font-family: inherit;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 700;
    line-height: 1.15;
    color: var(--rt-ink);
}
.terra-content .rt-page-head__lead {
    max-width: 680px;
    margin: 12px 0 0;
    color: var(--rt-muted);
}

.terra-content .t-eyebrow {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--rt-blue);
}
.terra-content .t-display {
    margin: 0;
    font-family: inherit;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.01em;
    color: var(--rt-ink);
}
.terra-content .t-h2 { font-size: clamp(26px, 3vw, 38px); }
.terra-content .t-lead {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: var(--rt-muted);
}

.terra-content .t-about {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 40px;
    align-items: center;
}
.terra-content .t-about__photo { overflow: hidden; border-radius: 10px; }
.terra-content .t-about__photo img {
    display: block;
    width: 100%;
    height: 420px;
    object-fit: cover;
}
.terra-content .t-about__quote {
    margin: 0 0 18px;
    padding-left: 18px;
    border-left: 3px solid var(--rt-blue);
    font-family: inherit;
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 500;
    line-height: 1.4;
    color: var(--rt-ink);
}
.terra-content .t-about__text {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.75;
    color: var(--rt-body);
}
.terra-content .t-about__sign {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
}
.terra-content .t-about__sign b {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--rt-ink);
}
.terra-content .t-about__sign span {
    display: block;
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--rt-muted);
}
.terra-content .t-about__mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--rt-line);
    border-radius: 50%;
    background: #eef5fb;
    font-size: 18px;
    font-weight: 700;
    color: var(--rt-blue);
}

.terra-content .t-section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 26px;
}
.terra-content .t-section__head .t-h2 { max-width: 620px; }
.terra-content .t-section__link {
    padding-bottom: 2px;
    border-bottom: 1px solid currentColor;
    font-size: 13px;
    font-weight: 600;
    color: var(--rt-blue);
    white-space: nowrap;
}
.terra-content .t-section__link:hover { color: var(--rt-blue-d); }

.terra-content .t-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.terra-content .t-step {
    padding: 20px;
    border: 1px solid var(--rt-line);
    border-radius: 10px;
    background: #fff;
}
.terra-content .t-step b {
    display: block;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    color: var(--rt-blue);
}
.terra-content .t-step h3 {
    margin: 10px 0 6px;
    font-family: inherit;
    font-size: 18px;
    font-weight: 700;
    color: var(--rt-ink);
}
.terra-content .t-step p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--rt-muted); }

.terra-content .t-team {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.terra-content .t-person {
    overflow: hidden;
    border: 1px solid var(--rt-line);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(22, 40, 58, .04);
}
.terra-content .t-person__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 220px;
    background: #eef5fb;
    font-size: 46px;
    font-weight: 700;
    color: var(--rt-blue);
}
.terra-content .t-person__body { padding: 16px 18px 20px; }
.terra-content .t-person__body b {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--rt-ink);
}
.terra-content .t-person__body span {
    display: block;
    margin-top: 3px;
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--rt-muted);
}
.terra-content .t-person__body p { margin: 10px 0 0; font-size: 14px; line-height: 1.65; color: var(--rt-muted); }

@media (max-width: 991px) {
    .terra-content .t-about { grid-template-columns: 1fr; gap: 28px; }
    .terra-content .t-about__photo img { height: 360px; }
    .terra-content .t-steps { grid-template-columns: repeat(2, 1fr); }
    .terra-content .t-team { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575px) {
    .terra-content .t-section,
    .terra-content .t-section--paper { padding: 34px 0; }
    .terra-content .t-section--paper { margin: 0 -15px; padding-left: 15px; padding-right: 15px; }
    .terra-content .t-section__head { display: block; }
    .terra-content .t-section__link { display: inline-block; margin-top: 12px; }
    .terra-content .t-steps,
    .terra-content .t-team { grid-template-columns: 1fr; }
    .terra-content .t-about__photo img { height: 300px; }
    .terra-content .t-person__avatar { height: 190px; }
}
