/*
 * Страница «Документы» (pages/documents.php), макет
 * new_pages/sun-hills-layan-documents.html. Только под .np--documents;
 * общие переменные и классы (.np-wrap, .np-h1, .np-chip…) — pages.css.
 */

.np--documents .npd-hero {
    padding-bottom: 24px;
}

.np--documents .npd-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-right: 8px;
    border-radius: 50%;
    background: #6bcf45;
}

.np--documents .npd-art {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    min-height: 220px;
    padding: 34px 42px;
    border-radius: 32px;
    background: linear-gradient(125deg, #eff5f9, #f7f8f9 55%, #edf3f6);
}

.np--documents .npd-art__title {
    margin: 0 0 11px;
    font-size: clamp(23px, 3.3vw, 38px);
    line-height: 1.2;
    letter-spacing: -.045em;
}

.np--documents .npd-art__text {
    max-width: 550px;
    margin: 0;
    color: #7f8b96;
    font-size: 16px;
    line-height: 1.55;
}

.np--documents .npd-stack {
    position: relative;
    flex: none;
    width: 170px;
    height: 145px;
}

.np--documents .npd-sheet {
    position: absolute;
    top: 3px;
    right: 25px;
    display: block;
    width: 105px;
    height: 130px;
    border: 1px solid #dce5ec;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 9px 28px rgba(39, 67, 91, .075);
    transform: rotate(9deg);
}

.np--documents .npd-sheet::before {
    content: "";
    position: absolute;
    top: 35px;
    left: 21px;
    width: 57px;
    height: 7px;
    border-radius: 5px;
    background: #d7e4ed;
    box-shadow: 0 18px #e3ebf0, 0 36px #e3ebf0, 0 54px #e3ebf0;
}

.np--documents .npd-sheet--back {
    top: 14px;
    right: 51px;
    transform: rotate(-12deg);
}

.np--documents .npd-lead {
    max-width: 760px;
    margin: 0 0 30px;
    color: var(--np-muted);
    font-size: 17px;
    line-height: 1.65;
}

.np--documents .npd-hint {
    margin: 19px 0 0;
    color: #89959f;
    font-size: 14px;
    line-height: 1.65;
}

/* Материалы проекта — список */
.np--documents .npd-list {
    display: grid;
    gap: 14px;
}

.np--documents .npd-row {
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 22px 24px;
    border: 1px solid var(--np-line);
    border-radius: 26px;
    background: #fff;
}

.np--documents .npd-row__icon {
    flex: none;
    display: grid;
    place-items: center;
    width: 60px;
    height: 65px;
    border-radius: 18px;
    background: #eef4f8;
    color: #2c6794;
}

.np--documents .npd-row__icon svg {
    width: 31px;
    height: 31px;
}

.np--documents .npd-row__info {
    flex: 1;
    min-width: 0;
}

.np--documents .npd-row__title {
    margin: 0 0 7px;
    font-size: 19px;
    line-height: 1.3;
    letter-spacing: -.025em;
}

.np--documents .npd-row__text {
    margin: 0;
    color: #8c98a3;
    font-size: 14px;
    line-height: 1.55;
}

.np--documents .npd-row__status {
    color: #9aa6b0;
    font-size: 13px;
    white-space: nowrap;
}

.np--documents .npd-row__btn,
.np--documents .npd-card__btn {
    padding: 13px 21px;
    border: 1px solid #cbdde9;
    border-radius: 999px;
    background: #eef5fa;
    color: #286c9c;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    transition: background .15s ease;
}

.np--documents .npd-row__btn:hover,
.np--documents .npd-card__btn:hover {
    background: #dcecf7;
}

/* Юридические документы — карточки */
.np--documents .npd-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.np--documents .npd-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 250px;
    padding: 28px;
    border: 1px solid var(--np-line);
    border-radius: 28px;
    background: #fff;
}

.np--documents .npd-card__icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 22px;
    border-radius: 17px;
    background: #edf4f8;
    color: #2e6b9b;
}

.np--documents .npd-card__icon svg {
    width: 26px;
    height: 26px;
}

.np--documents .npd-card__title {
    margin: 0 0 10px;
    font-size: 21px;
    line-height: 1.25;
    letter-spacing: -.04em;
}

.np--documents .npd-card__text {
    margin: 0 0 18px;
    color: #85929d;
    font-size: 14px;
    line-height: 1.55;
}

.np--documents .npd-card__btn {
    margin-top: auto;
    border: 0;
    background: #e8f2f9;
    color: #2b699a;
}

