.companies-faq {
    padding: clamp(40px, 6vw, 80px) 0;
    margin-bottom: clamp(40px, 6vw, 80px);
    background: #fff;
    color: #1d1d1f;
}

.companies-faq .section-header {
    max-width: 960px;
    margin: 0 auto 32px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.companies-faq .section-icon {
    width: clamp(36px, 5vw, 64px);
    height: auto;
    flex-shrink: 0;
}

.companies-faq h2 {
    margin: 0;
    font-size: clamp(24px, 3vw, 40px);
    font-weight: 700;
    line-height: 1.2;
}

.companies-faq__list {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}

.companies-faq__item {
    background: #fff;
    border: 1px solid #e9e9ec;
    border-radius: 16px;
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.companies-faq__item:hover {
    border-color: #cfcfd4;
}

.companies-faq__item[open] {
    border-color: #dcdce1;
    box-shadow: 0 8px 28px rgba(29, 29, 31, .06);
}

.companies-faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 26px;
    list-style: none;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.45;
}

.companies-faq__item summary::-webkit-details-marker {
    display: none;
}

.companies-faq__item summary::after {
    content: '';
    flex: 0 0 9px;
    width: 9px;
    height: 9px;
    border-right: 2px solid #77777f;
    border-bottom: 2px solid #77777f;
    transform: rotate(45deg);
}

.companies-faq__item[open] summary::after {
    transform: rotate(225deg);
}

.companies-faq__item summary:hover,
.companies-faq__item[open] summary {
    color: #48484f;
}

.companies-faq__item summary:focus-visible {
    outline: 2px solid #77777f;
    outline-offset: -5px;
    border-radius: 16px;
}

.companies-faq__answer {
    padding: 0 26px 24px;
}

.companies-faq__answer::before {
    content: '';
    display: block;
    height: 1px;
    margin-bottom: 18px;
    background: linear-gradient(to right, #dcdce1, rgba(220, 220, 225, 0));
}

.companies-faq__answer p {
    margin: 0 0 12px;
    font-size: 16px;
    line-height: 1.7;
    text-align: left;
}

.companies-faq__answer p:last-child {
    margin-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
    .companies-faq__item {
        transition: none;
    }
}

@media (max-width: 575px) {
    .companies-faq__item summary {
        padding: 18px;
        font-size: 16px;
    }

    .companies-faq__answer {
        padding: 0 18px 20px;
    }
}
