/* ===== СТРАНИЦА КОНТАКТЫ ===== */

/* Hero секция для контактов */
.page-main--contacts {
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.page-main--contacts::before {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(230, 126, 34, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.page-main__desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin-top: 20px;
}

/* Секция контактов */
.contacts-section {
    padding: 60px 0;
    background: #161616;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* Карточки контактов */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.contact-card {
    background: #181044;
    padding: 30px 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #e67e22;
}

.contact-card__icon {
    font-size: 36px;
    margin-bottom: 20px;
}

.contact-card__content h3 {
    font-size: 18px;
    font-weight: 600;
    color: darkcyan;
    margin-bottom: 12px;
}

.contact-card__content a {
    font-size: 18px;
    color: #e67e22;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-block;
    margin-bottom: 8px;
}

.contact-card__content a:hover {
    color: #d35400;
}

.contact-card__content p {
    color: #555;
    line-height: 1.5;
}

.contact-card__note {
    font-size: 13px;
    color: #7f8c8d;
    margin-top: 8px;
}

.messenger-links {
    display: flex;
    gap: 15px;
    margin-bottom: 8px;
}

.messenger-link {
    color: #e67e22 ;
    font-size: 15px;
    margin-bottom: 0;
}

.messenger-link:hover {
    text-decoration: underline;
}

/* Карта */
.contacts-map {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    min-height: 350px;
}

.map-wrapper {
    width: 100%;
    height: 100%;
    min-height: 350px;
    background: #e9ecef;
}

.map-wrapper iframe {
    display: block;
}

/* Форма обратной связи */
.contact-form-section {
    padding: 80px 0;
    background: #161616;;
}

.form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.form-info .section-title {
    color: #1a252f;
    margin-bottom: 20px;
}

.form-info__text {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 30px;
}

.form-benefits {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #1a252f;
}

.benefit-icon {
    width: 24px;
    height: 24px;
    background: #e67e22;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

/* Сама форма */
.contact-form {
    background: #151616;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 18px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #ffffff;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e67e22;
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 45px;
}

.form-checkbox {
    margin: 25px 0;
}

.form-checkbox label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #555;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #e67e22;
}

.btn--block {
    width: 100%;
    justify-content: center;
}

/* Реквизиты */
.requisites-section {
    padding: 60px 0;
    background: black;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.requisites-wrapper {
    background: #161616;
    padding: 35px 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

.requisites-title {
    font-size: 20px;
    font-weight: 600;
    color: #fafafa;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e67e22;
    display: inline-block;
}

.requisites-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 40px;
}

.requisites-item {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    font-size: 15px;
}

.requisites-label {
    min-width: 180px;
    color: #da740e;
    font-weight: 500;
}

.requisites-value {
    color: #ffffff;
    font-weight: 500;
}

/* Сообщения формы */
.form-message {
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    font-weight: 500;
    animation: slideDown 0.3s ease;
}

.form-message--success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message--error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Кнопка в состоянии загрузки */
.btn--primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Адаптивность */
@media (max-width: 992px) {
    .contacts-grid {
        grid-template-columns: 1fr;
    }
    
    .form-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-main--contacts {
        padding: 50px 0;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .requisites-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .requisites-item {
        flex-direction: column;
        gap: 5px;
    }
    
    .requisites-label {
        min-width: auto;
    }
    
    .requisites-wrapper {
        padding: 25px 20px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 28px;
    }
    
    .contact-card__content a {
        font-size: 16px;
        word-break: break-all;
    }
}