/* ========================================
   Design System — omfo.ru
   ======================================== */

/* Google Fonts - должен быть в начале файла */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;600;700;800&display=swap');

/* ========================================
   🎨 CSS Custom Properties - Professional Palette
   3 основных цвета: Синий (60%) + Серые (30%) + Красный (10%)
   ======================================== */
:root {
    /* ============================================
       PRIMARY COLOR - Синий бренд (60% использования)
       ============================================ */
    --brand-primary: #0284C7;        /* Основной синий - ссылки, вторичные кнопки, иконки */
    --brand-light: #DBEAFE;          /* Светлый синий - фоны, hover состояния */
    --brand-dark: #0369A1;           /* Темный синий - hover кнопок */
    
    /* ============================================
       SECONDARY COLOR - Нейтральные серые (30% использования)
       ============================================ */
    --neutral-50: #FAFAF9;           /* Фон страницы */
    --neutral-100: #F5F5F4;          /* Фон секций */
    --neutral-200: #E7E5E4;          /* Границы */
    --neutral-400: #A8A29E;          /* Вторичный текст, placeholder */
    --neutral-700: #44403C;          /* Основной текст */
    --neutral-900: #1C1917;          /* Заголовки, footer фон */
    
    /* ============================================
       ACCENT COLOR - Красный CTA (10% использования)
       ============================================ */
    --accent-red: #EF4444;           /* Главная CTA "Получить займ" */
    --accent-red-hover: #DC2626;     /* Hover главной CTA */
    --accent-red-light: #FEE2E2;     /* Светлый красный фон */
    
    /* ============================================
       SEMANTIC COLORS - Производные от основных
       ============================================ */
    --color-success: #10B981;        /* Зеленый - одобрение, успех */
    --color-success-light: #DCFCE7;  /* Светлый зеленый фон */
    --color-warning: #F59E0B;        /* Золотой - предупреждения, рейтинги */
    --color-warning-light: #FEF3C7;  /* Светлый желтый фон */
    
    /* ============================================
       FUNCTIONAL COLORS - Производные переменные
       ============================================ */
    /* Backgrounds */
    --bg-page: var(--neutral-50);
    --bg-section: var(--neutral-100);
    --bg-card: #FFFFFF;
    --bg-hover: var(--neutral-100);
    
    /* Text */
    --text-primary: var(--neutral-700);
    --text-secondary: var(--neutral-400);
    --text-heading: var(--neutral-900);
    --text-muted: var(--neutral-400);
    --text-on-brand: #FFFFFF;
    
    /* Borders */
    --border-light: var(--neutral-200);
    --border-medium: var(--neutral-400);
    
    /* Focus */
    --focus-ring: var(--brand-primary);
    
    /* Header */
    --header-bg: #FFFFFF;
    --header-text: var(--neutral-900);
    --header-link: var(--neutral-700);
    --header-link-hover: var(--brand-primary);
    --header-link-active: var(--brand-primary);
    --header-border: var(--neutral-200);
    
    /* Footer */
    --footer-bg: var(--neutral-900);
    --footer-text: var(--neutral-50);
    --footer-link: var(--neutral-400);
    --footer-link-hover: var(--neutral-50);
    
    /* Rating Stars */
    --star-active: var(--color-warning);
    --star-inactive: var(--neutral-200);
    
    /* Status Badges */
    --status-success: var(--color-success);
    --status-success-bg: var(--color-success-light);
    --status-warning: var(--color-warning);
    --status-warning-bg: var(--color-warning-light);
    --status-danger: var(--accent-red);
    --status-danger-bg: var(--accent-red-light);
    --status-info: var(--brand-primary);
    --status-info-bg: var(--brand-light);
    
    /* ============================================
       SHADOWS - Тонкие, премиум (как у Альфа-Банка)
       ============================================ */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 4px 8px rgba(0, 0, 0, 0.08);
    --shadow-card: var(--shadow-md);
    --shadow-card-hover: var(--shadow-lg);
    --shadow-button: var(--shadow-sm);
    --shadow-button-hover: var(--shadow-md);
}

/* ========================================
   Общие стили для всех select на сайте
   ======================================== */
select {
    padding-right: 40px !important;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23475569' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    background-size: 12px !important;
    cursor: pointer;
}

select:focus,
select:active {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23475569' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E") !important;
}

/* Стили для индикаторов загрузки */
.hero__offers-loading,
.top-offers__loading {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
    font-size: 16px;
    background: var(--bg-section);
    border-radius: 8px;
    margin: 20px 0;
}

.hero__offers-error,
.top-offers__error {
    text-align: center;
    padding: 40px 20px;
    color: var(--accent-red);
    font-size: 16px;
    background: var(--color-danger-light);
    border: 1px solid var(--color-danger-light);
    border-radius: 8px;
    margin: 20px 0;
}

.no-offers {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
    font-size: 16px;
    background: var(--bg-section);
    border-radius: 8px;
    margin: 20px 0;
}

/* Анимации для карточек */
.offer-card.animate-in {
    transform: translateY(0);
}

/* Фиксированная высота для параметров карточек */
.param-item {
    min-height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Скрытие описания для банков и карт */
.offer-card--bank .offer-card__description,
.offer-card--karty .offer-card__description {
    display: none;
}

/* Ограничение размера логотипов для всех карточек */
.offer-card__logo img {
    width: 130px;
    height: 60px;
    object-fit: contain;
    object-position: left center;
}

/* Стили для input фильтров */
.filter-input {
    padding: 12px 16px;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    font-size: 14px;
    background-color: var(--bg-card);
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    cursor: text;
}

.filter-input:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.1);
}

.filter-input::placeholder {
    color: var(--text-muted);
}

/* Стили для страницы займов */

/* Хлебные крошки */
.breadcrumbs {
    background: var(--slate-50);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.breadcrumbs__nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.breadcrumbs__link {
    color: var(--text-secondary) !important;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumbs__link:hover {
    color: var(--brand-600);
}

.breadcrumbs__separator {
    color: var(--text-secondary);
}

.breadcrumbs__current {
    color: var(--text-primary);
}

/* Hero секция страницы */
.page-hero {
    background: var(--bg-card);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    color: var(--text-primary);
}

.page-hero__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.page-hero__left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.page-hero__title {
    font-size: 38px;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 24px;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-hero__subtitle {
    font-size: 16px;
    color: var(--slate-900);
    margin-bottom: 32px;
    line-height: 1.6;
}

.page-hero__steps {
    display: flex;
    flex-direction: row;
    gap: 16px;
    margin-top: 24px;
}

.page-hero__steps .trust-badge {
    padding: 44px 24px;
}

.page-hero__right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.page-hero__filter {
    background: var(--bg-section);
    border-radius: 16px;
    padding: 32px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
}

.page-hero__filter-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 8px;
    text-align: center;
}

.page-hero__filter-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    text-align: center;
    line-height: 1.5;
}

.page-hero__filter-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.page-hero__filter-buttons {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.page-hero__filter-btn {
    flex: 1;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
}

.page-hero__filter-btn-reset {
    flex: 1;
    padding: 16px;
    font-size: 16px;
    background: var(--neutral-100);
    color: var(--neutral-800);
    border: 1px solid var(--neutral-300);
    transition: all 0.3s ease;
}

.page-hero__filter-btn-reset:hover {
    background: var(--neutral-200);
    border-color: var(--neutral-400);
}

/* Range Slider Styles */
.filter-range {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: var(--neutral-200);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    margin: 12px 0 8px 0;
}

.filter-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent-red);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3);
    transition: all 0.2s ease;
}

.filter-range::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.filter-range::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent-red);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3);
    transition: all 0.2s ease;
}

.filter-range::-moz-range-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.filter-range:focus {
    outline: none;
}

.filter-range:focus::-webkit-slider-thumb {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.filter-range:focus::-moz-range-thumb {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.filter-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 15px;
    margin-bottom: 4px;
}

.filter-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-red);
}

.filter-range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* Адаптив для page-hero */
@media (max-width: 992px) {
    .page-hero__content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .page-hero__right {
        justify-content: center;
    }
    
    .page-hero__filter {
        max-width: 100%;
    }
    
    .page-hero__benefits-list {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 60px 0;
    }
    
    .page-hero__filter {
        padding: 24px;
    }
    
    .page-hero__title {
        font-size: 32px;
    }
    
    .page-hero__subtitle {
        font-size: 16px;
    }
    
    .page-hero__filter-buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .page-hero__filter-btn,
    .page-hero__filter-btn-reset {
        width: 100%;
        padding: 14px;
        font-size: 15px;
    }
}

/* ВЧ запросы */

.hf-queries__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 0;
}

.hf-query__card {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.2s;
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
}

.hf-query__card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-primary);
    background: var(--brand-light);
}

.hf-query__card.active {
    background: var(--brand-primary);
    color: var(--text-on-brand);
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-md);
}

.hf-query__icon {
    font-size: 1.5rem;
}

.hf-query__text {
    font-size: 0.95rem;
}

/* Фильтры */
.filters {
    padding: 40px 0;
    background: var(--bg-subtle);
}

.filters__form {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
}

.filters__main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-label {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.filter-select {
    padding: 12px 16px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 0.95rem;
    background: var(--bg-card);
    color: var(--text-primary);
    transition: border-color 0.2s;
}

.filter-select:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px var(--brand-light);
}

.filters__subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-strong);
    margin-bottom: 16px;
}

.filters__checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.9rem;
}

.filter-checkbox input {
    display: none;
}

.filter-checkbox__mark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.filter-checkbox input:checked + .filter-checkbox__mark {
    background: var(--brand-600);
    border-color: var(--brand-600);
}

.filter-checkbox input:checked + .filter-checkbox__mark::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.filters__actions {
    display: flex;
    gap: 16px;
}

/* Список займов */
.loans-list {
    padding: 60px 0;
}

.loans-list__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.loans-list__count {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.loans-list__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
    align-items: stretch; /* Равная высота карточек */
}

.loans-list__actions {
    text-align: center;
}

.loans-list__loading {
    padding: 20px;
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Дисклеймер */
.disclaimer {
    padding: 40px 0;
    background: var(--bg-subtle);
}

.disclaimer__content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.disclaimer__text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.disclaimer__date {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Таблица сравнения */
.comparison-table {
    padding: 60px 0;
}

.comparison-table__wrapper {
    overflow-x: auto;
    margin-top: 32px;
}

.comparison-table__table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
}

.comparison-table__table th {
    background: var(--bg-section);
    padding: 16px 12px;
    text-align: left;
    font-weight: 600;
    color: var(--text-heading);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-light);
}

.comparison-table__table td {
    padding: 16px 12px;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.9rem;
    color: var(--text-primary);
}

.comparison-table__table tr:last-child td {
    border-bottom: none;
}

.comparison-table__table tr:hover {
    background: var(--bg-section);
}

.comparison-table__table td:first-child {
    font-weight: 600;
    color: var(--text-heading);
}

/* Текстовый контент */
.text-content {
    padding: 60px 0;
}

.text-content__wrapper {
    margin: 0 auto;
}

.text-content__wrapper .comparison-table__wrapper {
    max-width: 800px;
    margin: 24px auto;
}

/* Готовые решения */
.ready-solutions {
    padding: 60px 0;
    background: var(--bg-card);
}

