﻿/* FAQ page redesign */

.faq-page {
    --faq-red: #B90F16;
    --faq-red-dark: #8a0c12;
    --faq-black: #050505;
    --faq-cream: #f6f2ea;
    --faq-border: rgba(0, 0, 0, 0.12);
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #111;
}

body:has(.faq-page) .tank-footer {
    margin-top: 0 !important;
}

.faq-hero {
    display: flex;
    align-items: center;
    min-height: 340px;
    background: var(--faq-black);
    border-top: 3px solid var(--faq-red);
    border-bottom: 3px solid var(--faq-red);
    padding: 88px 24px;
}

.faq-hero-inner {
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
}

.faq-hero-eyebrow {
    margin: 0 0 12px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--faq-red);
}

.faq-hero-title {
    margin: 0 0 14px;
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #fff;
}

.faq-hero-sub {
    margin: 0;
    max-width: 640px;
    font-size: 15px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.62);
}

.faq-main {
    background: var(--faq-cream);
    padding: 56px 24px 64px;
}

.faq-shell {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 0;
    max-width: 1480px;
    margin: 0 auto;
    border: 1px solid var(--faq-border);
    background: #fff;
    overflow: hidden;
}

.faq-categories {
    background: #ece7df;
    border-right: 1px solid var(--faq-border);
}

.faq-categories-label {
    margin: 0;
    padding: 22px 22px 14px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.5);
}

.faq-category-list {
    list-style: none;
    margin: 0;
    padding: 0 0 12px;
}

.faq-category-btn {
    display: block;
    width: 100%;
    padding: 16px 22px;
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background: transparent;
    color: #222;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.faq-category-btn:hover {
    background: rgba(255, 255, 255, 0.45);
}

.faq-category-btn.is-active {
    background: var(--faq-red-dark);
    color: #fff;
}

.faq-panels {
    background: #fff;
    min-height: 420px;
}

.faq-panel {
    display: none;
    padding: 28px 32px 32px;
}

.faq-panel.is-active {
    display: block;
}

.faq-panel-title {
    margin: 0 0 18px;
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    font-weight: 800;
    color: #111;
}

.faq-accordion {
    border-top: 1px solid var(--faq-border);
}

.faq-item {
    border-bottom: 1px solid var(--faq-border);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 18px 0;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
}

.faq-question-text {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
    color: #111;
}

.faq-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    background: #ececec;
    color: var(--faq-red);
    font-size: 16px;
    line-height: 1;
    transition: background 0.2s, color 0.2s;
}

.faq-item.is-open .faq-toggle {
    background: var(--faq-red);
    color: #fff;
}

.faq-answer {
    display: none;
    padding: 0 0 20px;
}

.faq-item.is-open .faq-answer {
    display: block;
}

.faq-answer p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(0, 0, 0, 0.62);
}

.faq-empty {
    padding: 48px 24px;
    text-align: center;
    color: rgba(0, 0, 0, 0.55);
}

.faq-cta {
    background: var(--faq-cream);
    padding: 0 24px 56px;
}

.faq-cta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    max-width: 1480px;
    margin: 0 auto;
    border: 1px solid var(--faq-border);
    overflow: hidden;
}

.faq-cta-card {
    padding: 36px 40px;
}

.faq-cta-card--light {
    background: #fff;
}

.faq-cta-card--dark {
    background: var(--faq-black);
}

.faq-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 18px;
    color: var(--faq-red);
    font-size: 18px;
}

.faq-cta-card--dark .faq-cta-icon {
    color: var(--faq-red);
}

.faq-cta-title {
    margin: 0 0 12px;
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    font-weight: 800;
    line-height: 1.2;
}

.faq-cta-card--light .faq-cta-title {
    color: #111;
}

.faq-cta-card--dark .faq-cta-title {
    color: #fff;
}

.faq-cta-text {
    margin: 0 0 24px;
    max-width: 460px;
    font-size: 14px;
    line-height: 1.65;
}

.faq-cta-card--light .faq-cta-text {
    color: rgba(0, 0, 0, 0.62);
}

.faq-cta-card--dark .faq-cta-text {
    color: rgba(255, 255, 255, 0.62);
}

.faq-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.faq-cta-btn--red {
    background: var(--faq-red-dark);
    color: #fff !important;
}

.faq-cta-btn--red:hover {
    background: var(--faq-red);
    color: #fff !important;
    text-decoration: none;
}

.faq-cta-btn--white {
    background: #fff;
    color: var(--faq-red-dark) !important;
}

.faq-cta-btn--white:hover {
    background: #f3f3f3;
    color: var(--faq-red-dark) !important;
    text-decoration: none;
}

@media (max-width: 991px) {
    .faq-shell {
        grid-template-columns: 1fr;
    }

    .faq-categories {
        border-right: none;
        border-bottom: 1px solid var(--faq-border);
    }

    .faq-category-list {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding: 0 16px 16px;
    }

    .faq-category-btn {
        width: auto;
        border: 1px solid rgba(0, 0, 0, 0.1);
        border-radius: 999px;
        padding: 10px 14px;
        font-size: 13px;
    }

    .faq-category-btn.is-active {
        border-color: var(--faq-red-dark);
    }

    .faq-panel {
        padding: 24px 20px 28px;
    }

    .faq-cta-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .faq-hero {
        min-height: 260px;
        padding: 56px 16px;
    }

    .faq-main {
        padding: 32px 16px 40px;
    }

    .faq-cta {
        padding: 0 16px 40px;
    }

    .faq-cta-card {
        padding: 28px 24px;
    }
}
