/* =====================================================
   FAQ Block
   ===================================================== */

.faq-block {
    background: #fff;
    padding: 64px 0;
    overflow: hidden;
}

.faq-block .container {
    padding-left: 109px;
    padding-right: 109px;
}

/* Two-column layout: image left, card right (overlap) */
.faq-block__layout {
    display: flex;
    align-items: flex-start;
    position: relative;
}

.faq-block__image-col {
    width: 599px;
    flex-shrink: 0;
    align-self: stretch;
    position: relative;
    overflow: hidden;
    max-height: 645px;
}

.faq-block__image-col img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 64px);
    object-fit: cover;
}

/* Card overlaps the image by 184px (599 - 415 = 184) */
.faq-block__card {
    flex: 1;
    background: #f9f3ec;
    padding: 64px;
    margin-left: -184px;
    margin-top: 64px;
    position: relative;
    z-index: 1;
}

/* =====================================================
   Card header
   ===================================================== */

.faq-block__header {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    text-align: center;
    margin-bottom: 48px;
}

.faq-block__label {
    font-family: 'Work Sans', sans-serif;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #000;
    margin: 0;
}

.faq-block__title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-style: italic;
    font-size: 38px;
    line-height: 46px;
    margin: 0;
    max-width: 506px;
}

/* =====================================================
   Accordion list
   ===================================================== */

.faq-block__list {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.faq-block__item {
    border-top: 1px solid #000;
}

.faq-block__item:last-child {
    border-bottom: 1px solid #000;
}

.faq-block__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    background: none;
    border: none;
    padding: 16px 16px 16px 0;
    cursor: pointer;
    text-align: left;
}

.faq-block__question-text {
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    color: #000;
    flex: 1;
}

.faq-block__icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
}

.faq-block__icon-plus {
    display: block;
}

.faq-block__icon-minus {
    display: none;
}

.faq-block__item.is-open .faq-block__icon-plus {
    display: none;
}

.faq-block__item.is-open .faq-block__icon-minus {
    display: block;
}

/* Answer panel */
.faq-block__answer {
    display: none;
    padding-bottom: 16px;
    padding-right: 16px;
}

.faq-block__answer-text {
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 20px;
    color: #000;
    margin: 0;
}

/* =====================================================
   Responsive — tablet (< 1200px)
   ===================================================== */

@media (max-width: 1199px) {
    .faq-block {
        padding: 0;
    }

    .faq-block .container {
        padding-left: 50px;
        padding-right: 50px;
    }

    .faq-block__layout {
        flex-direction: column;
    }

    .faq-block__image-col {
        order: 2;
        width: calc(100% + 100px);
        margin-left: -50px;
        align-self: auto;
        max-height: none;
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .faq-block__image-col img {
        height: 100%;
        max-height: none;
    }

    .faq-block__card {
        order: 1;
        margin-left: 0;
        margin-top: 0;
        width: 100%;
        padding: 48px;
        margin-bottom: -152px;
    }

    .faq-block__header {
        gap: 16px;
    }

    .faq-block__label {
        font-size: 18px;
        letter-spacing: 1.8px;
    }

    .faq-block__title {
        font-size: 26px;
        line-height: 46px;
    }
}

/* =====================================================
   Responsive — mobile (< 768px)
   ===================================================== */

@media (max-width: 767px) {
    .faq-block .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .faq-block__image-col {
        width: calc(100% + 32px);
        margin-left: -16px;
        aspect-ratio: 1 / 1;
    }

    .faq-block__card {
        padding: 48px 24px;
        margin-bottom: -126px;
    }

    .faq-block__header {
        margin-bottom: 32px;
    }

    .faq-block__title {
        font-size: 26px;
        line-height: 36px;
    }
}