.ready-solutions__list {
    margin-top: 32px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.solution-spoiler {
    border: 1px solid var(--border-light);
    border-radius: 8px;
    margin-bottom: 12px;
    background: var(--neutral-100);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.solution-spoiler__trigger {
    width: 100%;
    padding: 16px 20px;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    transition: background 0.2s;
}

.solution-spoiler__trigger:hover {
    background: var(--neutral-200);
}

.solution-spoiler__icon-left {
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
}

.solution-spoiler__title {
    flex: 1;
    text-align: left;
}

.solution-spoiler__icon {
    font-size: 12px;
    color: var(--text-secondary);
    transition: transform 0.2s;
    flex-shrink: 0;
}

.solution-spoiler.active .solution-spoiler__icon {
    transform: rotate(180deg);
}

.solution-spoiler__content {
    display: none;
    padding: 20px;
    background: var(--bg-card);
    border-top: 1px solid var(--border-light);
}

.solution-spoiler.active .solution-spoiler__content {
    display: block;
}

.solution-links {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.solution-link {
    padding: 3px 8px;
    background: transparent;
    border: none;
    text-decoration: none;
    color: var(--text-primary);
    text-align: left;
    transition: all 0.2s;
    font-size: 14px;
    line-height: 1.4;
}

.solution-link:hover {
    color: var(--brand-primary);
}

/* Адаптивные стили для блока "Часто ищут" */
@media (max-width: 1024px) {
    .solution-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .solution-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .solution-spoiler__trigger {
        padding: 14px 16px;
        font-size: 15px;
    }
    
    .solution-spoiler__content {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .solution-links {
        grid-template-columns: 1fr;
    }
}

/* Отзывы */
.reviews {
    padding: 60px 0;
}

/* Адаптивность */
@media (max-width: 768px) {
    .page-hero__title {
        font-size: 2rem;
    }
    
    .hf-queries__grid {
        gap: 12px;
    }
    
    .hf-query__card {
        padding: 14px 18px;
        font-size: 14px;
    }
    
    .filters__main {
        grid-template-columns: 1fr;
    }
    
    .filters__checkboxes {
        grid-template-columns: 1fr;
    }
    
    .loans-list__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .loans-list__grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-table__wrapper {
        font-size: 0.8rem;
    }
    
    .solution-links {
        grid-template-columns: 1fr;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-canvas);
    overflow-x: hidden;
    width: 100%;
    position: relative;
    padding-top: 70px; /* Компенсация для fixed header */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    overflow: visible; /* Позволяем меню выходить за пределы */
}

/* ========================================
   Typography
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    color: var(--text-strong);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

h1 { font-size: clamp(32px, 5vw, 48px); }
h2 { font-size: 28px; }
h3 { font-size: 22px; }
h4 { font-size: clamp(20px, 2.5vw, 24px); }
h5 { font-size: clamp(18px, 2vw, 20px); }
h6 { font-size: clamp(16px, 1.5vw, 18px); }

p {
    margin-bottom: 16px;
    color: var(--text-primary);
}

a {
    color: var(--brand-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--brand-dark);
}

a:visited {
    color: inherit;
}

/* ========================================
   Buttons
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: var(--accent-red);
    color: var(--text-on-brand);
    box-shadow: var(--shadow-button);
}

.btn--primary:hover {
    background: var(--accent-red-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-button-hover);
    color: var(--text-on-brand);
}

.btn--primary:active {
    background: var(--accent-red-hover);
    transform: translateY(0);
}

.btn--secondary {
    background: var(--bg-card);
    color: var(--brand-primary);
    border: 1px solid var(--border-light);
}

.btn--secondary:hover {
    background: var(--bg-hover);
    border-color: var(--brand-primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-button-hover);
}

.btn--danger {
    background: var(--accent-red);
    color: var(--text-on-brand);
}

.btn--danger:hover {
    background: var(--accent-red);
    filter: brightness(0.9);
    transform: translateY(-1px);
    box-shadow: var(--shadow-card-hover);
}

.btn--large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn--small {
    padding: 8px 16px;
    font-size: 14px;
}

.btn--full {
    width: 100%;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* ========================================
   Header & Navigation
   ======================================== */

.header {
    background: var(--header-bg);
    box-shadow: var(--shadow-card);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--header-border);
}

.header__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    gap: 20px;
}

/* Старые стили логотипа удалены */

.main-nav__list {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
}

/* Старые стили для .main-nav__link удалены - используются новые стили ниже */

.main-nav__button {
    margin-left: 16px;
}

.main-nav__button .btn {
    margin: 0;
    transition: all 0.3s ease;
}

.main-nav__button .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(10, 106, 148, 0.3); /* Обновленный синий */
}

.header__actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* ========================================
   Rating Page Styles
   ======================================== */

/* Page Hero для страницы рейтингов (более специфичный селектор) */
/* Rating Hero - упрощенный стиль */
.rating-hero {
    padding: 60px 0 40px;
    text-align: center;
}

.rating-hero .section__title {
    margin-bottom: 20px;
}

.rating-hero .section__subtitle {
    max-width: 800px;
    margin: 0 auto 20px;
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-primary);
}

.rating-hero__meta {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Rating Intro */
.rating-intro {
    padding: 60px 0;
    background: var(--bg-page);
}

.rating-intro h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    color: var(--text-heading);
}

.rating-intro p {
    font-size: 18px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.rating-criteria {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.rating-criteria__item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rating-criteria__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.rating-criteria__icon {
    font-size: 32px;
    flex-shrink: 0;
}

.rating-criteria__content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-heading);
}

.rating-criteria__content p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Rating Table */
.rating-table {
    padding: 60px 0;
}

.rating-table__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.rating-table h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-heading);
}

.rating-filters {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.rating-filter {
    padding: 12px 20px;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    background: var(--bg-card);
    font-size: 16px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.rating-filter:focus {
    outline: none;
    border-color: var(--brand-primary);
}

.rating-sort {
    padding: 12px 20px;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    background: var(--bg-card);
    font-size: 16px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.rating-sort:hover,
.rating-sort.active {
    border-color: var(--brand-primary);
    background: var(--brand-primary);
    color: var(--text-on-brand);
}

/* Rating List - используем стили offer-card */
.rating-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

/* Рейтинги в карточках offer-card */
.offer-card__rating .rating-stars {
    display: flex;
    gap: 2px;
    align-items: center;
    margin-bottom: 8px;
}

.offer-card__rating .star {
    font-size: 16px;
    color: var(--star-active);
}

.offer-card__rating .star--empty {
    color: var(--star-inactive);
}

.offer-card__rating .star--half {
    background: linear-gradient(90deg, var(--star-active) 50%, var(--star-inactive) 50%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.offer-card__rating .rating-score {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 14px;
}

/* Methodology (рейтинговые страницы) */
.methodology {
    padding: 48px 0 56px;
}
.methodology__title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 32px;
}
.methodology__steps {
    max-width: 780px;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.methodology__step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    position: relative;
    padding: 0 0 32px 0;
}
.methodology__step:last-child {
    padding-bottom: 0;
}
.methodology__step::before {
    content: ;
    position: absolute;
    left: 17px;
    top: 38px;
    bottom: 0;
    width: 2px;
    background: #e5e7eb;
}
.methodology__step:last-child::before {
    display: none;
}
.methodology__number {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--brand-primary, #0284c7);
    color: var(--brand-primary, #0284c7);
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    position: relative;
    z-index: 1;
}
.methodology__text {
    padding-top: 4px;
}
.methodology__text h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-heading);
    line-height: 1.4;
}
.methodology__text p {
    font-size: 15px;
    color: var(--text-secondary, #6b7280);
    line-height: 1.65;
    margin: 0;
}






/* FAQ */
.faq {
    padding: 60px 0;
}

.faq h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    color: var(--text-heading);
}

.faq__list {
    margin: 0 auto;
}

.faq__item {
    margin-bottom: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.faq__question {
    padding: 25px 30px;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-heading);
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: relative;
    user-select: none;
}

.faq__question:hover {
    background: var(--bg-section);
}

.faq__answer {
    padding: 0 30px;
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
    display: block;
}

.faq__item.active .faq__answer {
    padding: 0 30px 25px !important;
    max-height: 1000px !important;
    opacity: 1 !important;
}

/* Дисклеймер - сноски со звездочками */
.rating-disclaimer {
    padding: 40px 0;
    border-top: 1px solid var(--border-light);
}

.rating-disclaimer__content {
    max-width: 800px;
    margin: 0 auto;
}

.rating-disclaimer__content p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 12px;
}

/* Удалены лишние стили - используем общие */

/* 2️⃣ Кнопки-сценарии */
.rating-scenarios {
    padding: 60px 0;
    background: var(--bg-page);
}

/* Используем общий .section__title */

.rating-scenarios__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.scenario-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 20px;
    background: var(--bg-card);
    border: 2px solid var(--border-light);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-heading);
}

.scenario-btn:hover {
    border-color: var(--brand-primary);
    background: var(--brand-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.scenario-btn.active {
    border-color: var(--brand-primary);
    background: var(--brand-primary);
    color: var(--text-on-brand);
}

.scenario-btn__icon {
    font-size: 32px;
}

.scenario-btn__text {
    text-align: center;
    line-height: 1.4;
}

/* Как формируется рейтинг */
.rating-why-top {
    padding: 3rem 0;
    background: var(--bg-subtle, #fafaf9);
}

.rating-why-top__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.rating-why-top__card {
    padding: 1.5rem;
    background: var(--surface, #fff);
    border-radius: 12px;
    border: 1px solid var(--border-light, #e7e5e4);
}

.rating-why-top__card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-heading);
    margin: 0 0 0.5rem;
}

.rating-why-top__card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* 2️⃣ Кнопки-сценарии */
.rating-scenarios {
    padding: 60px 0;
    background: var(--bg-page);
}

/* Используем общий .section__title */

.rating-scenarios__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.scenario-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 20px;
    background: var(--bg-card);
    border: 2px solid var(--border-light);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-heading);
}

.scenario-btn:hover {
    border-color: var(--brand-primary);
    background: var(--brand-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.scenario-btn.active {
    border-color: var(--brand-primary);
    background: var(--brand-primary);
    color: var(--text-on-brand);
}

.scenario-btn__icon {
    font-size: 32px;
}

.scenario-btn__text {
    text-align: center;
    line-height: 1.4;
}

/* 3️⃣ Почему в ТОП */
.rating-why-top {
    padding: 60px 0;
    background: var(--bg-section);
}

/* Используем общий .section__title */

.rating-why-top__content {
    max-width: 800px;
    margin: 0 auto;
}

.rating-why-top__content p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.rating-why-top__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rating-why-top__list li {
    padding: 12px 0;
    padding-left: 30px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    position: relative;
}

.rating-why-top__list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--brand-primary);
    font-size: 24px;
    line-height: 1;
}

/* Удалены лишние стили - карточки упрощены */

/* 6️⃣ Методология - короткая версия */






/* Rating Loading & Error States */
.rating-loading {
    text-align: center;
    padding: 60px 20px;
    font-size: 18px;
    color: var(--text-secondary);
}

.rating-error {
    text-align: center;
    padding: 60px 20px;
    background: var(--color-warning-light);
    border-radius: 12px;
    border: 2px solid var(--color-warning);
}

.rating-error p {
    font-size: 16px;
    color: var(--neutral-700);
    margin-bottom: 10px;
}

.rating-error p:first-child {
    font-size: 20px;
    font-weight: 600;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 15px 0;
}

.breadcrumbs__list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
}

.breadcrumbs__list li {
    display: flex;
    align-items: center;
}

.breadcrumbs__list li:not(:last-child)::after {
    content: '›';
    margin-left: 8px;
    color: var(--text-muted);
}

.breadcrumbs__list a {
    color: var(--brand-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs__list a:hover {
    color: var(--brand-dark);
}

.breadcrumbs__list li:last-child {
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .rating-hero {
        padding: 40px 0 30px;
    }
    
    .rating-hero .section__subtitle {
        font-size: 16px;
    }
    
    .rating-scenarios {
        padding: 40px 0;
    }
    
    .rating-scenarios__list {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .scenario-btn {
        padding: 20px 16px;
        font-size: 15px;
    }
    
    .scenario-btn__icon {
        font-size: 28px;
    }
    
    .rating-why-top {
        padding: 2rem 0;
    }
    
    .rating-table__header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .rating-filters {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 60px 0;
    }
    
    .page-hero__title {
        font-size: 28px;
    }
    
    .rating-card__conditions {
        grid-template-columns: 1fr;
    }
    
    .rating-filters {
        flex-direction: column;
    }
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    background: var(--bg-card);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    color: var(--text-primary);
}

/* Hero Quiz - стили для квиза в правой части */
.hero__quiz {
    background: var(--bg-section);
    border-radius: 16px;
    padding: 32px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
}

/* Переключатели типов продуктов - ненавязчивые, сверху блока */
.hero__tabs {
    display: flex;
    gap: 4px;
    margin-bottom: -15px;
    background: transparent;
    border-radius: 8px 8px 0 0;
}

.hero__tab {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    border-radius: 6px 6px 0 0;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    position: relative;
}

.hero__tab:hover {
    color: var(--brand-primary);
    background: rgba(2, 132, 199, 0.05);
}

.hero__tab--active {
    color: var(--brand-primary);
    font-weight: 600;
}

.hero__tab--active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--brand-primary);
}

.hero__tab--active:hover {
    color: var(--brand-dark);
}

.hero__quiz-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 8px;
    text-align: center;
}

