.contacts-header {
    text-align: center;
    margin-bottom: 50px;
}

.contacts-header h1 {
    font-size: 2.5rem;
    color: #5a2d7a;
    margin-bottom: 15px;
    font-weight: 300;
}

.mystic-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5px 0 20px 0;
}

.mystic-divider .line {
    width: 200px;
    height: 1px;
    background: linear-gradient(to right, #8d5ba4, #5a2d7a);
}

.mystic-divider .crystal {
    width: 10px;
    height: 10px;
    background: #8d5ba4;
    transform: rotate(45deg);
    margin: 0 15px;
}

.subtitle {
    font-size: 1.1rem;
    color: #6a6a6a;
    font-style: italic;
}

.contacts-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.contact-icon {
    font-size: 2rem;
    color: #8d5ba4;
    margin-bottom: 15px;
}

.contact-card h3 {
    color: #5a2d7a;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.contact-card p {
    color: #666;
    margin-bottom: 10px;
    line-height: 1.5;
    font-size: 0.95rem;
}

.schedule, .address {
    color: #333;
    font-weight: 500;
}

.contact-link {
    color: #8d5ba4;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    margin-top: 10px;
    transition: all 0.3s;
    border-bottom: 1px dashed transparent;
}

.contact-link:hover {
    color: #5a2d7a;
    border-bottom-color: #8d5ba4;
}

.map-placeholder {
    position: relative;
    margin-top: 15px;
    border-radius: 10px;
    overflow: hidden;
}

.map-placeholder img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.view-map-btn {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(90, 45, 122, 0.9);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.view-map-btn:hover {
    background: rgba(90, 45, 122, 1);
}

.contact-form-container {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-form-container h2 {
    color: #5a2d7a;
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.form-description {
    color: #666;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
    font-size: 0.95rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #8d5ba4;
    outline: none;
    box-shadow: 0 0 0 2px rgba(141, 91, 164, 0.2);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-methods {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.method-option {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.method-option input {
    display: none;
}

.custom-radio {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 50%;
    margin-right: 8px;
    position: relative;
    transition: all 0.3s;
}

.method-option input:checked + .custom-radio {
    border-color: #8d5ba4;
}

.custom-radio::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: #8d5ba4;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s;
}

.method-option input:checked + .custom-radio::after {
    opacity: 1;
}

.consent-group {
    display: flex;
    align-items: center;
    margin: 25px 0;
}

.consent-group input {
    margin-right: 10px;
}

.submit-btn {
    background: linear-gradient(45deg, #8d5ba4, #6a3d7a);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: linear-gradient(45deg, #6a3d7a, #4e2c5a);
    transform: translateY(-2px);
}

.social-section {
    background: linear-gradient(135deg, rgba(90, 45, 122, 0.05), rgba(141, 91, 164, 0.05));
    border-radius: 15px;
    padding: 40px;
    text-align: center;
}

.social-section h2 {
    color: #5a2d7a;
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.social-section p {
    color: #666;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-radius: 30px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: all 0.3s;
}

.social-link img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.social-link.instagram {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
}

.social-link.vk {
    background: #4C75A3;
}

.social-link.youtube {
    background: #FF0000;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

@media (max-width: 1024px) {
    .contacts-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-methods {
        flex-direction: column;
        gap: 10px;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .social-link {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}