.faq-page {
    background: #f7f8fb;
    padding-top: 40px;
    padding-bottom: 70px;
}

.faq-hero {
    margin-bottom: 40px;
    text-align: center;
}

.faq-badge {
    display: inline-block;
    background: #d71920;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    padding: 8px 16px;
    border-radius: 999px;
    letter-spacing: .4px;
    text-transform: uppercase;
}

.faq-title {
    font-size: 42px;
    line-height: 1.1;
    font-weight: 800;
    color: #1f2d3d;
    margin: 0 0 14px 0;
    letter-spacing: -0.02em;
}

.faq-subtitle {
    max-width: 820px;
    margin: 0 auto;
    font-size: 24px;
    line-height: 1.45;
    color: #5f6f81;
    font-weight: 400;
}

.faq-section {
    margin-top: 40px;
}

.faq-section-title {
    font-size: 38px;
    line-height: 1.15;
    font-weight: 800;
    color: #2d3e50;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.faq-accordion {
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e7edf3;
    box-shadow: 0 10px 35px rgba(20, 35, 60, 0.06);
}

.faq-item {
    border: 0;
    border-bottom: 1px solid #e9eef4;
    background: #fff;
}

.faq-item:last-child {
    border-bottom: 0;
}

.faq-accordion-button,
.faq-accordion-button.collapsed,
.faq-item .accordion-button,
.faq-item .accordion-button.collapsed {
    background: #fff !important;
    color: #1f2d3d !important;
    font-size: 24px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    font-family: inherit !important;
    padding: 28px 70px 28px 28px !important;
    min-height: 96px;
    box-shadow: none !important;
    border: 0 !important;
    text-transform: none !important;
    letter-spacing: -0.01em !important;
}

.faq-item .accordion-button:not(.collapsed) {
    color: #0f2742 !important;
    background: #fcfdff !important;
}

.faq-item .accordion-button:focus {
    box-shadow: none !important;
    outline: none !important;
}

.faq-item .accordion-button::after {
    width: 18px;
    height: 18px;
    background-size: 18px;
    opacity: .75;
}

.faq-question-text {
    display: block;
    width: 100%;
    padding-right: 10px;
    font-size: inherit !important;
    line-height: inherit !important;
    font-weight: inherit !important;
    color: inherit !important;
}

.faq-answer {
    padding: 0 28px 30px 28px !important;
    font-size: 18px;
    line-height: 1.75;
    color: #5b6777;
    background: #fff;
}

.faq-answer p {
    margin-bottom: 16px;
}

.faq-answer ul,
.faq-answer ol {
    margin-bottom: 16px;
    padding-left: 22px;
}

.faq-answer li {
    margin-bottom: 8px;
}

.faq-contact-box {
    margin-top: 50px;
    padding: 34px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #e4ebf2;
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(20, 35, 60, 0.06);
}

.faq-contact-box h2 {
    font-size: 30px;
    line-height: 1.2;
    font-weight: 800;
    color: #23384d;
    margin-bottom: 10px;
}

.faq-contact-box p {
    margin: 0;
    font-size: 18px;
    line-height: 1.65;
    color: #627487;
}

.faq-search-wrap {
    margin-bottom: 26px;
}

.faq-search-wrap .form-control {
    height: 64px;
    border-radius: 14px;
    border: 1px solid #d9e3ec;
    padding: 0 20px;
    font-size: 18px;
    color: #1f2d3d;
    background: #fff;
    box-shadow: none;
}

.faq-search-wrap .form-control:focus {
    border-color: #9bb8d3;
    box-shadow: 0 0 0 4px rgba(73, 130, 180, 0.10);
}

@media (max-width: 991px) {
    .faq-title {
        font-size: 34px;
    }

    .faq-subtitle {
        font-size: 20px;
    }

    .faq-section-title {
        font-size: 30px;
    }

    .faq-accordion-button,
    .faq-accordion-button.collapsed,
    .faq-item .accordion-button,
    .faq-item .accordion-button.collapsed {
        font-size: 20px !important;
        min-height: 84px;
        padding: 22px 60px 22px 22px !important;
    }

    .faq-answer {
        font-size: 17px;
        padding: 0 22px 24px 22px !important;
    }
}

@media (max-width: 575px) {
    .faq-page {
        padding-top: 25px;
        padding-bottom: 50px;
    }

    .faq-title {
        font-size: 28px;
    }

    .faq-subtitle {
        font-size: 18px;
    }

    .faq-section-title {
        font-size: 24px;
    }

    .faq-accordion-button,
    .faq-accordion-button.collapsed,
    .faq-item .accordion-button,
    .faq-item .accordion-button.collapsed {
        font-size: 18px !important;
        line-height: 1.35 !important;
        min-height: 72px;
        padding: 18px 52px 18px 18px !important;
    }

    .faq-answer {
        font-size: 16px;
        line-height: 1.7;
        padding: 0 18px 20px 18px !important;
    }

    .faq-contact-box {
        padding: 24px;
    }

    .faq-contact-box h2 {
        font-size: 24px;
    }

    .faq-contact-box p {
        font-size: 16px;
    }
}