/* ===========================
   CSS OPTIMIZADO - FAQ
   Mobile First - Accordion Interactivo
   =========================== */

/* ===========================
   FAQ SECTION
   =========================== */
.faq-section {
    background: var(--white);
    width: 100%;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

@media (min-width: 1024px) {
    .faq-section {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
}

.faq-intro {
    text-align: center;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .faq-intro {
        margin-bottom: 4rem;
    }
}

.faq-intro h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

@media (min-width: 768px) {
    .faq-intro h2 {
        font-size: 2.5rem;
    }
}

.faq-intro p {
    font-size: 1rem;
    color: var(--gray);
}

@media (min-width: 768px) {
    .faq-intro p {
        font-size: 1.1rem;
    }
}

/* ===========================
   FAQ CATEGORIES
   =========================== */
.faq-category {
    margin-bottom: 3rem;
}

.faq-category-title {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (min-width: 768px) {
    .faq-category-title {
        font-size: 1.8rem;
        gap: 15px;
    }
}

.faq-category-title svg {
    flex-shrink: 0;
}

/* ===========================
   FAQ ITEMS (ACCORDION)
   =========================== */
.faq-item {
    background: var(--white);
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: 0 5px 15px var(--shadow);
}

.faq-question {
    padding: 1rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--light-gray);
    transition: var(--transition);
    gap: 1rem;
}

@media (min-width: 768px) {
    .faq-question {
        padding: 1.5rem;
    }
}

.faq-question:hover {
    background: #E8E8E8;
}

.faq-question h4 {
    font-size: 1rem;
    color: var(--dark-color);
    margin: 0;
    flex: 1;
}

@media (min-width: 768px) {
    .faq-question h4 {
        font-size: 1.1rem;
    }
}

.faq-question svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-item.active .faq-question {
    background: var(--primary-color);
    color: var(--white);
}

.faq-item.active .faq-question h4 {
    color: var(--white);
}

.faq-item.active .faq-question svg {
    fill: var(--white);
}

/* ===========================
   FAQ ANSWERS
   =========================== */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p,
.faq-answer ul {
    padding: 1.5rem;
    margin: 0;
    line-height: 1.8;
}

.faq-answer p {
    color: var(--dark-color);
    font-size: 0.95rem;
}

@media (min-width: 768px) {
    .faq-answer p {
        font-size: 1rem;
    }
}

.faq-answer ul {
    list-style: none;
    padding-left: 2rem;
}

.faq-answer li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
}

@media (min-width: 768px) {
    .faq-answer li {
        font-size: 1rem;
    }
}

.faq-answer li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.faq-answer li strong {
    color: var(--dark-color);
}

.faq-answer a {
    color: var(--primary-color);
    text-decoration: underline;
}

.faq-answer a:hover {
    color: var(--secondary-color);
}

/* ===========================
   CTA SECTION
   =========================== */
.cta-section {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    width: 100%;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

@media (min-width: 1024px) {
    .cta-section {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
}

.cta-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .cta-section h2 {
        font-size: 2.5rem;
    }
}

.cta-section p {
    font-size: 1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

@media (min-width: 768px) {
    .cta-section p {
        font-size: 1.2rem;
    }
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 0.95rem;
    text-decoration: none;
}

@media (min-width: 768px) {
    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

.btn-whatsapp {
    background: #0ccf26;
    color: var(--white);
}

/* ===========================
   FOOTER
   =========================== */
.footer {
    background: #4A3628;
    color: var(--white);
    width: 100%;
    padding-top: 3rem;
    padding-bottom: 1.5rem;
}

@media (min-width: 1024px) {
    .footer {
        padding-top: 4rem;
        padding-bottom: 2rem;
    }
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-column h4 {
    color: var(--auxiliar-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 150px;
    height: 150px;
}

.footer-logo h3 {
    color: var(--auxiliar-color);
    font-size: 1.5rem;
}

.footer-description {
    margin-bottom: 1rem;
    color: #CCC;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a {
    color: #CCC;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-hours {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-hours h5 {
    color: var(--auxiliar-color);
    margin-bottom: 0.5rem;
}

.footer-hours p {
    color: #CCC;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #AAA;
    font-size: 0.9rem;
}

/* ===========================
   SMOOTH SCROLL
   =========================== */
html {
    scroll-behavior: smooth;
}

/* ===========================
   ACCESIBILIDAD
   =========================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}