/**
 * Page FAQ Styles (DLG-EXEC Corporate)
 * TecniCoelho Theme
 */
/* ──────────────────────────────────────────────────────────────────────────
   CAPA 2 · PÁGINA | Alcance: page-faq.php (/faq) | Enqueue: page-faq-style
   SOLO deltas específicos del FAQ, scopeados bajo su raíz (.tc-faq-*).
   Shell, pills y botones compartidos viven en la Capa 0: base.css.
   ────────────────────────────────────────────────────────────────────────── */

/* [refactor] Shell oscuro de página consolidado en la Capa 0 (base.css + home.css). */

.tc-faq-page-wrapper {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    background: transparent !important;
    background-color: transparent !important;
    color: #F8FAFC;
    padding-bottom: 80px;
    font-family: var(--tc-font-body, 'Figtree', sans-serif);
}

/* Breadcrumb */
.tc-faq-breadcrumb {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(8, 16, 28, 0.4);
}
.tc-faq-breadcrumb-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--tc-color-text-secondary, #94A3B8);
}
.tc-faq-breadcrumb-list a {
    color: var(--tc-color-text-secondary, #94A3B8);
    text-decoration: none;
    transition: color 0.2s ease;
}
.tc-faq-breadcrumb-list a:hover {
    color: var(--tc-color-cyan, #25C8FF);
}
.tc-faq-breadcrumb-list .sep {
    opacity: 0.4;
}
.tc-faq-breadcrumb-list [aria-current="page"] {
    color: #FFFFFF;
    font-weight: 500;
}

/* Hero Section */
.tc-faq-hero {
    padding: clamp(48px, 6vw, 72px) 0 32px 0;
    text-align: center;
}
.tc-faq-hero-inner {
    max-width: 820px;
    margin: 0 auto;
}
.tc-faq-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 9999px;
    background: rgba(37, 200, 255, 0.1);
    border: 1px solid rgba(37, 200, 255, 0.25);
    color: var(--tc-color-cyan, #25C8FF);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.tc-faq-pill-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--tc-color-cyan, #25C8FF);
    box-shadow: 0 0 8px var(--tc-color-cyan, #25C8FF);
}
.tc-faq-hero-title {
    font-family: var(--tc-font-heading, 'Figtree', sans-serif);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0 0 16px 0;
    color: #FFFFFF !important;
}
.tc-faq-hero-subtitle {
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    color: #94A3B8 !important;
    line-height: 1.6;
    margin: 0 auto 36px auto;
    max-width: 680px;
}

/* Live Search Box */
.tc-faq-search-wrap {
    max-width: 580px;
    margin: 0 auto 32px auto;
    position: relative;
}
.tc-faq-search-input {
    width: 100%;
    padding: 14px 44px 14px 46px;
    background: rgba(12, 24, 44, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: #FFFFFF;
    font-size: 0.95rem;
    outline: none;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}
.tc-faq-search-input:focus {
    border-color: var(--tc-color-cyan, #25C8FF);
    box-shadow: 0 0 0 3px rgba(37, 200, 255, 0.2), 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}
.tc-faq-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--tc-color-text-secondary, #94A3B8);
    pointer-events: none;
}
.tc-faq-search-clear {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--tc-color-text-secondary, #94A3B8);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: color 0.2s ease, background 0.2s ease;
}
.tc-faq-search-clear:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.1);
}

/* Category Filter Tabs */
.tc-faq-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
}
.tc-faq-cat-btn {
    padding: 9px 18px;
    border-radius: 9999px;
    background: rgba(12, 24, 44, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--tc-color-text-secondary, #94A3B8);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.tc-faq-cat-btn:hover {
    background: rgba(12, 24, 44, 0.95);
    border-color: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
}
.tc-faq-cat-btn.active {
    background: var(--tc-color-cyan, #25C8FF);
    border-color: var(--tc-color-cyan, #25C8FF);
    color: #050B14;
    font-weight: 700;
    box-shadow: 0 0 16px rgba(37, 200, 255, 0.35);
}

/* Accordion Container */
.tc-faq-container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Accordion Card */
.tc-faq-card {
    background: rgba(12, 24, 44, 0.72);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
    margin-bottom: 14px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.tc-faq-card.open {
    border-color: var(--tc-color-cyan, #25C8FF);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}
.tc-faq-card-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    color: #FFFFFF;
    font-family: var(--tc-font-body, 'Figtree', sans-serif);
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}
.tc-faq-card-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--tc-color-cyan, #25C8FF);
    margin-bottom: 6px;
}
.tc-faq-card-q {
    display: block;
    line-height: 1.4;
    color: #FFFFFF;
}
.tc-faq-card-chevron {
    transition: transform 0.3s ease;
    color: var(--tc-color-cyan, #25C8FF);
    flex-shrink: 0;
    margin-top: 4px;
}
.tc-faq-card.open .tc-faq-card-chevron {
    transform: rotate(180deg);
}
.tc-faq-card-body {
    padding: 0 24px 22px 24px;
    color: var(--tc-color-text-secondary, #CBD5E1);
    font-size: 0.95rem;
    line-height: 1.65;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 16px;
}
.tc-faq-card-body p {
    margin: 0;
}

/* [purga refactor] Empty Search State (.tc-faq-empty*) eliminado: sin markup. */

/* Bottom CTA Card */
.tc-faq-bottom-cta {
    margin-top: 60px;
    background: linear-gradient(135deg, rgba(12, 24, 44, 0.9) 0%, rgba(8, 16, 28, 0.95) 100%);
    border: 1px solid rgba(37, 200, 255, 0.3);
    border-radius: 16px;
    padding: clamp(28px, 4vw, 40px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}
.tc-faq-bottom-cta-content h3 {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #FFFFFF;
}
.tc-faq-bottom-cta-content p {
    margin: 0;
    color: var(--tc-color-text-secondary, #94A3B8);
    font-size: 0.95rem;
    line-height: 1.5;
}
.tc-faq-bottom-cta-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    background: var(--tc-color-cyan, #25C8FF);
    color: #050B14;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tc-faq-bottom-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 200, 255, 0.4);
    color: #050B14;
}

@media (max-width: 768px) {
    .tc-faq-bottom-cta {
        flex-direction: column;
        align-items: flex-start;
    }
    .tc-faq-bottom-cta-btn {
        width: 100%;
        justify-content: center;
    }
    .tc-faq-categories {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 8px;
        flex-wrap: nowrap;
    }
}
