/* ============================================ */
/* CONTACT PAGE - ENHANCED PROFESSIONAL DESIGN */
/* ============================================ */

/* === CONTACT PAGE BASE === */
.contact-page {
    padding-top: 2rem;
}

/* === HERO SECTION === */
.contact-hero {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.contact-hero .hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    background: linear-gradient(135deg, #8B5CF6, #F59E0B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.contact-hero .hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* === RESPONSE TIME BANNER === */
.response-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 1.5rem 2rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 16px;
    margin-bottom: 4rem;
}

.banner-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: var(--text-primary);
}

.banner-icon {
    font-size: 1.25rem;
}

/* === CONTACT METHODS SECTION === */
.contact-methods-section {
    margin-bottom: 6rem;
}

.contact-methods-section .section-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #8B5CF6, #F59E0B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding-bottom: 2rem;
    display: block;
    width: 100%;
}

.contact-methods-section .section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, 
        rgba(139, 92, 246, 0) 0%, 
        rgba(139, 92, 246, 1) 20%, 
        rgba(245, 158, 11, 1) 80%, 
        rgba(245, 158, 11, 0) 100%
    );
    border-radius: 2px;
}

.contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.contact-method {
    position: relative;
    background: var(--bg-secondary);
    border: 2px solid var(--border-primary);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.contact-method:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
}

/* Featured Contact Method (Calendly) */
.contact-method.featured {
    border-color: #F59E0B;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(139, 92, 246, 0.1));
}

.contact-method.featured:hover {
    border-color: #F59E0B;
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.4);
}

/* Primary Contact Method (Email) */
.contact-method.primary {
    border-color: rgba(139, 92, 246, 0.4);
}

.method-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #F59E0B;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.contact-method.primary .method-badge {
    background: #8B5CF6;
}

.method-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.method-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.method-description {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin: 0;
}

.method-cta {
    font-size: 0.875rem;
    font-weight: 600;
    color: #8B5CF6;
    margin-top: auto;
}

.contact-method:hover .method-cta {
    color: #F59E0B;
}

/* === SOCIAL LINKS SECTION === */
.social-links-section {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
}

.social-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-primary);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icon .icon {
    font-size: 1.75rem;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-6px);
    border-color: #8B5CF6;
    box-shadow: 0 12px 24px rgba(139, 92, 246, 0.3);
}

.social-icon:hover .icon {
    transform: scale(1.15);
}

/* Tooltip on hover */
.social-icon::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 0.375rem 0.875rem;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 10;
}

.social-icon::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid rgba(0, 0, 0, 0.9);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.social-icon:hover::before {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

.social-icon:hover::after {
    opacity: 1;
}

/* === CONTACT FORM SECTION === */
.contact-form-section {
    margin-bottom: 6rem;
}

.contact-form-section .section-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #8B5CF6, #F59E0B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding-bottom: 2rem;
    display: block;
    width: 100%;
}

.contact-form-section .section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, 
        rgba(139, 92, 246, 0) 0%, 
        rgba(139, 92, 246, 1) 20%, 
        rgba(245, 158, 11, 1) 80%, 
        rgba(245, 158, 11, 0) 100%
    );
    border-radius: 2px;
}

.contact-form-section .section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.enhanced-contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-secondary);
    border: 2px solid var(--border-primary);
    border-radius: 24px;
    padding: 3rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    color: var(--text-primary);
    background: var(--bg-tertiary);
    border: 2px solid var(--border-primary);
    border-radius: 12px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8B5CF6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.char-counter {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.form-footer {
    margin-top: 2rem;
    text-align: center;
}

.form-submit {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, #8B5CF6, #F59E0B);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.form-submit:active {
    transform: translateY(0);
}

.form-submit .btn-text,
.form-submit .btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.loading-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.form-privacy {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Form Messages */
.form-message {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
}

.form-message.success {
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid rgba(16, 185, 129, 0.3);
    color: #10B981;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid rgba(239, 68, 68, 0.3);
    color: #EF4444;
}

/* === TRUST SIGNALS === */
.trust-signals {
    margin-bottom: 6rem;
    text-align: center;
}

.trust-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.trust-item {
    background: var(--bg-secondary);
    border: 2px solid var(--border-primary);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-4px);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.2);
}

