/* =========================================
   FAQ
========================================= */

.faq {
    padding: 90px 0 120px;
}


/* =========================================
   Header
========================================= */

.faq__header {
    max-width: 850px;
    margin: 0 auto 70px;
    text-align: center;
}

.faq__label {
    margin-bottom: 18px;

    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    opacity: 0.55;
}

.faq__title {
    margin: 0 0 24px;

    font-size: clamp(40px, 5vw, 68px);
    line-height: 1.05;
}

.faq__intro {
    max-width: 680px;
    margin: 0 auto;

    font-size: 18px;
    line-height: 1.7;
    opacity: 0.7;
}


/* =========================================
   FAQ list
========================================= */

.faq__list {
    max-width: 1000px;
    margin: 0 auto;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
}


/* =========================================
   FAQ item
========================================= */

.faq__item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}


/* =========================================
   Question
========================================= */

.faq__question {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) 35px;
    align-items: center;
    gap: 20px;

    padding: 30px 0;

    cursor: pointer;
    list-style: none;
}

.faq__question::-webkit-details-marker {
    display: none;
}

.faq__number {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    opacity: 0.45;
}

.faq__question-text {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.35;

    transition: opacity 0.25s ease;
}

.faq__question:hover .faq__question-text {
    opacity: 0.65;
}


/* =========================================
   Plus / Minus
========================================= */

.faq__icon {
    position: relative;

    width: 24px;
    height: 24px;
}

.faq__icon::before,
.faq__icon::after {
    content: "";

    position: absolute;

    top: 50%;
    left: 50%;

    width: 18px;
    height: 1px;

    background: currentColor;

    transform: translate(-50%, -50%);

    transition: transform 0.3s ease;
}

.faq__icon::after {
    transform:
        translate(-50%, -50%)
        rotate(90deg);
}

.faq__item[open] .faq__icon::after {
    transform:
        translate(-50%, -50%)
        rotate(0deg);
}


/* =========================================
   Answer animation
========================================= */

.faq__answer {
    display: grid;
    grid-template-rows: 0fr;

    transition:
        grid-template-rows 0.35s ease,
        opacity 0.35s ease;

    opacity: 0;
}

.faq__item[open] .faq__answer {
    grid-template-rows: 1fr;
    opacity: 1;
}

.faq__answer-inner {
    min-height: 0;
    overflow: hidden;

    max-width: 800px;

    padding-left: 90px;
    padding-bottom: 0;

    font-size: 17px;
    line-height: 1.75;
}

.faq__item[open] .faq__answer-inner {
    padding-bottom: 35px;
}


/* =========================================
   Answer typography
========================================= */

.faq__answer-inner p {
    margin: 0 0 18px;
}

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

.faq__answer-inner strong {
    font-weight: 700;
}

.faq__answer-inner ul,
.faq__answer-inner ol {
    margin: 15px 0 20px;
    padding-left: 25px;
}

.faq__answer-inner li {
    margin-bottom: 7px;
}


/* =========================================
   CTA
========================================= */

.faq__cta {
    max-width: 1000px;
    margin: 90px auto 0;

    padding: 55px;

    background: #f4f4f2;
}

.faq__cta-content {
    display: flex;
    justify-content: space-between;
    gap: 50px;
}

.faq__cta-label {
    margin-bottom: 10px;

    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.faq__cta-title {
    margin: 0 0 15px;

    font-size: 32px;
    line-height: 1.2;
}

.faq__cta-text {
    max-width: 550px;
    margin: 0 0 10px;

    font-size: 16px;
    line-height: 1.6;
}

.faq__cta-location {
    font-size: 15px;
    opacity: 0.65;
}

.faq__cta-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 10px;

    white-space: nowrap;
}

.faq__phone {
    font-size: 24px;
    font-weight: 600;
}

.faq__email {
    font-size: 15px;
}

.faq__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-top: 10px;
    padding: 14px 24px;

    font-size: 15px;
    font-weight: 600;

    background: #111;
    color: #fff;

    text-decoration: none;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.faq__button:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}


/* =========================================
   Mobile
========================================= */

@media (max-width: 768px) {

    .faq {
        padding: 60px 0 80px;
    }

    .faq__header {
        margin-bottom: 45px;
    }

    .faq__question {
        grid-template-columns: 35px minmax(0, 1fr) 25px;
        gap: 12px;

        padding: 23px 0;
    }

    .faq__question-text {
        font-size: 18px;
    }

    .faq__answer-inner {
        padding-left: 47px;

        font-size: 16px;
    }

    .faq__cta {
        margin-top: 60px;
        padding: 35px 25px;
    }

    .faq__cta-content {
        flex-direction: column;
        gap: 30px;
    }

    .faq__cta-contact {
        align-items: flex-start;
        white-space: normal;
    }

    .faq__phone {
        font-size: 21px;
    }

}