/* Shared FAQ appearance and motion for Home, Services and city pages. */
.home-faq__list {
    display: grid;
    max-width: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    column-gap: clamp(24px, 4vw, 60px);
    margin: 0 auto;
}

.home-faq__column {
    min-width: 0;
    border-top: 1px solid #e1eaf0;
}

.home-faq__item {
    border-bottom: 1px solid #e1eaf0;
}

.home-faq__item summary {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 13px;
    padding: 19px 4px;
    color: #173a55;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 680;
    line-height: 1.45;
    list-style: none;
}

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

.home-faq__number {
    color: #1184a8;
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.04em;
}

.home-faq__toggle {
    position: relative;
    display: block;
    width: 16px;
    height: 16px;
    justify-self: end;
}

.home-faq__toggle::before,
.home-faq__toggle::after {
    position: absolute;
    top: 7px;
    left: 2px;
    width: 12px;
    height: 2px;
    border-radius: 2px;
    background: #1385a7;
    content: "";
}

.home-faq__toggle::after {
    transform: rotate(90deg);
    transition: transform 160ms ease;
}

.home-faq__item[open] .home-faq__toggle::after {
    transform: rotate(0);
}

.home-faq__item summary:focus-visible {
    border-radius: 5px;
    outline: 3px solid #8ed0df;
    outline-offset: 2px;
}

.home-faq__answer {
    --home-faq-answer-padding-bottom: 19px;
    padding: 0 40px 19px 59px;
}

[data-site-faq].is-enhanced .home-faq__answer {
    box-sizing: border-box;
    height: 0;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    transition: height 240ms ease, padding-bottom 240ms ease;
}

.home-faq__answer p {
    max-width: 820px;
    margin: 0;
    color: #5b6e7e;
    font-size: 0.94rem;
    line-height: 1.72;
}

@media (max-width: 767.98px) {
    .home-faq__list {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 575.98px) {
    .home-faq__item summary {
        grid-template-columns: 30px minmax(0, 1fr) 20px;
        gap: 8px;
        padding: 16px 0;
        font-size: 0.94rem;
    }

    .home-faq__answer {
        --home-faq-answer-padding-bottom: 17px;
        padding: 0 20px 17px 38px;
    }

    [data-site-faq].is-enhanced .home-faq__answer {
        transition-duration: 220ms;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-faq__toggle::after,
    [data-site-faq].is-enhanced .home-faq__answer {
        transition-duration: 0.01ms;
    }
}
