/* БЛОК - ЧАСТЫЕ ВОПРОСЫ */

.faq-section {
    width: 100%;
    background: var(--white);
    padding: 60px 0 100px 0; 
    position: relative;
}

.faq-container {
    max-width: var(--content-width);
    margin: 0 auto;
    display: flex;
    gap: 30px;
    padding: 0 30px;
}

.faq-left {
    width: 33%;
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 90px;
}

.faq-left .btn {
    width: 100%; 
    max-width: 320px; 
    padding: 16px 24px;
    font-size: 16px;
}

.faq-right {
    width: 67%;
}

.faq-icon {
    font-size: 100px;
    color: var(--red-accent);
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.faq-icon img {
    width: 100px;
    height: 100px;
}

.faq-title {
    font-size: 34px;
    font-weight: 600;
    text-transform: uppercase;
    color: #1e293b;
    line-height: 1.3;
    margin-bottom: 20px;
    text-align: left;
    width: 100%;
}

.faq-title span {
    color: var(--red-accent);
}

.faq-subtitle {
    font-size: 16px;
    color: #64748b;
    margin-bottom: 30px;
    text-align: left;
    line-height: 1.6;
    align-self: flex-start;
}

.phone-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 290px;
    padding: 16px 24px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 6px;
    font-weight: normal;
    font-size: 16px;
    transition: var(--transition);
    margin-bottom: 25px;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    text-transform: none;
    font-family: Arial, sans-serif;
    box-shadow: 0 4px 12px rgba(59, 92, 118, 0.3);
}

.phone-button:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(59, 92, 118, 0.4);
}

.phone-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.7s ease;
}

.phone-button:hover::before {
    left: 100%;
}

.phone-button:active {
    transform: translateY(2px) scale(0.98);
    transition: transform 0.1s ease;
}

.messengers-title {
    font-size: 14px;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    text-align: center;
}

/* .messengers-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.messenger-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: #f1f5f9;
    border-radius: 50%;
    color: var(--red-accent);
    font-size: 42px;
    transition: var(--transition);
    text-decoration: none;
}

.messenger-icon:hover {
    background: var(--red-accent);
    color: var(--white);
    transform: translateY(-5px); 
} */

.messengers-icons {
    display: flex;
    gap: 23px;
    margin-bottom: 15px;
    justify-content: center;
}

.messenger-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    position: relative;
}

.messenger-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.3s;
}

.messenger-icon:hover {
    transform: scale(1.3);
}

.faq-item {
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 8px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 18px;
    color: #1e293b;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--red-accent);
}

.faq-toggle {
    width: 30px;
    height: 30px;
    background: var(--red-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 26px;
    font-weight: normal;
    transition: var(--transition);
    flex-shrink: 0;
    margin-left: 15px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    background: #94a3b8;
}

.faq-answer {
    max-height: 0;
    overflow: hidden; 
    transition: max-height 0.3s ease;
    color: #64748b;
    line-height: 1.6;
    padding: 0;
    border-left: 2px solid var(--red-accent);
    margin-left: 0;
}

.faq-item.active .faq-answer {
    max-height: none;
    height: auto;
    padding: 0 0 15px 15px;
    margin-bottom: 5px;
}

/* Специфичные стили для модального окна FAQ */
#phoneModal .modal-content {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    max-width: 400px;
    width: 100%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

#phoneModal .close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    color: #64748b;
    cursor: pointer;
    transition: var(--transition);
    background: #f1f5f9;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#phoneModal .close-modal:hover {
    color: var(--red-accent);
    background: #ffe6e6;
}

#phoneModal .modal-title {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
    text-align: center;
}

#phoneModal .modal-info {
    margin-bottom: 20px;
}

#phoneModal .modal-info-item {
    margin-bottom: 15px;
}

#phoneModal .modal-info-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--red-accent);
    margin-bottom: 5px;
}

#phoneModal .modal-info-item p {
    font-size: 16px;
    color: #64748b;
    line-height: 1.5;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .faq-container {
        flex-direction: column;
        padding: 0 30px;
    }
    
    .faq-left, .faq-right {
        width: 100%;
    }
    
    .faq-left {
        padding-right: 0;
        margin-bottom: 40px;
        align-items: center;
    }
    
    .faq-title {
    font-size: 34px; 
    font-weight: 600;
    text-transform: uppercase;
    color: #1e293b;
    line-height: 1.3;
    margin-bottom: 20px;
    text-align: left;
    width: 100%;
    font-family: Arial, sans-serif;
    }
    
    .faq-subtitle {
        text-align: center;
        align-self: center;
    }
    
    .faq-icon {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .faq-title {
        font-size: 28px;
    }
    
    .faq-subtitle {
        font-size: 15px;
    }
    
    .phone-button {
        width: 100%;
        font-size: 16px;
    }
    
    .messenger-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .faq-section {
        padding: 70px 0;
    }
    
    .faq-container {
        padding: 0 20px;
    }
    
    .faq-title {
        font-size: 24px;
    }
    
    .faq-question {
        font-size: 16px;
        padding: 12px 0;
    }
    
    .faq-toggle {
        width: 28px;
        height: 28px;
        font-size: 22px;
    }
    
    .messenger-icon {
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
    
    #phoneModal .modal-content {
        padding: 20px;
    }
}

/* Стили для оформления ответа про кроссоверы */
.answer-highlight {
    background-color: #f8fafc;
    border-left: 4px solid var(--red-accent);
    padding: 15px;
    margin: 15px 0;
    border-radius: 0 8px 8px 0;
}

.alternative-models {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin: 15px 0;
}

.model-category {
    background: #f1f5f9;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.model-category strong {
    color: #1e293b;
    font-size: 15px;
    display: block;
    margin-bottom: 8px;
}

.model-category ul {
    margin: 0;
    padding-left: 20px;
}

.model-category li {
    color: #475569;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 4px;
}

.answer-note {
    background-color: #fff7ed;
    border: 1px solid #fed7aa;
    padding: 12px 15px;
    border-radius: 8px;
    margin-top: 20px;
    font-size: 14px;
}

.answer-note strong {
    color: #ea580c;
}

.faq-answer p {
    margin-bottom: 12px;
    line-height: 1.6;
}

.faq-answer ul {
    margin-bottom: 12px;
    padding-left: 20px;
}

.faq-answer li {
    margin-bottom: 6px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .alternative-models {
        grid-template-columns: 1fr;
    }
}