/* FAQ Page Styles - Matching Blog Design */

/* FAQ Hero Section - EXACT SAME AS BLOG */
.faq-hero-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    padding: 120px var(--space-lg) var(--space-2xl);
}

.faq-hero-section .hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-2xl) var(--space-lg);
    text-align: center;
}

.faq-hero-section .hero-badge,
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-md);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    color: var(--brand-light);
    font-size: 0.875rem;
    font-weight: 500;
    backdrop-filter: var(--glass-blur);
    margin-bottom: var(--space-lg);
}

.faq-hero-section .hero-title,
.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-hero-section .title-primary,
.faq-hero-section .title-secondary,
.faq-hero-section .title-accent,
.title-primary,
.title-secondary,
.title-accent {
    display: block;
}

.faq-hero-section .title-accent,
.title-accent {
    color: var(--yellow-custom);
    -webkit-text-fill-color: var(--yellow-custom);
    text-shadow: 0 0 32px rgba(239, 183, 45, 0.5);
}

.faq-hero-section .lead-text,
.hero-description .lead-text,
.lead-text {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.faq-hero-section .highlight,
.hero-description .highlight,
.highlight {
    color: var(--brand-light);
    font-weight: 600;
}

/* FAQ Container - Same as blog */
.faq-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-4xl) var(--space-lg);
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: 80vh;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--space-xl);
    width: 100%;
}

/* Segunda sección FAQ */
.faq-container-second {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-4xl) var(--space-lg);
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 80vh;
}

/* Header de sección adicional */
.faq-section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.faq-section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    align-items: center;
}

.faq-section-title .title-primary {
    color: var(--text-primary);
}

.faq-section-title .title-accent {
    color: var(--yellow-custom);
    -webkit-text-fill-color: var(--yellow-custom);
    text-shadow: 0 0 32px rgba(239, 183, 45, 0.5);
}

.faq-section-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

.faq-section-subtitle .highlight {
    color: var(--brand-light);
    font-weight: 600;
}

/* FAQ Cards - EXACT SAME STYLE AS BLOG CARDS */
.faq-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    backdrop-filter: var(--glass-blur);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    position: relative;
    overflow: hidden;
}

.faq-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-8px);
    border-color: var(--brand-light);
    box-shadow: var(--shadow-brand);
}

/* Alternating card styles like blog */
.faq-card:nth-child(odd) {
    border-color: var(--brand-primary);
}

.faq-card:nth-child(even) {
    border-color: var(--yellow-custom);
}

.faq-card:nth-child(odd):hover {
    border-color: var(--brand-light);
    box-shadow: var(--shadow-brand);
}

.faq-card:nth-child(even):hover {
    border-color: var(--yellow-custom);
    box-shadow: 0 8px 32px rgba(239, 183, 45, 0.3);
}

/* FAQ Icon - Like blog badges */
.faq-icon {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-sm);
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-xl);
    font-size: 1rem;
    font-weight: 500;
    box-shadow: var(--shadow-brand);
    width: fit-content;
    align-self: flex-start;
}

/* Alternating icon colors */
.faq-card:nth-child(even) .faq-icon {
    background: linear-gradient(135deg, var(--yellow-custom) 0%, var(--accent-orange) 100%);
    box-shadow: 0 8px 32px rgba(239, 183, 45, 0.3);
}

.faq-content {
    flex: 1;
}

/* FAQ Title - Like blog card titles */
.faq-title {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.faq-card:hover .faq-title {
    color: var(--brand-light);
    text-shadow: 0 0 16px rgba(185, 147, 234, 0.6);
}

.faq-card:nth-child(even):hover .faq-title {
    color: var(--yellow-custom);
    text-shadow: 0 0 16px rgba(239, 183, 45, 0.6);
}

/* FAQ Text - Like blog card descriptions */
.faq-text {
    color: var(--text-secondary);
    line-height: 1.5;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    font-size: 0.95rem;
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
    margin: 0;
}

.faq-text a {
    color: var(--brand-light);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.faq-text a:hover {
    color: var(--yellow-custom);
    text-shadow: 0 0 8px rgba(239, 183, 45, 0.4);
}

/* Responsive Design - EXACT SAME AS BLOG */
@media (max-width: 1024px) {
    .faq-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: var(--space-lg);
    }
    
    .faq-card {
        padding: var(--space-lg);
    }
}

@media (max-width: 768px) {
    .faq-hero-section {
        padding: 80px var(--space-md) var(--space-xl);
    }

    .faq-hero-section .hero-content {
        padding: var(--space-xl) var(--space-md);
    }

    .faq-hero-section .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .faq-hero-section .lead-text {
        font-size: 1.1rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .faq-container {
        padding: var(--space-2xl) var(--space-md);
        min-height: 60vh;
    }

    .faq-container-second {
        padding: var(--space-2xl) var(--space-md);
        min-height: 60vh;
    }

    .faq-section-title {
        font-size: clamp(1.75rem, 6vw, 2rem);
    }

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

    .faq-card {
        padding: var(--space-lg);
    }

    .faq-title {
        font-size: 1.25rem;
    }

    .faq-text {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .faq-hero-section {
        padding: 60px var(--space-sm) var(--space-lg);
    }

    .faq-hero-section .hero-badge {
        padding: var(--space-xs) var(--space-sm);
        font-size: 0.75rem;
    }

    .faq-container {
        padding: var(--space-xl) var(--space-sm);
        min-height: auto;
    }

    .faq-container-second {
        padding: var(--space-xl) var(--space-sm);
        min-height: auto;
    }

    .faq-section-header {
        margin-bottom: var(--space-xl);
    }

    .faq-section-title {
        font-size: clamp(1.5rem, 7vw, 1.75rem);
    }

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

    .faq-card {
        padding: var(--space-md);
        gap: var(--space-md);
    }

    .faq-title {
        font-size: 1.1rem;
    }

    .faq-text {
        font-size: 0.9rem;
    }

    .faq-grid {
        gap: var(--space-md);
    }
}