/* Contact Page Styles */

/* Contact Hero with Form - на первом экране */
.contact-hero {
    padding: 100px 20px 60px;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.1) 0%, rgba(79, 70, 229, 0.1) 100%);
}

.contact-hero .container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
    background: linear-gradient(135deg, #A78BFA 0%, #818CF8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-hero > .container > p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Contact Section - только для карточек */
.contact-section {
    padding: 60px 20px;
}

.contact-grid {
    max-width: 1400px;
    margin: 0 auto;
}

/* Form Container - внутри hero */
.form-container {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(167, 139, 250, 0.2);
    border-radius: 20px;
    padding: 40px;
    max-width: 700px;
    margin: 0 auto;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #A78BFA;
    text-align: center;
}

.section-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    text-align: center;
}

.contact-form {
    width: 100%;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(167, 139, 250, 0.3);
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #A78BFA;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.1);
}

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

.form-group select {
    cursor: pointer;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.btn-submit,
.submit-btn {
    background: linear-gradient(135deg, #9333EA 0%, #4F46E5 100%);
    color: white;
    padding: 14px 40px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(147, 51, 234, 0.3);
    width: 100%;
}

.btn-submit:hover,
.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(147, 51, 234, 0.4);
}

.btn-submit:active,
.submit-btn:active {
    transform: translateY(0);
}

/* Success Message */
.success-message {
    display: none;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(16, 185, 129, 0.2) 100%);
    border: 1px solid rgba(34, 197, 94, 0.5);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    color: #4ADE80;
    text-align: center;
}

.success-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 15px;
    stroke: #4ADE80;
}

.success-message.show {
    display: block;
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Info Cards - в один ряд */
.info-sidebar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .info-sidebar {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

.info-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(167, 139, 250, 0.2);
    border-radius: 16px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.info-card:hover {
    border-color: rgba(167, 139, 250, 0.4);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.2);
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.info-icon svg {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    display: block;
    stroke: #A78BFA;
}

.info-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #A78BFA;
}

.info-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 0;
}

.info-card a {
    color: #818CF8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-card a:hover {
    color: #A78BFA;
    text-decoration: underline;
}

.info-card small {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* Social Media Section */
.social-section-standalone {
    padding: 40px 20px;
}

.social-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.social-section h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: #A78BFA;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

@media (min-width: 640px) {
    .social-links {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(167, 139, 250, 0.2);
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(167, 139, 250, 0.1);
    border-color: #A78BFA;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.2);
}

.social-link svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* CTA Section */
.contact-cta {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.15) 0%, rgba(79, 70, 229, 0.15) 100%);
    border-radius: 20px;
    margin-bottom: 60px;
}

.contact-cta h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #A78BFA 0%, #818CF8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-cta p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, #9333EA 0%, #4F46E5 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(147, 51, 234, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(147, 51, 234, 0.4);
}

/* FAQ Section */
.faq-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.faq-section h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
    color: #A78BFA;
}

/* CTA Section */
.contact-cta {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-hero {
        padding: 80px 15px 40px;
    }

    .contact-hero h1 {
        font-size: 2.2rem;
    }

    .contact-hero > .container > p {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .contact-section {
        padding: 40px 15px;
    }

    .form-container {
        padding: 30px 20px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .info-card {
        padding: 25px 20px;
    }

    .info-sidebar {
        grid-template-columns: 1fr;
    }

    .social-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .contact-hero h1 {
        font-size: 1.9rem;
    }

    .form-container {
        padding: 25px 15px;
    }

    .info-icon svg {
        width: 48px;
        height: 48px;
    }

    .info-card h3 {
        font-size: 1.1rem;
    }
}
