
/* ==========================================================
   SECONDARY PAGES
   Единая визуальная система с главной
   ========================================================== */

.secondary-page {
    margin: 0;
    background: #fff;
    color: #0c2035;
}

.secondary-page .seo-wrap {
    width: min(calc(100% - 48px), var(--max, 1180px));
    margin-left: auto;
    margin-right: auto;
}


/* HERO */

.secondary-page .seo-hero {
    padding: 72px 0 64px;
    background: #fcfaf7;
    border-bottom: 1px solid rgba(12,32,53,.07);
}

.secondary-page .seo-eyebrow {
    margin: 0 0 16px;

    color: #c8102e;

    font-family: Arial, sans-serif;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 900;

    letter-spacing: .055em;
    text-transform: uppercase;
}

.secondary-page .seo-hero h1 {
    max-width: 940px;

    margin: 0 0 22px;

    color: #0c2035;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 5.2vw, 68px);
    line-height: .98;
    font-weight: 700;

    letter-spacing: -.025em;
}

.secondary-page .seo-lead {
    max-width: 790px;

    margin: 0 0 30px;

    color: #4d5964;

    font-family: Arial, sans-serif;
    font-size: 18px;
    line-height: 1.62;
}


/* BUTTONS */

.secondary-page .seo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.secondary-page .seo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 0 23px;

    border-radius: 5px;

    text-decoration: none;

    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1;
    font-weight: 800;

    box-sizing: border-box;
}

.secondary-page .seo-btn--primary {
    border: 1px solid #c8102e;
    background: #c8102e;
    color: #fff;
}

.secondary-page .seo-btn--primary:hover {
    background: #ad0e27;
}

.secondary-page .seo-btn--ghost {
    border: 1px solid #cfd4d8;
    background: #fff;
    color: #0c2035;
}


/* SECTIONS */

.secondary-page .seo-section {
    padding: 68px 0;
    background: #fff;
}

.secondary-page .seo-section--soft {
    background: #fcfaf7;
}

.secondary-page .seo-section h2 {
    max-width: 880px;

    margin: 0 0 28px;

    color: #0c2035;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(31px, 3.5vw, 47px);
    line-height: 1.04;
    font-weight: 700;

    letter-spacing: -.015em;
}

.secondary-page .seo-section h3 {
    margin: 0 0 10px;

    color: #0c2035;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    line-height: 1.15;
    font-weight: 700;
}

.secondary-page .seo-text,
.secondary-page .seo-list,
.secondary-page .seo-card p {
    color: #55616c;

    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
}


/* CARDS */

.secondary-page .seo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 14px;
}

.secondary-page .seo-card {
    padding: 24px;

    border: 1px solid #ded8cf;
    border-radius: 5px;

    background: #fff;

    box-shadow: none;
}

.secondary-page .seo-card a {
    color: #c8102e;
}


/* LIST */

.secondary-page .seo-list {
    margin: 0;
    padding-left: 22px;
}

.secondary-page .seo-list li {
    margin: 9px 0;
}


/* FORM */

.secondary-page .seo-form {
    width: 100%;
    max-width: 820px;

    padding: 28px;

    border: 1px solid #ded8cf;
    border-radius: 5px;

    background: #fff;

    box-sizing: border-box;
}

.secondary-page .seo-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.secondary-page .seo-form label {
    color: #47535e;

    font-family: Arial, sans-serif;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 700;
}

.secondary-page .seo-form input,
.secondary-page .seo-form select,
.secondary-page .seo-form textarea {
    display: block;

    width: 100%;

    margin-top: 7px;
    padding: 13px 14px;

    border: 1px solid #cfd4d8;
    border-radius: 4px;

    background: #fff;
    color: #172b3c;

    font: 400 15px Arial, sans-serif;

    box-sizing: border-box;
}

.secondary-page .seo-form textarea {
    min-height: 110px;
    resize: vertical;
}

