/* =====================================================================
   PAGE MODULE — acerca-preguntas-frecuentes
   Extracted verbatim from inline <style> of: en/about/faqs.html, acerca/preguntas-frecuentes.html
   Design unchanged; loaded via `pageCss` front-matter.
   ===================================================================== */

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, 
        var(--primary-navy) 0%, 
        var(--primary-magenta) 60%, 
        var(--secondary-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* Hero Section */
.faq-hero {
    padding: 8rem 2rem 4rem;
    background: linear-gradient(135deg, #FAF9F6 0%, #F5F3F0 100%);
    text-align: center;
}

.faq-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-hero h1 {
    font-family: 'Quattrocento Sans', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: var(--primary-navy);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
}

.faq-hero h2 {
    font-family: 'Mirza', serif;
    font-weight: 500;
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1.5rem;
}

.faq-hero p {
    font-size: 1.25rem;
    color: var(--primary-navy);
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Search Box */
.faq-search {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.faq-search input {
    width: 100%;
    padding: 1.25rem 3.5rem 1.25rem 1.5rem;
    font-size: 1.1rem;
    border: 2px solid var(--secondary-teal);
    border-radius: 50px;
    font-family: 'Quattrocento Sans', sans-serif;
    transition: all 0.3s ease;
}

.faq-search input:focus {
    outline: none;
    border-color: var(--primary-magenta);
    box-shadow: 0 4px 20px rgba(166, 25, 99, 0.15);
}

.faq-search i {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-teal);
    font-size: 1.3rem;
}

/* Category Filter */
.category-filter {
    padding: 3rem 2rem;
    background: var(--white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.category-pills {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.category-pill {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(38, 49, 89, 0.05) 0%, rgba(23, 167, 175, 0.08) 100%);
    border: 2px solid transparent;
    border-radius: 25px;
    font-family: 'Quattrocento Sans', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-navy);
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-pill:hover,
.category-pill.active {
    background: var(--secondary-teal);
    color: var(--white);
    border-color: var(--secondary-teal);
}

/* FAQ Content */
.faq-content-section {
    padding: 4rem 2rem;
    background: var(--white);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Section Headers */
.faq-section-header {
    font-family: 'Mirza', serif;
    font-weight: 500;
    font-size: clamp(2rem, 5vw, 2.75rem);
    color: var(--primary-navy);
    margin: 3rem 0 2rem 0;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--secondary-teal);
}

.faq-section-header:first-child {
    margin-top: 0;
}

/* Accordion Items */
.faq-item {
    margin-bottom: 1.5rem;
    border-radius: 12px;
    border: 2px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--secondary-teal);
    box-shadow: 0 4px 20px rgba(23, 167, 175, 0.1);
}

.faq-question {
    padding: 1.5rem 4rem 1.5rem 1.5rem;
    background: linear-gradient(135deg, #FAF9F6 0%, #F5F3F0 100%);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.faq-question h3 {
    font-family: 'Mirza', serif;
    font-weight: 500;
    font-size: 1.35rem;
    color: var(--primary-navy);
    margin: 0;
    line-height: 1.4;
}

.faq-toggle {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--secondary-teal);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

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

.faq-answer-content a:hover {
    color: var(--primary-magenta);
}

/* CTA Section */
.faq-cta {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-dark-teal) 100%);
    text-align: center;
}

.faq-cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.faq-cta h3 {
    font-family: 'Mirza', serif;
    font-weight: 500;
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    color: var(--white);
    margin-bottom: 1.5rem;
}

.faq-cta p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 1.25rem 3rem;
    background: var(--secondary-orange);
    color: var(--white);
    font-family: 'Quattrocento Sans', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: 8px;
    border: 2px solid var(--secondary-orange);
    transition: all 0.3s ease;
    box-shadow: 0 4px 25px rgba(240, 147, 0, 0.4);
}

.cta-btn:hover,
.cta-btn:focus,
.cta-btn:active {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(240, 147, 0, 0.6) !important;
    background: #D88000 !important;
    border-color: #D88000 !important;
    color: var(--white) !important;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--secondary-teal);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(23, 167, 175, 0.3);
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-magenta);
    transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 900px) {
    .faq-hero {
        padding: 6rem 1.5rem 3rem;
    }
    
    .faq-hero h1 {
        font-size: 0.95rem;
    }
    
    .category-pills {
        gap: 0.75rem;
    }
    
    .category-pill {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .faq-question {
        padding-right: 3.5rem;
    }
    
    .faq-question h3 {
        font-size: 1.15rem;
    }
}
