/* static/css/pages/platform-contact.css */
/* Страница контактов платформы. */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px;
    min-height: 100vh;
}

/* Блок с логотипом */
.service-logo-section {
    text-align: center;
    margin-bottom: 20px;
}

.service-logo-img {
    max-width: 200px;
    max-height: 150px;
    object-fit: contain;
    width: 100%;
    height: auto;
}

.service-name {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
}

/* Кнопка назад */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #5B9BD5;
    font-weight: 500;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 32px;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: #4A8BC8;
}

.back-link svg {
    width: 16px;
    height: 16px;
}

/* Обёртка страницы контактов */
.contact-page {
    max-width: 600px;
    margin: 0 auto;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 16px;
    padding: 32px 40px;
}

/* H1 */
.page-title {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 32px;
}

/* Секция */
.contact-section {
    margin-bottom: 28px;
}

.contact-section-title {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 14px;
}

/* Сайт */
.website-link {
    font-size: 15px;
    font-weight: 500;
    color: #5B9BD5;
    text-decoration: none;
    transition: color 0.2s ease;
}

.website-link:hover {
    color: #4A8BC8;
    text-decoration: underline;
}

/* Служба поддержки */
.support-group {
    margin-bottom: 14px;
}

.support-group:last-child {
    margin-bottom: 0;
}

.support-group-label {
    font-size: 14px;
    color: #888;
    margin-bottom: 4px;
}

.support-link {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: #5B9BD5;
    text-decoration: none;
    margin-bottom: 2px;
    transition: color 0.2s ease;
}

.support-link:hover {
    color: #4A8BC8;
    text-decoration: underline;
}

.support-contact-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 2px;
}

.support-contact-row .support-link {
    margin-bottom: 0;
}

.support-comment {
    font-size: 13px;
    font-style: normal;
    color: #999;
}

.social-comment {
    display: block;
    font-size: 12px;
    font-style: normal;
    color: #999;
    margin-top: 1px;
}

/* Соц.сети */
.social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 24px;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #2c3e50;
    font-size: 15px;
    transition: color 0.2s ease;
}

.social-item:hover {
    color: #5B9BD5;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.social-icon.telegram  { background: #0088CC; }
.social-icon.vk        { background: #0077FF; }
.social-icon.ok        { background: #FF7700; }
.social-icon.whatsapp  { background: #2cb742; }
.social-icon.dzen      { background: #ffffff; border: 1px solid #e0e0e0; }
.social-icon.max       { background: #ffffff; border: 1px solid #e0e0e0; }

.social-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

/* Дата обновления контактов (как «Обновлено» в блоке юр. информации на карточке платформы) */
.contact-section.contact-updated {
    margin-bottom: 0;
    margin-top: 8px;
    padding-top: 20px;
    border-top: 1px solid #e8e8e8;
}

.contact-updated-inner {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-updated-label {
    font-size: 14px;
    color: #888;
}

.contact-updated-datetime {
    font-size: 14px;
    color: #999;
    font-weight: normal;
}

/* Форма обратной связи */
.feedback-block {
    display: inline-block;
}

.feedback-btn {
    display: inline-flex;
    align-items: center;
    padding: 11px 28px;
    background: #5B9BD5;
    color: #ffffff;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.feedback-btn:hover {
    background: #4A8BC8;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(91, 155, 213, 0.35);
}

/* Нет контактов */
.no-contacts {
    padding: 40px 0;
    color: #999;
    font-size: 15px;
}

@media (max-width: 768px) {
    .container {
        padding: 24px 16px;
        max-width: 100%;
    }

    .page-breadcrumbs {
        display: none;
    }

    .contact-page {
        max-width: 100%;
        padding: 24px 20px;
    }

    .page-title {
        font-size: 22px;
        margin-bottom: 24px;
    }

    .contact-section-title {
        font-size: 18px;
    }

    .social-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px 16px;
    }
}

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