.hero__quiz-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    text-align: center;
    line-height: 1.5;
}

.hero__search {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero__search-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero__search-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-heading);
}

.hero__search-input,
.hero__search-select {
    padding: 14px 16px;
    font-size: 16px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background: var(--bg-card);
    color: var(--text-primary);
    transition: all 0.2s;
}

/* Специфичные стили для hero select убраны, используются общие */

.hero__search-select option {
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 10px;
}

.hero__search-input::placeholder {
    color: var(--text-muted);
}

.hero__search-input:focus,
.hero__search-select:focus {
    outline: none;
    border-color: var(--brand-primary);
    background: var(--bg-card);
    box-shadow: 0 0 0 3px var(--brand-light);
}

.hero__search-btn {
    margin-top: 8px;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.2s;
}

.hero__search-btn:hover {
    transform: translateY(-1px);
}

.hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.hero__trust span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.hero__updated {
    margin-top: 15px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* Hero Bottom - элементы на всю ширину */
.hero__bottom {
    margin-top: 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero__bottom .hero__actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.hero__bottom .hero__trust {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 16px;
    font-size: 15px;
    color: var(--text-secondary);
}

.hero__bottom .hero__trust span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.hero__bottom .hero__updated {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0;
}

/* Trust Badges - Современный стиль 2025 */
.hero__trust-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.trust-badge:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-primary);
}

.trust-badge__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-light);
    border-radius: 12px;
    color: var(--brand-primary);
}

.trust-badge__icon svg {
    width: 24px;
    height: 24px;
}

.trust-badge__content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.trust-badge__number {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-heading);
    line-height: 1;
}

.trust-badge__text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.4;
}

@media (max-width: 768px) {
    .hero__content { 
        flex-direction: column; 
        gap: 40px;
    }
    .hero__quiz {
        padding: 24px;
    }
    
    .hero__tabs {
        gap: 6px;
        padding: 3px;
    }
    
    .hero__tab {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .hero__quiz-title {
        font-size: 20px;
    }
    .hero__bottom .hero__actions {
        flex-direction: column;
        align-items: center;
    }
    .hero__bottom .hero__trust {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero__trust-badges {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 40px;
    }
    
    .trust-badge {
        padding: 20px;
    }
    
    .trust-badge__icon {
        width: 40px;
        height: 40px;
    }
    
    .trust-badge__number {
        font-size: 20px;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.hero__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.hero__left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero__right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 600;
}

.hero__title {
    font-size: 38px;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 24px;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero__subtitle {
    font-size: 16px;
    color: var(--slate-900);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero__benefits {
    margin-bottom: 40px;
}

.hero__benefits-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero__benefits-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 500;
    transition: all 0.3s ease;
}

.hero__benefits-list li:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.benefit-icon {
    font-size: 20px;
}

.hero__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 40px;
}

.hero__trust {
    display: flex;
    gap: 32px;
    justify-content: center;
}

.hero__trust--left {
    justify-content: flex-start;
    margin-top: 40px;
}

.hero__trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    flex: 1;
    justify-content: flex-start;
}

.trust-icon {
    font-size: 16px;
}

/* Category Tabs */
.hero__category-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.category-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.category-tab:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--on-brand);
    transform: translateY(-2px);
}

.category-tab.active {
    background: rgba(255, 255, 255, 0.2);
    color: var(--on-brand);
    border-color: rgba(255, 255, 255, 0.4);
}

.category-tab__icon {
    font-size: 20px;
}

.category-tab__text {
    font-size: 16px;
    text-align: center;
    font-weight: 600;
}

/* Hero Offers */
.hero__offers {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 20px;
    min-height: 200px;
}

.hero__offers-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
}

.hero__offers-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero__offer-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.hero__offer-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.hero__offer-name {
    font-weight: 400;
    color: var(--on-brand);
    margin-bottom: 4px;
}

.hero__offer-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.hero__offer-details div {
    white-space: nowrap;
}

/* Hero Quick Links */
.hero__quick-links {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-top: 24px;
}

.hero__quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: var(--on-brand);
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 100px;
}

.hero__quick-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.hero__quick-icon {
    font-size: 24px;
}

.hero__quick-text {
    font-size: 14px;
    font-weight: 600;
}

/* Стили для trust-eaat (E-E-A-T блок) удалены - блок больше не используется */

/* Top Offers Tabs */
.top-offers__tabs {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 40px;
}

.top-offers__tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.top-offers__tab:hover {
    background: var(--brand-light);
    color: var(--brand-primary);
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-sm);
}

.top-offers__tab.active {
    background: var(--brand-primary);
    color: var(--text-on-brand);
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-md);
}

.top-offers__tab.active:hover {
    background: var(--brand-dark);
}

.top-offers__tab-icon {
    font-size: 18px;
}

.top-offers__tab-text {
    font-size: 16px;
}

.top-offers__content {
    margin-bottom: 40px;
}

.top-offers__offers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch; /* Равная высота карточек */
}

.top-offers__loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
    font-size: 18px;
}

.top-offers__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.top-offers__actions .btn {
    background: var(--bg-section);
    color: var(--brand-primary);
    border: 1px solid var(--brand-primary);
}

.top-offers__actions .btn:hover {
    background: var(--brand-primary);
    color: var(--text-on-brand);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Hubs Categories */
/* Стили для hubs-categories удалены - блок больше не используется */

/* Ratings SEO */
.ratings-seo {
    padding: 3.5rem 0 4rem;
    background: var(--bg-subtle);
}

.ratings-seo .section__title {
    text-align: center;
    margin-bottom: 0.25rem;
}

.ratings-seo .section__subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 0.9375rem;
}

.ratings-seo__list {
    margin-bottom: 2rem;
}

/* Rating item row */
.home-rating__item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1.25rem;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid var(--border-light, #e7e5e4);
    transition: background 0.15s;
}

.home-rating__item:first-child {
    border-top: 1px solid var(--border-light, #e7e5e4);
}

.home-rating__item:hover {
    background: var(--neutral-50, #fafaf9);
}

.home-rating__rank {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    font-size: 0.8125rem;
    font-weight: 700;
    background: var(--neutral-100, #f5f5f4);
    color: var(--text-secondary);
}

.home-rating__item:nth-child(1) .home-rating__rank {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #fff;
}

.home-rating__item:nth-child(2) .home-rating__rank {
    background: linear-gradient(135deg, #cbd5e1, #94a3b8);
    color: #fff;
}

.home-rating__item:nth-child(3) .home-rating__rank {
    background: linear-gradient(135deg, #d97706, #b45309);
    color: #fff;
}

.home-rating__logo {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-rating__logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.home-rating__info {
    flex: 1 1 140px;
    min-width: 140px;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.home-rating__name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-heading);
}

.home-rating__stars {
    display: flex;
    align-items: center;
    gap: 0.125rem;
    font-size: 0.75rem;
}

.home-rating__stars .star {
    font-size: 0.8125rem;
    line-height: 1;
}

.home-rating__stars .star--full,
.home-rating__stars .star--half {
    color: #f59e0b;
}

.home-rating__stars .star--empty {
    color: #d6d3d1;
}

.home-rating__score {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-left: 0.25rem;
}

.home-rating__conditions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.home-rating__param {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

.home-rating__cta {
    flex-shrink: 0;
    padding: 0.4375rem 1.125rem;
    background: var(--brand-primary, #0284c7);
    color: #fff;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    transition: background 0.15s;
}

.home-rating__item:hover .home-rating__cta {
    background: var(--brand-dark, #0369a1);
}

.home-rating__features {
    display: flex;
    gap: 0.375rem;
    flex-shrink: 0;
}

.home-rating__feature {
    padding: 0.1875rem 0.5rem;
    background: var(--neutral-100, #f5f5f4);
    border-radius: 100px;
    font-size: 0.6875rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

.ratings-seo .section__actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .ratings-seo {
        padding: 2.5rem 0 3rem;
    }

    .home-rating__item {
        flex-wrap: wrap;
        padding: 0.75rem 0.75rem;
        gap: 0.625rem;
    }

    .home-rating__conditions {
        display: none;
    }

    .home-rating__features {
        display: none;
    }

    .home-rating__cta {
        margin-left: auto;
    }
}

/* Journal Block */
.journal {
    padding: 80px 0;
    background: var(--surface);
}

.journal__content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.journal__articles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.journal__sidebar {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.journal__featured h3,
.journal__newsletter h3 {
    font-size: 20px;
    color: var(--text-strong);
    margin-bottom: 16px;
}

.journal__topics {
    list-style: none;
    padding: 0;
    margin: 0;
}

.journal__topics li {
    margin-bottom: 12px;
}

.journal__topics a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.journal__topics a:hover {
    color: var(--brand-600);
}

.journal__newsletter {
    background: var(--bg-subtle);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.journal__newsletter p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    border: 1px solid var(--border-light);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--brand-600);
    box-shadow: 0 0 0 3px rgba(10, 106, 148, 0.1); /* Обновленный синий */
}

/* Calculators */
.calculators {
    padding: 80px 0;
    background: var(--bg-subtle);
}

.calculators__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.calculator-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.calculator-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--brand-primary);
}

.calculator-card__icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.calculator-card__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-strong);
    margin-bottom: 12px;
}

.calculator-card__desc {
    color: var(--text-primary);
    margin-bottom: 24px;
    line-height: 1.5;
}

/* Antikollektor */
.antikollektor {
    padding: 80px 0;
    background: var(--surface);
}

.antikollektor__content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
}

.antikollektor__info h3 {
    font-size: 20px;
    color: var(--text-strong);
    margin-bottom: 16px;
}

.antikollektor__features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.antikollektor__features li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.antikollektor__features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-red);
    font-weight: 700;
}

.antikollektor__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 200px;
}

/* SEO Text */
.seo-text {
    padding: 80px 0;
    background: var(--bg-subtle);
}

.seo-text__content {
    margin: 0 auto;
}

.seo-text h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-strong);
    margin-bottom: 24px;
    line-height: 1.3;
}

.seo-text h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-strong);
    margin: 32px 0 16px 0;
}

.seo-text p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.seo-text ol,
.seo-text ul {
    margin: 16px 0 24px 0;
    padding-left: 24px;
}

.seo-text li {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.seo-text strong {
    color: var(--text-strong);
    font-weight: 600;
}

/* ========================================
   Sections
   ======================================== */

.section {
    padding: 80px 0;
}

.section__title {
    text-align: center;
    font-size: 36px;
    color: var(--text-strong);
    position: relative;
    margin-bottom: 48px;
}

.section__title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--brand-solid);
    border-radius: 2px;
}

.section__subtitle {
    text-align: center;
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.section__actions {
    text-align: center;
    margin-top: 48px;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.section__actions .btn {
    background: var(--bg-section);
    color: var(--brand-primary);
    border: 1px solid var(--brand-primary);
}

.section__actions .btn:hover {
    background: var(--brand-primary);
    color: var(--text-on-brand);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ========================================
   Experts Section
   ======================================== */

.experts {
    padding: 60px 0;
    background: var(--bg-card);
}

.experts__title {
    text-align: center;
    font-size: 36px;
    color: var(--text-strong);
    position: relative;
    margin-bottom: 48px;
}

.experts__title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--brand-solid);
    border-radius: 2px;
}

.experts__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.expert {
    background: var(--neutral-100);
    padding: 25px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
}

.expert:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.expert__photo {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid var(--border-light);
}

.expert__name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-heading);
}

.expert__pos {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.expert__desc {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-primary);
    text-align: left;
}

/* ========================================
   Cards
   ======================================== */

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

/* Offer Cards */
.offers {
    padding: 80px 0;
    background: var(--bg-subtle);
}

.offers__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.offer-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.offer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--brand-solid);
}

.offer-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.offer-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.offer-card__logo {
    width: 130px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
}

.offer-card__badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.offer-card__badge--recommended {
    background: var(--status-approved-bg);
    color: var(--status-success);
}

.offer-card__badge--new {
    background: var(--color-warning-light);
    color: var(--color-warning);
}

.offer-card__badge--risk {
    background: var(--color-danger-light);
    color: var(--accent-red);
}

