@charset "UTF-8";

[data-i18n] {
    visibility: hidden;
}

body.loaded [data-i18n] {
    visibility: visible;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    background-color: #f8f9fa;
    color: #212529;
    font-family: "Inter", sans-serif;
}

a {
    text-decoration: none !important;
}

.block-first {
    padding: 0 !important;
}

.block-second {
    padding-top: 0 !important;
}

.page-title {
    font-size: 36px;
    margin-bottom: 30px;
    line-height: 1.2;
    font-weight: bold;
}

.section {
    margin-bottom: 3rem;
}

.section-header {
    max-width: 600px;
    min-height: 74px;
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 20px 160px 20px 50px;
    box-shadow: 0px 4px 51px rgba(89, 89, 89, 0.15);
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.site-content .block:nth-child(2n) {
    background-color: #F8F9FA !important;
}

.section-title {
    color: #1f7a4f;
    font-size: 28px;
    line-height: 1.2;
    margin: 0 !important;
}

.document-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.document-row:nth-of-type(2) .doc-button {
    flex-basis: 50%;
    max-width: 50%;
}

.document-row .doc-button {
    flex-grow: 1;
}

.document-row .doc-button:nth-child(1) {
    flex-basis: 25%;
    max-width: 25%;
}

.document-row .doc-button:nth-child(2) {
    flex-basis: 35%;
    max-width: 35%;
}

.document-row .doc-button:nth-child(3) {
    flex-basis: 35%;
    max-width: 35%;
}

.document-row .doc-button:nth-child(4),
.document-row .doc-button:nth-child(5) {
    flex-basis: 48%;
    max-width: 48%;
}

.document-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.doc-button {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: transparent;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
    text-align: left;
}

.doc-button:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.doc-icon-box {
    width: 70px;
    height: 60px;
    background-color: #F8F9FA;
    box-shadow: 0px 4px 51px rgba(89, 89, 89, 0.15);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.doc-icon {
    width: 30px;
    height: 30px;
}

.doc-text {
    font-weight: bold;
    font-size: 24px;
    line-height: 32px;
    color: #212529;
}

@media (max-width: 1545px) {

    .document-row .doc-button:nth-child(1),
    .document-row .doc-button:nth-child(2),
    .document-row .doc-button:nth-child(3),
    .document-row .doc-button:nth-child(4),
    .document-row .doc-button:nth-child(5) {
        flex-basis: 100%;
        max-width: 100%;
    }

    .doc-button {
        background-color: #fff;
        padding: 1.5rem;
        border-radius: 10px;
        box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.05);
    }
}

@media (max-width: 1222px) {
    .section-header {
        max-width: 100%;
        padding: 20px 160px 20px 50px;
        margin-bottom: 1.5rem;
    }

    .document-row {
        flex-direction: column;
    }

    .document-row .doc-button {
        max-width: 100%;
        flex: 1 1 100%;
    }
}

@media (max-width: 768px) {
    .block-container {
        padding: 20px 10px;
    }

    .section-header {
        padding: 20px;
    }

    .page-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 24px;
    }

    .doc-text {
        font-size: 20px;
    }

    .document-row {
        flex-direction: column;
        gap: 1rem;
    }

    .document-grid {
        grid-template-columns: 1fr;
    }

    .doc-button {
        width: 100%;
    }
}

@media (max-width: 468px) {
    .page-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 20px;
    }

    .doc-text {
        font-size: 16px;
    }

    .document-row {
        flex-direction: column;
        gap: 0.5rem;
    }

    .document-grid {
        grid-template-columns: 1fr;
    }

    .doc-button {
        width: 100%;
    }
}