.trust-icon {
    font-size: 2.5rem;
}

.trust-text {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
}

/* === FAQ SECTION === */
.faq-section {
    margin-bottom: 6rem;
}

.faq-section .section-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #8B5CF6, #F59E0B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding-bottom: 2rem;
    display: block;
    width: 100%;
}

.faq-section .section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, 
        rgba(139, 92, 246, 0) 0%, 
        rgba(139, 92, 246, 1) 20%, 
        rgba(245, 158, 11, 1) 80%, 
        rgba(245, 158, 11, 0) 100%
    );
    border-radius: 2px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-secondary);
    border: 2px solid var(--border-primary);
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(139, 92, 246, 0.4);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: #8B5CF6;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: #8B5CF6;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 2rem 1.5rem;
}

.faq-answer p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.faq-answer a {
    color: #8B5CF6;
    text-decoration: underline;
}

.faq-answer a:hover {
    color: #F59E0B;
}

/* === LOCATION SECTION === */
.location-section {
    margin-bottom: 6rem;
}

.location-section .section-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #8B5CF6, #F59E0B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding-bottom: 2rem;
    display: block;
    width: 100%;
}

.location-section .section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, 
        rgba(139, 92, 246, 0) 0%, 
        rgba(139, 92, 246, 1) 20%, 
        rgba(245, 158, 11, 1) 80%, 
        rgba(245, 158, 11, 0) 100%
    );
    border-radius: 2px;
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.location-item {
    background: var(--bg-secondary);
    border: 2px solid var(--border-primary);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.location-item:hover {
    transform: translateY(-4px);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.2);
}

.location-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.location-details h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
}

.location-details p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin: 0;
}

/* === FINAL CTA === */
.contact-final-cta {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(245, 158, 11, 0.1));
    border: 2px solid rgba(139, 92, 246, 0.2);
    border-radius: 24px;
    margin-bottom: 4rem;
}

.contact-final-cta .cta-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 900;
    background: linear-gradient(135deg, #8B5CF6, #F59E0B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.contact-final-cta .cta-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* === RESPONSIVE DESIGN === */

/* Tablet */
@media (max-width: 1023px) {
    .contact-methods-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .social-icons {
        gap: 1.25rem;
    }
    
    .social-icon {
        width: 52px;
        height: 52px;
    }
    
    .social-icon .icon {
        font-size: 1.5rem;
    }
    
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .location-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 767px) {
    .contact-page {
        padding-top: 1rem;
    }
    
    .contact-hero {
        margin-bottom: 2rem;
    }
    
    .response-banner {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .banner-item {
        width: 100%;
        justify-content: center;
    }
    
    .contact-methods-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .social-icons {
        gap: 1rem;
    }
    
    .social-icon {
        width: 48px;
        height: 48px;
    }
    
    .social-icon .icon {
        font-size: 1.5rem;
    }
    
    .enhanced-contact-form {
        padding: 2rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .trust-grid {
        grid-template-columns: 1fr;
    }
    
    .location-grid {
        grid-template-columns: 1fr;
    }
    
    .location-item {
        flex-direction: column;
        text-align: center;
    }
    
    .faq-question {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1.5rem 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .contact-final-cta {
        padding: 2rem 1rem;
    }
}

/* Small Mobile */
@media (max-width: 374px) {
    .contact-hero .hero-title {
        font-size: 1.75rem;
    }
    
    .method-icon {
        font-size: 2.5rem;
    }
    
    .social-icon {
        width: 44px;
        height: 44px;
    }
    
    .social-icon .icon {
        font-size: 1.25rem;
    }
    
    .trust-icon,
    .location-icon {
        font-size: 2rem;
    }
}

/* === ACCESSIBILITY === */
@media (prefers-reduced-motion: reduce) {
    .contact-method,
    .social-icon,
    .trust-item,
    .location-item,
    .faq-item,
    .form-submit {
        transition: none;
    }
    
    .social-icon .icon {
        transition: none;
    }
    
    .faq-icon {
        transition: none;
    }
    
    .loading-spinner {
        animation: none;
    }
}
