/* =========================================================
   WISHWAA INTERIOR DESIGNING
   FAQ SECTION
   File: wishwaa-faq.css
   ========================================================= */


/* =========================================================
   VARIABLES
   ========================================================= */

:root {
    --wsh-faq-blue: #0755A5;
    --wsh-faq-blue-dark: #063B73;

    --wsh-faq-gold: #B88A4A;
    --wsh-faq-gold-light: #D2AD72;

    --wsh-faq-black: #171717;
    --wsh-faq-text: #222222;
    --wsh-faq-muted: #6D6D6D;

    --wsh-faq-white: #FFFFFF;
    --wsh-faq-light: #F7F5F0;

    --wsh-faq-border: #E4E0D8;

    --wsh-container: 1380px;
}


/* =========================================================
   MAIN SECTION
   ========================================================= */

.wsh-faq-section {
    position: relative;

    width: 100%;

    padding: 105px 0 100px;

    background: #FFFFFF;

    overflow: hidden;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.wsh-faq-container {
    width: calc(100% - 80px);

    max-width: var(--wsh-container);

    margin: 0 auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.wsh-faq-header {
    display: grid;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(320px, 0.85fr);

    align-items: end;

    gap: 80px;

    margin-bottom: 60px;
}


/* =========================================================
   EYEBROW
   ========================================================= */

.wsh-faq-eyebrow {
    position: relative;

    display: inline-flex;
    align-items: center;

    margin-bottom: 18px;

    padding-left: 45px;

    color: var(--wsh-faq-blue);

    font-family: "DM Sans", sans-serif;

    font-size: 11px;

    font-weight: 700;

    line-height: 1.3;

    letter-spacing: 2.5px;

    text-transform: uppercase;
}


.wsh-faq-eyebrow::before {
    content: "";

    position: absolute;

    left: 0;
    top: 50%;

    width: 32px;
    height: 1px;

    background: var(--wsh-faq-gold);

    transform: translateY(-50%);
}


/* =========================================================
   HEADING
   ========================================================= */

.wsh-faq-heading h2 {
    margin: 0;

    color: var(--wsh-faq-black);

    font-family: "DM Sans", sans-serif;

    font-size: clamp(38px, 4vw, 58px);

    font-weight: 500;

    line-height: 1.08;

    letter-spacing: -1.8px;
}


.wsh-faq-heading h2 span {
    display: block;

    color: var(--wsh-faq-blue);
}


/* =========================================================
   INTRO
   ========================================================= */

.wsh-faq-intro {
    max-width: 480px;

    justify-self: end;
}


.wsh-faq-intro p {
    margin: 0;

    color: var(--wsh-faq-muted);

    font-family: "DM Sans", sans-serif;

    font-size: 16px;

    font-weight: 400;

    line-height: 1.8;
}


/* =========================================================
   MAIN FAQ LAYOUT
   ========================================================= */

.wsh-faq-layout {
    display: grid;

    grid-template-columns:
        minmax(300px, 0.72fr)
        minmax(0, 1.28fr);

    gap: 85px;

    align-items: start;
}


/* =========================================================
   LEFT INFORMATION PANEL
   ========================================================= */

.wsh-faq-side {
    position: sticky;

    top: 120px;

    padding: 36px 36px 38px;

    background: var(--wsh-faq-blue);

    color: var(--wsh-faq-white);
}


/* =========================================================
   SIDE NUMBER
   ========================================================= */

.wsh-faq-side-number {
    margin-bottom: 30px;

    color: rgba(255, 255, 255, 0.17);

    font-family: "DM Sans", sans-serif;

    font-size: 72px;

    font-weight: 600;

    line-height: 0.8;

    letter-spacing: -3px;
}


/* =========================================================
   SIDE LABEL
   ========================================================= */

.wsh-faq-side-label {
    display: block;

    margin-bottom: 16px;

    color: var(--wsh-faq-gold-light);

    font-family: "DM Sans", sans-serif;

    font-size: 10px;

    font-weight: 700;

    line-height: 1.4;

    letter-spacing: 2px;

    text-transform: uppercase;
}


/* =========================================================
   SIDE HEADING
   ========================================================= */

.wsh-faq-side h3 {
    margin: 0;

    color: var(--wsh-faq-white);

    font-family: "DM Sans", sans-serif;

    font-size: 32px;

    font-weight: 500;

    line-height: 1.15;

    letter-spacing: -0.7px;
}


.wsh-faq-side h3 span {
    display: block;

    color: var(--wsh-faq-gold-light);
}


/* =========================================================
   SIDE DESCRIPTION
   ========================================================= */

.wsh-faq-side > p {
    margin: 20px 0 28px;

    color: rgba(255, 255, 255, 0.68);

    font-family: "DM Sans", sans-serif;

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================================
   SIDE BUTTON
   ========================================================= */

.wsh-faq-side-button {
    display: inline-flex;

    align-items: center;

    justify-content: space-between;

    gap: 22px;

    min-height: 52px;

    padding: 0 18px;

    border: 1px solid rgba(210, 173, 114, 0.65);

    color: var(--wsh-faq-white);

    text-decoration: none;

    font-family: "DM Sans", sans-serif;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.2px;

    transition:
        background 0.3s ease,
        border-color 0.3s ease;
}


.wsh-faq-side-button:hover {
    background: var(--wsh-faq-gold);

    border-color: var(--wsh-faq-gold);

    color: var(--wsh-faq-white);
}


.wsh-faq-side-button i {
    color: var(--wsh-faq-gold-light);

    transition: transform 0.3s ease;
}


.wsh-faq-side-button:hover i {
    color: var(--wsh-faq-white);

    transform: translateX(4px);
}


/* =========================================================
   FAQ LIST
   ========================================================= */

.wsh-faq-list {
    width: 100%;
}


/* =========================================================
   FAQ ITEM
   ========================================================= */

.wsh-faq-item {
    position: relative;

    border-top: 1px solid var(--wsh-faq-border);
}


.wsh-faq-item:last-child {
    border-bottom: 1px solid var(--wsh-faq-border);
}


/* =========================================================
   FAQ QUESTION BUTTON
   ========================================================= */

.wsh-faq-question {
    position: relative;

    width: 100%;

    min-height: 88px;

    display: grid;

    grid-template-columns: 48px minmax(0, 1fr) 38px;

    align-items: center;

    gap: 18px;

    padding: 18px 0;

    border: 0;

    background: transparent;

    color: var(--wsh-faq-text);

    text-align: left;

    font-family: "DM Sans", sans-serif;

    cursor: pointer;

    appearance: none;
}


/* =========================================================
   FAQ NUMBER
   ========================================================= */

.wsh-faq-number {
    color: var(--wsh-faq-gold);

    font-family: "DM Sans", sans-serif;

    font-size: 11px;

    font-weight: 700;

    line-height: 1;

    letter-spacing: 1px;
}


/* =========================================================
   QUESTION TEXT
   ========================================================= */

.wsh-faq-question-text {
    display: block;

    color: var(--wsh-faq-text);

    font-family: "DM Sans", sans-serif;

    font-size: 17px;

    font-weight: 600;

    line-height: 1.5;

    transition: color 0.3s ease;
}


.wsh-faq-question:hover
.wsh-faq-question-text {
    color: var(--wsh-faq-blue);
}


/* =========================================================
   FAQ ICON
   ========================================================= */

.wsh-faq-icon {
    width: 34px;
    height: 34px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid var(--wsh-faq-border);

    color: var(--wsh-faq-blue);

    font-size: 11px;

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease,
        transform 0.35s ease;
}


.wsh-faq-icon i {
    transition: transform 0.35s ease;
}


/* =========================================================
   ACTIVE QUESTION
   ========================================================= */

.wsh-faq-item.active
.wsh-faq-question-text {
    color: var(--wsh-faq-blue);
}


.wsh-faq-item.active
.wsh-faq-icon {
    background: var(--wsh-faq-blue);

    border-color: var(--wsh-faq-blue);

    color: var(--wsh-faq-white);
}


.wsh-faq-item.active
.wsh-faq-icon i {
    transform: rotate(45deg);
}


/* =========================================================
   ANSWER
   ========================================================= */

.wsh-faq-answer {
    display: grid;

    grid-template-rows: 0fr;

    transition:
        grid-template-rows 0.4s ease;
}


.wsh-faq-answer p {
    min-height: 0;

    overflow: hidden;

    margin: 0;

    padding: 0 56px 0 66px;

    color: #666666;

    font-family: "DM Sans", sans-serif;

    font-size: 15px;

    font-weight: 400;

    line-height: 1.8;

    opacity: 0;

    transition:
        opacity 0.3s ease,
        padding 0.4s ease;
}


/* =========================================================
   ACTIVE ANSWER
   ========================================================= */

.wsh-faq-item.active
.wsh-faq-answer {
    grid-template-rows: 1fr;
}


.wsh-faq-item.active
.wsh-faq-answer p {
    padding-bottom: 28px;

    opacity: 1;
}


/* =========================================================
   LARGE LAPTOP
   ========================================================= */

@media (max-width: 1200px) {

    .wsh-faq-container {
        width: calc(100% - 60px);
    }

    .wsh-faq-header {
        gap: 55px;
    }

    .wsh-faq-layout {
        gap: 55px;
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .wsh-faq-section {
        padding: 85px 0;
    }

    .wsh-faq-container {
        width: calc(100% - 40px);
    }

    .wsh-faq-header {
        grid-template-columns: 1fr;

        gap: 20px;

        margin-bottom: 45px;
    }

    .wsh-faq-intro {
        justify-self: start;

        max-width: 650px;
    }

    .wsh-faq-layout {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .wsh-faq-side {
        position: relative;

        top: auto;

        max-width: 700px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .wsh-faq-section {
        padding: 70px 0;
    }

    .wsh-faq-container {
        width: calc(100% - 24px);
    }


    /* Header */

    .wsh-faq-header {
        gap: 18px;

        margin-bottom: 38px;
    }

    .wsh-faq-eyebrow {
        margin-bottom: 15px;

        padding-left: 38px;

        font-size: 10px;

        letter-spacing: 2px;
    }

    .wsh-faq-eyebrow::before {
        width: 27px;
    }

    .wsh-faq-heading h2 {
        font-size: 35px;

        line-height: 1.12;

        letter-spacing: -1px;
    }

    .wsh-faq-intro p {
        font-size: 15px;

        line-height: 1.7;
    }


    /* Side */

    .wsh-faq-layout {
        gap: 35px;
    }

    .wsh-faq-side {
        padding: 30px 25px 31px;
    }

    .wsh-faq-side-number {
        margin-bottom: 25px;

        font-size: 58px;
    }

    .wsh-faq-side h3 {
        font-size: 29px;
    }

    .wsh-faq-side > p {
        font-size: 13px;
    }

    .wsh-faq-side-button {
        width: 100%;

        box-sizing: border-box;
    }


    /* FAQ */

    .wsh-faq-question {
        min-height: 78px;

        grid-template-columns: 32px minmax(0, 1fr) 34px;

        gap: 10px;

        padding: 16px 0;
    }

    .wsh-faq-number {
        font-size: 10px;
    }

    .wsh-faq-question-text {
        font-size: 15px;

        line-height: 1.45;
    }

    .wsh-faq-icon {
        width: 30px;
        height: 30px;

        font-size: 10px;
    }

    .wsh-faq-answer p {
        padding: 0 0 0 42px;

        font-size: 14px;

        line-height: 1.75;
    }

    .wsh-faq-item.active
    .wsh-faq-answer p {
        padding-bottom: 23px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .wsh-faq-section {
        padding: 60px 0;
    }

    .wsh-faq-container {
        width: calc(100% - 20px);
    }

    .wsh-faq-heading h2 {
        font-size: 31px;
    }

    .wsh-faq-intro p {
        font-size: 14px;
    }

    .wsh-faq-side {
        padding: 27px 20px 28px;
    }

    .wsh-faq-side h3 {
        font-size: 26px;
    }

    .wsh-faq-question {
        grid-template-columns: 27px minmax(0, 1fr) 30px;

        gap: 8px;
    }

    .wsh-faq-question-text {
        font-size: 14px;
    }

    .wsh-faq-answer p {
        padding-left: 35px;

        font-size: 13.5px;
    }

    .wsh-faq-icon {
        width: 28px;
        height: 28px;
    }

}