/* Стиль для "Первый займ 0%" */
.first-loan-zero {
    background: var(--color-success);
    color: var(--text-on-brand);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 8px;
}

/* Стили для таблицы сравнения */
.comparison-company {
    display: flex;
    align-items: center;
    gap: 8px;
}

.comparison-logo {
    width: 40px;
    height: 30px;
    object-fit: contain;
    border-radius: 4px;
}

.offer-card__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.3;
}

.offer-card__main-sum {
    text-align: center;
    margin-bottom: 24px;
    position: relative;
}

.sum-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.sum-value {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 0;
    color: var(--brand-600);
    position: relative;
    z-index: 1;
}

.offer-card__params {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}

.param {
    text-align: center;
}

.param__label {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.param__value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-strong);
}

/* Стили для всех списков на сайте */
.offer-features-list,
ul, ol {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.offer-features-list li,
ul li, ol li {
    position: relative;
    font-size: 14px;
    line-height: 1.6;
    padding-left: 20px;
    margin-bottom: 8px;
}

/* Маркированные списки - красные точки */
.offer-features-list li:before,
ul li:before {
    content: "•";
    color: var(--accent-red);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 16px;
}

/* Исключения для навигации - убираем маркеры и отступы */
.main-nav ul li:before,
.footer ul li:before,
.breadcrumbs ul li:before,
.breadcrumbs__nav li:before {
    content: none;
}

.main-nav ul li,
.footer ul li,
.breadcrumbs ul li,
.breadcrumbs__nav li {
    padding-left: 0;
    margin-bottom: 0;
}

/* Нумерованные списки - красные квадратики с цифрами */
ol {
    counter-reset: number;
}

ol li:before {
    color: var(--text-on-brand);
    background: var(--accent-red);
    display: inline-block;
    text-align: center;
    margin: 3px -5px;
    line-height: 19px;
    width: 19px;
    height: 19px;
    counter-increment: number;
    content: counter(number);
    border-radius: 3px;
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
    font-size: 14px;
}

/* Исключения для навигации - убираем нумерацию */
.main-nav ol li:before,
.footer ol li:before,
.breadcrumbs ol li:before,
.breadcrumbs__nav ol li:before {
    content: none;
    display: none;
}

.offer-card__features {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.feature-tag {
    padding: 4px 8px;
    background: var(--brand-100);
    color: var(--brand-600);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.offer-card__cta {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.offer-card__cta .btn {
    flex: 1;
}

/* Стили для параметров карточки */
.param-item {
    text-align: center;
    padding: 12px 8px;
    background: var(--bg-section);
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.param-value {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.param-label {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: lowercase;
}

/* Стили для информационного блока */
.offer-card__info {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 0px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
    line-height: 1.4;
}

/* Стили для контента карточки */
.offer-card__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    /* Убираем height: 100% - карточка будет занимать только нужное место */
}

/* Создаем grid-контейнер для description и actions */
.offer-card__description-actions {
    display: grid;
    grid-template-rows: 1fr auto; /* Описание занимает доступное место, кнопки - фиксированную высоту */
    gap: 20px;
    flex: 1; /* Занимаем всё доступное место */
}

.offer-card__description {
    /* Описание занимает доступное место */
    flex: 1;
}

.offer-card__actions {
    /* Кнопки всегда внизу */
    align-self: end;
}

.offer-card__actions .btn {
    width: 100%;
    justify-content: center;
}

/* Адаптивность для мобильных - вертикальное расположение */
@media (max-width: 768px) {
    .offer-card__description-actions {
        flex-direction: column;
        gap: 16px;
    }
    
    .offer-card__actions {
        max-width: 100%;
        min-width: auto;
    }
}

.offer-card__link {
    text-align: center;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
    display: flex;
    justify-content: space-evenly;
    margin-top: 10px;
}

.offer-card__link:hover {
    color: var(--brand-600);
}

/* Убираем социальное доказательство */
.social-proof {
    display: none;
}

.offer-card__secondary-cta {
    padding: 8px 16px;
    background: transparent;
    color: var(--brand-600);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.offer-card__secondary-cta:hover {
    background: var(--bg-subtle);
    border-color: var(--brand-600);
}

/* Rating Cards */
.rating-preview {
    padding: 80px 0;
    background: var(--surface);
}

.rating-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.rating-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.rating-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover);
}

.rating-item__position {
    font-size: 24px;
    font-weight: 700;
    color: var(--brand-600);
    margin-right: 20px;
    min-width: 40px;
    text-align: center;
}

.rating-item__logo {
    width: 50px;
    height: 50px;
    margin-right: 20px;
    object-fit: contain;
    border-radius: 8px;
}

.rating-item__info {
    flex: 1;
}

.rating-item__name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-strong);
    margin-bottom: 4px;
}

.rating-item__details {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.rating-item__rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rating-stars {
    display: flex;
    gap: 2px;
}

.rating-star {
    color: var(--warning-600);
    font-size: 16px;
}

.rating-value {
    font-weight: 600;
    color: var(--text-strong);
}

.rating-item__cta {
    margin-left: 20px;
}

/* Category Cards */
.categories {
    padding: 80px 0;
    background: var(--bg-subtle);
}

.categories__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.category-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--brand-solid);
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.category-card__icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: var(--brand-solid);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--on-brand);
}

.category-card__title {
    margin-bottom: 12px;
    color: var(--text-strong);
}

.category-card__desc {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.category-card__link {
    display: inline-block;
    color: var(--brand-600);
    text-decoration: none;
    font-weight: 600;
    padding: 12px 24px;
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: var(--surface);
}

.category-card__link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--brand-600);
    transition: left 0.3s ease;
    z-index: -1;
}

.category-card__link:hover::before {
    left: 0;
}

.category-card__link:hover {
    color: var(--on-brand);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--brand-600);
}

/* Calculator Cards */
.calculators {
    padding: 80px 0;
    background: var(--bg-subtle);
}

.calculators__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.calculator-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.calculator-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--brand-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.calculator-card:hover::before {
    opacity: 1;
}

.calculator-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--brand-primary);
}

.calculator-card__icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: var(--brand-solid);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--on-brand);
}

.calculator-card__title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-strong);
    margin-bottom: 12px;
}

.calculator-card__desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Antikollektor Preview */
.antikollektor-preview {
    padding: 80px 0;
    background: var(--bg-subtle);
    position: relative;
}

.antikollektor-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--brand-solid);
}

.antikollektor-preview__content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.antikollektor-preview__text {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.antikollektor-preview__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Trust Section */
.trust-section {
    padding: 60px 0;
    background: var(--surface);
    text-align: center;
}

.trust-section__content {
    max-width: 800px;
    margin: 0 auto;
}

.trust-section__text {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 32px;
}

.trust-section__links {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.trust-link {
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 500;
    padding: 12px 20px;
    border: 2px solid var(--brand-primary);
    border-radius: 8px;
    background: var(--bg-card);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.trust-link:hover {
    background: var(--brand-primary);
    color: var(--text-on-brand);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* About Journal */
.about-journal {
    padding: 80px 0;
    background: var(--surface);
}

.about-journal__content {
    max-width: 800px;
    margin: 0 auto;
}

/* FAQ */
.faq {
    padding: 80px 0;
    background: var(--bg-section);
}

.faq__content {
    max-width: 800px;
    margin: 0 auto;
}

.faq__list {
    margin: 0 auto;
}

.faq__item,
.faq-item,
.faq__content details {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.faq__item:hover,
.faq-item:hover,
.faq__content details:hover {
    box-shadow: var(--shadow-md);
}

.faq__question,
.faq-question,
.faq__content summary {
    padding: 24px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    list-style: none;
    user-select: none;
}

.faq__content summary::-webkit-details-marker {
    display: none;
}

.faq__question:hover,
.faq-question:hover,
.faq__content summary:hover {
    color: var(--brand-primary);
}

.faq__question::after,
.faq-question::after,
.faq__content summary::after {
    content: '+';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 28px;
    font-weight: 300;
    color: var(--brand-primary);
    transition: transform 0.3s ease;
}

.faq__item.active .faq__question::after,
.faq-item.active .faq-question::after,
.faq__content details[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq__answer,
.faq-answer,
.faq__content details > div {
    padding: 0 24px;
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
}

.faq__item.active .faq__answer,
.faq-item.active .faq-answer {
    padding: 0 24px 24px 24px;
    max-height: 500px;
    opacity: 1;
    margin-top: 16px;
}

.faq__content details[open] > div {
    padding: 0 24px 24px 24px;
    max-height: 500px;
    opacity: 1;
}

/* Стили для параграфов внутри FAQ */
.faq__content p,
.faq-answer p {
    margin-bottom: 12px;
}

.faq__content p:last-child,
.faq-answer p:last-child {
    margin-bottom: 0;
}

/* Стили для списков внутри FAQ */
.faq__content ul,
.faq__content ol,
.faq-answer ul,
.faq-answer ol {
    padding-left: 20px;
    margin-bottom: 12px;
}

.faq__content ul li,
.faq__content ol li,
.faq-answer ul li,
.faq-answer ol li {
    margin-bottom: 8px;
    padding-left: 0;
}

/* Articles */
.articles {
    padding: 80px 0;
    background: var(--surface);
}

.articles__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.article-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.article-card__image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-card__content {
    padding: 24px;
}

.article-card__title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-strong);
    margin-bottom: 12px;
    line-height: 1.4;
}

.article-card__excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.article-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-secondary);
}

/* ========================================
   Forms
   ======================================== */

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-strong);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 16px;
    color: var(--text-primary);
    background: var(--bg-card);
    transition: all 0.2s ease;
}

/* Специфичные стили для form-select убраны, используются общие */

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px var(--brand-light);
    transform: translateY(-1px);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
    border-color: var(--danger-600);
}

.form-error {
    color: var(--danger-600);
    font-size: 14px;
    margin-top: 4px;
}

/* ========================================
   Badges & Tags
   ======================================== */

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge--recommended {
    background: var(--status-approved-bg);
    color: var(--status-success);
}

.badge--new {
    background: var(--color-warning-light);
    color: var(--color-warning);
}

.badge--risk {
    background: var(--color-danger-light);
    color: var(--accent-red);
}

.badge--success {
    background: var(--color-success-light);
    color: var(--color-success);
}

.badge--warning {
    background: var(--color-warning-light);
    color: var(--color-warning);
}

.badge--info {
    background: var(--color-info-light);
    color: var(--brand-primary);
}

/* ========================================
   Data Visualization
   ======================================== */

/* Rating Colors - Упрощенная система */
.rating-excellent { color: var(--color-success); }
.rating-good { color: var(--color-success); }
.rating-average { color: var(--color-warning); }
.rating-poor { color: var(--accent-red); }

