/* FAQ Component Styles */
.faq-section {
    padding: 60px 0;
    background: #f8f9fa;
    position: relative;
    margin: 0;
    padding-bottom: 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-section .faq-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.faq-section .faq-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    font-weight: 400;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.faq-section .faq-list {
    margin-bottom: 40px;
}

.faq-section .faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-section .faq-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.faq-section .faq-item.active {
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.15);
    border-color: #4facfe;
}

.faq-section .faq-question {
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    user-select: none;
    background: white;
}

.faq-section .faq-question:hover {
    background: #f8f9fa;
}

.faq-section .faq-item.active .faq-question {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.faq-section .faq-question-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    flex: 1;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.faq-section .faq-item.active .faq-question-text {
    color: white;
}

.faq-section .faq-toggle {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f8f9fa;
    transition: all 0.3s ease;
    margin-left: 16px;
    flex-shrink: 0;
}

.faq-section .faq-item.active .faq-toggle {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(45deg);
}

.faq-section .faq-icon {
    width: 18px;
    height: 18px;
    color: #6c757d;
    transition: all 0.3s ease;
}

.faq-section .faq-item.active .faq-icon {
    color: white;
}

.faq-section .faq-answer {
    height: 0;
    overflow: hidden;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    will-change: height;
}

.faq-section .faq-answer-content {
    padding: 24px;
    border-top: 1px solid #f1f3f4;
}

.faq-section .faq-answer-content p {
    font-size: 1rem;
    color: #495057;
    line-height: 1.6;
    margin: 16px 0 0 0;
}

.faq-section .faq-footer {
    text-align: center;
    padding: 40px 20px 0;
    border-top: 1px solid #e9ecef;
}

.faq-section .faq-contact-text {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 20px;
    font-weight: 500;
}

.faq-section .faq-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(40, 167, 69, 0.3);
}

.faq-section .faq-contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838 0%, #1abc9c 100%);
}

.faq-section .faq-contact-icon {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
}

/* Анимация для плавного раскрытия */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-section .faq-item.active .faq-answer-content {
    animation: fadeInUp 0.3s ease;
}

/* Мобильные стили */
@media (max-width: 768px) {
    .faq-section {
        padding: 40px 0;
    }

    .faq-container {
        padding: 0 15px;
    }

    .faq-header {
        margin-bottom: 30px;
    }

    .faq-section .faq-title {
        font-size: 2rem;
        margin-bottom: 12px;
    }

    .faq-section .faq-subtitle {
        font-size: 1rem;
    }

    .faq-question {
        padding: 16px 20px;
    }

    .faq-question-text {
        font-size: 1rem;
    }

    .faq-toggle {
        width: 28px;
        height: 28px;
        margin-left: 12px;
    }

    .faq-icon {
        width: 16px;
        height: 16px;
    }

    .faq-answer-content {
        padding: 0 20px 20px 20px;
    }

    .faq-answer-content p {
        font-size: 0.95rem;
    }

    .faq-footer {
        padding: 30px 15px 0;
    }

    .faq-contact-text {
        font-size: 1rem;
    }

    .faq-contact-btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .faq-question {
        padding: 14px 16px;
    }

    .faq-answer-content {
        padding: 0 16px 16px 16px;
    }

    .faq-contact-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Стили для разных типов FAQ */
.faq-section[data-faq-type="tours"] {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.faq-section[data-faq-type="tours"] .faq-item.active .faq-question {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
}

.faq-section[data-faq-type="tours"] .faq-contact-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    box-shadow: 0 4px 16px rgba(255, 107, 107, 0.3);
}

.faq-section[data-faq-type="tours"] .faq-contact-btn:hover {
    box-shadow: 0 6px 24px rgba(255, 107, 107, 0.4);
    background: linear-gradient(135deg, #e55353 0%, #d63031 100%);
}



.faq-extra-block {
    margin-top: 50px;
}