/* --- ОБЩИЕ НАСТРОЙКИ СТРАНИЦЫ --- */
.info-page-wrapper {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.page-header {
    text-align: center;
    margin-bottom: 60px;
}

.page-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.page-subtitle {
    color: var(--accent-color);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
}

/* --- СЕТКА КАРТОЧЕК --- */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

/* Карточка */
.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(var(--glass-blur));
    padding: 50px 40px;
    border-radius: 16px;
    transition: 0.3s ease;
}

.info-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(255, 42, 42, 0.1);
    transform: translateY(-5px);
}

.card-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.info-card h2 {
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: #fff;
}

.card-intro {
    color: #ccc;
    margin-bottom: 30px;
    font-size: 15px;
    line-height: 1.6;
}

/* --- СПИСКИ --- */
.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-list .icon {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.info-list .text {
    color: #aaa;
    font-size: 14px;
    line-height: 1.6;
}

.info-list strong {
    color: #fff;
    font-weight: 700;
}

/* Примечания внизу карточек */
.card-note {
    margin-top: 30px;
    font-size: 12px;
    color: #666;
    font-style: italic;
    border-top: 1px dashed #333;
    padding-top: 15px;
}

.secure-note {
    color: #4caf50;
    /* Зеленоватый оттенок для безопасности */
}

/* --- БЛОК CTA (CONTACT) --- */
.cta-block {
    background: linear-gradient(90deg, #111 0%, #1a1a1a 100%);
    border: 1px solid var(--border-color);
    padding: 50px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-content h3 {
    font-size: 24px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.cta-content p {
    color: #999;
    font-size: 15px;
    line-height: 1.6;
    max-width: 600px;
}

.cta-btn {
    background: var(--accent-color);
    color: #fff;
    text-decoration: none;
    padding: 15px 35px;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 4px;
    white-space: nowrap;
    transition: 0.3s;
    box-shadow: 0 5px 20px rgba(255, 42, 42, 0.3);
}

.cta-btn:hover {
    background: var(--accent-hover);
    transform: scale(1.05);
}

/* --- АДАПТИВНОСТЬ --- */
@media (max-width: 900px) {
    .info-grid {
        grid-template-columns: 1fr;
        /* Одна колонка на мобилках */
    }

    .cta-block {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .cta-btn {
        width: 100%;
        text-align: center;
    }
}

/* --- СТИЛИ ДЛЯ БЛОКА ГАРАНТИИ --- */

.warranty-section {
    margin-bottom: 60px;
}

.warranty-card {
    border-top: 3px solid var(--accent-color);
    /* Красная линия сверху для важности */
}

/* Делаем заголовок гарантии горизонтальным */
.warranty-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.warranty-header .card-icon {
    margin-bottom: 0;
    font-size: 32px;
}

.warranty-header h2 {
    margin-bottom: 0;
}

/* Список в две колонки внутри гарантии (для экономии места) */
.two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.two-cols li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
    margin-bottom: 0;
}

/* Подсветка предупреждения */
.warning-item {
    background: rgba(255, 42, 42, 0.05);
    padding: 10px;
    border-radius: 4px;
    border-left: 2px solid var(--accent-color);
}

.warning-item .text strong {
    color: var(--accent-color);
}

/* Адаптивность для гарантии */
@media (max-width: 900px) {
    .two-cols {
        grid-template-columns: 1fr;
        /* На мобилке в одну колонку */
    }

    .warranty-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* --- СТИЛИ FAQ --- */

.faq-wrapper {
    max-width: 900px; /* Узкий контейнер для удобства чтения */
    margin: 80px auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.page-header {
    text-align: center;
    margin-bottom: 60px;
}

.page-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.page-subtitle {
    color: var(--accent-color);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
}

/* Контейнер вопросов */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Элемент аккордеона */
.faq-item {
    background: rgba(20, 20, 20, 0.8); /* Полупрозрачный фон */
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    border-color: var(--accent-color);
    box-shadow: 0 5px 20px rgba(255, 42, 42, 0.1);
    background: rgba(255, 42, 42, 0.05); /* Легкая красная подсветка при открытии */
}

/* Заголовок вопроса (кнопка) */
.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 16px;
    color: #fff;
    transition: color 0.3s;
}

.faq-item.active .faq-question {
    color: var(--accent-color);
}

.faq-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
    color: #666;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
    color: var(--accent-color);
}

/* Ответ (скрытый блок) */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 25px;
    color: #ccc;
    font-size: 15px;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Достаточно для любого ответа */
    padding-bottom: 25px;
}

/* Стилизация текста внутри ответа */
.icon-yes {
    color: #4caf50; /* Зеленый */
    font-weight: 800;
    font-size: 16px;
    display: block;
    margin-bottom: 5px;
}

.icon-no {
    color: var(--accent-color); /* Красный */
    font-weight: 800;
    font-size: 16px;
    display: block;
    margin-bottom: 5px;
}

.faq-answer ul {
    margin: 10px 0 10px 20px;
    padding: 0;
}

.faq-answer li {
    margin-bottom: 5px;
    list-style-type: disc;
}

.note {
    font-size: 13px;
    color: #777;
    margin-top: 10px;
    font-style: italic;
}

/* Блок CTA внизу */
.cta-block {
    margin-top: 60px;
    background: linear-gradient(90deg, #111 0%, #1a1a1a 100%);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
}

.cta-btn {
    display: inline-block;
    margin-top: 20px;
    background: var(--accent-color);
    color: #fff;
    text-decoration: none;
    padding: 15px 40px;
    font-weight: 800;
    border-radius: 4px;
    transition: 0.3s;
}

.cta-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

/* --- ОСНОВНЫЕ СТИЛИ ИНФО-СТРАНИЦ --- */
.info-page-wrapper {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.page-header { text-align: center; margin-bottom: 50px; }
.page-title { font-size: 48px; font-weight: 900; letter-spacing: 2px; }
.page-subtitle { color: var(--accent); font-size: 13px; text-transform: uppercase; letter-spacing: 3px; }

/* Карточка контента */
.privacy-main-card {
    max-width: 900px;
    margin: 0 auto 50px;
    padding: 60px !important;
    line-height: 1.8;
}

.policy-section { margin-bottom: 40px; }
.policy-section h2 {
    color: #fff;
    font-size: 20px;
    text-transform: uppercase;
    margin-bottom: 20px;
    border-left: 3px solid var(--accent);
    padding-left: 20px;
}

.policy-section p { color: #aaa; margin-bottom: 15px; }
.policy-section ul { list-style: none; padding-left: 20px; }
.policy-section li { 
    position: relative; 
    color: #ccc; 
    margin-bottom: 10px; 
    padding-left: 20px;
}
.policy-section li::before {
    content: ''; position: absolute; left: 0; top: 12px;
    width: 5px; height: 5px; background: var(--accent); border-radius: 50%;
}

/* Выделенный блок аналитики */
.highlight-box {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- COOKIE BANNER --- */
.cookie-banner {
    position: fixed;
    bottom: -150px; /* Прячем вниз */
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 600px;
    background: #111;
    border: 1px solid var(--accent);
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    z-index: 9999999;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.9);
    transition: bottom 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.cookie-banner.show { bottom: 30px; }
.cookie-text { color: #888; font-size: 13px; }
.cookie-text b { color: #fff; margin-right: 5px; }
.cookie-text a { color: var(--accent); }

.cookie-btn {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-weight: 900;
    font-size: 11px;
    cursor: pointer;
    border-radius: 4px;
    transition: 0.3s;
}
.cookie-btn:hover { background: #fff; color: #000; }

@media (max-width: 768px) {
    .privacy-main-card { padding: 30px 20px !important; }
    .cookie-banner { flex-direction: column; text-align: center; }
}