/* ==========================================
   Salon FAQ Accordion - full CSS
   ========================================== */
.se-faq {
    --faq-cut: 24px;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    background-color: #EFE3D2;
    padding: 100px 24px 120px;
    font-family: inherit;
}

.se-faq *,
.se-faq *::before,
.se-faq *::after {
    box-sizing: border-box;
}

/* ---------- Header ---------- */
.se-faq__head {
    text-align: center;
    margin: 0 auto 64px;
    max-width: 1350px;
}

.se-faq__title {
    margin: 0 0 20px;
    font-size: clamp(32px, 3.4vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    color: #6B4A3A;
    white-space: normal;
    overflow-wrap: anywhere;
}

.se-faq__subtitle {
    margin: 0;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: #39332C;
    white-space: normal;
    overflow-wrap: anywhere;
}

/* ---------- List ---------- */
.se-faq__list {
    max-width: 1350px;
    min-width: 0;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.se-faq__item {
    min-width: 0;
    max-width: 100%;
    background: transparent;
}

.se-faq__q-wrap {
    min-width: 0;
    max-width: 100%;
    margin: 0;
    padding: 0;
    font-size: inherit;
    font-weight: inherit;
}

/* ---------- Question bar ---------- */
.se-faq__q {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 80px;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 24px;
    padding: 0 0 0 30px;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: #FFFFFF;
    cursor: pointer;
    text-align: left;
    color: #6B4A3A;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: normal;
    white-space: normal;          /* theme ka nowrap override */
    box-shadow: none;
    transition: background-color .3s ease, color .3s ease;
}

.se-faq__q:hover {
    color: #541F32;
}

.se-faq__q:focus-visible {
    outline: 2px solid #B79C69;
    outline-offset: 2px;
}

.se-faq__q-text {
    flex: 1 1 0;
    min-width: 0;                 /* text shrink ho sake, icon ko push na kare */
    align-self: center;
    padding: 16px 0;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
}

/* ---------- Gold icon box (diagonal cut at bottom-left) ---------- */
.se-faq__icon {
    flex: 0 0 94px;
    width: 94px;
    min-width: 94px;
    flex-shrink: 0;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #B79C69;
    color: #FFFFFF;
    font-size: 24px;
    line-height: 1;
    clip-path: polygon(0 0, 100% 0, 100% 100%, var(--faq-cut) 100%, 0 calc(100% - var(--faq-cut)));
    transition: background-color .3s ease;
}

.se-faq__icon i {
    font-size: inherit;
    line-height: 1;
    color: inherit;
}

.se-faq__icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.se-faq__icon-open {
    display: none;
}

.se-faq__item.is-open .se-faq__icon-closed {
    display: none;
}

.se-faq__item.is-open .se-faq__icon-open {
    display: inline-flex;
}

/* Agar alag "open" icon select nahi hai to single icon 180deg ghoomta hai */
.se-faq__icon.is-rotate .se-faq__icon-closed {
    display: inline-flex;
    transition: transform .3s ease;
}

.se-faq__item.is-open .se-faq__icon.is-rotate .se-faq__icon-closed {
    display: inline-flex;
    transform: rotate(180deg);
}

/* ---------- Answer (smooth height animation) ---------- */
.se-faq__a {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .35s ease;
}

.se-faq__item.is-open .se-faq__a {
    grid-template-rows: 1fr;
}

.se-faq__a-inner {
    overflow: hidden;
    min-height: 0;
}

.se-faq__a-content {
    padding: 24px 150px 36px 48px;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: #39332C;
    background: transparent;
    overflow-wrap: break-word;
}

.se-faq__a-content p {
    margin: 0 0 1em;
}

.se-faq__a-content p:last-child {
    margin-bottom: 0;
}

/* ==========================================
   Tablet
   ========================================== */
@media (max-width: 1024px) {
    .se-faq {
        padding: 80px 24px 90px;
    }

    .se-faq__title {
        font-size: 44px;
    }

    .se-faq__q {
        min-height: 70px;
        padding-left: 32px;
        font-size: 20px;
        gap: 16px;
    }

    .se-faq__q-text {
        padding: 14px 0;
    }

    .se-faq__icon {
        flex: 0 0 76px;
        width: 76px;
        min-width: 76px;
        font-size: 20px;
        --faq-cut: 18px;
    }

    .se-faq__a-content {
        padding: 20px 40px 28px 32px;
        font-size: 17px;
    }
}

/* ==========================================
   Mobile
   ========================================== */
@media (max-width: 767px) {
    .se-faq {
        padding: 60px 16px 70px;
    }

    .se-faq__head {
        margin-bottom: 40px;
    }

    .se-faq__title {
        font-size: clamp(24px, 7.5vw, 32px);
        line-height: 1.15;
    }

    .se-faq__subtitle {
        font-size: 16px;
    }

    .se-faq__list {
        gap: 16px;
    }

    .se-faq__q {
        min-height: 64px;
        padding-left: 20px;
        font-size: 17px;
        gap: 12px;
    }

    .se-faq__q-text {
        padding: 12px 0;
    }

    .se-faq__icon {
        flex: 0 0 56px;
        width: 56px;
        min-width: 56px;
        font-size: 16px;
        --faq-cut: 14px;
    }

    .se-faq__a-content {
        padding: 16px 20px 24px;
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .se-faq * {
        transition: none !important;
    }
}