/* ============================================================
   1. СТРАНИЦА ИНФОРМАЦИИ
   ============================================================ */
.page-info { width: 100%; }
.page-info h1 { font-size: 28px; color: #1a202c; margin: 0 0 24px; font-weight: 800; line-height: 1.25; }
.page-info h2 { font-size: 24px; color: #2b6cb0; margin: 32px 0 16px; font-weight: 700; line-height: 1.3; padding-bottom: 8px; border-bottom: 2px solid #e2e8f0; }
.page-info h3 { font-size: 18px; color: #2d3748; margin: 20px 0 10px; font-weight: 700; }
.page-info p { font-size: 15px; line-height: 1.75; color: #2d3748; margin-bottom: 14px; text-align: justify; text-align-last: left; hyphens: auto; word-wrap: break-word; }
.page-info section { margin-bottom: 40px; padding-bottom: 20px; border-bottom: 1px solid #e2e8f0; }
.page-info section:last-child { border-bottom: none; }
.page-info section[id] { scroll-margin-top: 120px; }
.page-info a { color: #2b6cb0; text-decoration: none; transition: color 0.2s ease; border-bottom: 1px solid transparent; }
.page-info a:hover { color: #e74c3c; border-bottom-color: #e74c3c; }
.page-info ol { counter-reset: item; list-style: none; padding-left: 0; margin: 16px 0; }
.page-info ol > li { counter-increment: item; position: relative; padding-left: 40px; margin-bottom: 14px; line-height: 1.7; color: #2d3748; font-size: 15px; }
.page-info ol > li::before { content: counter(item); position: absolute; left: 0; top: 0; width: 28px; height: 28px; background: #2b6cb0; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; box-shadow: 0 2px 6px rgba(43,108,176,0.25); }
.page-info ul { list-style: none; padding-left: 0; margin: 12px 0; }
.page-info ul > li { position: relative; padding-left: 24px; margin-bottom: 8px; line-height: 1.65; color: #2d3748; font-size: 15px; }
.page-info ul > li::before { content: '●'; position: absolute; left: 4px; top: 0; color: #2b6cb0; font-size: 10px; line-height: 1.65; }
.page-info ol ul, .page-info ul ul { margin: 8px 0; padding-left: 0; }
.page-info ol ul > li, .page-info ul ul > li { padding-left: 22px; font-size: 14px; margin-bottom: 6px; }
.page-info ol a, .page-info ul a { color: #2b6cb0; text-decoration: none; transition: color 0.2s ease; }
.page-info ol a:hover, .page-info ul a:hover { color: #e74c3c; text-decoration: underline; }
.page-info .file-link { display: inline-flex; align-items: center; gap: 4px; padding: 4px 12px; background: #ebf8ff; color: #2b6cb0; border-radius: 8px; font-weight: 600; text-decoration: none; border: 1px solid #bee3f8; transition: all 0.2s ease; white-space: nowrap; margin: 0 4px; }
.page-info .file-link::before { content: '📥'; font-size: 14px; }
.page-info .file-link:hover { background: #2b6cb0; color: #fff; border-color: #2b6cb0; transform: translateX(2px); }

@media (max-width: 768px) {
    .page-info h1 { font-size: 22px; }
    .page-info h2 { font-size: 19px; margin: 24px 0 12px; }
    .page-info h3 { font-size: 16px; }
    .page-info p, .page-info ol > li, .page-info ul > li { font-size: 14px; }
    .page-info ol > li { padding-left: 34px; }
    .page-info ol > li::before { width: 24px; height: 24px; font-size: 12px; }
}

/* ============================================================
   2. СТРАНИЦЫ (для подзагрузки через fetch)
   ============================================================ */
.page { display: none; }
.page.active { display: block; }
.loading { text-align: center; padding: 40px; color: #718096; font-size: 18px; }
.error { text-align: center; padding: 40px; color: #e74c3c; font-size: 18px; }

/* ============================================================
   3. ХЛЕБНЫЕ КРОШКИ
   ============================================================ */
.breadcrumbs-bar { position: fixed; top: 120px; left: 0; right: 0; background: #fff; border-bottom: 1px solid #e2e8f0; box-shadow: 0 2px 8px rgba(0,0,0,0.04); z-index: 9998; padding: 8px 0; }
.breadcrumbs-bar .container { max-width: 1366px; margin: 0 auto; padding: 0 20px; }
.breadcrumbs-bar #breadcrumbs-content { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 14px; color: #718096; min-height: 24px; animation: fadeInSlogan 0.7s ease-out; }
.breadcrumbs-bar a { color: #2b6cb0; text-decoration: none; transition: color 0.2s ease; white-space: nowrap; }
.breadcrumbs-bar a:hover { color: #e74c3c; text-decoration: underline; }
.breadcrumbs-bar .separator { color: #cbd5e0; user-select: none; font-size: 12px; }
.breadcrumbs-bar .current { color: #2d3748; font-weight: 600; white-space: nowrap; }
.breadcrumbs-bar #breadcrumbs-content a { color: #2b6cb0; text-decoration: none; font-weight: 600; font-size: 14px; letter-spacing: 0.3px; transition: color 0.25s ease, transform 0.25s ease; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.breadcrumbs-bar #breadcrumbs-content a:hover { color: #e74c3c; transform: translateX(2px); }
.breadcrumbs-bar #breadcrumbs-content .separator { color: #cbd5e0; font-size: 14px; user-select: none; margin: 0 2px; }
.breadcrumbs-bar #breadcrumbs-content .emoji { display: inline-block; font-size: 16px; line-height: 1; animation: pulseEmoji 2s ease-in-out infinite; }
.breadcrumbs-bar #breadcrumbs-content a:nth-child(1) .emoji { animation-delay: 0s; }
.breadcrumbs-bar #breadcrumbs-content a:nth-child(3) .emoji { animation-delay: 0.4s; }
.breadcrumbs-bar #breadcrumbs-content a:nth-child(5) .emoji { animation-delay: 0.8s; }
@media (max-width: 576px) { .breadcrumbs-bar #breadcrumbs-content { font-size: 12px; gap: 4px 6px; } }

/* ============================================================
   4. АНИМАЦИИ
   ============================================================ */
@keyframes fadeInSlogan { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulseEmoji { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }
@keyframes ctaPulse { 0%, 100% { box-shadow: 0 8px 24px rgba(43,108,176,0.35); } 50% { box-shadow: 0 8px 32px rgba(43,108,176,0.55); } }
@keyframes fadeInContent { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulseHighlight { 0%, 100% { box-shadow: 0 6px 20px rgba(56,161,105,0.25); } 50% { box-shadow: 0 6px 28px rgba(56,161,105,0.45); } }
@keyframes pulseDiscount { 0%, 100% { box-shadow: 0 0 0 0 rgba(241,196,15,0.4); } 50% { box-shadow: 0 0 0 8px rgba(241,196,15,0); } }

@media (prefers-reduced-motion: reduce) {
    .breadcrumbs-bar #breadcrumbs-content, .breadcrumbs-bar #breadcrumbs-content a,
    .breadcrumbs-bar #breadcrumbs-content .emoji, .quiz-cta-main { animation: none !important; transition: none !important; }
}

/* ============================================================
   5. ОПРОСНЫЙ ЛИСТ — HERO
   ============================================================ */
.quiz-hero { text-align: center; padding: 28px 20px 24px; background: linear-gradient(135deg, #f0f7ff 0%, #e8f4ff 100%); border-radius: 20px; margin-bottom: 32px; position: relative; overflow: hidden; }
.quiz-hero::before { content: ''; position: absolute; top: -50%; right: -10%; width: 300px; height: 300px; background: radial-gradient(circle, rgba(43,108,176,0.1) 0%, transparent 70%); border-radius: 50%; pointer-events: none; }
.quiz-hero::after { content: ''; position: absolute; bottom: -50%; left: -10%; width: 260px; height: 260px; background: radial-gradient(circle, rgba(56,161,105,0.08) 0%, transparent 70%); border-radius: 50%; pointer-events: none; }
.quiz-hero-badge { display: inline-block; padding: 6px 14px; background: #fff; color: #2b6cb0; border: 2px solid #bee3f8; border-radius: 20px; font-size: 12px; font-weight: 700; letter-spacing: 0.3px; margin-bottom: 14px; position: relative; z-index: 1; }
.quiz-hero h1 { font-size: 22px; line-height: 1.25; color: #1a202c; margin-bottom: 12px; font-weight: 800; position: relative; z-index: 1; max-width: 720px; margin-left: auto; margin-right: auto; }
.quiz-hero-lead { font-size: 15px; line-height: 1.55; color: #4a5568; max-width: 900px; margin: 0 auto 20px; }
.quiz-hero-lead strong { color: #2b6cb0; font-weight: 700; }
.quiz-hero-cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; margin-bottom: 16px; position: relative; z-index: 1; }
.quiz-cta-main { display: inline-flex; align-items: center; gap: 8px; padding: 16px 32px; background: linear-gradient(135deg, #2b6cb0 0%, #1a4f7a 100%); color: #fff; border-radius: 12px; font-size: 16px; font-weight: 800; text-decoration: none; letter-spacing: 0.3px; transition: all 0.3s ease; box-shadow: 0 8px 24px rgba(43,108,176,0.35); animation: ctaPulse 2.5s ease-in-out infinite; border: 2px solid transparent; white-space: nowrap; }
.quiz-cta-main:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 14px 36px rgba(43,108,176,0.5); background: linear-gradient(135deg, #1a4f7a 0%, #0f2e47 100%); color: #fff; }
.quiz-cta-secondary { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 28px 10px; background: #fff; color: #2b6cb0; border: 2px solid #2b6cb0; border-radius: 12px; text-decoration: none; transition: all 0.25s ease; white-space: nowrap; }
.quiz-cta-secondary .cta-title { font-size: 15px; font-weight: 700; letter-spacing: 0.3px; line-height: 1.2; }
.quiz-cta-secondary .cta-sub { font-size: 11px; font-weight: 500; color: #718096; letter-spacing: 0.2px; line-height: 1.2; }
.quiz-cta-secondary:hover { background: #2b6cb0; color: #fff; transform: translateY(-3px); box-shadow: 0 8px 24px rgba(43,108,176,0.3); }
.quiz-cta-secondary:hover .cta-title { color: #fff; }
.quiz-cta-secondary:hover .cta-sub { color: rgba(255,255,255,0.85); }

@media (max-width: 768px) {
    .quiz-hero { padding: 22px 16px 20px; border-radius: 14px; margin-bottom: 24px; }
    .quiz-hero h1 { font-size: 20px; margin-bottom: 10px; }
    .quiz-hero-lead { font-size: 14px; margin-bottom: 16px; }
    .quiz-hero-badge { font-size: 11px; padding: 5px 12px; margin-bottom: 12px; }
}
@media (max-width: 576px) {
    .quiz-hero-cta { flex-direction: column; gap: 10px; width: 100%; }
    .quiz-cta-main, .quiz-cta-secondary { width: 100%; justify-content: center; padding: 14px 24px; font-size: 15px; }
}

/* ============================================================
   6. СПОСОБЫ ПОДБОРА
   ============================================================ */
.quiz-content { width: 100%; max-width: 100%; margin-bottom: 40px; padding: 0 20px; }
.quiz-content h2 { font-size: 24px; color: #1a202c; margin-bottom: 20px; font-weight: 700; }
.quiz-content p { font-size: 16px; line-height: 1.75; color: #2d3748; margin-bottom: 14px; text-align: justify; text-align-last: left; hyphens: auto; word-wrap: break-word; }
.quiz-content strong { color: #2b6cb0; font-weight: 700; }
.quiz-content .quiz-ways-title { margin: 16px 0 6px; color: #1a202c; font-weight: 700; font-size: 15px; }
.quiz-content .quiz-ways { list-style: disc; padding-left: 24px; margin: 6px 0 20px 0; }
.quiz-content .quiz-ways li { font-size: 15px; line-height: 1.7; color: #2d3748; margin-bottom: 6px; padding-left: 4px; }
.quiz-content .quiz-ways li strong { color: #1a202c; font-weight: 700; }
@media (max-width: 768px) {
    .quiz-content h2 { font-size: 20px; }
    .quiz-content p { font-size: 14px; line-height: 1.65; }
}
@media (max-width: 576px) { .quiz-content .quiz-ways li { font-size: 14px; line-height: 1.6; } }

/* ============================================================ */
/* 7. СРАВНЕНИЕ: КВИЗ vs ЛИСТ                                   */
/* ============================================================ */

.ways-compare {
    margin-top: 12px;
    margin-bottom: 24px;
    padding: 0 20px;
}
.ways-compare h1 {
    font-size: 28px;
    color: #1a202c;
    margin: 0 0 12px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
}
.ways-compare h2 {
    font-size: 24px;
    color: #1a202c;
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center;
}

.ways-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    font-size: 15px;
}

.ways-table th,
.ways-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.ways-table thead th {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4ff 100%);
    color: #1a202c;
    font-weight: 700;
    font-size: 15px;
    text-align: center;
    border-bottom: 2px solid #bee3f8;
}

.ways-table thead th:first-child {
    background: transparent;
    border-bottom: 2px solid #bee3f8;
}

.ways-table tbody td:first-child {
    background: #fafbfc;
    color: #1a202c;
    font-weight: 700;
    width: 28%;
}

.ways-table tbody td {
    color: #2d3748;
    text-align: center;
}

.ways-table tbody tr:last-child td {
    border-bottom: none;
}

@media (max-width: 768px) {
    .ways-compare h1 { font-size: 22px; }
    .ways-compare h2 { font-size: 20px; }
    .ways-table { font-size: 13px; }
    .ways-table th,
    .ways-table td { padding: 10px 12px; }
}

/* ============================================================ */
/* 7.1. ДВА СПОСОБА ПОДБОРА (сетка 6 колонок)                   */
/* ============================================================ */

.ways-grid {
    margin: 24px 0;
    padding: 28px 20px;
    background: #f8f9fa;
    border-radius: 20px;
}

.ways-headers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 14px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.ways-header-left,
.ways-header-right {
    font-size: 15px;
    font-weight: 800;
    color: #1a202c;
    text-align: center;
    padding: 12px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.3;
}

.ways-header-left {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4ff 100%);
    border: 2px solid #bee3f8;
    color: #2b6cb0;
}

.ways-header-right {
    background: linear-gradient(135deg, #fff8e1 0%, #ffefc2 100%);
    border: 2px solid #f1c40f;
    color: #7a5c00;
}

.ways-grid-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px 10px;
    max-width: 1200px;
    margin: 0 auto;
}

.ways-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 8px;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
    min-height: 100px;
    color: #2d3748;
    height: 100%;
}

.ways-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(43,108,176,0.12);
}

/* Квиз — голубые */
.ways-card-quiz {
    border-color: #bee3f8;
    background: #f0f7ff;
}

.ways-card-quiz:hover {
    border-color: #2b6cb0;
    background: #e8f4ff;
}

/* Листы — жёлтые */
.ways-card-download {
    border-color: #fbd38d;
    background: #fffaf0;
}

.ways-card-download:hover {
    border-color: #f39c12;
    background: #fff8e1;
}

.ways-icon {
    font-size: 26px;
    line-height: 1;
}

.ways-title {
    font-size: 12px;
    font-weight: 600;
    color: #2d3748;
    line-height: 1.3;
}

.ways-note {
    text-align: center;
    font-size: 13px;
    color: #718096;
    margin-top: 18px;
}

.ways-note a {
    color: #2b6cb0;
    text-decoration: none;
    font-weight: 600;
}

.ways-note a:hover {
    color: #e74c3c;
    text-decoration: underline;
}

/* Разделитель между 3-й и 4-й колонкой */
.ways-grid-container > *:nth-child(3n) {
    margin-right: 4px;
}

.ways-grid-container > *:nth-child(3n+1):not(:first-child) {
    margin-left: 4px;
}

@media (max-width: 992px) {
    .ways-grid-container {
        grid-template-columns: repeat(3, 1fr);
    }
    .ways-headers {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    /* Убираем боковые отступы-разделители при перестройке */
    .ways-grid-container > *:nth-child(3n),
    .ways-grid-container > *:nth-child(3n+1):not(:first-child) {
        margin-right: 0;
        margin-left: 0;
    }
}

@media (max-width: 576px) {
    .ways-grid { padding: 24px 12px; margin: 32px 0; }
    .ways-grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .ways-card {
        min-height: 90px;
        padding: 12px 6px;
    }
    .ways-icon { font-size: 22px; }
    .ways-title { font-size: 11px; }
}

/* ============================================================
   8. БЛОК СТАРТА ОПРОСНИКА
   ============================================================ */
.quiz-start { padding: 0; margin-top: 0; border-top: none; }
.quiz-start:has(#techform-quiz-container:not(:empty)) {
    padding: 40px 20px 20px;
    margin-top: 40px;
    border-top: 2px solid #e2e8f0;
}
.quiz-start h2 { font-size: 24px; color: #1a202c; margin-bottom: 8px; font-weight: 700; }
.quiz-start > p { font-size: 15px; color: #718096; margin-bottom: 28px; }
@media (max-width: 768px) { .quiz-start h2 { font-size: 20px; } }

/* ============================================================
   9. FAQ
   ============================================================ */
.page-faq { width: 100%; padding: 0 20px; }
.page-faq h1 { font-size: 28px; color: #1a202c; margin-bottom: 8px; font-weight: 800; }
.faq-lead { 
    font-size: 15px; 
    color: #718096; 
    margin-bottom: 32px; 
    line-height: 1.6; 
    text-align: justify; 
}
.faq-pains { width: 100%; margin-bottom: 40px; }
.pain-card { width: 100%; background: #fff; border: 2px solid #e2e8f0; border-radius: 12px; margin-bottom: 12px; overflow: hidden; transition: all 0.25s ease; box-sizing: border-box; }
.pain-card:hover { border-color: #2b6cb0; box-shadow: 0 4px 16px rgba(43,108,176,0.08); }
.pain-card[open] { border-color: #2b6cb0; box-shadow: 0 4px 20px rgba(43,108,176,0.12); }
.pain-card summary { display: flex; align-items: center; gap: 14px; padding: 18px 24px; cursor: pointer; list-style: none; font-size: 16px; font-weight: 600; color: #1a202c; transition: background 0.2s ease; user-select: none; width: 100%; box-sizing: border-box; }
.pain-card summary::-webkit-details-marker { display: none; }
.pain-card summary:hover { background: #f7fafc; }
.pain-emoji { font-size: 24px; line-height: 1; flex-shrink: 0; }
.pain-title { flex: 1; line-height: 1.4; }
.pain-toggle { font-size: 22px; font-weight: 700; color: #2b6cb0; transition: transform 0.3s ease; flex-shrink: 0; width: 26px; text-align: center; line-height: 1; }
.pain-card[open] .pain-toggle { transform: rotate(45deg); }
.pain-content { padding: 0 24px 22px 24px; animation: fadeInContent 0.3s ease; border-top: 1px solid #f0f4f8; margin-top: 4px; padding-top: 18px; }
.pain-content p { font-size: 15px; color: #2d3748; margin-bottom: 12px; line-height: 1.75; text-align: justify; text-align-last: left; hyphens: auto; }
.pain-content strong { color: #2b6cb0; font-weight: 700; }
.pain-content ul { list-style: none; padding-left: 0; margin: 12px 0 16px; }
.pain-content ul li { position: relative; padding-left: 28px; margin-bottom: 8px; font-size: 15px; line-height: 1.65; color: #2d3748; }
.pain-content ul li::before { content: '✓'; position: absolute; left: 0; top: 0; color: #38a169; font-weight: 900; font-size: 15px; }
.pain-content h4 {
    font-size: 15px;
    font-weight: 800;
    color: #1a202c;
    margin: 20px 0 12px;
    line-height: 1.4;
    padding-bottom: 6px;
    border-bottom: 1px solid #e2e8f0;
}
.pain-content h4:first-child {
    margin-top: 0;
}
.pain-content .warranty-table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0 16px;
    font-size: 14px;
    line-height: 1.5;
}

.pain-content .warranty-table th,
.pain-content .warranty-table td {
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    text-align: left;
    vertical-align: top;
}

.pain-content .warranty-table thead th {
    background: #f0f7ff;
    color: #1a202c;
    font-weight: 700;
    font-size: 13px;
}

.pain-content .warranty-table thead th small {
    display: block;
    font-weight: 400;
    color: #718096;
    font-size: 11px;
    margin-top: 2px;
}

.pain-content .warranty-table tbody td {
    color: #2d3748;
}

.pain-content .warranty-table tbody td strong {
    color: #1a202c;
    font-weight: 700;
}

.pain-content .warranty-table tbody tr:nth-child(even) {
    background: #fafbfc;
}
.faq-cta { text-align: center; margin-top: 40px; padding: 32px 20px; background: #f0f7ff; border-radius: 16px; width: 100%; box-sizing: border-box; }
.faq-cta-btn { display: inline-block; padding: 16px 40px; background: linear-gradient(135deg, #2b6cb0 0%, #1a4f7a 100%); color: #fff; border-radius: 12px; font-size: 16px; font-weight: 800; text-decoration: none; letter-spacing: 0.3px; transition: all 0.3s ease; box-shadow: 0 8px 24px rgba(43,108,176,0.35); }
.faq-cta-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(43,108,176,0.5); color: #fff; }
@media (max-width: 768px) {
    .page-faq h1 { font-size: 22px; }
    .pain-card summary { font-size: 14px; padding: 14px 16px; gap: 10px; }
    .pain-emoji { font-size: 20px; }
    .pain-toggle { font-size: 18px; width: 22px; }
    .pain-content { padding: 14px 16px 18px 16px; }
    .pain-content p, .pain-content ul li { font-size: 14px; }
    .faq-cta-btn { padding: 14px 28px; font-size: 15px; }
    .pain-content h4 { font-size: 14px; margin: 16px 0 10px; padding-bottom: 5px; }
    .pain-content .warranty-table {
    font-size: 12px;
}
.pain-content .warranty-table th,
.pain-content .warranty-table td {
    padding: 8px 6px;
}
}

/* ============================================================
   10. СТАРТ: РЯД ИКОНОК-ГРУПП (6 в строку)
   ============================================================ */
.quiz-topics-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; max-width: 1200px; margin: 0 auto; }
@media (max-width: 1100px) { .quiz-topics-grid { grid-template-columns: repeat(3, 1fr); max-width: 700px; } }
@media (max-width: 600px)  { .quiz-topics-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; max-width: 480px; } }

.quiz-topics-grid .quiz-topic { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 20px 12px; background: #fff; border: 2px solid #e2e8f0; border-radius: 14px; cursor: pointer; transition: all 0.25s ease; text-align: center; min-height: 130px; font-family: inherit; color: #2d3748; font-size: 13px; }
.quiz-topics-grid .quiz-topic:hover { border-color: #2b6cb0; background: #f0f7ff; transform: translateY(-4px); box-shadow: 0 8px 20px rgba(43,108,176,0.15); }
.quiz-topic-icon { font-size: 36px; line-height: 1; display: block; }
.quiz-topic-title { font-size: 13px; font-weight: 600; color: #2d3748; line-height: 1.3; display: block; }
.quiz-question { font-size: 22px; font-weight: 700; color: #1a202c; margin-bottom: 24px; text-align: center; }

@media (max-width: 576px) {
    .quiz-topics-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .quiz-topics-grid .quiz-topic { min-height: 110px; padding: 14px 8px; }
    .quiz-topic-icon { font-size: 28px; }
    .quiz-topic-title { font-size: 11px; }
    .quiz-question { font-size: 18px; }
}

/* ============================================================
   11. СКИДКА (в hero)
   ============================================================ */
.quiz-hero-discount { display: inline-flex; align-items: center; gap: 12px; max-width: 720px; margin: 4px auto 22px; padding: 12px 22px; background: linear-gradient(135deg, #fff8e1 0%, #ffefc2 100%); border: 2px dashed #f1c40f; border-radius: 14px; font-size: 14px; line-height: 1.5; color: #7a5c00; position: relative; z-index: 1; text-align: left; animation: pulseDiscount 2.5s ease-in-out infinite; }
.quiz-hero-discount strong { color: #b8860b; font-weight: 800; }
.quiz-discount-icon { font-size: 26px; line-height: 1; flex-shrink: 0; }
.quiz-discount-text { flex: 1; }
@media (max-width: 576px) { .quiz-hero-discount { flex-direction: column; text-align: center; padding: 12px 14px; font-size: 13px; gap: 8px; } }

/* ============================================================
   12. ЗАГОЛОВОК ГРУППЫ (funnel)
   ============================================================ */
.funnel-header { margin-bottom: 20px; }
.funnel-category { display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: linear-gradient(135deg, #f0f7ff 0%, #e8f4ff 100%); border: 2px solid #bee3f8; border-radius: 12px; }
.funnel-category-icon { font-size: 28px; line-height: 1; }
.funnel-category-title { font-size: 18px; font-weight: 700; color: #1a202c; flex: 1; }
.funnel-reset { background: transparent; border: 1px solid #cbd5e0; border-radius: 8px; padding: 6px 12px; font-size: 13px; color: #718096; cursor: pointer; transition: all 0.2s; font-family: inherit; }
.funnel-reset:hover { border-color: #e74c3c; color: #e74c3c; }

/* ============================================================
   13. ПРОЙДЕННЫЕ ВОПРОСЫ
   ============================================================ */
.funnel-passed-questions { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; padding: 10px 14px; background: #f0fdf4; border-left: 4px solid #38a169; border-radius: 10px; }
.funnel-passed-q { display: flex; align-items: center; justify-content: flex-start; gap: 10px; flex-wrap: wrap; font-size: 14px; padding: 4px 0; text-align: left; }
.funnel-passed-num { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: #38a169; background: #fff; padding: 2px 8px; border-radius: 6px; white-space: nowrap; }
.funnel-passed-answer { color: #276749; font-weight: 700; flex: 1; text-align: left; }
.funnel-passed-change { background: transparent; border: 1px solid #cbd5e0; border-radius: 6px; padding: 2px 10px; font-size: 12px; color: #718096; cursor: pointer; transition: all 0.2s; font-family: inherit; white-space: nowrap; }
.funnel-passed-change:hover { border-color: #2b6cb0; color: #2b6cb0; }

/* ============================================================
   14. АКТИВНЫЙ ВОПРОС
   ============================================================ */
.funnel-question { margin-top: 20px; margin-bottom: 20px; padding: 16px 20px; background: #fff; border: 2px solid #2b6cb0; border-radius: 12px; box-shadow: 0 4px 16px rgba(43,108,176,0.08); animation: fadeInContent 0.3s ease; }
.funnel-question-line1 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 6px; text-align: left; justify-content: flex-start; }
.funnel-question-line2 { display: block; margin-bottom: 14px; text-align: left; }
.funnel-question-num { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: #fff; background: #2b6cb0; padding: 3px 10px; border-radius: 6px; white-space: nowrap; line-height: 1; flex-shrink: 0; }
.funnel-question-text { font-size: 17px; font-weight: 700; color: #1a202c; line-height: 1.3; margin: 0; display: inline; text-align: left; }
.funnel-question-hint { font-size: 13px; color: #718096; font-style: italic; font-weight: 400; line-height: 1.5; margin: 0; display: inline; }

/* ============================================================
   15. РАДИОКНОПКИ
   ============================================================ */
.funnel-question-answers { display: flex; flex-direction: column; gap: 10px; }
.funnel-radio { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; background: #fff; border: 2px solid #e2e8f0; border-radius: 10px; cursor: pointer; transition: all 0.2s ease; position: relative; }
.funnel-radio:hover { border-color: #2b6cb0; background: #f0f7ff; }
.funnel-radio input { position: absolute; opacity: 0; pointer-events: none; }
.funnel-radio-marker { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border: 2px solid #cbd5e0; border-radius: 50%; flex-shrink: 0; margin-top: 1px; transition: all 0.2s ease; background: #fff; }
.funnel-radio-marker::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: transparent; transition: background 0.2s ease; }
.funnel-radio:hover .funnel-radio-marker { border-color: #2b6cb0; }
.funnel-radio input:checked ~ .funnel-radio-marker { border-color: #38a169; background: #38a169; }
.funnel-radio input:checked ~ .funnel-radio-marker::after { content: '✓'; width: auto; height: auto; background: transparent; color: #fff; font-size: 14px; font-weight: 900; line-height: 1; }
.funnel-radio-label { font-size: 15px; font-weight: 600; color: #2d3748; line-height: 1.5; display: block; flex: 1; text-align: left; }
.funnel-radio-label b { font-weight: 700; color: #1a202c; }
.funnel-radio input:checked ~ .funnel-radio-label { color: #276749; font-weight: 700; }
.funnel-radio:has(input:checked) { border-color: #38a169; background: #f0fdf4; }

/* ============================================================
   16. КАРТОЧКИ (funnel-products) — не используются в v3, но оставлены
   ============================================================ */
.funnel-products { margin-bottom: 14px; }
.funnel-products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.funnel-product-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 2px solid #e2e8f0; border-radius: 12px; padding: 14px 12px; text-align: center; transition: all 0.3s ease; cursor: pointer; }
.funnel-product-card:hover:not(.is-disabled):not(.is-muted) { border-color: #2b6cb0; box-shadow: 0 6px 18px rgba(43,108,176,0.12); transform: translateY(-2px); }
.funnel-product-card img { width: 100%; height: 100px; object-fit: contain; margin-bottom: 8px; }
.funnel-product-name { font-size: 14px; font-weight: 700; color: #2b6cb0; margin-bottom: 4px; }
.funnel-product-subtitle { font-size: 12px; color: #4a5568; line-height: 1.35; margin-bottom: 6px; }
.funnel-product-price { font-size: 14px; font-weight: 700; color: #1a202c; }
.funnel-product-cta { margin-top: 8px; padding: 6px 10px; border-radius: 8px; font-size: 12px; font-weight: 700; text-align: center; transition: all 0.2s; }
.funnel-product-card.is-selectable .funnel-product-cta { background: #ebf8ff; color: #2b6cb0; border: 1px dashed #bee3f8; }
.funnel-product-card.is-selectable:hover .funnel-product-cta { background: #2b6cb0; color: #fff; border-color: #2b6cb0; }
.funnel-product-card.is-muted { opacity: 0.4; filter: grayscale(0.7); pointer-events: none; }
.funnel-product-card.is-disabled { opacity: 0.35; filter: grayscale(0.7); cursor: not-allowed; pointer-events: none; }
.funnel-product-card.is-selected { border: 3px solid #2b6cb0; background: #fff; box-shadow: 0 8px 24px rgba(43,108,176,0.35); transform: translateY(-4px) scale(1.02); opacity: 1; filter: none; z-index: 2; }
.funnel-product-card.is-selected .funnel-product-name { color: #2b6cb0; font-size: 15px; }
.funnel-product-card.is-selected .funnel-product-price { color: #2b6cb0; font-size: 16px; }
.funnel-product-card.is-selected .funnel-product-cta { background: #2b6cb0; color: #fff; border: none; }
.funnel-product-card.is-highlighted { border: 3px solid #38a169; background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%); box-shadow: 0 6px 20px rgba(56,161,105,0.25); transform: translateY(-3px) scale(1.02); opacity: 1; filter: none; z-index: 2; animation: pulseHighlight 2s ease-in-out infinite; }
.funnel-product-card.is-highlighted .funnel-product-name { color: #276749; font-size: 15px; }
.funnel-product-card.is-highlighted .funnel-product-price { color: #276749; font-size: 16px; }
.funnel-product-card.is-highlighted .funnel-product-cta { background: #38a169; color: #fff; }
.funnel-hint { text-align: center; font-size: 14px; color: #2b6cb0; font-weight: 600; margin-bottom: 14px; padding: 10px 16px; background: #ebf8ff; border-radius: 10px; border: 1px dashed #bee3f8; animation: fadeInContent 0.4s ease; }

/* ============================================================
   17. FALLBACK / MANY LEFT
   ============================================================ */
.funnel-fallback, .funnel-many-left { padding: 24px; background: #fffaf0; border: 2px solid #fbd38d; border-radius: 12px; text-align: center; }
.funnel-fallback-title, .funnel-many-left-title { font-size: 20px; font-weight: 700; color: #1a202c; margin-bottom: 10px; }
.funnel-fallback-text, .funnel-many-left-text { font-size: 14px; color: #4a5568; margin-bottom: 20px; }
.funnel-fallback-actions { display: flex; justify-content: center; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.funnel-btn-primary { display: inline-block; padding: 12px 24px; background: #2b6cb0; color: #fff; border-radius: 10px; font-weight: 700; text-decoration: none; transition: all 0.25s; }
.funnel-btn-primary:hover { background: #1a4f7a; transform: translateY(-2px); color: #fff; }
.funnel-btn-secondary { padding: 12px 24px; background: #fff; border: 2px solid #2b6cb0; color: #2b6cb0; border-radius: 10px; font-weight: 700; cursor: pointer; font-family: inherit; transition: all 0.25s; }
.funnel-btn-secondary:hover { background: #2b6cb0; color: #fff; }

/* ============================================================
   18. ФИНАЛЬНЫЙ ЭКРАН
   ============================================================ */

/* ===== СЕТКА КАРТОЧКИ: 200px | 70% | 25% ===== */
.final-card {
    display: grid;
    grid-template-columns: 200px 70fr 25fr;
    grid-template-rows: auto;
    gap: 0 20px;
    padding: 20px 24px;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    margin-bottom: 40px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.06);
    align-items: stretch;
}

/* ===== ЛЕВАЯ КОЛОНКА ===== */
.final-card-left {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* ← ИЗМЕНЕНО */
    align-items: center;
    gap: 10px;
    text-align: center;
    min-width: 0;
}

.final-card-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    width: 100%;
}

.final-card-name {
    font-size: 15px;
    font-weight: 800;
    color: #1a202c;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.final-card-subtitle {
    font-size: 12px;
    color: #718096;
    line-height: 1.3;
}

.final-card-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 0;
    margin: 0;
}

.final-card-photo img {
    max-width: 100%;
    max-height: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
}

.final-card-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.final-card-price {
    font-size: 20px;
    font-weight: 800;
    color: #e74c3c;
    text-align: center;
    line-height: 1.2;
}

.final-card-order {
    display: inline-block;
    padding: 9px 20px;
    background: #f1c40f;
    color: #1a202c;
    border-radius: 10px;
    font-weight: 800;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.25s;
    border: none;
    cursor: pointer;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.final-card-order:hover {
    background: #f39c12;
    transform: scale(1.03);
    color: #1a202c;
}

/* ===== БЛОК СКИДКИ (в левой колонке) ===== */
.final-card-discount {
    width: 100%;
    padding: 10px 8px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4ff 100%);
    border: 2px solid #bee3f8;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.final-card-discount-line {
    font-size: 11px;
    font-weight: 700;
    color: #2b6cb0;
    line-height: 1.2;
    text-align: center;
}

.final-card-discount-code-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
}

.final-card-discount-code {
    padding: 4px 8px;
    background: #ffffff;
    border: 2px dashed #2b6cb0;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 800;
    color: #2b6cb0;
    letter-spacing: 1px;
    font-family: 'Courier New', monospace;
    white-space: nowrap;
    text-align: center;
}

.final-card-copy-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    padding: 0;
    background: transparent;
    color: #2b6cb0;
    border: 1px solid #bee3f8;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.final-card-copy-icon:hover {
    background: #2b6cb0;
    color: #ffffff;
    border-color: #2b6cb0;
}

.final-card-discount-note {
    font-size: 10px;
    color: #4a5568;
    line-height: 1.2;
    text-align: center;
}

/* ===== СРЕДНЯЯ КОЛОНКА (ТТХ) ===== */
.final-card-right {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.final-card-specs-title {
    font-size: 14px;
    font-weight: 700;
    color: #2b6cb0;
    text-align: center;
    line-height: 1.35;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #2b6cb0;
    letter-spacing: 0.2px;
}

.final-card-specs-list {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 10px 14px;
    align-items: baseline;
    text-align: left;
}

.final-card-specs-list .spec-item {
    display: contents;
}

.final-card-specs-list .spec-item .highlight {
    font-size: 12px;
    font-weight: 700;
    color: #1a202c;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.5;
}

.final-card-specs-list .spec-item {
    font-size: 13px;
    line-height: 1.5;
    color: #2d3748;
}

/* ===== ПРАВАЯ КОЛОНКА (Примечание) ===== */
.final-card-note {
    grid-column: 3;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.final-card-note-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 8px;
}

.final-card-note-textarea {
    width: 100%;
    flex: 1;
    min-height: 200px;
    padding: 12px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 13px;
    color: #2d3748;
    line-height: 1.5;
    resize: vertical;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.final-card-note-textarea:focus {
    outline: none;
    border-color: #2b6cb0;
}

.final-card-note-counter {
    text-align: right;
    font-size: 12px;
    color: #a0aec0;
    margin-top: 4px;
}

.final-card-note-hint {
    font-size: 12px;
    font-weight: 400;
    font-style: italic;
    color: #718096;
    line-height: 1.4;
    text-align: left;
    white-space: nowrap;
    margin-top: 10px;
}

.final-card-export {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #38a169 0%, #276749 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.25s;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 4px 12px rgba(56,161,105,0.3);
    margin-top: 10px;
}

.final-card-export:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(56,161,105,0.45);
}

/* ===== АДАПТИВ ===== */
@media (max-width: 992px) {
    .final-card {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 20px;
    }
    .final-card-left,
    .final-card-right,
    .final-card-note {
        grid-column: 1;
        grid-row: auto;
    }
    .final-card-left {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
        align-items: center;
        gap: 16px;
    }
    .final-card-top { width: auto; }
    .final-card-photo { flex: 0 0 auto; }
    .final-card-bottom { width: auto; }
    .final-card-discount {
        width: auto;
        min-width: 180px;
    }
    .final-card-specs-list {
        grid-template-columns: 180px 1fr;
    }
}

@media (max-width: 768px) {
    .final-card-photo img { max-height: 140px; }
    .final-card-specs-list .spec-item .highlight,
    .final-card-specs-list .spec-item { font-size: 12px; }
    .final-card-specs-list {
        grid-template-columns: 150px 1fr;
        gap: 8px 10px;
    }
    .final-card-discount-line { font-size: 11px; }
    .final-card-discount-code { font-size: 12px; }
    .final-card-export { width: 100%; justify-content: center; }
}

/* ============================================================
   19. ГРУППА 5: ПО (уникальная, без Q1)
   ============================================================ */
.soft-grid { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 16px; 
    margin-bottom: 40px; 
}

.soft-card { 
    flex: 0 0 auto; 
    width: calc(20% - 13px); /* 5 карточек в ряд */
    min-width: 200px;
    display: flex; 
    flex-direction: column; 
    gap: 10px; 
    padding: 18px 16px; 
    background: #fff; 
    border: 2px solid #e2e8f0; 
    border-radius: 14px; 
    text-align: left; 
    transition: all 0.25s; 
}

.soft-card:hover { 
    border-color: #2b6cb0; 
    box-shadow: 0 8px 20px rgba(43,108,176,0.12); 
    transform: translateY(-3px); 
}

/* Картинка софта: по умолчанию светлая */
.soft-card img {
    width: 100%;
    height: 100px;
    object-fit: contain;
    margin-bottom: 8px;
    opacity: 0.6; /* Светлая */
    transition: opacity 0.3s ease;
}

/* При наведении на карточку — картинка становится насыщенной */
.soft-card:hover img {
    opacity: 1;
}

.soft-name { font-size: 16px; font-weight: 800; color: #1a202c; }
.soft-title { font-size: 13px; color: #4a5568; line-height: 1.45; min-height: 54px; }
.soft-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 16px; background: linear-gradient(135deg, #38a169 0%, #276749 100%); color: #fff; border: none; border-radius: 8px; font-weight: 700; font-size: 13px; text-decoration: none; transition: all 0.25s; box-shadow: 0 4px 12px rgba(56,161,105,0.3); }
.soft-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(56,161,105,0.45); color: #fff; }
.soft-free { font-size: 12px; font-weight: 700; color: #38a169; text-align: center; letter-spacing: 0.5px; }

@media (max-width: 1200px) {
    .soft-card { width: calc(33.33% - 11px); } /* По 3 в ряд на планшетах */
}
@media (max-width: 768px) {
    .soft-card { width: calc(50% - 8px); } /* По 2 в ряд на телефонах */
}
@media (max-width: 600px) {
    .soft-grid { gap: 12px; }
    .soft-card { width: 100%; } /* По 1 в ряд */
}

/* ============================================================
   20. ПЛАШКА СОПУТСТВУЮЩИХ (💡)
   ============================================================ */
.related-block { margin-top: 24px; margin-bottom: 40px; padding: 0; background: #f7fafc; border: 2px solid #e2e8f0; border-radius: 12px; overflow: hidden; transition: border-color 0.25s; }
.related-block.is-open { border-color: #bee3f8; background: #f0f7ff; }
.related-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; cursor: pointer; user-select: none; transition: background 0.2s; }
.related-header:hover { background: #ebf8ff; }
.related-label { font-size: 14px; font-weight: 600; color: #2b6cb0; line-height: 1.4; text-align: left; }
.related-arrow { font-size: 18px; color: #2b6cb0; font-weight: 700; flex-shrink: 0; transition: transform 0.25s; }
.related-items { display: none; flex-wrap: wrap; gap: 12px; padding: 0 20px 18px; justify-content: flex-start; }
.related-block.is-open .related-items { display: flex; }
.related-card { flex: 0 0 auto; width: 150px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 8px; background: #fff; border: 2px solid #e2e8f0; border-radius: 10px; cursor: pointer; transition: all 0.25s; text-align: center; }
.related-card:hover { border-color: #2b6cb0; transform: translateY(-3px); box-shadow: 0 6px 16px rgba(43,108,176,0.15); }
.related-card img { width: 100%; height: 70px; object-fit: contain; }
.related-noimage { width: 100%; height: 70px; display: flex; align-items: center; justify-content: center; background: #f0f4f8; border-radius: 6px; font-size: 11px; color: #4a5568; font-weight: 700; padding: 4px; text-align: center; }
.related-name { font-size: 12px; font-weight: 700; color: #2b6cb0; line-height: 1.2; }
.related-price { font-size: 12px; font-weight: 700; color: #1a202c; }
@media (max-width: 600px) {
    .related-header { padding: 12px 14px; }
    .related-label { font-size: 13px; }
    .related-items { padding: 0 14px 14px; gap: 10px; }
    .related-card { width: 130px; }
}

/* ============================================================
   21. ФИНАЛЬНАЯ КАРТОЧКА — без фото (для ПО)
   ============================================================ */
.final-card-noimage { width: 100%; min-height: 140px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #f0f7ff 0%, #e8f4ff 100%); border-radius: 10px; font-size: 14px; font-weight: 800; color: #2b6cb0; text-align: center; padding: 12px; letter-spacing: 0.5px; }

/* ============================================================
   22. БЛОК ВОЗВРАТА К ПРЕДЫДУЩЕМУ ФИНАЛУ
   ============================================================ */
.final-return {
    margin-bottom: 16px;
    padding: 0;
    text-align: left;
}
.final-return a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #f0f7ff;
    border: 2px dashed #bee3f8;
    border-radius: 10px;
    color: #2b6cb0;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s;
}
.final-return a:hover {
    background: #2b6cb0;
    color: #fff;
    border-color: #2b6cb0;
    border-style: solid;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(43,108,176,0.25);
}

/* ============================================================
   23. ИНФОРМАТИВНАЯ ЗАГЛУШКА (Авторизация)
   ============================================================ */
.funnel-fallback-info {
    text-align: left;
    background: #f0f7ff;
    border: 2px solid #bee3f8;
    padding: 24px 28px;
}
.funnel-fallback-info .funnel-fallback-text {
    font-size: 14px;
    line-height: 1.7;
    color: #2d3748;
    margin-bottom: 0;
}
.funnel-fallback-info .funnel-fallback-text p {
    margin-bottom: 14px;
}
.funnel-fallback-info .funnel-fallback-text p:last-child {
    margin-bottom: 0;
}
.funnel-fallback-info .funnel-fallback-text b {
    color: #1a202c;
    font-weight: 700;
}

/* Ссылки на карточки товаров */
.auth-link {
    color: #2b6cb0;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px dashed #2b6cb0;
    transition: all 0.2s;
}
.auth-link:hover {
    color: #e74c3c;
    border-bottom-color: #e74c3c;
}

/* Ленточка-разделитель */
.auth-stripe {
    height: 12px;
    margin: 24px 0;
    background: repeating-linear-gradient(
        45deg,
        #f1c40f 0,
        #f1c40f 12px,
        #1a202c 12px,
        #1a202c 24px
    );
    border-radius: 2px;
}

/* CTA-блок */
.funnel-fallback-cta {
    font-size: 14px;
    line-height: 1.65;
    color: #2d3748;
    text-align: center;
}
.funnel-fallback-cta b {
    color: #1a202c;
    font-weight: 700;
}
.funnel-fallback-cta a {
    color: #2b6cb0;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px dashed #2b6cb0;
    transition: all 0.2s;
}
.funnel-fallback-cta a:hover {
    color: #e74c3c;
    border-bottom-color: #e74c3c;
}

@media (max-width: 600px) {
    .funnel-fallback-info { padding: 18px 16px; }
    .funnel-fallback-info .funnel-fallback-text { font-size: 13px; }
    .auth-stripe { height: 10px; margin: 18px 0; }
}

/* ============================================================
   24. ВРЕЗКИ И САММАРИ (info)
   ============================================================ */

.page-info blockquote {
    margin: 16px 0;
    padding: 14px 18px;
    background: #f0f7ff;
    border-left: 4px solid #2b6cb0;
    border-radius: 8px;
}

.page-info blockquote p {
    margin-bottom: 8px;
    text-align: left;
}

.page-info blockquote p:last-child {
    margin-bottom: 0;
}

.page-info blockquote ul {
    margin: 8px 0;
}

.page-info blockquote ul > li {
    margin-bottom: 6px;
}

/* Саммари для AI/SEO */
.page-info .info-summary {
    margin-top: 24px;
    padding: 18px 22px;
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
}

.page-info .info-summary h3 {
    margin-top: 0;
    color: #2b6cb0;
    font-size: 17px;
    margin-bottom: 12px;
}

.page-info .info-summary ul {
    margin-bottom: 0;
}

.page-info .info-summary ul > li {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 6px;
}

.page-info .info-summary ul > li b {
    color: #2b6cb0;
    font-weight: 700;
}
/* ============================================================
   24.1. КОНТАКТЫ — ТРИ СТОЛБЦА
   ============================================================ */
.page-info .contacts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 16px 0 20px;
    width: 100%;
}

.page-info .contacts-col p {
    margin-bottom: 6px;
    font-weight: 700;
}

.page-info .contacts-col ul {
    margin: 0;
}

.page-info .contacts-col ul > li {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 6px;
    padding-left: 0;
}

.page-info .contacts-col ul > li::before {
    content: none;
}

.page-info .contacts-time {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
    font-size: 14px;
    color: #4a5568;
}

@media (max-width: 768px) {
    .page-info .contacts-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ============================================================
   25. ЗАМЕТНЫЕ ССЫЛКИ-CTA В ИНФОРМАЦИИ
   ============================================================ */

.page-info .info-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 12px;
    background: #ebf8ff;
    color: #2b6cb0;
    border: 1px solid #bee3f8;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    border-bottom: none;
}

.page-info .info-cta-link:hover {
    background: #2b6cb0;
    color: #ffffff;
    border-color: #2b6cb0;
    transform: translateX(2px);
    border-bottom: none;
}

/* Плашка внутри списка — выравнивание по тексту */
.page-info blockquote ul > li .info-cta-link {
    vertical-align: baseline;
    font-size: 13px;
    padding: 2px 10px;
}

/* ============================================================
   26. АДАПТИВ
   ============================================================ */

@media (max-width: 768px) {
    .page-info blockquote {
        padding: 12px 14px;
        margin: 12px 0;
    }
    .page-info .info-summary {
        padding: 14px 16px;
        margin-top: 18px;
    }
    .page-info .info-summary h3 {
        font-size: 15px;
    }
    .page-info .info-summary ul > li {
        font-size: 14px;
    }
    .page-info .info-cta-link {
        font-size: 13px;
        padding: 2px 10px;
    }
    .page-info blockquote ul > li .info-cta-link {
        font-size: 12px;
        padding: 2px 8px;
    }
}

/* ============================================================
   27. РАСКРЫВАЮЩИЕСЯ БЛОКИ (details) В ИНФОРМАЦИИ
   ============================================================ */

.page-info .info-details {
    margin: 12px 0 18px;
    padding: 0;
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    transition: border-color 0.25s ease;
}

.page-info .info-details[open] {
    border-color: #bee3f8;
    background: #f0f7ff;
}

.page-info .info-details summary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    cursor: pointer;
    list-style: none;
    font-size: 15px;
    font-weight: 600;
    color: #2b6cb0;
    user-select: none;
    transition: background 0.2s ease;
    border-radius: 8px;
}

.page-info .info-details summary::-webkit-details-marker {
    display: none;
}

.page-info .info-details summary::before {
    content: '▸';
    display: inline-block;
    font-size: 14px;
    color: #2b6cb0;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.page-info .info-details[open] summary::before {
    transform: rotate(90deg);
}

.page-info .info-details summary:hover {
    background: #ebf8ff;
}

.page-info .info-details-content {
    padding: 4px 18px 16px 18px;
    animation: fadeInContent 0.3s ease;
}

.page-info .info-details-content ul {
    margin-bottom: 0;
}

.page-info .info-details-content ul > li {
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 6px;
}

/* ============================================================
   28. НАВИГАЦИЯ ПО РАЗДЕЛАМ ИНФОРМАЦИИ (info-about)
   ============================================================ */

.page-info .info-nav {
    list-style: none;
    padding-left: 0;
    margin: 16px 0;
}

.page-info .info-nav > li {
    position: relative;
    padding-left: 0;
    margin-bottom: 10px;
    line-height: 1.65;
    font-size: 15px;
    color: #2d3748;
}

.page-info .info-nav > li::before {
    display: none;   /* убираем ● по умолчанию */
}

.page-info .info-nav .info-cta-link {
    margin-right: 4px;
}

/* ============================================================
   29. МИНИ-КАРТОЧКИ ТОВАРОВ (страницы ПРОДУКЦИИ)
   ============================================================ */

.page-product { width: 100%; }

.page-product h1 {
    font-size: 26px;
    color: #1a202c;
    margin: 0 0 16px;
    font-weight: 800;
    line-height: 1.3;
}

.page-product .product-lead {
    font-size: 16px;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 28px;
    text-align: justify;
    text-align-last: left;
}

.page-product h2 {
    font-size: 22px;
    color: #2b6cb0;
    margin: 32px 0 14px;
    font-weight: 700;
    line-height: 1.3;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
}

.page-product h3 {
    font-size: 17px;
    color: #2d3748;
    margin: 22px 0 10px;
    font-weight: 700;
}

.page-product p {
    font-size: 15px;
    line-height: 1.75;
    color: #2d3748;
    margin-bottom: 14px;
    text-align: justify;
    text-align-last: left;
    hyphens: auto;
}

.page-product ul {
    list-style: none;
    padding-left: 0;
    margin: 12px 0 18px;
}

.page-product ul > li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
    line-height: 1.65;
    color: #2d3748;
    font-size: 15px;
    text-align: justify;
}

.page-product ul > li::before {
    content: '●';
    position: absolute;
    left: 4px;
    top: 0;
    color: #2b6cb0;
    font-size: 10px;
    line-height: 1.65;
}

/* Мини-карточка товара */
.product-mini {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 20px;
    margin: 14px 0;
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    transition: border-color 0.25s ease, background 0.25s ease;
    scroll-margin-top: 170px;
}

.product-mini:hover {
    border-color: #bee3f8;
    background: #f0f7ff;
}

.product-mini-name {
    font-size: 16px;
    font-weight: 800;
    color: #2b6cb0;
    margin: 0;
    letter-spacing: 0.3px;
}

.product-mini-desc {
    font-size: 14px;
    color: #4a5568;
    margin: 0;
    line-height: 1.5;
}

.product-mini-actions {
    font-size: 14px;
    margin: 4px 0 0;
    color: #718096;
}

@media (max-width: 768px) {
    .page-product h1 { font-size: 22px; }
    .page-product h2 { font-size: 19px; margin: 24px 0 12px; }
    .page-product h3 { font-size: 16px; }
    .page-product p,
    .page-product ul > li { font-size: 14px; }
    .product-mini { padding: 14px 16px; }
}

/* ============================================================
   30. КОНФИГУРАТОР (финальная карточка)
   ============================================================ */

.cfg-group {
    margin-bottom: 12px;
}

.cfg-group + .cfg-group {
    margin-top: 14px;   /* ← отступ между группами */
}

.cfg-label {
    font-size: 12px;     /* Вернули читаемый размер */
    font-weight: 700;
    color: #1a202c;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 6px;  /* Чуть больше воздуха */
    line-height: 1.35;
}

.cfg-label-extra {
    text-transform: none;
    font-weight: 400;
    color: #4a5568;
    font-size: 12px;
}

.cfg-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;            /* Среднее между 10 и 6 */
}

/* Плашка radio / checkbox */
.cfg-radio,
.cfg-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;   /* Немного вернули высоту */
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;     /* Оставили 13px (14 было крупновато, 11 мелко) */
    font-weight: 500;
    color: #2d3748;
    transition: all 0.2s ease;
    user-select: none;
    line-height: 1.2;
}

.cfg-radio:hover,
.cfg-checkbox:hover {
    border-color: #2b6cb0;
    background: #f0f7ff;
}

.cfg-radio input,
.cfg-checkbox input {
    margin: 0;
    accent-color: #2b6cb0;
    cursor: pointer;
}

/* Выбранный вариант */
.cfg-radio:has(input:checked),
.cfg-checkbox:has(input:checked) {
    border-color: #2b6cb0;
    background: #ebf8ff;
    color: #1a202c;
    font-weight: 700;
}

/* Числовое поле — в одну строку с подсказкой */
.cfg-number-row {
    display: flex;
    align-items: center;
    gap: 12px;           /* Воздух между полем и подсказкой */
    flex-wrap: wrap;
}

.cfg-number {
    padding: 7px 10px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    width: 120px;
    color: #2d3748;
    font-family: inherit;
    font-weight: 600;
    transition: border-color 0.2s ease;
    flex-shrink: 0;
}

.cfg-number:focus {
    outline: none;
    border-color: #2b6cb0;
    background: #f0f7ff;
}

/* Подсказки */
.cfg-hint {
    font-size: 12px;     /* Вернули 12px для читаемости */
    color: #718096;
    font-style: italic;
    line-height: 1.35;
    margin-top: 4px;
}

.cfg-hint-inline {
    font-size: 12px;
    color: #718096;
    font-style: italic;
    line-height: 1.35;
}

/* Напоминалка внизу */
.cfg-note {
    margin-top: 16px;    /* Отделили от контента */
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
    font-size: 13px;
    color: #4a5568;
    line-height: 1.5;
    white-space: pre-line; /* обеспечивает перенос в две строки */
}

/* ============================================================
   ПЛАШКА ПЕРЕЛИНКОВКИ НА FAQ (внутри страниц ПРОДУКЦИИ)
   — Служит для логической связки "Товар -> FAQ" (SEO/AI)
   ============================================================ */
   .product-faq-link {
    margin: 20px 0;
    padding: 12px 16px;
    background: #f0f7ff; /* светло-голубой фон */
    border-left: 4px solid #3498db; /* синяя полоса слева */
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
}

.product-faq-link a {
    color: #2c3e50;
    text-decoration: none;
    display: block;
}

.product-faq-link a:hover {
    color: #2980b9;
}

.product-faq-link span {
    display: inline-block;
    margin-top: 5px;
    font-weight: 600;
    color: #3498db;
}

/* ============================================================
   МИНИ-КАРТОЧКИ В ЛИНЕЙКЕ (принудительный Flex с картинкой)
   ============================================================ */
   .product-mini {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    gap: 20px;
    border: 1px solid #e2e8f0;
}

.product-mini-content {
    flex: 1;
    text-align: left;
}

.product-mini-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    flex-shrink: 0;
    /* Убираем белый фон у JPG-картинок на сером фоне */
    mix-blend-mode: multiply; 
}

/* ============================================================
   КНОПКИ В БЛОКЕ «СОСТАВ ЛИНЕЙКИ» (копия стилей с карточек)
   ============================================================ */

/* Контейнер для кнопок */
.product-mini .btn-wrapper {
    display: flex;
    gap: 10px; /* расстояние между кнопками */
    margin-top: 12px;
}

/* Кнопка «Подобрать» (серая, как link-model на обороте) */
.product-mini .link-model {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    background: #e2e8f0;
    color: #4a5568;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    font-family: inherit;
}

.product-mini .link-model:hover {
    background: #cbd5e0; /* темно-серый */
    color: #2d3748;
    transform: translateY(-1px);
}

/* Кнопка «Заказать» (синяя, как btn-instruct на обороте) */
.product-mini .btn-instruct {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    background: #2b6cb0;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    font-family: inherit;
}

.product-mini .btn-instruct:hover {
    background: #f1c40f; /* жёлтый */
    color: #1a202c;      /* тёмный текст для контраста */
    transform: translateY(-1px);
}

/* ============================================================
   ВЫДЕЛЕННЫЙ БЛОК "КЕЙС ИЗ ПРАКТИКИ" (внутри страниц ПРОДУКЦИИ)
   ============================================================ */
.product-case-study {
    margin: 24px 0;
    padding: 20px 24px;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #2b6cb0;
    border-radius: 8px;
}
.product-case-study p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 12px;
    color: #2d3748;
}
.product-case-study p:last-child {
    margin-bottom: 0;
}

/* Эффект серой картинки для будущих устройств */
.product-mini .grayscale-img {
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.product-mini:hover .grayscale-img {
    filter: grayscale(0%);
}

/* Лента «Предзаказ» для перспективных товаров */
.preorder-stripe {
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: repeating-linear-gradient(45deg, #f1c40f 0, #f1c40f 12px, #1a202c 12px, #1a202c 24px);
    border-radius: 6px;
    color: #fff;
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(241, 196, 15, 0.3);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}