/* ==================================================
   1. FAQ HERO
================================================== */

.faq-hero {
    position: relative;
    background:
        linear-gradient(
            rgba(20,30,50,.62),
            rgba(20,30,50,.62)
        ),
        url("images/faq_hero2.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: var(--ns-white);

    min-height: 520px;
    padding: 110px 0;

    display: flex;
    align-items: center;
    text-align: center;
}

.faq-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.faq-label {
    display: inline-block;
    color: var(--ns-red);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 14px;
}

.faq-hero h1 {
    color: var(--ns-white);
    font-size: 54px;
    line-height: 1.08;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 34px;
}

.faq-hero-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.faq-hero .btn-secondary {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.faq-hero .btn-secondary:hover {
    background: #fff;
    color: var(--ns-blue);
}

/* RESPONSIVE  */

@media (max-width:900px){
    .faq-hero{
        min-height:460px;
        padding:90px 0;
    }

    .faq-hero h1{
        font-size:40px;
    }
}

@media (max-width:650px){
    .faq-hero{
        min-height:430px;
        padding:80px 0;
    }

    .faq-hero h1{
        font-size:34px;
    }

    .faq-hero-buttons{
        flex-direction:column;
    }

    .faq-hero-buttons a{
        width:100%;
    }
}

/* ==================================================
   2. FAQ CONTENT
================================================== */

.faq-section {
    background: var(--ns-light);
    padding: 100px 0;
}

.faq-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 78px;
}

.faq-category:last-child {
    margin-bottom: 0;
}

.faq-category-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 34px;
}

.faq-category-header h2 {
    color: var(--ns-blue);
    font-size: 38px;
    line-height: 1.15;
    margin-bottom: 0;
}

/* FAQ accordion */

.faq-list {
    display: grid;
    gap: 16px;
}

.faq-item {
    background: var(--ns-white);
    border-radius: 12px;
    box-shadow: 0 10px 26px rgba(0,0,0,.08);
    overflow: hidden;
}

.faq-item summary {
    position: relative;
    list-style: none;
    cursor: pointer;

    padding: 24px 64px 24px 28px;

    color: var(--ns-blue);
    font-size: 17px;
    font-weight: 650;
    line-height: 1.35;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);

    color: var(--ns-red);
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    padding: 0 28px 26px;
    color: #4f5d8c;
    font-size: 16px;
    line-height: 1.65;
}

/* Responsive */

@media (max-width: 700px) {
    .faq-section {
        padding: 70px 0;
    }

    .faq-category {
        margin-bottom: 58px;
    }

    .faq-category-header h2 {
        font-size: 32px;
    }

    .faq-item summary {
        font-size: 16px;
        padding: 22px 58px 22px 22px;
    }

    .faq-item p {
        padding: 0 22px 24px;
        font-size: 15px;
    }
}

/* ==================================================
   3. FINAL CTA
================================================== */

.faq-cta {
    background:
        linear-gradient(
            rgba(255,255,255,.35),
            rgba(255,255,255,.35)
        ),
        url("images/cta_background.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    padding: 110px 0 90px;
    text-align: center;
}

.faq-cta-content {
    max-width: 900px;
    margin: 0 auto;
    transform: translateY(-20px);
}

.faq-cta h2 {
    color: var(--ns-blue);
    font-size: 52px;
    line-height: 1.1;
    margin-bottom: 34px;
}

.faq-cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}

.faq-cta-buttons .btn-primary,
.faq-cta-buttons .btn-secondary {
    min-width: 220px;
}

/* ==================================================
   RESPONSIVE CTA
================================================== */

@media (max-width: 900px) {

    .faq-cta h2 {
        font-size: 42px;
    }

}

@media (max-width: 650px) {

    .faq-cta {
        padding: 80px 0;
    }

    .faq-cta-content {
        transform: none;
    }

    .faq-cta h2 {
        font-size: 34px;
    }

    .faq-cta-buttons {
        flex-direction: column;
    }

    .faq-cta-buttons a {
        width: 100%;
    }

}