/* ================================================
   Smiley FAQ Departamentos PRO v2.1
   Idéntico al FAQ Hostal — misma clase base
   ================================================ */

.smiley-faq-container {
    max-width: 800px;
    margin: 60px auto;
    padding: 60px 40px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    font-family: 'Poppins', sans-serif;
}

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

.faq-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -0.3px;
    color: #1a202c;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.faq-header .subtitle {
    font-size: 16px;
    color: #4a5568;
    margin-top: 10px;
    line-height: 1.5;
}

.faq-category-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.faq-category-btn {
    padding: 12px 24px;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.faq-category-btn .icon { font-size: 20px; }
.faq-category-btn:hover { border-color: #ff0000; background: #fff5f5; }
.faq-category-btn.active { background: #33cc33; color: #fff; border-color: #33cc33; }

.faq-items { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; }

.faq-item-frontend {
    background: #faf8f5;
    border: 1px solid #ede8e0;
    border-left: 3px solid #33cc33;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq-item-frontend:hover {
    border-color: #ede8e0;
    border-left-color: #ff0000;
    box-shadow: 0 12px 28px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.faq-item-frontend.active {
    background: #ffffff;
    border-left-color: #ff0000;
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}

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

.faq-question:hover { background: rgba(51,204,51,0.04); }
.faq-item-frontend.active .faq-question { background: rgba(51,204,51,0.06); }

.faq-question h3 { flex: 1; margin: 0; font-family: 'Poppins', sans-serif; font-size: 16px; font-weight: 500; color: #1a202c; }

.faq-toggle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #33cc33;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 300;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item-frontend.active .faq-toggle { transform: rotate(45deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; }
.faq-item-frontend.active .faq-answer { max-height: 500px; padding: 0 20px 20px 20px; }
.faq-answer p { margin: 0; color: #4a5568; font-size: 15px; line-height: 1.6; }

.faq-cta {
    margin-top: 40px;
    background: #faf8f5;
    border: 1px solid #ede8e0;
    border-left: 3px solid #33cc33;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 3px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq-cta:hover {
    background: #f4faf4;
    border-left-color: #33cc33;
    box-shadow: 0 12px 28px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.faq-cta h3 { font-family: 'Poppins', sans-serif; font-size: 24px; font-weight: 600; margin: 0 0 10px 0; color: #1a202c; }
.faq-cta p  { font-size: 16px; color: #5a6472; margin: 0 0 25px 0; }

.faq-cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #ff0000;
    color: #fff !important;
    text-decoration: none;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.faq-cta-button:hover {
    background: #33cc33;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(51,204,51,0.35);
}

@media (max-width: 768px) {
    .smiley-faq-container { padding: 40px 20px; margin: 30px 15px; border-radius: 16px; }
    .faq-header h2        { font-size: 24px; }
    .faq-category-tabs    { flex-direction: column; }
    .faq-category-btn     { justify-content: center; }
    .faq-item-frontend:hover { transform: none; box-shadow: 0 4px 14px rgba(0,0,0,0.04); }
    .faq-question         { padding: 16px 18px; }
    .faq-question h3      { font-size: 15px; }
    .faq-item-frontend.active .faq-answer { padding: 0 15px 15px 15px; }
    .faq-answer p         { font-size: 14px; }
    .faq-cta              { padding: 30px 20px; }
    .faq-cta h3           { font-size: 20px; }
}