.secondary-page .seo-form .seo-full {
    grid-column: 1 / -1;
}

.secondary-page .seo-form button {
    min-height: 50px;

    padding: 0 23px;

    border: 1px solid #c8102e;
    border-radius: 5px;

    background: #c8102e;
    color: #fff;

    font: 800 14px Arial, sans-serif;

    cursor: pointer;
}


/* LINKS */

.secondary-page .seo-crosslinks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.secondary-page .seo-crosslinks a {
    color: #c8102e;
    text-decoration: none;

    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 800;
}

.secondary-page .seo-crosslinks a:hover {
    text-decoration: underline;
}


/* FAQ */

.secondary-page .seo-faq details {
    padding: 20px 0;
    border-top: 1px solid #ded8cf;
}

.secondary-page .seo-faq details:last-child {
    border-bottom: 1px solid #ded8cf;
}

.secondary-page .seo-faq summary {
    color: #0c2035;

    cursor: pointer;

    font-family: Arial, sans-serif;
    font-size: 17px;
    line-height: 1.4;
    font-weight: 800;
}

.secondary-page .seo-faq p {
    max-width: 780px;

    color: #58636d;

    font: 400 15px/1.65 Arial, sans-serif;
}


/* ==========================================================
   ORLOVA COMMENT
   На внутренних страницах остается,
   но уже визуально соответствует главной
   ========================================================== */

.secondary-page .orlova-comment {
    width: min(calc(100% - 48px), var(--max,1180px));

    margin: 0 auto 54px;
}

.secondary-page .orlova-comment__inner {
    display: grid;
    grid-template-columns: 76px minmax(0,1fr);
    gap: 20px;

    padding: 23px 0;

    border-top: 2px solid #c8102e;
    border-bottom: 1px solid #ded8cf;

    background: transparent;
}

.secondary-page .orlova-comment__photo {
    width: 76px;
    height: 92px;

    object-fit: cover;
    object-position: center top;

    border-radius: 4px;
}

.secondary-page .orlova-comment__eyebrow {
    margin: 0 0 8px;

    color: #c8102e;

    font: 900 10px/1.2 Arial,sans-serif;

    letter-spacing: .065em;
}

.secondary-page .orlova-comment__quote {
    max-width: 850px;

    margin: 0 0 13px;

    color: #33434f;

    font: 400 17px/1.58 Georgia,serif;
}

.secondary-page .orlova-comment__person {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;

    margin-bottom: 6px;
}

.secondary-page .orlova-comment__person strong {
    color: #0c2035;
    font: 800 12px Arial,sans-serif;
}

.secondary-page .orlova-comment__person span {
    color: #717b84;
    font: 500 11px Arial,sans-serif;
}

.secondary-page .orlova-comment__link {
    color: #c8102e;
    text-decoration: none;
    font: 800 11px Arial,sans-serif;
}


/* ==========================================================
   YURIST
   ========================================================== */

.secondary-page .expert-profile {
    display: grid;
    grid-template-columns: 190px minmax(0,1fr);
    gap: 32px;
    align-items: center;

    max-width: 900px;
}

.secondary-page .expert-profile-photo {
    display: block;

    width: 190px;
    height: 228px;

    object-fit: cover;
    object-position: center top;

    border-radius: 5px;
}

.secondary-page .expert-profile-text h1 {
    margin-top: 0;
}

.secondary-page .expert-facts {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));

    max-width: 900px;

    margin: 28px 0 22px;

    border: 1px solid #ded8cf;
}

.secondary-page .expert-fact {
    min-height: 72px;

    padding: 15px;

    background: #fff;

    border-right: 1px solid #ded8cf;

    box-sizing: border-box;
}

.secondary-page .expert-fact:last-child {
    border-right: 0;
}

.secondary-page .expert-fact span {
    display: block;

    margin-bottom: 6px;

    color: #727c85;

    font: 600 10px Arial,sans-serif;
}

