.faq-section {
    width: 100%;
}

.faq-section__inner {
    width: min(100% - 64px, 960px);
    margin-inline: auto;
}

/* ---- Accordion list ---- */
.faq-section__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ---- Individual item ---- */
.faq-section__item {
    border-bottom: 1px solid #ADADBA;
}

.faq-section__item:first-child {
    border-top: 1px solid #ADADBA;
}

/* ---- Trigger button ---- */
.faq-section__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 0;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 16px;
}

.faq-section__trigger:focus-visible {
    outline: 2px solid #4DBCBE;
    outline-offset: 2px;
    border-radius: 4px;
}

.faq-section__question {
    font-weight: 500;
    font-size: 1.25rem;
    line-height: 1.45;
    color: #1A1A35;
    margin: 0;
    flex: 1;
}

/* ---- Toggle icon ---- */
.faq-section__icon {
    flex-shrink: 0;
    width: 32px;
    height: 31px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.faq-section__icon::before,
.faq-section__icon::after {
    content: '';
    position: absolute;
    background-color: #1A1A35;
    border-radius: 2px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Horizontal bar */
.faq-section__icon::before {
    width: 18px;
    height: 2px;
}

/* Vertical bar (the "plus" part) */
.faq-section__icon::after {
    width: 2px;
    height: 18px;
}

/* When open: hide vertical bar to show minus */
.faq-section__item.is-open .faq-section__icon::after {
    opacity: 0;
    transform: rotate(90deg);
}

/* ---- Collapsible answer panel ---- */
.faq-section__panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.faq-section__item.is-open .faq-section__panel {
    grid-template-rows: 1fr;
}

.faq-section__panel-inner {
    overflow: hidden;
}

.faq-section__answer {
    font-weight: 400;
    line-height: 1.65;
    color: #4B4B6B;
    padding: 0 0 20px 0;
    margin: 0;
}

.faq-section__answer p {
    margin: 0 0 12px;
}

.faq-section__answer p:last-child {
    margin-bottom: 0;
}

/* ---- Responsive ---- */
@media (max-width: 992px) {
    .faq-section__inner {
        width: calc(100% - 48px);
    }
}

@media (max-width: 767px) {
    .faq-section__inner {
        width: calc(100% - 32px);
    }
}

@media (max-width: 576px) {
    .faq-section__inner {
        width: calc(100% - 24px);
    }
}