/* =========================================================
   RP SKY POOL - FAQ PAGE
========================================================= */

.rp-faq-page {
    background: #ffffff;
    color: #071830;
}


/* =========================================================
   HERO
========================================================= */

.faq-hero {
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #071830;
}

.faq-hero-bg {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            90deg,
            rgba(7, 24, 48, .94) 0%,
            rgba(7, 24, 48, .78) 42%,
            rgba(7, 24, 48, .35) 100%
        ),
        url("../img/project/Luxury Resort Infinity Pool-2.jpg");

    background-size: cover;
    background-position: center;
}

.faq-hero .container {
    position: relative;
    z-index: 2;
}

.faq-hero-content {
    max-width: 760px;
    padding: 100px 0;
}

.faq-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 22px;

    color: #d4af37;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.faq-eyebrow::before {
    content: "";
    width: 38px;
    height: 1px;
    background: #d4af37;
}

.faq-hero h1 {
    margin: 0 0 24px;

    color: #ffffff;

    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -2px;
}

.faq-hero h1 span {
    display: block;
    color: #d4af37;
}

.faq-hero p {
    max-width: 650px;

    margin: 0;

    color: rgba(255, 255, 255, .82);

    font-size: 17px;
    line-height: 1.8;
}


/* =========================================================
   INTRO
========================================================= */

.faq-intro {
    padding: 110px 0 80px;
}

.faq-intro-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 100px;
    align-items: start;
}

.faq-section-label {
    display: block;

    margin-bottom: 18px;

    color: #b08a22;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
}

.faq-intro-heading h2 {
    margin: 0;

    color: #071830;

    font-size: clamp(36px, 4vw, 52px);
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -1.5px;
}

.faq-intro-heading h2 span {
    display: block;
    color: #b08a22;
}

.faq-intro-text {
    padding-top: 30px;
}

.faq-intro-text p {
    margin: 0 0 20px;

    color: #657080;

    font-size: 16px;
    line-height: 1.9;
}

.faq-intro-text p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   FAQ SECTION
========================================================= */

.faq-section {
    padding: 40px 0 120px;
}

.faq-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 80px;
    align-items: start;
}


/* =========================================================
   SIDEBAR
========================================================= */

.faq-sidebar {
    position: sticky;
    top: 120px;

    padding: 28px;

    background: #f5f8fb;
    border: 1px solid #e6ebf1;
}

.faq-sidebar-title {
    padding-bottom: 22px;
    margin-bottom: 12px;

    border-bottom: 1px solid #dfe5eb;
}

.faq-sidebar-title span {
    display: block;

    margin-bottom: 8px;

    color: #b08a22;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.faq-sidebar-title h3 {
    margin: 0;

    color: #071830;

    font-size: 20px;
    font-weight: 600;
}

.faq-category-link {
    display: block;

    padding: 14px 0;

    border-bottom: 1px solid #e3e8ed;

    color: #566273;

    font-size: 13px;
    line-height: 1.5;

    transition:
        color .25s ease,
        padding-left .25s ease;
}

.faq-category-link:last-child {
    border-bottom: 0;
}

.faq-category-link:hover,
.faq-category-link.active {
    padding-left: 7px;
    color: #b08a22;
}


/* =========================================================
   FAQ GROUP
========================================================= */

.faq-group {
    scroll-margin-top: 120px;
}

.faq-group + .faq-group {
    margin-top: 85px;
}

.faq-group-heading {
    display: flex;
    align-items: flex-start;
    gap: 22px;

    padding-bottom: 25px;
    margin-bottom: 5px;

    border-bottom: 1px solid #dfe5eb;
}

.faq-group-heading > span {
    flex: 0 0 auto;

    color: #d4af37;

    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
}

.faq-group-heading small {
    display: block;

    margin-bottom: 7px;

    color: #9a7a28;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.faq-group-heading h2 {
    margin: 0;

    color: #071830;

    font-size: 30px;
    line-height: 1.2;
    font-weight: 600;
}


/* =========================================================
   FAQ ITEM
========================================================= */

