/* =========================================
   PRIVACY POLICY STYLES (LOCAL)
   ========================================= */

/* Контейнер страницы */
.contact-page {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    padding: 120px 20px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Шапка заголовка */
.section-header {
    text-align: center;
    margin-bottom: 50px;
    width: min(700px, 100%);
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #a0a0a0;
    line-height: 1.6;
}

/* Основной блок с текстом */
.policy-text {
    width: min(700px, 100%);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 50px 45px;
    color: #b0b0b0;
    font-size: 0.95rem;
    line-height: 1.8;
    box-shadow: 0 20px 50px -20px rgba(0,0,0,0.5);
}

/* Заголовки пунктов (H3) */
.policy-text h3 {
    font-family: 'Cinzel', serif;
    color: #8affc6; /* Брендовый зеленый */
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    margin: 35px 0 15px;
    font-weight: 600;
}

/* Первый заголовок без отступа сверху */
.policy-text h3:first-child {
    margin-top: 0;
}

/* Абзацы */
.policy-text p {
    margin-bottom: 15px;
}

/* Списки */
.policy-text ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.policy-text li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: #c0c0c0;
}

/* Маркер списка (тире) */
.policy-text li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: #606060;
}

/* Ссылки внутри текста */
.policy-text a {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px dotted rgba(138, 255, 198, 0.5);
    transition: all 0.3s ease;
}

.policy-text a:hover {
    color: #8affc6;
    border-bottom-color: #8affc6;
}

/* Код (для email) */
.policy-text code {
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    color: #ddd;
    font-size: 0.9em;
}

/* Дата обновления */
.policy-date {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #666;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-align: right;
}

/* Кнопка "Назад" */
.back-link {
    position: fixed;
    top: 30px;
    left: 30px;
    z-index: 10;
    color: #888;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: color .3s ease;
}

.back-link:hover {
    color: #fff;
}

/* Футер */
.contact-footer {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 20px;
    margin-top: auto; /* Прижимает футер вниз, если контента мало */
}

.contact-footer p {
    color: #555;
    font-size: 0.8rem;
    letter-spacing: 4px;
}

.contact-footer a {
    color: #888;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: color .3s ease;
}

.contact-footer a:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .policy-text {
        padding: 35px 25px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}