/* Data Visualization - Используем основные цвета */
.data-primary { color: var(--brand-primary); }
.data-success { color: var(--color-success); }
.data-warning { color: var(--color-warning); }
.data-danger { color: var(--accent-red); }

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero__content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero__left {
        text-align: center;
    }
    
    .hero__actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero__trust {
        flex-direction: column;
        gap: 16px;
    }
    
    .hero__trust--left {
        justify-content: center;
        margin-top: 30px;
    }
    
    .hero__quick-links {
        flex-direction: column;
        gap: 16px;
    }
    
    .hero__quick-link {
        min-width: auto;
        width: 100%;
    }
    
    .hero__category-tabs {
        flex-direction: column;
        gap: 12px;
    }
    
    .category-tab {
        flex-direction: row;
        justify-content: center;
        padding: 12px 16px;
    }
    
    .category-tab__text {
        font-size: 16px;
    }
    
    /* Стили для trust-eaat удалены */
    
    .top-offers__tabs {
        flex-direction: column;
        gap: 12px;
    }
    
    .top-offers__offers {
        grid-template-columns: 1fr;
    }
    
    /* Стили для hubs-categories удалены */
    

    
    .journal__content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .journal__articles {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .calculators__grid {
        grid-template-columns: 1fr;
    }
    
    .antikollektor__content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .antikollektor__actions {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .footer__content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer__section {
        text-align: center;
    }
    
    /* Header styles для планшетов - оставляем как на desktop */
    
    .main-nav__button {
        margin-left: 0;
        margin-top: 8px;
    }
    
    .offers__grid {
        grid-template-columns: 1fr;
    }
    
    .categories__grid,
    .calculators__grid,
    .articles__grid {
        grid-template-columns: 1fr;
    }
    
    .about-journal__list li {
        padding: 12px 16px 12px 50px;
    }
    
    .about-journal__list li::before {
        left: 16px;
        width: 20px;
        height: 20px;
        font-size: 12px;
    }
    
    .about-journal__text {
        text-align: left;
    }
    
    .faq__question {
        padding: 20px;
        font-size: 16px;
    }
    
    .faq__answer {
        padding: 0 20px;
    }
    
    .faq__item.active .faq__answer {
        padding: 20px;
    }
    
    .section__actions {
        flex-direction: column;
        align-items: center;
    }
    
    .offer-card__params {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .param-item {
        padding: 8px 4px;
    }
    
    .param-value {
        font-size: 11px;
    }
    
    .param-label {
        font-size: 10px;
    }
    
    .offer-card__cta {
        flex-direction: column;
    }
    
    .rating-item {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .rating-item__position {
        margin-right: 0;
        margin-bottom: 8px;
    }
    
    .rating-item__logo {
        margin-right: 0;
        margin-bottom: 8px;
    }
    
    .rating-item__cta {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 38px;
    }
    
    .hero__subtitle {
        font-size: 16px;
    }
    
    .section__title {
        font-size: 28px;
    }
    
    .btn--large {
        padding: 14px 28px;
        font-size: 16px;
    }
    
    .card,
    .offer-card,
    .category-card,
    .calculator-card {
        padding: 20px;
    }
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 56px 0 0;
}

.footer__top {
    display: flex;
    gap: 48px;
    padding-bottom: 40px;
}

.footer__about {
    flex: 0 0 280px;
    max-width: 280px;
}

.footer__logo {
    display: inline-block;
    margin-bottom: 16px;
}

.footer__logo img {
    display: block;
}

.footer__desc {
    font-size: 14px;
    line-height: 1.65;
    color: rgba(250, 250, 250, 0.7);
    margin: 0 0 20px;
}

.footer__contact a {
    color: var(--footer-link);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer__contact a:hover {
    color: var(--footer-link-hover);
}

.footer__nav {
    display: flex;
    flex: 1;
    gap: 40px;
}

.footer__col {
    flex: 1;
    min-width: 0;
}

.footer__heading {
    color: var(--footer-text);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.01em;
}

.footer__heading--mt {
    margin-top: 24px;
}

.footer__col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__col ul li {
    margin-bottom: 10px;
}

.footer__col a {
    color: var(--footer-link);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    transition: color 0.2s;
}

.footer__col a:hover {
    color: var(--footer-link-hover);
}

.footer__trust {
    background: rgba(255, 255, 255, 0.04);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 28px 0;
}

.footer__trust p {
    font-size: 13px;
    line-height: 1.7;
    color: rgba(250, 250, 250, 0.6);
    margin: 0 0 10px;
}

.footer__trust p:last-child {
    margin-bottom: 0;
}

.footer__trust strong {
    color: rgba(250, 250, 250, 0.85);
    font-weight: 600;
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
}

.footer__bottom-left span {
    font-size: 14px;
    color: rgba(250, 250, 250, 0.5);
}

.footer__bottom-right {
    display: flex;
    gap: 24px;
}

.footer__bottom-right a {
    font-size: 14px;
    color: rgba(250, 250, 250, 0.5);
    text-decoration: none;
    transition: color 0.2s;
}

.footer__bottom-right a:hover {
    color: var(--footer-link-hover);
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer__top {
        flex-direction: column;
        gap: 36px;
    }
    .footer__about {
        flex: none;
        max-width: 100%;
    }
    .footer__nav {
        flex-wrap: wrap;
        gap: 32px;
    }
    .footer__col {
        flex: 0 0 calc(50% - 16px);
    }
}

@media (max-width: 576px) {
    .footer {
        padding-top: 40px;
    }
    .footer__nav {
        flex-direction: column;
        gap: 28px;
    }
    .footer__col {
        flex: none;
    }
    .footer__bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    .footer__bottom-right {
        flex-wrap: wrap;
        justify-content: center;
    }
}


/* ========================================
   Utility Classes
   ======================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.hidden { display: none; }
.visible { display: block; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.w-full { width: 100%; }
.h-full { height: 100%; }

/* ========================================
   Animations
   ======================================== */

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.animate-fadeIn {
    animation: fadeIn 0.6s ease-out;
}

.animate-slideIn {
    animation: slideIn 0.6s ease-out;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* ========================================
   Print Styles
   ======================================== */

@media print {
    .header,
    .hero__actions,
    .section__actions,
    .btn {
        display: none;
    }
    
    .hero {
        background: none;
        color: var(--text-strong);
    }
    
    .card,
    .offer-card,
    .category-card,
    .calculator-card {
        border: 1px solid var(--border);
        box-shadow: none;
    }
}

/* ========================================
   УНИКАЛЬНЫЙ HEADER 2025 - С ВЫПАДАЮЩИМИ СПИСКАМИ
   ======================================== */

/* Основные стили header */
.header--unique {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: var(--header-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--header-border);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transform: translateY(0);
}

.header--unique.header-hidden {
    transform: translateY(-100%);
    box-shadow: none;
}

.header--unique.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

.header--unique::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brand-600), transparent);
    opacity: 0.6;
}

.header--unique.scrolled {
    background: rgba(250, 250, 250, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-bottom-color: var(--brand-600);
}

.header__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    min-height: 76px;
    position: relative;
    overflow: visible; /* Позволяем меню выходить за пределы */
}

/* Логотип - только базовые стили */
.logo {
    flex-shrink: 0;
}

.logo a {
    display: block;
}

.logo img {
    display: block;
    border-radius: 8px;
}

/* Главное меню */
.main-nav--unique {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.main-nav__list {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav__item {
    position: relative;
}

.main-nav__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    text-decoration: none;
    color: var(--header-link);
    font-weight: 500;
    font-size: 15px;
    line-height: 1.4;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    white-space: nowrap;
    border: 1px solid transparent;
    background: transparent;
}

.main-nav__link:visited {
    color: var(--header-link);
}

.main-nav__link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 1px;
    z-index: 0;
}

.main-nav__link:hover::before {
    opacity: 0.08;
}

.main-nav__link:hover {
    color: var(--header-link-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(2, 132, 199, 0.15);
    background: var(--bg-card);
}

.main-nav__link:focus {
    outline: none;
    border: none;
}

.main-nav__link:active {
    outline: none;
    border: none;
}

.main-nav__link[aria-current="page"]:not([href="#"]) {
    color: var(--header-link-active);
    font-weight: 500;
    background: transparent;
    border: none;
    box-shadow: none;
}

.main-nav__link[aria-current="page"]:not([href="#"]):hover {
    color: var(--header-link-active);
    transform: none;
    box-shadow: none;
    background: transparent;
}

/* Иконки меню */
.main-nav__icon {
    position: relative;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.main-nav__link:hover .main-nav__icon {
    transform: scale(1.15) rotate(5deg);
}

.main-nav__link[aria-current="page"]:not([href="#"]) .main-nav__icon {
    color: var(--accent-red);
}

/* Специфичные цвета для иконок - все одинаковые */
.main-nav__icon--zaymy,
.main-nav__icon--kredity,
.main-nav__icon--karty,
.main-nav__icon--rejtingi,
.main-nav__icon--more,
.main-nav__icon--kalkulyatory {
    color: var(--header-link);
}

.main-nav__icon--antikollektor {
    color: var(--danger-600);
}

.main-nav__icon--gid {
    color: var(--teal-600);
}

.main-nav__text {
    position: relative;
    z-index: 1;
    font-weight: inherit;
}

/* Стрелка для выпадающих меню */
.main-nav__arrow {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
    margin-left: 4px;
}

.main-nav__item--dropdown:hover .main-nav__link {
    color: var(--brand-600);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(10, 106, 148, 0.2);
    background: white;
}

/* Убеждаемся, что правило применяется и к ссылкам с href="#" */
.main-nav__item--dropdown:hover .main-nav__link[href="#"] {
    color: var(--brand-600);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(10, 106, 148, 0.2);
    background: white;
}

.main-nav__item--dropdown:hover .main-nav__icon {
    color: var(--brand-600);
}

/* Убеждаемся, что правило применяется и к иконкам в ссылках с href="#" */
.main-nav__item--dropdown:hover .main-nav__link[href="#"] .main-nav__icon {
    color: var(--brand-600);
}

.main-nav__item--dropdown:hover .main-nav__arrow {
    transform: rotate(180deg);
}

/* ШИРОКОЕ МЕГА-МЕНЮ ПРИ HOVER (выровнено по ширине header__content) */
.dropdown-menu {
    position: fixed !important;
    top: 68px !important; /* Начинаем выше, чтобы перекрыть пункт меню */
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important; /* На весь экран */
    margin: 0 !important;
    margin-top: 8px !important;
    padding: 50px 0 40px 0 !important; /* Фиксированный padding, не меняется */
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, max-height 0.3s ease;
    z-index: 1001 !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow: hidden;
    max-height: 0;
    box-sizing: border-box;
}

/* Меню открывается при hover на пункт меню */
.main-nav__item--dropdown:hover .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    max-height: 600px !important;
    /* padding не меняется - остается 50px 0 40px 0 */
    pointer-events: auto !important;
}

/* Меню остается открытым при наведении на него (только само меню, не внутренние элементы) */
.dropdown-menu:hover {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    max-height: 600px !important;
    /* padding не меняется - остается 50px 0 40px 0 */
    pointer-events: auto !important;
}

/* Задержка перед закрытием для плавности */
.main-nav__item--dropdown .dropdown-menu {
    pointer-events: none;
}

/* Убеждаемся что меню не наследует стили от родителя */
.dropdown-menu {
    padding-left: 0 !important;
    padding-right: 0 !important;
    transform-origin: top center;
}

/* Убираем любые ограничения от родительских элементов */
.main-nav__item--dropdown {
    position: relative;
}

/* Невидимая область для плавного перехода курсора от пункта меню к выпадающему списку */
.main-nav__item--dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: -20px; /* Расширяем область влево */
    right: -20px; /* Расширяем область вправо */
    height: 15px; /* Увеличиваем высоту невидимой области */
    background: transparent;
    z-index: 1002;
    pointer-events: auto; /* Включаем pointer-events, чтобы область была активной */
}

/* Контейнер внутри dropdown-menu - выравниваем как основной контент сайта */
.dropdown-menu .container {
    max-width: 1200px !important; /* Такая же ширина как у основного контента */
    margin: 0 auto !important; /* Центрирование */
    padding: 0 20px !important;
    width: 100% !important;
    box-sizing: border-box;
    position: relative;
}

.dropdown-menu__content {
    display: flex;
    gap: 0;
    width: 100%;
    max-width: 100%;
    opacity: 0;
    transition: opacity 0.3s ease 0.1s;
    position: relative;
}

/* Основные категории - один столбец */
.dropdown-menu__main-categories {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 320px; /* Фиксированная ширина */
    min-width: 320px;
    max-width: 320px;
    flex-shrink: 0; /* Не сжимается */
    border-right: 1px solid var(--border-light);
    padding: 20px 0;
    position: relative;
}

/* Подкатегории - справа, всегда сверху */
.dropdown-menu__subcategories {
    display: none;
    position: absolute;
    left: 100%; /* Справа от основных категорий */
    top: 0; /* Всегда сверху относительно .dropdown-menu__main-categories */
    width: 320px; /* Фиксированная ширина */
    min-width: 320px;
    max-width: 320px;
    flex-shrink: 0; /* Не сжимается */
    padding: 20px 0;
    background: transparent; /* Убираем фон */
    border-left: 1px solid var(--border-light);
    border-radius: 0;
    box-shadow: none; /* Убираем тень */
    z-index: 1002;
    animation: slideInRight 0.3s ease;
    /* Убираем overflow и max-height - без прокрутки */
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Показываем подкатегории при hover на категорию - управляется через JS */
/* .dropdown-menu__category-item:hover .dropdown-menu__subcategories {
    display: block;
} */

/* Ссылка подкатегории - простые ссылки без стилей */
.dropdown-menu__subcategory-link {
    display: block;
    padding: 8px 20px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 13px;
    line-height: 1;
    /* Без hover эффектов, без transform, без фона */
}

.dropdown-menu__subcategory-link:hover {
    color: var(--brand-primary);
    /* Без других эффектов */
}

.main-nav__item--dropdown:hover .dropdown-menu__content {
    opacity: 1;
}

.dropdown-menu__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    text-decoration: none;
    color: var(--text-primary);
    transition: background-color 0.3s ease, color 0.3s ease; /* Только цвет и фон, без transform */
    position: relative;
    border-radius: 0;
    background: transparent;
    border-bottom: 1px solid var(--border-light);
    transform: none !important; /* Убираем любые сдвиги */
}

.dropdown-menu__link:last-child {
    border-bottom: none;
}

.dropdown-menu__link:hover {
    background: var(--bg-section);
    color: var(--brand-primary);
    transform: none !important; /* Убираем любые сдвиги */
}

.dropdown-menu__link:hover .dropdown-menu__title {
    color: var(--brand-primary);
}

/* Стрелка справа для категорий с подкатегориями */
.dropdown-menu__arrow-right {
    margin-left: auto;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.dropdown-menu__link:hover .dropdown-menu__arrow-right {
    opacity: 1;
    /* Убираем transform, чтобы не сдвигать элементы */
}

/* Категория с подкатегориями */
.dropdown-menu__category-item {
    position: static; /* Изменено с relative, чтобы подкатегории позиционировались относительно .dropdown-menu__main-categories */
}

.dropdown-menu__category-item:hover .dropdown-menu__link {
    background: var(--bg-section);
    color: var(--brand-primary);
}

/* Управление подкатегориями через JS */
/* .dropdown-menu__category-item:hover .dropdown-menu__subcategories {
    display: block;
} */

/* Убираем border-bottom у последнего элемента в категории с подкатегориями */
.dropdown-menu__category-item .dropdown-menu__link {
    border-bottom: 1px solid var(--border-light);
}

.dropdown-menu__text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.dropdown-menu__title {
    font-weight: 600;
    font-size: 13px;
    color: var(--text-primary);
    transition: color 0.2s ease;
    line-height: 1.3;
}

.dropdown-menu__desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Иконки для ссылок в мега-меню */
.dropdown-menu__icon {
    font-size: 20px;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-section);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.dropdown-menu__link:hover .dropdown-menu__icon {
    background: var(--brand-light);
    /* Убираем scale, чтобы не сдвигать элементы */
}

/* Специфичные стили для разных выпадающих меню */
.dropdown-menu--zaymy {
    border-top-color: var(--success-600);
}

.dropdown-menu--kredity {
    border-top-color: var(--brand-600);
}

.dropdown-menu--karty {
    border-top-color: var(--accent-600);
}

.dropdown-menu--rejtingi {
    border-top-color: var(--warning-600);
}

.dropdown-menu--kalkulyatory {
    border-top-color: var(--info-600);
}

.dropdown-menu--more {
    border-top-color: var(--danger-600);
}

/* Overlay для мобильного меню */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Мобильное меню */
.mobile-menu-toggle--unique {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1003;
}

.mobile-menu-toggle--unique:hover {
    background: rgba(10, 106, 148, 0.1);
    transform: scale(1.05);
}

.mobile-menu-toggle--unique:focus {
    outline: 2px solid var(--brand-600);
    outline-offset: 2px;
}

.hamburger--unique {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 26px;
    height: 20px;
    position: relative;
}

.hamburger__line {
    width: 100%;
    height: 3px;
    background: var(--text-strong);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.hamburger__line--1 {
    transform-origin: left center;
}

.hamburger__line--3 {
    transform-origin: left center;
}

.mobile-menu-toggle--unique[aria-expanded="true"] .hamburger__line--1 {
    transform: rotate(45deg) translate(2px, -2px);
}

.mobile-menu-toggle--unique[aria-expanded="true"] .hamburger__line--2 {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle--unique[aria-expanded="true"] .hamburger__line--3 {
    transform: rotate(-45deg) translate(2px, 2px);
}

/* Планшеты */
@media (max-width: 1024px) {
    .main-nav__link {
        padding: 12px 14px;
        font-size: 14px;
    }
    
    .main-nav__list {
        gap: 4px;
    }
    
    .dropdown-menu {
        max-width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        transform: translateY(-20px) !important;
    }
    
    .main-nav__item--dropdown:hover .dropdown-menu {
        transform: translateY(0) !important;
    }
    
    .dropdown-menu__main-categories {
        min-width: 240px;
        max-width: 280px;
    }
    
    .dropdown-menu__main-categories {
        min-width: 240px;
        max-width: 280px;
    }
    
    .dropdown-menu__subcategories {
        width: 280px;
        max-height: 400px;
    }
}

/* Мобильные устройства */
@media (max-width: 768px) {
    .mobile-menu-toggle--unique {
        display: flex !important;
    }
    
    .mobile-menu-overlay {
        display: block;
    }
    
    .main-nav--unique {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        max-width: 320px;
        height: 100vh;
        background: var(--bg-card);
        border-left: 1px solid var(--border-light);
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1002;
        backdrop-filter: blur(20px);
        overflow-y: auto;
        overflow-x: hidden;
        display: block;
        flex: none;
        justify-content: flex-start;
    }
    
    .main-nav--unique.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }
    
    .main-nav__list {
        flex-direction: column;
        gap: 0;
        padding: 0;
        width: 100%;
    }
    
    .main-nav__item {
        width: 100%;
        margin: 0;
    }
    
    .main-nav__link {
        width: 100%;
        padding: 16px 16px;
        border-radius: 0;
        margin-bottom: 0;
        font-size: 16px;
        justify-content: flex-start;
        background: white !important;
        border: none !important;
        position: relative;
        display: flex;
        align-items: center;
        gap: 12px;
        color: var(--text-primary);
        text-decoration: none;
        transition: all 0.2s ease;
    }
    
    .main-nav__link::before {
        display: none !important;
    }
    
    .main-nav__link:hover {
        background: rgba(10, 106, 148, 0.05);
        transform: none;
        box-shadow: none !important;
        border: none !important;
        outline: none !important;
    }
    
    .main-nav__link:focus {
        outline: none !important;
        box-shadow: none !important;
    }
    
    .main-nav__link[aria-current="page"] {
        color: var(--brand-600);
        background: rgba(10, 106, 148, 0.08);
        font-weight: 600;
        border: none !important;
        box-shadow: none !important;
        outline: none !important;
    }
    
    .main-nav__arrow {
        margin-left: auto;
        transition: transform 0.2s ease;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        cursor: pointer;
        flex-shrink: 0;
        pointer-events: all;
    }
    
    .main-nav__item--dropdown.active .main-nav__arrow {
        transform: rotate(180deg);
    }
    
    /* Мобильные выпадающие меню */
    .dropdown-menu {
        position: static !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        background: rgba(10, 106, 148, 0.03) !important;
        margin: 8px 0 0 0 !important;
        min-width: auto !important;
        width: 100% !important;
        max-height: none !important;
        display: none;
        opacity: 1 !important;
        visibility: visible !important;
        overflow: visible !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        padding: 0 !important;
    }
    
    .dropdown-menu.active {
        display: block !important;
    }
    
    .main-nav__item--dropdown:hover .dropdown-menu {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        max-height: none !important;
        padding: 0 !important;
    }
    
    .dropdown-menu__content {
        padding: 0 !important;
        gap: 0 !important;
        width: 100% !important;
        box-sizing: border-box;
        display: flex !important;
        flex-direction: column !important;
        margin: 0 !important;
    }
    
    .dropdown-menu__main-categories {
        min-width: 100% !important;
        max-width: 100% !important;
        border-right: none !important;
    }
    
    .dropdown-menu__subcategories {
        position: static !important;
        width: 100% !important;
        left: auto !important;
        top: auto !important;
        bottom: auto !important;
        border-left: none !important;
        border-top: 1px solid var(--border-light) !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        margin-top: 8px !important;
        padding: 16px 20px !important;
    }
    
    /* Заголовок подкатегорий удален */
    
    .dropdown-menu__link {
        display: flex !important;
        align-items: center !important;
        padding: 12px 16px 12px 32px !important;
        font-size: 14px;
        border-radius: 0 !important;
        width: 100% !important;
        border: none !important;
        background: rgba(10, 106, 148, 0.05);
        box-sizing: border-box;
        gap: 12px !important;
    }
    
    .dropdown-menu__link:hover {
        background: rgba(10, 106, 148, 0.1);
        transform: none !important;
        border: none !important;
    }
    
    .dropdown-menu__icon {
        width: 24px !important;
        height: 24px !important;
        font-size: 20px !important;
    }
    
    .dropdown-menu__title {
        font-size: 13px;
        color: var(--text-primary);
    }
    
    .dropdown-menu__desc {
        font-size: 12px;
        color: var(--text-secondary);
        margin-top: 2px;
    }
    
    .header__content {
        padding: 14px 0;
        min-height: 76px;
    }
}

/* Очень маленькие экраны */
@media (max-width: 480px) {
    .header__content {
        padding: 12px 0;
        min-height: 68px;
    }
    
    .main-nav--unique {
        top: 68px;
    }
    
    .main-nav__list {
        padding: 20px;
    }
    
    .main-nav__link {
        padding: 16px 20px;
        font-size: 15px;
    }
    
    .main-nav__icon {
        width: 20px;
        height: 20px;
    }
}

/* Анимации загрузки */
@keyframes slideInFromTop {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header--unique {
    animation: slideInFromTop 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Улучшенная доступность */
@media (prefers-reduced-motion: reduce) {
    .header--unique,
    .main-nav__link,
    .hamburger__line,
    .logo__link {
        animation: none;
        transition: none;
    }
    
    .main-nav__link:hover {
        transform: none;
    }
}

/* Высокий контраст */
@media (prefers-contrast: high) {
    .main-nav__link {
        border: 2px solid transparent;
    }
    
    .main-nav__link:hover,
    .main-nav__link:focus {
        border-color: var(--brand-primary);
    }
    
    .main-nav__link[aria-current="page"] {
        color: var(--header-link-active);
        background: transparent;
        border: none;
        box-shadow: none;
    }
    
    .dropdown-menu {
        border: 2px solid var(--brand-primary);
    }
}

/* ========================================
   МЕГА-МЕНЮ 2025 (Стиль Альфа-банк)
   ======================================== */

/* Мобильная кнопка */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ========================================
   ПОЛНОЭКРАННОЕ МЕГА-МЕНЮ
   ======================================== */

.mega-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mega-menu.active {
    opacity: 1;
    visibility: visible;
}

/* Overlay */
.mega-menu__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
}

/* Контейнер */
.mega-menu__container {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--bg-page);
    transform: translateY(-20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.mega-menu.active .mega-menu__container {
    transform: translateY(0);
}

/* Шапка меню */
.mega-menu__header {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-light);
    padding: 20px 0;
}

.mega-menu__header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mega-menu__close {
    padding: 8px;
    background: var(--bg-section);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.mega-menu__close:hover {
    background: var(--bg-card);
    border-color: var(--brand-primary);
    transform: rotate(90deg);
}

/* Тело меню */
.mega-menu__body {
    flex: 1;
    overflow-y: auto;
    padding: 40px 0;
}

.mega-menu__content {
    display: flex;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Табы */
.mega-menu__tabs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 220px;
}

.mega-menu__tab {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 16px;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mega-menu__tab-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.mega-menu__tab:hover {
    background: var(--bg-card);
    color: var(--text-primary);
}

.mega-menu__tab.active {
    background: var(--bg-card);
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

/* Панели */
.mega-menu__panels {
    flex: 1;
}

.mega-menu__panel {
    display: none;
    animation: fadeInUp 0.4s ease;
}

.mega-menu__panel.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Сетка */
.mega-menu__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.mega-menu__grid--narrow {
    grid-template-columns: repeat(2, 1fr);
}

/* Секции */
.mega-menu__section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mega-menu__section-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

/* Ссылки */
.mega-menu__links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mega-menu__link {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: transparent;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mega-menu__link:hover {
    background: var(--bg-card);
    transform: translateX(4px);
}

.mega-menu__link--hot {
    background: linear-gradient(135deg, rgba(255, 77, 77, 0.1), rgba(255, 136, 77, 0.1));
}

.mega-menu__link-emoji {
    font-size: 24px;
    flex-shrink: 0;
}

.mega-menu__link-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mega-menu__link-title {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
}

.mega-menu__link-desc {
    font-size: 13px;
    color: var(--text-muted);
}

/* Промо */
.mega-menu__promo {
    display: flex;
}

.mega-menu__promo-card {
    background: linear-gradient(135deg, var(--brand-primary), #0369A1);
    padding: 24px;
    border-radius: 16px;
    color: white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.mega-menu__promo-card--purple {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.mega-menu__promo-card--blue {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.mega-menu__promo-badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.mega-menu__promo-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.mega-menu__promo-desc {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 20px;
}

.mega-menu__promo-card .btn {
    background: white;
    color: var(--brand-primary);
    border: none;
}

.mega-menu__promo-card .btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* ========================================
   АДАПТИВ
   ======================================== */

/* Experts Section - Responsive */
@media (max-width: 992px) {
    .experts__list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .experts__list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1200px) {
    .mega-menu__grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .mega-menu__promo {
        grid-column: span 3;
    }
}

@media (max-width: 992px) {
    .main-nav:not(.main-nav--unique) {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mega-menu__content {
        flex-direction: column;
    }
    
    .mega-menu__tabs {
        flex-direction: row;
        overflow-x: auto;
        min-width: 100%;
    }
    
    .mega-menu__tab {
        white-space: nowrap;
        min-width: fit-content;
    }
    
    .mega-menu__grid {
        grid-template-columns: 1fr;
    }
    
    .mega-menu__promo {
        grid-column: 1;
    }
}

@media (max-width: 768px) {
    .mega-menu__body {
        padding: 24px 0;
    }
    
    .mega-menu__tab {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .mega-menu__link {
        padding: 10px;
    }
}

/* Блокировка скролла */
body.mega-menu-open {
    overflow: hidden;
}

/* Конец стилей мега-меню */

/* Микро-подсказка для калькулятора (QAPage для SEO) */
.calc-hint {
    max-width: 100%;
    margin: 16px 32px 0;
    padding: 0;
}

.calc-hint__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    background: var(--neutral-50);
    border-left: 3px solid rgba(34, 197, 94, 0.4);
    border-radius: 6px;
    line-height: 1.5;
    margin-bottom: 35px;
}

.calc-hint__icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(34, 197, 94, 0.7);
    margin-top: 1px;
}

.calc-hint__question {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-right: 8px;
}

.calc-hint__answer {
    flex-shrink: 0;
}

.calc-hint__answer [itemprop="text"] {
    font-size: 13px;
    color: var(--text-secondary);
    opacity: 0.85;
    font-weight: 400;
}

/* =============================================
   КАЛЬКУЛЯТОР ЗАЙМОВ
   ============================================= */

.calculator-section {
    padding: 40px 0 80px;
}

.calculator {
    background: var(--bg-card);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.calculator__header {
    padding: 32px;
    background: var(--bg-section);
    color: white;
    text-align: center;
}

.calculator__header .calculator__title,
.calculator__header .calculator__subtitle {
    color: var(--text-heading);
}

.calculator__title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.calculator__subtitle {
    font-size: 16px;
    opacity: 0.9;
}

/* Интро-блок калькулятора */
.calc-intro {
    padding: 32px;
    margin: 0;
    background: var(--neutral-50);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.calc-intro h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 16px;
}

.calc-intro p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.calc-intro p:last-child {
    margin-bottom: 0;
}

.calculator__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.calculator__form {
    padding: 32px;
    border-right: 1px solid var(--border-light);
}

.calculator__inputs {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.calculator__results {
    padding: 32px;
    background: var(--neutral-50);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Группа ввода */
.calc-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.calc-input-group--small {
    gap: 6px;
}

.calc-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.calc-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--brand-primary);
}

/* Range слайдер */
.calc-range {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: var(--neutral-200);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.calc-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--brand-primary);
    cursor: pointer;
    border: 3px solid var(--bg-card);
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.3);
    transition: all 0.2s;
}

.calc-range::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    background: var(--brand-dark);
}

.calc-range::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--brand-primary);
    cursor: pointer;
    border: 3px solid var(--bg-card);
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.3);
    transition: all 0.2s;
}

.calc-range::-moz-range-thumb:hover {
    background: var(--brand-dark);
}

.calc-range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-secondary);
}

/* Табы единиц */
.calc-tabs {
    display: flex;
    gap: 8px;
}

.calc-tabs--small {
    gap: 6px;
}

.calc-tabs--small .calc-tab {
    padding: 8px 12px;
    font-size: 13px;
}

.calc-tab {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background: var(--bg-card);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s;
}

.calc-tab:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    background: var(--brand-light);
}

.calc-tab--active {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: white;
}

.calc-tab--active:hover {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    color: white;
}

/* Чекбоксы */
.calc-options {
    gap: 12px;
}

.calc-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-primary);
}

.calc-checkbox input {
    display: none;
}

.calc-checkbox__mark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.calc-checkbox input:checked + .calc-checkbox__mark {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
}

.calc-checkbox:hover .calc-checkbox__mark {
    border-color: var(--brand-primary);
}

.calc-checkbox input:checked + .calc-checkbox__mark::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* Details для комиссий */
.calc-details {
    border: 1px solid var(--border-light);
    border-radius: 8px;
    overflow: hidden;
}

.calc-details__summary {
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    background: var(--neutral-50);
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.calc-details__summary::-webkit-details-marker {
    display: none;
}

.calc-details__summary::before {
    content: '+';
    font-size: 18px;
    color: var(--brand-primary);
}

.calc-details[open] .calc-details__summary::before {
    content: '−';
}

.calc-details__content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: var(--bg-card);
}

/* Поля ввода для комиссий */
.calc-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.calc-input {
    width: 100%;
    padding: 12px 60px 12px 16px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    background: var(--bg-card);
    transition: all 0.2s;
}

.calc-input:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.1);
}

.calc-input::placeholder {
    color: var(--text-secondary);
}

.calc-input-suffix {
    position: absolute;
    right: 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    pointer-events: none;
}

/* Карточки результатов */
.calc-result-card {
    padding: 16px 20px;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

.calc-result-card--primary {
    background: var(--brand-primary);
    border: none;
}

.calc-result-card--primary .calc-result-card__label,
.calc-result-card--primary .calc-result-card__value {
    color: white;
}

.calc-result-card__label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.calc-result-card__value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-heading);
}

