/* =========================================================
   support-cards — «Поддержка»: заголовок + поиск + 3 карточки.
   Заголовок — h1 страницы (страница без hero).
   Поиск — общая разметка `.faq-search` (стили из блока faq).
   Ховер карточек — синяя тема: фон #e3e8f9, иконка и ссылка #0e41d2.
   ========================================================= */

.support-section {
    padding: var(--section-pad) 0;
}

.support-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(32px, 3.4vw, 48px);
    line-height: 1;
    color: var(--color-bg-dark);
}

.support-desc {
    margin-top: 24px;
    font-size: 24px;
    line-height: 1.3;
    color: var(--color-text-gray);
}

/* Поиск — уже, чем в FAQ (по макету ~400px) */
.support-section .faq-search {
    max-width: 400px;
    margin: 72px 0 36px;
}

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

.support-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 298px;
    padding: 40px 24px;
    border-radius: var(--radius-card-lg);
    background-color: #fbfbfd;
    transition: background-color 0.25s ease;
}

/* Вся карточка — одна ссылка: растягиваем клик по блоку от основной ссылки */
.support-card-link::after,
.support-card-title a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.support-card:hover {
    background-color: #e3e8f9;
}

.support-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.support-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    color: inherit;
    transition: color 0.25s ease;
}

/* Синий — только при наведении на всю карточку */
.support-card:hover .support-card-link,
.support-card:hover .support-card-title a {
    color: #0e41d2;
}

.support-card-note {
    font-size: 16px;
    line-height: 1.35;
    color: var(--color-text-muted);
}

.support-card-note strong {
    display: block;
    font-weight: 700;
    color: var(--color-bg-dark);
}

.support-card-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    color: #dcdee5;
    transition: color 0.25s ease;
}

.support-card-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.support-card:hover .support-card-icon {
    color: #0e41d2;
}

.support-card-title {
    margin-top: auto;
    font-family: 'Onest', var(--font-body);
    font-weight: 600;
    font-size: 40px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--color-bg-dark);
}

.support-card-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.25s ease;
}

.support-card-text {
    margin-top: 12px;
    font-size: 16px;
    line-height: 1.4;
    color: var(--color-text-gray);
}

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

    .support-card {
        min-height: 0;
    }

    .support-card-title {
        margin-top: 40px;
    }
}