.faq-item {
    border-bottom: 1px solid #dfe5eb;
}

.faq-question {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    padding: 25px 0;

    border: 0;
    background: transparent;

    color: #14243a;

    text-align: left;
    cursor: pointer;

    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
}

.faq-question i {
    flex: 0 0 28px;

    width: 28px;
    height: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #cfd7df;
    border-radius: 50%;

    color: #9a7a28;

    font-size: 18px;
    font-style: normal;
    font-weight: 400;

    transition:
        transform .3s ease,
        background .3s ease,
        color .3s ease;
}

.faq-question:hover {
    color: #9a7a28;
}

.faq-item.is-open .faq-question i {
    transform: rotate(45deg);

    background: #d4af37;
    border-color: #d4af37;

    color: #ffffff;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;

    transition: max-height .35s ease;
}

.faq-answer p {
    max-width: 800px;

    padding: 0 55px 25px 0;
    margin: 0;

    color: #697687;

    font-size: 15px;
    line-height: 1.85;
}


/* =========================================================
   CTA
========================================================= */

.faq-cta {
    position: relative;

    padding: 115px 0;

    overflow: hidden;

    background: #071830;
}

.faq-cta-bg {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            90deg,
            rgba(7, 24, 48, .96),
            rgba(7, 24, 48, .78)
        ),
        url("../img/project/Twilight Luxury Infinity Pool Retreat.jpg");

    background-size: cover;
    background-position: center;
}

.faq-cta .container {
    position: relative;
    z-index: 2;
}

.faq-cta-content {
    max-width: 720px;
}

.faq-cta-content > span {
    display: block;

    margin-bottom: 18px;

    color: #d4af37;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
}

.faq-cta-content h2 {
    margin: 0 0 20px;

    color: #ffffff;

    font-size: clamp(38px, 4.5vw, 58px);
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -1.5px;
}

.faq-cta-content h2 strong {
    color: #d4af37;
    font-weight: 600;
}

.faq-cta-content p {
    max-width: 620px;

    margin: 0 0 32px;

    color: rgba(255, 255, 255, .75);

    font-size: 16px;
    line-height: 1.8;
}

.faq-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 18px;

    padding: 15px 23px;

    background: #d4af37;

    color: #071830;

    font-size: 13px;
    font-weight: 700;
    text-decoration: none;

    transition:
        transform .25s ease,
        background .25s ease;
}

.faq-cta-button span {
    font-size: 19px;
    line-height: 1;
}

.faq-cta-button:hover {
    transform: translateY(-3px);
    background: #e3c45d;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .faq-intro-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .faq-intro-text {
        padding-top: 0;
    }

    .faq-layout {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .faq-sidebar {
        position: static;

        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0 25px;
    }

    .faq-sidebar-title {
        grid-column: 1 / -1;
    }

    .faq-category-link {
        padding: 13px 0;
    }

}


@media (max-width: 700px) {

    .faq-hero {
        min-height: 500px;
    }

    .faq-hero-content {
        padding: 80px 0;
    }

    .faq-hero h1 {
        font-size: 43px;
        letter-spacing: -1px;
    }

    .faq-hero p {
        font-size: 15px;
        line-height: 1.7;
    }

    .faq-intro {
        padding: 75px 0 45px;
    }

    .faq-intro-heading h2 {
        font-size: 38px;
    }

    .faq-section {
        padding: 30px 0 80px;
    }

    .faq-sidebar {
        display: block;
    }

    .faq-sidebar-title {
        margin-bottom: 5px;
    }

    .faq-group + .faq-group {
        margin-top: 65px;
    }

    .faq-group-heading {
        gap: 15px;
    }

    .faq-group-heading h2 {
        font-size: 25px;
    }

    .faq-question {
        gap: 15px;
        padding: 21px 0;
        font-size: 15px;
    }

    .faq-answer p {
        padding-right: 10px;
        font-size: 14px;
    }

    .faq-cta {
        padding: 80px 0;
    }

    .faq-cta-content h2 {
        font-size: 40px;
    }

}