/* Contacts Page Styles */

.contacts-header {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #F8FAFC 0%, #DBEAFE 100%);
    position: relative;
    overflow: hidden;
}

.contacts-header::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, transparent 70%);
    top: -150px;
    right: -100px;
    border-radius: 50%;
}

/* Contact Info Section */
.contact-info-section {
    padding: 80px 0;
    background: white;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.info-card {
    padding: 40px 32px;
    background: var(--bg-secondary);
    border-radius: 20px;
    text-align: center;
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.info-card:hover {
    transform: translateY(-8px);
    background: white;
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: var(--shadow-xl);
}

.info-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: white;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: all var(--transition-base);
}

.info-card:hover .info-icon {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.info-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.info-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.info-link {
    display: inline-block;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color var(--transition-fast);
    line-height: 1.6;
}

.info-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Contact Form Section */
.contact-form-section {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.form-wrapper {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.form-intro {
    position: sticky;
    top: 120px;
}

.form-description {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

.form-benefits {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: white;
    border-radius: 12px;
    font-weight: 500;
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

.benefit-item svg {
    color: var(--secondary);
    flex-shrink: 0;
}

.contact-form-main {
    background: white;
    padding: 48px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.radio-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 12px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--bg-secondary);
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    cursor: pointer;
    transition: all var(--transition-base);
    font-weight: 500;
    color: var(--text-primary);
}

.radio-label:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

.radio-label input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.radio-label input[type="radio"]:checked + span,
.radio-label:has(input[type="radio"]:checked) {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
}

.btn-submit-main {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 40px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 17px;
    border-radius: 14px;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-submit-main:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

.btn-submit-main:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-submit-main .btn-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.btn-submit-main.loading .btn-text,
.btn-submit-main.loading .btn-icon {
    display: none;
}

.btn-submit-main.loading .btn-loader {
    display: block;
}

.btn-submit-main.success {
    background: var(--gradient-secondary);
}

.btn-submit-main.error {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
}

.form-note {
    margin-top: 20px;
    font-size: 13px;
    color: var(--text-light);
    text-align: center;
    line-height: 1.6;
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background: white;
}

.map-wrapper {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.map-placeholder {
    height: 500px;
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-overlay {
    text-align: center;
    color: white;
    z-index: 1;
}

.map-overlay p {
    font-size: 20px;
    font-weight: 600;
    margin: 20px 0;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: white;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    border-radius: 12px;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

.map-link:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

/* Success/Error Messages */
.form-message {
    padding: 20px 24px;
    border-radius: 12px;
    margin-bottom: 24px;
    display: none;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.form-message.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--secondary);
    border: 2px solid var(--secondary);
    display: flex;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: #DC2626;
    border: 2px solid #DC2626;
    display: flex;
}

/* Responsive */
@media (max-width: 1024px) {
    .form-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .form-intro {
        position: static;
    }
    
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-form-main {
        padding: 32px 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .radio-group {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .map-placeholder {
        height: 400px;
    }
}
