/* ================================
   Страница контактов
   ================================ */

.contacts-page {
    padding: 60px 0;
    background: #fff;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* ================================
   Левая колонка - Форма
   ================================ */

.contacts-form-section {
    max-width: 500px;
}

.page-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

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

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

.form-label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.form-input {
    padding: 14px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.2s ease;
    background: #fff;
}

.form-input:focus {
    outline: none;
    border-color: #1a1a2e;
    box-shadow: 0 0 0 3px rgba(26, 26, 46, 0.1);
}

.form-input.input-error {
    border-color: #dc3545;
}

.form-input::placeholder {
    color: #999;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.error-message {
    font-size: 13px;
    color: #dc3545;
    margin-top: 4px;
}

.submit-btn {
    padding: 16px 32px;
    background: #1a1a2e;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    background: #2a2a3e;
    transform: translateY(-2px);
}

.submit-btn:disabled {
    background: #999;
    cursor: not-allowed;
    transform: none;
}

/* ================================
   Правая колонка - Контактная информация
   ================================ */

.contacts-info-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
}

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

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.contact-card:hover {
    background: #f0f1f3;
}

.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a2e;
    border-radius: 10px;
    color: #fff;
}

.icon-placeholder {
    width: 24px;
    height: 24px;
}

.contact-content {
    flex: 1;
}

.contact-label {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.contact-text {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

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

.contact-link {
    font-size: 16px;
    color: #1a1a2e;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: #3a3a5e;
}

/* ================================
   Тёмная карточка 24/7
   ================================ */

.service-247-card {
    padding: 30px;
    background: #1a1a2e;
    border-radius: 12px;
    color: #fff;
}

.service-247-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-247-text {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.9;
}

/* ================================
   Заголовки секций
   ================================ */

.section {
    padding: 60px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================================
   Секция FAQ
   ================================ */

.faq-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a2e;
    text-align: center;
    margin-bottom: 50px;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.faq-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.faq-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-question {
    font-size: 16px;
    font-weight: 500;
    color: #1a1a2e;
    line-height: 1.5;
    margin: 0;
}

.faq-answer {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* ================================
   Чекбокс согласия на ПДн
   ================================ */

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

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.consent-checkbox {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #1a1a2e;
}

.consent-text {
    flex: 1;
}

.consent-link {
    color: #1a1a2e;
    text-decoration: none;
    border-bottom: 1px dashed #1a1a2e;
}

.consent-link:hover {
    border-bottom-style: solid;
}

/* ================================
   Экран успеха
   ================================ */

.success-message {
    text-align: center;
    padding: 60px 30px;
    background: #fff;
    border-radius: 12px;
    max-width: 400px;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.success-icon {
    width: 60px;
    height: 60px;
    background: #28a745;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px auto;
}

.success-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.success-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.btn-primary {
    padding: 12px 28px;
    background: #1a1a2e;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: #2a2a3e;
    transform: translateY(-2px);
}

/* ================================
   Адаптив
   ================================ */

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

    .contacts-form-section {
        max-width: 100%;
    }

    .consent-label {
        flex-direction: row;
        align-items: flex-start;
    }

    .page-title {
        font-size: 28px;
    }

    .faq-grid {
        padding: 0 16px;
    }
}
