/* =========================================================
   ДВЕРИ МАСТАК
   PRIVACY POLICY
   ========================================================= */


/* =========================================================
   ОСНОВА
   ========================================================= */

.privacy-page {
    min-height: 100vh;
}

.privacy-page a {
    transition:
        color .2s ease,
        background-color .2s ease,
        border-color .2s ease,
        transform .2s ease;
}


/* =========================================================
   ОСНОВНОЙ КОНТЕНТ
   ========================================================= */

.privacy-main {
    width: 100%;
    max-width: var(--page-width);
    margin: 0 auto;
}


/* =========================================================
   ВЕРХНИЙ БЛОК СТРАНИЦЫ
   ========================================================= */

.privacy-heading {
    margin-bottom: 14px;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f8faf9 100%
        );

    border: 1px solid var(--border);
    border-radius: var(--radius);

    box-shadow: var(--shadow);

    overflow: hidden;

    position: relative;
}

.privacy-heading::after {
    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    right: -100px;
    top: -150px;

    border-radius: 50%;

    background: var(--green-soft);

    pointer-events: none;
}

.privacy-heading-inner {
    position: relative;
    z-index: 1;

    padding: 30px 38px 32px;
}


/* Хлебные крошки */

.privacy-breadcrumb {
    display: flex;
    align-items: center;

    gap: 8px;

    margin-bottom: 22px;

    color: var(--muted);

    font-size: 11px;
}

.privacy-breadcrumb a {
    color: var(--green);

    font-weight: 700;

    text-decoration: none;
}

.privacy-breadcrumb a:hover {
    color: var(--green-dark);
}

.privacy-breadcrumb span:nth-child(2) {
    color: #c5cbce;
}


/* Маленькая надпись */

.privacy-heading-label {
    display: inline-flex;
    align-items: center;

    margin-bottom: 8px;

    color: var(--green);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .12em;

    text-transform: uppercase;
}


/* Заголовок */

.privacy-heading h1 {
    margin: 0;

    color: var(--text);

    font-size: 32px;
    line-height: 1.15;

    font-weight: 750;

    letter-spacing: -.02em;
}

.privacy-heading p {
    max-width: 680px;

    margin: 10px 0 0;

    color: var(--text-soft);

    font-size: 14px;
    line-height: 1.65;
}


/* Мета */

.privacy-heading-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 20px;

    color: var(--muted);

    font-size: 11px;
}

.privacy-heading-meta strong {
    color: var(--text-soft);
}

.privacy-meta-divider {
    width: 4px;
    height: 4px;

    border-radius: 50%;

    background: var(--green);
}


/* =========================================================
   ДОКУМЕНТ
   ========================================================= */

.privacy-document-section {
    width: 100%;
}

.privacy-document-layout {
    display: grid;

    grid-template-columns: 225px minmax(0, 1fr);

    gap: 14px;

    align-items: start;
}


/* =========================================================
   БОКОВОЕ СОДЕРЖАНИЕ
   ========================================================= */

.privacy-sidebar {
    position: sticky;
    top: 76px;

    padding: 17px;

    background: #fff;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    box-shadow: 0 2px 12px rgba(28, 35, 40, .045);
}

.privacy-sidebar-title {
    margin-bottom: 9px;

    color: var(--muted);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .1em;

    text-transform: uppercase;
}

.privacy-sidebar a {
    display: flex;
    align-items: center;

    gap: 9px;

    padding: 10px 2px;

    color: var(--text-soft);

    font-size: 11px;
    font-weight: 500;

    text-decoration: none;

    border-bottom: 1px solid #f0f2f3;
}

.privacy-sidebar a:last-child {
    border-bottom: 0;
}

.privacy-sidebar a span {
    width: 24px;

    color: var(--green);

    font-size: 9px;
    font-weight: 800;

    flex-shrink: 0;
}

.privacy-sidebar a:hover {
    padding-left: 5px;

    color: var(--green);
}


/* =========================================================
   БОЛЬШОЙ БЕЛЫЙ ДОКУМЕНТ
   ========================================================= */

.privacy-document {
    min-width: 0;

    padding: 34px 42px 38px;

    background: #fff;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    box-shadow: var(--shadow);
}


/* =========================================================
   ВВЕДЕНИЕ
   ========================================================= */

.privacy-introduction {
    display: grid;

    grid-template-columns: 145px minmax(0, 1fr);

    gap: 25px;

    margin-bottom: 35px;
    padding-bottom: 27px;

    border-bottom: 1px solid var(--border);
}

.privacy-introduction-mark {
    padding-top: 3px;

    color: var(--green);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .08em;

    text-transform: uppercase;
}

.privacy-introduction p {
    margin: 0;

    color: #596268;

    font-size: 14px;
    line-height: 1.8;
}


/* =========================================================
   РАЗДЕЛЫ
   ========================================================= */

.privacy-section {
    display: grid;

    grid-template-columns: 42px minmax(0, 1fr);

    gap: 16px;

    scroll-margin-top: 85px;

    margin-bottom: 40px;
}

.privacy-section-number {
    padding-top: 4px;

    color: var(--green);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .04em;
}

.privacy-section-content {
    min-width: 0;
}


/* Заголовки */

.privacy-section h2 {
    position: relative;

    margin: 0 0 16px;

    padding-bottom: 12px;

    color: var(--text);

    font-size: 21px;
    line-height: 1.3;

    font-weight: 700;

    border-bottom: 1px solid var(--border);
}

.privacy-section h2::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -1px;

    width: 42px;
    height: 2px;

    background: var(--green);
}

.privacy-section h3 {
    margin: 27px 0 10px;

    color: var(--text);

    font-size: 16px;
    line-height: 1.4;
}