.secondary-page .expert-fact strong {
    color: #0c2035;

    font: 800 14px Arial,sans-serif;
}


/* MOBILE */

@media (max-width: 700px) {

    .secondary-page .seo-wrap,
    .secondary-page .orlova-comment {
        width: min(calc(100% - 32px), var(--max,1180px));
    }

    .secondary-page .seo-hero {
        padding: 48px 0 42px;
    }

    .secondary-page .seo-hero h1 {
        font-size: clamp(38px, 11vw, 54px);
    }

    .secondary-page .seo-lead {
        font-size: 16px;
    }

    .secondary-page .seo-section {
        padding: 48px 0;
    }

    .secondary-page .seo-grid,
    .secondary-page .seo-form-grid {
        grid-template-columns: 1fr;
    }

    .secondary-page .seo-form .seo-full {
        grid-column: auto;
    }

    .secondary-page .seo-card {
        padding: 20px;
    }

    .secondary-page .orlova-comment__inner {
        grid-template-columns: 56px minmax(0,1fr);

        gap: 13px;
    }

    .secondary-page .orlova-comment__photo {
        width: 56px;
        height: 68px;
    }

    .secondary-page .orlova-comment__quote {
        grid-column: 1 / -1;

        font-size: 16px;
    }

    .secondary-page .expert-profile {
        grid-template-columns: 1fr;
    }

    .secondary-page .expert-profile-photo {
        width: 145px;
        height: 174px;
    }

    .secondary-page .expert-facts {
        grid-template-columns: 1fr 1fr;
    }

    .secondary-page .expert-fact:nth-child(2) {
        border-right: 0;
    }
}


/* ==========================================================
   INTERNAL PAGES POLISH — 2026
   ========================================================== */

/*
   Убираем ощущение гигантских пустых секций.
*/

.secondary-page .seo-section {
    padding-top: 56px;
    padding-bottom: 56px;
}


/*
   Секции перелинковки:
   не голые красные ссылки, а нормальные карточки.
*/

.secondary-page .seo-section:has(.seo-crosslinks) {
    padding-top: 46px;
    padding-bottom: 46px;
}

.secondary-page .seo-section:has(.seo-crosslinks) h2 {
    margin-bottom: 24px;

    font-size: clamp(30px, 3vw, 42px);
}

.secondary-page .seo-crosslinks {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0,1fr));

    gap: 12px;

    max-width: 980px;
}

.secondary-page .seo-crosslinks a {
    display: flex;

    align-items: center;

    min-height: 72px;

    padding: 16px 18px;

    box-sizing: border-box;

    border: 1px solid #ded8cf;
    border-radius: 5px;

    background: #fff;

    color: #0c2035;

    text-decoration: none;

    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 800;

    transition:
        border-color .15s ease,
        color .15s ease,
        transform .15s ease;
}

.secondary-page .seo-crosslinks a::after {
    content: "→";

    margin-left: auto;
    padding-left: 14px;

    color: #c8102e;

    font-weight: 900;
}

.secondary-page .seo-crosslinks a:hover {
    border-color: #c8102e;

    color: #c8102e;

    text-decoration: none;

    transform: translateY(-1px);
}


/*
   Между двумя блоками перелинковки
   не оставляем огромную пустую полосу.
*/

.secondary-page
.seo-section:has(.seo-crosslinks)
+
.seo-section:has(.seo-crosslinks) {
    padding-top: 12px;
}


/* mobile */

@media(max-width:700px) {

    .secondary-page .seo-section {
        padding-top: 42px;
        padding-bottom: 42px;
    }

    .secondary-page .seo-section:has(.seo-crosslinks) {
        padding-top: 34px;
        padding-bottom: 34px;
    }

    .secondary-page .seo-crosslinks {
        grid-template-columns: 1fr;
    }

    .secondary-page .seo-crosslinks a {
        min-height: 58px;
    }
}