.calc-result-card__value--accent {
    color: var(--color-error);
}

/* Дополнительные стили для калькулятора кредитов */
.calc-result-card--highlight {
    background: linear-gradient(135deg, var(--brand-light) 0%, rgba(2, 132, 199, 0.08) 100%);
    border-color: var(--brand-primary);
}

.calc-result-card__sub {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.calc-result-card--primary .calc-result-card__sub {
    color: rgba(255, 255, 255, 0.8);
}

.calc-table__early {
    background: rgba(34, 197, 94, 0.1);
}

.calc-table__early td {
    color: var(--color-success);
    font-weight: 500;
}

@media (max-width: 480px) {
    .calc-tab {
        flex: 1 1 100%;
    }
    
    .calc-input {
        padding: 12px 60px 12px 16px;
        font-size: 13px;
    }
    
    .calc-input-suffix {
        right: 12px;
        font-size: 13px;
    }
}

/* Блок сравнения */
.calc-comparison {
    padding: 16px 20px;
    background: var(--brand-light);
    border-radius: 12px;
    border: 1px solid var(--brand-primary);
}

.calc-comparison__title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-heading);
}

.calc-comparison__row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.calc-comparison__row--highlight {
    color: var(--color-success);
    font-weight: 600;
}

.calc-comparison__savings {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--brand-primary);
    font-size: 14px;
    color: var(--text-primary);
}