/* Порядок проверки */
.np--documents .npd-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.np--documents .npd-step {
    padding: 28px;
    border: 1px solid var(--np-line);
    border-radius: 27px;
    background: #fff;
}

.np--documents .npd-step__num {
    color: #a6b1bb;
    font-size: 18px;
}

.np--documents .npd-step__title {
    margin: 26px 0 12px;
    font-size: 22px;
    line-height: 1.25;
    letter-spacing: -.035em;
}

.np--documents .npd-step__text {
    margin: 0;
    color: #85919c;
    font-size: 15px;
    line-height: 1.65;
}

/* Запрос документов */
.np--documents .npd-request {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 52px;
    align-items: start;
    padding: 55px;
    border-radius: 40px;
    background: #102535;
    color: #fff;
}

.np--documents .npd-request .np-eyebrow {
    color: #93aab9;
}

.np--documents .npd-request .np-h2 {
    font-size: clamp(32px, 4.2vw, 52px);
}

.np--documents .npd-request__copy p {
    margin: 0 0 22px;
    color: #afbfca;
    font-size: 16px;
    line-height: 1.65;
}

.np--documents .npd-request__copy .np-eyebrow {
    margin-bottom: 18px;
    font-size: 13px;
}

.np--documents .npd-request__mail a {
    color: #fff;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.np--documents .npd-request__mail a:hover {
    text-decoration: underline;
}

.np--documents .npd-request__form {
    max-width: none;
    margin: 0;
    border-radius: 30px;
    background: #fff;
    color: var(--np-ink);
}

/* FAQ */
.np--documents .npd-faq {
    display: grid;
    gap: 12px;
}

.np--documents .npd-faq__item {
    padding: 21px 25px;
    border: 1px solid var(--np-line);
    border-radius: 22px;
    background: #fff;
}

.np--documents .npd-faq__item summary {
    cursor: pointer;
    font-size: 18px;
    font-weight: 650;
    line-height: 1.4;
}

.np--documents .npd-faq__item p {
    margin: 15px 0 0;
    color: #85919c;
    font-size: 15px;
    line-height: 1.65;
}

@media (max-width: 850px) {
    .np--documents .npd-cards,
    .np--documents .npd-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .np--documents .npd-request {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 35px;
    }

    .np--documents .npd-art {
        min-height: 180px;
    }
}

@media (max-width: 590px) {
    .np--documents .npd-art {
        gap: 16px;
        min-height: 160px;
        padding: 26px;
    }

    .np--documents .npd-art__title {
        font-size: 24px;
    }

    .np--documents .npd-art__text {
        font-size: 14px;
    }

    .np--documents .npd-stack {
        width: 77px;
        height: 98px;
    }

    .np--documents .npd-sheet {
        right: 5px;
        width: 60px;
        height: 86px;
    }

    .np--documents .npd-sheet--back {
        right: 19px;
    }

    .np--documents .npd-sheet::before {
        top: 26px;
        left: 12px;
        width: 35px;
        height: 4px;
        box-shadow: 0 12px #e3ebf0, 0 24px #e3ebf0, 0 36px #e3ebf0;
    }

    .np--documents .npd-row {
        flex-wrap: wrap;
        gap: 13px;
        padding: 18px;
    }

    .np--documents .npd-row__icon {
        width: 48px;
        height: 52px;
        border-radius: 14px;
    }

    .np--documents .npd-row__info {
        flex-basis: calc(100% - 66px);
    }

    .np--documents .npd-row__title {
        font-size: 17px;
    }

    .np--documents .npd-row__status {
        display: none;
    }

    .np--documents .npd-row__btn {
        margin-left: 61px;
    }

    .np--documents .npd-cards {
        grid-template-columns: 1fr;
        gap: 11px;
    }

    .np--documents .npd-card {
        min-height: 0;
        padding: 22px;
    }

    .np--documents .npd-card__title {
        font-size: 19px;
    }

    .np--documents .npd-steps {
        grid-template-columns: 1fr;
    }

    .np--documents .npd-request {
        padding: 25px 18px;
        border-radius: 30px;
    }

    .np--documents .npd-request__form {
        padding: 22px 17px;
        border-radius: 24px;
    }

    .np--documents .npd-faq__item {
        padding: 18px 20px;
    }

    .np--documents .npd-faq__item summary {
        font-size: 17px;
    }
}

/* Сброс critical.css (font: inherit у h*, strong) — вес задаём явно */
.np--documents .npd-art__title,
.np--documents .npd-row__title,
.np--documents .npd-card__title,
.np--documents .npd-step__title {
    font-weight: 700;
}