/* Текст */

.privacy-section p {
    margin: 0 0 15px;

    color: #596268;

    font-size: 14px;
    line-height: 1.8;
}


/* Списки */

.privacy-section ul {
    margin: 0 0 17px;

    padding: 0;

    list-style: none;
}

.privacy-section li {
    position: relative;

    margin: 0 0 9px;

    padding-left: 19px;

    color: #596268;

    font-size: 14px;
    line-height: 1.7;
}

.privacy-section li::before {
    content: "";

    position: absolute;

    left: 1px;
    top: .72em;

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--green);
}


/* Ссылки */

.privacy-section a {
    color: var(--green);

    font-weight: 700;

    text-decoration: none;
}

.privacy-section a:hover {
    color: var(--green-dark);

    text-decoration: underline;
}


/* =========================================================
   ВЫДЕЛЕННЫЙ БЛОК
   ========================================================= */

.privacy-highlight {
    display: flex;
    align-items: flex-start;

    gap: 14px;

    margin: 22px 0;

    padding: 18px 19px;

    background: var(--green-soft);

    border: 1px solid #dcebd4;

    border-left: 4px solid var(--green);

    border-radius: 7px;
}

.privacy-highlight-icon {
    width: 25px;
    height: 25px;

    display: grid;
    place-items: center;

    flex-shrink: 0;

    background: var(--green);

    border-radius: 50%;

    color: #fff;

    font-size: 12px;
    font-weight: 800;
}

.privacy-highlight strong {
    display: block;

    margin-bottom: 4px;

    color: var(--text);

    font-size: 13px;
}

.privacy-highlight p {
    margin: 0 0 4px;

    font-size: 13px;
    line-height: 1.5;
}


/* =========================================================
   КОНТАКТЫ
   ========================================================= */

.privacy-contacts {
    display: grid;

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

    gap: 10px;

    margin-top: 20px;
}

.privacy-contact {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 6px;

    padding: 16px 17px;

    background: var(--surface-soft);

    border: 1px solid var(--border);

    border-radius: 8px;

    text-decoration: none;
}

.privacy-contact:last-child {
    grid-column: 1 / -1;
}

a.privacy-contact:hover {
    border-color: #c9dabe;

    background: var(--green-soft);

    transform: translateY(-1px);
}

.privacy-contact-label {
    color: var(--muted);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .1em;
}

.privacy-contact-value {
    color: var(--text);

    font-size: 13px;
    line-height: 1.5;

    word-break: break-word;
}

a.privacy-contact:hover .privacy-contact-value {
    color: var(--green);
}


/* =========================================================
   КОНЕЦ ДОКУМЕНТА
   ========================================================= */

.privacy-document-end {
    margin-top: 15px;
}

.privacy-document-end-line {
    width: 100%;
    height: 1px;

    background: var(--border);
}

.privacy-document-end-content {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding-top: 16px;

    color: var(--muted);

    font-size: 10px;
}

.privacy-document-end-content strong {
    color: var(--text-soft);
}

.privacy-document-end-content span:last-child {
    color: var(--green);

    font-weight: 800;

    letter-spacing: .08em;
}


/* =========================================================
   ФУТЕР
   ========================================================= */

.privacy-page footer {
    width: 100%;
    max-width: var(--page-width);

    margin: 14px auto 0;

    border-radius: var(--radius);

    overflow: hidden;
}


/* =========================================================
   МОБИЛЬНАЯ ВЕРСИЯ
   ========================================================= */

@media (max-width: 900px) {

    .privacy-document-layout {
        grid-template-columns: 1fr;
    }

    .privacy-sidebar {
        position: static;
    }

    .privacy-sidebar a {
        display: inline-flex;

        width: 50%;

        box-sizing: border-box;

        vertical-align: top;
    }

    .privacy-sidebar-title {
        margin-bottom: 5px;
    }

    .privacy-introduction {
        grid-template-columns: 1fr;

        gap: 8px;
    }
}


@media (max-width: 700px) {

    .privacy-page {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .privacy-heading-inner {
        padding: 24px 21px 25px;
    }

    .privacy-heading h1 {
        font-size: 25px;
    }

    .privacy-heading p {
        font-size: 13px;
    }

    .privacy-heading-meta {
        align-items: flex-start;
        flex-direction: column;

        gap: 5px;
    }

    .privacy-meta-divider {
        display: none;
    }

    .privacy-document {
        padding: 25px 20px 28px;
    }

    .privacy-section {
        grid-template-columns: 30px minmax(0, 1fr);

        gap: 10px;

        margin-bottom: 32px;
    }

    .privacy-section h2 {
        font-size: 18px;
    }

    .privacy-section p,
    .privacy-section li,
    .privacy-introduction p {
        font-size: 13px;
    }

    .privacy-contacts {
        grid-template-columns: 1fr;
    }

    .privacy-contact:last-child {
        grid-column: auto;
    }

    .privacy-document-end-content {
        align-items: flex-start;
        flex-direction: column;

        gap: 5px;
    }
}


@media (max-width: 480px) {

    .privacy-sidebar a {
        width: 100%;
    }

    .privacy-heading h1 {
        font-size: 23px;
    }

    .privacy-heading-label {
        font-size: 9px;
    }

    .privacy-document {
        padding: 22px 16px 25px;
    }

    .privacy-section {
        grid-template-columns: 1fr;

        gap: 4px;
    }

    .privacy-section-number {
        padding-top: 0;

        font-size: 9px;
    }

    .privacy-section h2 {
        font-size: 17px;
    }

    .privacy-highlight {
        padding: 15px;
    }
}