.calc-comparison__savings strong {
    color: var(--color-success);
}

.calc-comparison__rows {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 12px 0;
}

.calc-result-card--highlight .calc-comparison__row {
    margin-bottom: 0;
}

.calc-result-card--highlight .calc-comparison__savings {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed rgba(2, 132, 199, 0.3);
}

/* График */
.calculator__chart {
    padding: 32px;
    border-top: 1px solid var(--border-light);
}

.calculator__chart-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-heading);
}

.calculator__chart-wrapper {
    height: 300px;
    position: relative;
}

/* Таблица */
.calculator__table {
    padding: 32px;
    border-top: 1px solid var(--border-light);
}

.calculator__table-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-heading);
}

.calculator__table-wrapper {
    overflow-x: auto;
}

.calc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.calc-table th {
    padding: 12px 16px;
    text-align: left;
    background: var(--neutral-100);
    font-weight: 600;
    color: var(--text-heading);
    border-bottom: 2px solid var(--border-light);
}

.calc-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-primary);
}

.calc-table tr:hover {
    background: var(--neutral-50);
}

.calc-table__more td {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
}

.calc-table-toggle {
    margin-top: 16px;
}

/* Адаптивность калькулятора */
@media (max-width: 1024px) {
    .calculator__content {
        grid-template-columns: 1fr;
    }
    
    .calculator__form {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
    }
}

