/* ============================================
   POLICY PAGE
============================================ */
.policy-page {
    padding: 140px 0 80px;
    background: var(--white);
    min-height: 70vh;
    position: relative;
    overflow: hidden;
}

.policy-page-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/images/bg_fiber.png');
    background-size: auto 100%;
    background-position: center;
    background-repeat: repeat-x;
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, transparent 0%, #000 20%, #000 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 20%, #000 80%, transparent 100%);
}

.policy-page .container {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.back-link-top {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    color: var(--blue-primary);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 10px 22px;
    background: rgba(20, 129, 186, 0.06);
    border: 2px solid rgba(20, 129, 186, 0.15);
    border-radius: 50px;
    transition: all 0.3s ease;
}
.back-link-top:hover {
    background: rgba(20, 129, 186, 0.12);
    border-color: var(--blue-primary);
    transform: translateX(-4px);
    color: var(--blue-primary);
    text-decoration: none;
}
.back-link-top .icon { font-size: 0.9em; }

.policy-content {
    background: var(--white);
    padding: 60px 70px;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(20, 129, 186, 0.06);
    border: 1px solid rgba(20, 129, 186, 0.08);
}

.policy-content .policy-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--blue-light);
}

.policy-content .policy-header .policy-badge {
    display: inline-block;
    background: rgba(20, 129, 186, 0.06);
    color: var(--blue-primary);
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.policy-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.policy-content .last-updated {
    color: var(--text-gray);
    font-size: 14px;
    margin-top: 8px;
    display: block;
}

.policy-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 40px 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--blue-light);
    display: flex;
    align-items: center;
    gap: 12px;
}
.policy-content h2 .icon {
    color: var(--blue-primary);
    font-size: 20px;
    width: 32px;
    text-align: center;
}

.policy-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 16px;
}

.policy-content ul { margin: 12px 0 24px 0; list-style: none; }
.policy-content ul li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 8px;
    padding-left: 28px;
    position: relative;
}
.policy-content ul li::before {
    content: "✦";
    color: var(--blue-primary);
    font-size: 12px;
    position: absolute;
    left: 4px;
    top: 2px;
}

.policy-content .highlight-box {
    background: var(--blue-light);
    padding: 20px 28px;
    border-radius: 8px;
    border-left: 4px solid var(--blue-primary);
    margin: 24px 0;
}
.policy-content .highlight-box p {
    margin-bottom: 0;
    font-weight: 500;
    color: var(--text-dark);
}

.policy-content a {
    color: var(--blue-primary);
    font-weight: 500;
    transition: 0.3s;
}
.policy-content a:hover {
    color: var(--blue-secondary);
    text-decoration: underline;
}

/* Шапка на странице политики всегда "белая" */
.header.on-policy-page {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    padding: 14px 0;
    border-bottom: 1px solid rgba(20, 129, 186, 0.04);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}
.header.on-policy-page .logo-img { filter: none; }
.header.on-policy-page .logo-text { color: var(--text-gray); }
.header.on-policy-page .nav a { color: var(--text-gray); }
.header.on-policy-page .nav a:hover { color: var(--blue-primary); }
.header.on-policy-page .phone-link { color: var(--blue-primary); }
.header.on-policy-page .phone-link:hover { color: var(--blue-secondary); }
.header.on-policy-page .mobile-menu-btn { color: var(--text-dark); }
.header.on-policy-page .mobile-menu-btn:hover { color: var(--blue-primary); border-color: rgba(20, 129, 186, 0.1); }
.header.on-policy-page .header-wave { opacity: 1; }
.header.on-policy-page .header-wave .wave-fill { fill: rgba(20, 129, 186, 0.08); }

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 768px) {
    .policy-page { padding: 120px 0 60px; }
    .policy-content { padding: 32px 24px; }
    .policy-content h1 { font-size: 28px; }
    .policy-content h2 { font-size: 19px; }
    .policy-content p, .policy-content ul li { font-size: 15px; }
    .back-link-top { font-size: 0.7rem; padding: 8px 16px; letter-spacing: 1px; }
}

@media (max-width: 480px) {
    .policy-content { padding: 20px 16px; }
    .policy-content h1 { font-size: 22px; }
    .policy-content .highlight-box { padding: 14px 16px; }
}