/* ===== СТИЛИ ДЛЯ СТРАНИЦЫ КОНТАКТОВ ===== */

.contacts-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.contacts-title {
    font-family: 'Times New Roman', serif;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2rem;
    border-bottom: 3px solid #000;
    padding-bottom: 1rem;
}

.contacts-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-card {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(93, 173, 226, 0.15);
    border-color: #5DADE2;
}

.contact-card-header {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: #fff;
    border-bottom: 1px solid #dee2e6;
    position: relative;
    flex-shrink: 0;
}

.contact-card-icon {
    font-size: 1.8rem;
    color: #5DADE2;
    margin-right: 1rem;
    width: 40px;
    text-align: center;
    flex-shrink: 0;
}

.contact-card-title {
    flex: 1;
    margin: 0;
    font-family: 'Georgia', serif;
    font-weight: 600;
    font-size: 1.2rem;
    color: #2c3e50;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.contact-card-body {
    padding: 1.5rem;
    flex: 1;
}

/* Уменьшаем пустое пространство в карточке поддержки */
.contact-card:last-child .contact-card-body {
    padding-bottom: 1.25rem;
}

.contact-card:last-child .contact-info {
    margin-bottom: 0.5rem;
}

.contact-card:last-child .contact-card-body {
    padding-bottom: 1rem;
}

.contact-schedule {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.schedule-time {
    font-size: 0.9rem;
    color: #666;
    font-family: 'Georgia', serif;
}

.status-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    font-family: 'Georgia', serif;
}

.status-working {
    background: linear-gradient(135deg, #5DADE2 0%, #85C1E2 100%);
    color: #fff;
    border: none;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #5DADE2;
    transition: all 0.2s ease;
}

.contact-item:hover {
    background: #e9ecef;
    border-left-color: #2c3e50;
}

.contact-item-icon {
    font-size: 1.1rem;
    color: #5DADE2;
    margin-right: 1rem;
    width: 24px;
    text-align: center;
}

.contact-link {
    color: #2c3e50;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.2s ease;
    flex: 1;
    font-family: 'Georgia', serif;
}

.contact-link:hover {
    color: #5DADE2;
    text-decoration: underline;
}

.contact-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.social-icon-small {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.social-icon-small i {
    font-size: 1.3rem;
}

.telegram-icon-small {
    background: linear-gradient(135deg, #0088cc 0%, #229ED9 100%);
}

.telegram-icon-small:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3);
}

.whatsapp-icon-small {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.whatsapp-icon-small:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}



/* Адаптивность для планшетов */
@media (max-width: 768px) {
    .contacts-container {
        padding: 1.5rem 1rem;
    }

    .contacts-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .contacts-grid {
        gap: 1.25rem;
        max-width: 100%;
    }

    .contact-card-header {
        padding: 1.25rem;
    }

    .contact-card-icon {
        font-size: 1.75rem;
        margin-right: 0.75rem;
    }

    .contact-card-title {
        font-size: 1.25rem;
    }

    .contact-card-body {
        padding: 1.25rem;
    }

    .contact-schedule {
        margin-bottom: 1.25rem;
        padding-bottom: 0.75rem;
    }

    .social-icon-small {
        width: 36px;
        height: 36px;
    }

    .social-icon-small i {
        font-size: 1.2rem;
    }
}

/* Адаптивность для мобильных телефонов */
@media (max-width: 480px) {
    .contacts-container {
        padding: 1rem 0.75rem;
    }

    .contacts-title {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
        padding-bottom: 0.75rem;
    }

    .contacts-grid {
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .contact-card-header {
        padding: 1rem;
        flex-wrap: wrap;
    }

    .contact-card-icon {
        font-size: 1.5rem;
        margin-right: 0.5rem;
        width: 32px;
    }

    .contact-card-title {
        font-size: 1.1rem;
        flex-basis: calc(100% - 80px);
        margin-top: 0.5rem;
    }

    .contact-card-body {
        padding: 1rem;
    }

    .contact-schedule {
        margin-bottom: 1rem;
        padding-bottom: 0.75rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .schedule-time {
        font-size: 0.85rem;
    }

    .status-badge {
        font-size: 0.8rem;
        padding: 0.35rem 0.7rem;
    }

    .contact-item {
        padding: 0.6rem;
    }

    .contact-item-icon {
        font-size: 1rem;
        margin-right: 0.75rem;
        width: 20px;
    }

    .contact-link {
        font-size: 0.95rem;
    }

    .contact-social {
        margin-top: 0.75rem;
        padding-top: 0.75rem;
    }

    .social-icon-small {
        width: 36px;
        height: 36px;
    }

    .social-icon-small i {
        font-size: 1.2rem;
    }
}

/* Адаптивность для очень маленьких экранов */
@media (max-width: 360px) {
    .contact-card-header {
        padding: 0.75rem;
    }

    .contact-card-title {
        font-size: 1rem;
    }

    .contact-card-icon {
        font-size: 1.25rem;
    }

    .contact-card-body {
        padding: 0.75rem;
    }

    .social-icon-small {
        width: 32px;
        height: 32px;
    }

    .social-icon-small i {
        font-size: 1.1rem;
    }
}