@media (max-width: 768px) {
    .calculator-section {
        padding: 20px 0 60px;
    }
    
    .calculator__header {
        padding: 24px;
    }
    
    .calculator__title {
        font-size: 22px;
    }
    
    .calculator__subtitle {
        font-size: 14px;
    }
    
    .calc-intro {
        padding: 24px;
    }
    
    .calc-intro h2 {
        font-size: 20px;
    }
    
    .calc-intro p {
        font-size: 15px;
    }
    
    .calc-hint {
        margin: 12px 20px 0;
    }
    
    .calc-hint__item {
        padding: 10px 14px;
        gap: 8px;
    }
    
    .calc-hint__question {
        font-size: 13px;
    }
    
    .calc-hint__answer [itemprop="text"] {
        font-size: 12px;
    }
    
    .calculator__form,
    .calculator__results,
    .calculator__chart,
    .calculator__table {
        padding: 20px;
    }
    
    .calc-tabs {
        flex-wrap: wrap;
    }
    
    .calc-tab {
        flex: 1 1 calc(50% - 4px);
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .calc-result-card__value {
        font-size: 20px;
    }
    
    .calculator__chart-wrapper {
        height: 250px;
    }
    
    .calc-table th,
    .calc-table td {
        padding: 10px 12px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .calc-tab {
        flex: 1 1 100%;
    }
    
    .calc-intro {
        padding: 20px;
    }
    
    .calc-intro h2 {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .calc-intro p {
        font-size: 14px;
    }
    
    .calc-hint {
        margin: 10px 16px 0;
    }
    
    .calc-hint__item {
        padding: 10px 12px;
        gap: 6px;
        flex-wrap: wrap;
    }
    
    .calc-hint__icon {
        width: 16px;
        height: 16px;
        font-size: 12px;
    }
    
    .calc-hint__question {
        font-size: 12px;
        margin-right: 4px;
    }
    
    .calc-hint__answer {
        width: 100%;
        margin-top: 4px;
    }
    
    .calc-hint__answer [itemprop="text"] {
        font-size: 11px;
    }
}

/* ========================================
   404 Error Page Styles
   ======================================== */
.error-404 {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: var(--bg-page, var(--neutral-50));
}

.error-404__container {
    max-width: 800px;
    width: 100%;
    text-align: center;
}

.error-404__number {
    font-size: 120px;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--brand-primary, #0284C7) 0%, var(--brand-dark, #0369A1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    letter-spacing: -4px;
}

.error-404__title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-heading, var(--neutral-900));
    margin-bottom: 16px;
    line-height: 1.3;
}

.error-404__description {
    font-size: 18px;
    color: var(--text-secondary, var(--neutral-400));
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.error-404__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
}

.error-404__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.error-404__btn--primary {
    background: var(--accent-red, #EF4444);
    color: var(--text-on-brand, #ffffff);
}

.error-404__btn--primary:hover {
    background: var(--accent-red-hover, #DC2626);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.error-404__btn--secondary {
    background: var(--bg-card, #ffffff);
    color: var(--brand-primary, #0284C7);
    border: 2px solid var(--brand-primary, #0284C7);
}

.error-404__btn--secondary:hover {
    background: var(--brand-primary, #0284C7);
    color: var(--text-on-brand, #ffffff);
    transform: translateY(-2px);
}

.error-404__links {
    background: var(--bg-card, #ffffff);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow-md, 0 2px 4px rgba(0, 0, 0, 0.06));
}

.error-404__links-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-heading, var(--neutral-900));
    margin-bottom: 24px;
}

.error-404__links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.error-404__link-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    background: var(--bg-section, var(--neutral-100));
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.error-404__link-item:hover {
    background: var(--bg-card, #ffffff);
    border-color: var(--brand-primary, #0284C7);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md, 0 2px 4px rgba(0, 0, 0, 0.06));
}

.error-404__link-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.error-404__link-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-heading, var(--neutral-900));
    margin-bottom: 8px;
}

.error-404__link-desc {
    font-size: 14px;
    color: var(--text-secondary, var(--neutral-400));
    line-height: 1.5;
}

@media (max-width: 768px) {
    .error-404__number {
        font-size: 80px;
    }
    
    .error-404__title {
        font-size: 24px;
    }
    
    .error-404__description {
        font-size: 16px;
    }
    
    .error-404__links {
        padding: 24px;
    }
    
    .error-404__links-grid {
        grid-template-columns: 1fr;
    }
}
/* ============================
   Блок «Часто ищут» v3
   ============================ */
/* ============================
   Часто ищут — tag-links
   ============================ */
.tag-links {
    padding: 2.5rem 0 3rem;
}

.tag-links .section__title {
    text-align: center;
    margin-bottom: 1.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-heading);
}

.tag-links__columns {
    display: flex;
    flex-wrap: wrap;
    gap: 1.75rem 2.5rem;
    justify-content: center;
}

.tag-links__col {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-links__heading {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary, #a8a29e);
    padding: 0.375rem 0;
    white-space: nowrap;
}

.tag-links__item {
    display: inline-flex;
    align-items: center;
    padding: 0.4375rem 0.875rem;
    background: var(--neutral-100, #f5f5f4);
    border: 1px solid transparent;
    border-radius: 100px;
    color: var(--text-primary, #44403c);
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.3;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.tag-links__item:hover {
    background: var(--brand-light, #dbeafe);
    color: var(--brand-dark, #0369a1);
    border-color: var(--brand-primary, #0284c7);
}

.tag-links__item--accent {
    background: var(--brand-primary, #0284c7);
    color: #fff;
    font-weight: 600;
}

.tag-links__item--accent:hover {
    background: var(--brand-dark, #0369a1);
    color: #fff;
}

.tag-links__row {
    margin-top: 0;
    padding: 0;
}

.tag-links__row + .tag-links__row {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-light, #e7e5e4);
}

.tag-links__list,
.tag-links__more {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.tag-links__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    width: 100%;
    margin-top: 0.75rem;
    padding: 0.375rem 0;
    background: none;
    border: none;
    color: var(--brand-primary, #0284c7);
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.15s;
}

.tag-links__toggle:hover {
    color: var(--brand-dark, #0369a1);
}

.tag-links__toggle-icon {
    font-size: 0.625rem;
}

@media (max-width: 768px) {
    .tag-links {
        padding: 2rem 0;
    }
    .tag-links__columns {
        gap: 1.25rem 1.5rem;
        justify-content: flex-start;
    }
    .tag-links__col {
        width: 100%;
    }
    .tag-links__item {
        padding: 0.375rem 0.75rem;
        font-size: 0.75rem;
    }
    .tag-links__heading {
        font-size: 0.75rem;
    }
}

/* ============================
   Похожие предложения (org-alt)
   ============================ */
.org-alts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.org-alt-card {
    background: var(--bg-card, #fff);
    border: 1px solid var(--border-light, #e5e7eb);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.2s;
    position: relative;
}

.org-alt-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.org-alt-card__link {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    flex: 1;
    position: relative;
}

.org-alt-card__info {
    flex: 1;
    min-width: 0;
    padding-right: 44px;
}

.org-alt-card__title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.25rem;
    color: var(--text-primary, #1f2937);
}

.org-alt-card__meta {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-secondary, #6b7280);
    margin-bottom: 0.375rem;
}

.org-alt-card__desc {
    font-size: 0.8125rem;
    color: var(--text-secondary, #6b7280);
    line-height: 1.4;
    margin: 0;
}


.org-alt-card__logo {
    width: 80px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 6px;
}
.org-alt-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.75rem;
    padding: 0.5rem 1.25rem;
    background: var(--brand-primary, #2563eb);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 600;
    transition: background 0.2s;
    align-self: flex-start;
}

.org-alt-card__cta:hover {
    background: var(--brand-primary-dark, #1d4ed8);
    color: #fff;
}

@media (max-width: 768px) {
    .org-alts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}
    .org-alt-card {
    background: var(--bg-card, #fff);
    border: 1px solid var(--border-light, #e5e7eb);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.2s;
    position: relative;
}
    .org-alt-card__logo {
    width: 80px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 6px;
}
}

/* ===== Mobile fix: hero + filter на посадочных ===== */
@media (max-width: 768px) {
    .page-hero__content {
        flex-direction: column !important;
        gap: 1rem;
    }
    .page-hero__left,
    .page-hero__right {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }
    .page-hero__title {
        font-size: 1.5rem !important;
    }
    .page-hero__subtitle {
        font-size: 0.875rem !important;
    }
    .filter-section {
        padding: 1rem !important;
    }
    .filter-section__controls {
        flex-direction: column !important;
        gap: 0.75rem;
    }
    .filter-section__group {
        width: 100% !important;
        min-width: 0 !important;
    }
    .filter-section__range-values {
        flex-wrap: wrap;
    }
}

/* ===== Mobile fixes: hero, filter, headings (landing pages) ===== */
@media (max-width: 480px) {
    .page-hero {
        padding: 30px 0 20px !important;
    }
    .page-hero__content {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .page-hero__title {
        font-size: 1.4rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
        line-height: 1.25 !important;
    }
    .page-hero__subtitle {
        font-size: 0.85rem !important;
        overflow: visible !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        line-height: 1.5 !important;
    }
    .page-hero__steps {
        flex-direction: column !important;
        gap: 8px !important;
        margin-top: 12px !important;
    }
    .page-hero__steps .trust-badge {
        padding: 12px 16px !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 12px !important;
        text-align: left !important;
    }
    .page-hero__steps .trust-badge__icon {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
    }
    .page-hero__steps .trust-badge__icon svg {
        width: 18px !important;
        height: 18px !important;
    }
    .page-hero__steps .trust-badge__text {
        font-size: 0.8rem !important;
    }
    .page-hero__left {
        gap: 12px !important;
    }
    .page-hero__right {
        width: 100% !important;
    }
    .page-hero__filter {
        padding: 20px 16px !important;
        border-radius: 12px !important;
    }
    .page-hero__filter-title {
        font-size: 1.15rem !important;
    }
    .page-hero__filter-subtitle {
        font-size: 0.85rem !important;
        overflow: visible !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .filter-section {
        padding: 16px !important;
    }
    .filter-section__title {
        font-size: 1.15rem !important;
    }
    .filter-section__controls {
        flex-direction: column !important;
        gap: 12px !important;
    }
    .filter-section__group {
        width: 100% !important;
        min-width: 0 !important;
    }
    /* Breadcrumbs */
    .breadcrumbs {
        font-size: 0.75rem !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch;
    }
    .breadcrumbs__nav {
        padding: 8px 0 !important;
    }
    /* Hamburger menu — ensure visible */
    .mobile-menu-toggle,
    .mobile-menu-toggle--unique {
        display: flex !important;
        z-index: 1003 !important;
    }
    /* Container padding */
    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

@media (max-width: 768px) {
    .page-hero__title {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    .page-hero__subtitle {
        overflow: visible !important;
        white-space: normal !important;
    }
    .page-hero__steps {
        flex-direction: column !important;
        gap: 10px !important;
    }
    .page-hero__steps .trust-badge {
        padding: 16px !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 12px !important;
        text-align: left !important;
    }
    .page-hero__filter-subtitle {
        overflow: visible !important;
        white-space: normal !important;
    }
}

/* Mobile: фильтр первым, потом описание */
@media (max-width: 992px) {
    .page-hero__content {
        display: flex !important;
        flex-direction: column !important;
    }
    .page-hero__right {
        order: -1 !important;
    }
    .page-hero__left {
        order: 1 !important;
    }
}

/* FAQ: отступ текста от плюсика */
.faq__question,
.faq-question,
.faq__content summary {
    padding-right: 56px !important;
}

@media (max-width: 768px) {
    .faq__question,
    .faq-question,
    .faq__content summary {
        padding: 16px 48px 16px 16px !important;
        font-size: 15px !important;
    }
    .faq__question::after,
    .faq-question::after,
    .faq__content summary::after {
        right: 16px !important;
        font-size: 24px !important;
    }
}

/* org-detail FAQ: отступ от плюсика */
.org-detail__faq-question {
    padding-right: 48px !important;
}
@media (max-width: 768px) {
    .org-detail__faq-question {
        padding-right: 40px !important;
        font-size: 15px !important;
    }
}

/* ===== Mobile menu fixes ===== */
@media (max-width: 992px) {
    /* Гамбургер: тёмные полоски (видно на белом фоне) */
    .hamburger__line {
        background: #1e293b !important;
    }
    /* Убираем обводку у активного таба в мега-меню */
    .mega-menu__tab.active {
        border-color: transparent !important;
        background: rgba(10, 106, 148, 0.08) !important;
    }
    /* Убираем промо-блок (синий стикер) в мобильном меню */
    .mega-menu__promo {
        display: none !important;
    }
}

/* ===== Mobile header mini-nav ===== */
.header__mobile-nav {
    display: none;
}

@media (max-width: 992px) {
    .header__content {
        padding: 12px 0 !important;
    }
    .header__mobile-nav {
        display: flex;
        align-items: center;
        gap: 4px;
        flex: 1;
        justify-content: center;
    }
    .header__mobile-link {
        display: flex;
        align-items: center;
        gap: 5px;
        padding: 6px 12px;
        border-radius: 8px;
        font-size: 12px;
        font-weight: 600;
        color: var(--text-secondary);
        text-decoration: none;
        transition: all 0.2s;
        white-space: nowrap;
    }
    .header__mobile-link:hover,
    .header__mobile-link[aria-current="page"] {
        background: rgba(10, 106, 148, 0.08);
        color: var(--brand-primary);
    }
    .header__mobile-link svg {
        flex-shrink: 0;
        color: inherit;
    }
}

@media (max-width: 480px) {
    .header__mobile-link {
        padding: 5px 8px;
        font-size: 11px;
        gap: 3px;
    }
    .header__mobile-link svg {
        width: 16px;
        height: 16px;
    }
}

/* ===== Logo slogan ===== */
.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.logo__slogan {
    display: none;
}
@media (max-width: 992px) {
    .logo__slogan {
        display: block;
        font-size: 10px;
        color: var(--text-secondary);
        letter-spacing: 0.02em;
        margin-top: 2px;
        white-space: nowrap;
    }
}

/* ===== Header center text (mobile) ===== */
.header__center-text {
    display: none;
}
@media (max-width: 992px) {
    .header__center-text {
        display: block;
        font-size: 12px;
        font-weight: 500;
        color: var(--text-secondary);
        letter-spacing: 0.03em;
        white-space: nowrap;
    }
}
@media (max-width: 380px) {
    .header__center-text {
        font-size: 11px;
    }
}


/* Текстовые иконки в dropdown-меню */
.dropdown-menu__icon {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: var(--brand-primary);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 106, 148, 0.08);
    border-radius: 8px;
    flex-shrink: 0;
}

/* Компонентные стили вынесены в components.css */


/* Bank rating cards */
.bank-categories {
    display: flex;
    gap: 8px;
    margin: 8px 0 12px;
}
.bank-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    background: #f0f9ff;
    color: var(--brand-primary, #0284c7);
    border: 1px solid #bae6fd;
}
.bank-products-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}
.bank-product {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 14px;
    color: var(--text-secondary, #6b7280);
    padding: 6px 0;
    border-bottom: 1px solid #f3f4f6;
}
.bank-product:last-child {
    border-bottom: none;
}
.bank-product__name {
    font-weight: 500;
    color: var(--text-heading, #1f2937);
    min-width: 120px;
}
.bank-product__detail {
    font-size: 13px;
}
