/* ==========================================================================
   COMPONENT: FAQ
   Case Studies page overrides
   ========================================================================== */

body.page-template-page-case-studies .faq-item {
    border-bottom: 1px solid var(--border-ghost);
    margin-bottom: 8px;
    transition: border-color var(--transition-smooth);
}

body.page-template-page-case-studies .faq-item:hover {
    border-bottom-color: rgba(232, 80, 2, 0.3);
}

body.page-template-page-case-studies .faq-question {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.06rem;
    font-weight: 600;
    padding: 19px 0;
    width: 100%;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    letter-spacing: -0.01em;
    transition: color var(--transition-smooth);
}

body.page-template-page-case-studies .faq-question:hover {
    color: var(--accent-light);
}

body.page-template-page-case-studies .faq-question span {
    font-size: 1.35rem;
    color: var(--accent);
    transition: transform var(--transition-bounce);
    font-weight: 300;
}

body.page-template-page-case-studies .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.38s ease, padding 0.38s ease;
    color: var(--text-muted);
    font-size: 0.94rem;
    padding: 0 16px;
    line-height: 1.7;
}

body.page-template-page-case-studies .faq-answer.open {
    max-height: 200px;
    padding: 4px 16px 20px;
}

/* ==========================================================================
   COMPONENT: Footer
   Premium dark footer with multi-column layout.
   ========================================================================== */

.site-footer {
    background: var(--bg-deep);
    border-top: 1px solid var(--border-ghost);
    padding: 80px 0 0;
    color: var(--text-muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}

.footer-about p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a,
.footer-col ul li {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--accent-light);
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-mid);
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: all 0.3s;
    text-decoration: none;
}

.social-links a:hover {
    color: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 12px rgba(232,80,2,0.2);
}

.footer-bottom {
    border-top: 1px solid var(--border-ghost);
    padding: 30px 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}