/* ===== CSS RESET И БАЗОВЫЕ СТИЛИ ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.7;
    color: #333;
    background-color: #c8e4ed;
    font-size: 16px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===== ТИПОГРАФИЯ ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #2c3e50;
}

h1 { 
    font-size: 2.8rem; 
    text-align: center;
}
h2 { 
    font-size: 2.2rem; 
    color: #597d89;
}
h3 { 
    font-size: 1.8rem; 
}

p { margin-bottom: 1.5rem; }

a {
    text-decoration: none;
    color: #597d89;
    transition: color 0.3s ease;
}

a:hover { color: #4a6a75; }

/* ===== КНОПКИ ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #597d89;
    color: white;
    border: none;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn:hover {
    background-color: #4a6a75;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    color: white;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid #597d89;
    color: #597d89;
}

.btn-secondary:hover {
    background-color: #597d89;
    color: white;
}

/* ===== ШАПКА САЙТА ===== */
.header {
    background-color: #fff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 15px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #597d89;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    font-weight: 600;
    position: relative;
}

.nav a:hover {
    color: #4a6a75;
}

/* ===== ГЛАВНАЯ СЕКЦИЯ ПОЛИТИКИ ===== */
.privacy-hero {
    background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.7)), url('../images/privacy-bg.jpg') center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 80px 0;
    min-height: 40vh;
    display: flex;
    align-items: center;
}

.privacy-hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
}

.privacy-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* ===== ОСНОВНОЙ КОНТЕНТ ПОЛИТИКИ ===== */
.privacy-content {
    padding: 80px 0;
    background-color: #fafdfd;
}

.privacy-wrapper {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

/* Боковая панель с навигацией */
.privacy-sidebar {
    flex: 0 0 280px;
    position: sticky;
    top: 120px;
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.privacy-sidebar h3 {
    margin-bottom: 1.5rem;
    color: #597d89;
    font-size: 1.3rem;
    border-bottom: 2px solid #c8e4ed;
    padding-bottom: 0.5rem;
}

.privacy-nav {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.privacy-nav-link {
    padding: 0.8rem 1rem;
    border-radius: 5px;
    color: #2c3e50;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.privacy-nav-link:hover {
    background-color: #f0f7fa;
    color: #597d89;
    border-left-color: #597d89;
}

.privacy-nav-link.active {
    background-color: #e6f2f5;
    color: #597d89;
    border-left-color: #597d89;
    font-weight: 600;
}

/* Основной контент политики */
.privacy-main {
    flex: 1;
    background: white;
    border-radius: 10px;
    padding: 3rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.privacy-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eaeaea;
}

.privacy-section:last-of-type {
    border-bottom: none;
    margin-bottom: 2rem;
}

.privacy-section h2 {
    text-align: left;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    font-size: 1.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #c8e4ed;
}

.privacy-section p {
    margin-bottom: 1.2rem;
    line-height: 1.7;
    text-align: justify;
}

.privacy-section ul, .privacy-section ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.privacy-section li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.privacy-section ul li::marker {
    color: #597d89;
}

.privacy-section ol li::marker {
    color: #597d89;
    font-weight: 600;
}

/* Контактная информация */
.contact-info {
    background: #f6fafb;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.contact-info p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.contact-info i {
    color: #597d89;
    width: 20px;
    text-align: center;
}

.contact-info a {
    color: #597d89;
    font-weight: 500;
}

.contact-info a:hover {
    color: #4a6a75;
    text-decoration: underline;
}

/* Кнопки действий */
.privacy-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eaeaea;
}

/* ===== ПОДВАЛ ===== */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer p {
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.6;
}

.footer-nav {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-nav a {
    color: #c8e4ed;
    font-weight: 500;
}

.footer-nav a:hover {
    color: white;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 992px) {
    .privacy-wrapper {
        flex-direction: column;
        gap: 2rem;
    }
    
    .privacy-sidebar {
        flex: none;
        width: 100%;
        position: static;
    }
    
    .privacy-nav {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .privacy-nav-link {
        border-left: none;
        border-bottom: 3px solid transparent;
    }
    
    .privacy-nav-link:hover,
    .privacy-nav-link.active {
        border-left: none;
        border-bottom-color: #597d89;
    }
}

@media (max-width: 768px) {
    .privacy-hero h1 {
        font-size: 2.2rem;
    }
    
    .privacy-hero p {
        font-size: 1rem;
    }
    
    .privacy-main {
        padding: 2rem 1.5rem;
    }
    
    .privacy-section h2 {
        font-size: 1.5rem;
    }
    
    .privacy-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .privacy-actions .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .privacy-hero {
        padding: 60px 0;
        min-height: 30vh;
    }
    
    .privacy-content {
        padding: 60px 0;
    }
    
    .privacy-main {
        padding: 1.5rem;
    }
    
    .privacy-nav {
        flex-direction: column;
    }
    
    .privacy-nav-link {
        text-align: center;
    }
    
    .contact-info p {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav {
        gap: 0.8rem;
    }
    
    .nav a {
        font-size: 0.9rem;
    }
}
/* БАННЕР СОГЛАСИЯ обработки ПДн*/
.consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #2c3e50;
    color: white;
    padding: 15px;
    z-index: 9999;
    display: none;
}
.consent-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.consent-content p {
    margin: 0;
    flex: 1;
}
.consent-buttons {
    display: flex;
    gap: 10px;
}
@media (max-width: 768px) {
    .consent-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .consent-buttons {
        width: 100%;
        justify-content: center;
    }
}