.falcon-faq-layout {
    display: grid;
    grid-template-columns: minmax(225px, 0.9fr) minmax(0, 3fr);
    align-items: start;
    gap: clamp(24px, 5vw, 84px);
    padding-block: clamp(28px, 4.6vw, 72px) clamp(36px, 5.4vw, 84px);
}

.falcon-faq-topics {
    padding: 18px;
    border: 1px solid #d7e5dc;
    border-radius: 18px;
    background: #f6faf7;
}

.falcon-faq-topics > p {
    margin: 0 0 12px;
    color: #193a2e;
    font-size: 0.875rem;
    font-weight: 700;
}

.falcon-faq-topics ul,
.falcon-faq-services ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.falcon-faq-topics ul {
    display: grid;
    gap: 6px;
}

.falcon-faq-topics li,
.falcon-faq-services li {
    margin: 0;
}

.falcon-faq-topics a {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 8px 10px;
    border: 1px solid transparent;
    border-radius: 7px;
    color: #234e3c;
    font-size: 0.875rem;
    font-weight: 650;
    line-height: 1.35;
    text-decoration: none;
}

.falcon-faq-topics li:first-child a {
    border-color: #c5ddcf;
    background: #e4f2e8;
    color: #0d532e;
}

.falcon-faq-topics a:hover {
    border-color: #93baa5;
    background: #fff;
    color: #0d532e;
}

.falcon-faq-group {
    scroll-margin-top: 104px;
}

.admin-bar .falcon-faq-group {
    scroll-margin-top: 146px;
}

.falcon-faq-group + .falcon-faq-group {
    margin-top: clamp(32px, 4vw, 56px);
    padding-top: clamp(24px, 3vw, 42px);
    border-top: 1px solid #d7e5dc;
}

.falcon-faq-group h2 {
    margin: 0 0 15px;
    color: #173c2d;
    font-size: clamp(1.5rem, 1.14rem + 1.25vw, 2.25rem);
    line-height: 1.19;
    letter-spacing: -0.025em;
}

.falcon-faq-intro {
    margin: -5px 0 19px;
    color: #466054;
    line-height: 1.55;
}

.falcon-faq-list {
    display: grid;
    gap: 8px;
}

.falcon-faq-list details {
    scroll-margin-top: 146px;
    border: 1px solid #d7e5dc;
    border-radius: 11px;
    background: #fff;
}

.falcon-faq-list details[open] {
    border-color: #a0c6b0;
    background: #f6faf7;
}

.falcon-faq-list summary {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    border-radius: 10px;
    color: #182e25;
    font-size: 1rem;
    font-weight: 680;
    line-height: 1.42;
    cursor: pointer;
    list-style: none;
}

.falcon-faq-list summary::-webkit-details-marker {
    display: none;
}

.falcon-faq-list summary:hover {
    background: #edf6ef;
}

.falcon-faq-sign {
    display: inline-grid;
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    place-items: center;
    border-radius: 50%;
    background: #e3f0e7;
    color: #205f40;
}

.falcon-faq-sign::before,
.falcon-faq-sign::after {
    grid-area: 1 / 1;
    background: currentColor;
    content: "";
}

.falcon-faq-sign::before {
    width: 10px;
    height: 2px;
}

.falcon-faq-sign::after {
    width: 2px;
    height: 10px;
}

.falcon-faq-list details[open] .falcon-faq-sign::after {
    display: none;
}

.falcon-faq-list details > p {
    max-width: 78ch;
    margin: 0;
    padding: 0 18px 17px 16px;
    color: #3f5c4e;
    line-height: 1.62;
}

.falcon-faq-services {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px 22px;
    margin-top: 18px;
    padding: clamp(16px, 2.2vw, 25px);
    border: 1px solid #c5ddcf;
    border-radius: 14px;
    background: #edf6ef;
}

.falcon-faq-services h3 {
    margin: 0;
    color: #173c2d;
    font-size: 1.125rem;
    line-height: 1.28;
}

.falcon-faq-services ul {
    display: flex;
    grid-column: 1 / -1;
    flex-wrap: wrap;
    gap: 4px 18px;
}

.falcon-faq-services li a {
    display: inline-block;
    padding: 7px 0;
    color: #145635;
    font-size: 0.875rem;
    font-weight: 650;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.falcon-faq-services .hh-btn,
.falcon-faq-contact .hh-btn {
    max-width: 100%;
    min-height: 44px;
    padding: 11px 18px;
    font-size: 0.875rem;
    text-align: center;
    white-space: normal;
}

.falcon-faq-layout :is(a, summary):focus-visible,
.falcon-faq-contact a:focus-visible {
    outline: 2px solid #176642;
    outline-offset: 3px;
}

.falcon-faq-contact.hh-section {
    padding-block: clamp(32px, 5vw, 74px);
}

.falcon-faq-contact h2 {
    font-size: clamp(1.65rem, 1.3rem + 1.35vw, 2.7rem);
}

@media (min-width: 821px) and (min-height: 630px) {
    .falcon-faq-topics {
        position: sticky;
        top: 104px;
    }

    .admin-bar .falcon-faq-topics {
        top: 146px;
    }
}

@media (max-width: 820px) {
    .falcon-faq-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .falcon-faq-topics {
        padding: 12px;
    }

    .falcon-faq-topics ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 580px) {
    .falcon-faq-services {
        grid-template-columns: minmax(0, 1fr);
    }

    .falcon-faq-services .hh-btn {
        justify-self: start;
    }

    .falcon-faq-services ul {
        gap: 2px 14px;
    }
}
