/* FAQ section */
.faq-one {
    position: relative;
    padding: 110px 0 100px;
    background: var(--elton-bg-SlateGray);
    overflow: hidden;
}

.faq-one::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 38%;
    height: 100%;
    background: var(--elton-primarylight);
    z-index: 0;
}

.faq-one .container {
    position: relative;
    z-index: 1;
}

.faq-one-title-box {
    padding-right: 36px;
}

.faq-one-title-box .section-title-text {
    margin-top: 22px;
}

.faq-one-title-box .section-title-text p {
    color: var(--elton-secondary);
    line-height: 30px;
}

.faq-one-btn {
    margin-top: 30px;
    border-radius: 5px;
}

.faq-one-list {
    display: grid;
    gap: 18px;
}

.faq-one-item {
    background: var(--elton-light);
    border: 1px solid var(--elton-border-LightGray);
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(18, 18, 18, 0.07);
    overflow: hidden;
}

.faq-one-item summary {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 74px;
    padding: 20px 70px 20px 28px;
    color: var(--elton-dark);
    font-family: var(--elton-font-Manrope);
    font-size: 20px;
    font-weight: 700;
    line-height: 30px;
    cursor: pointer;
    list-style: none;
}

.faq-one-item summary::-webkit-details-marker {
    display: none;
}

.faq-one-item summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 24px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--elton-primary);
    color: var(--elton-light);
    font-family: var(--elton-font-Manrope);
    font-size: 26px;
    font-weight: 600;
    line-height: 32px;
    text-align: center;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.faq-one-item[open] summary {
    color: var(--elton-primary);
}

.faq-one-item[open] summary::after {
    content: "-";
    background: var(--elton-bg-dark);
}

.faq-one-item p {
    margin: 0;
    padding: 0 28px 24px;
    color: var(--elton-secondary);
    font-family: var(--elton-font-Inter);
    font-size: 16px;
    line-height: 28px;
}

@media (max-width: 1199px) {
    .faq-one {
        padding: 90px 0;
    }

    .faq-one::before {
        width: 100%;
        height: 42%;
        opacity: 0.65;
    }

    .faq-one-title-box {
        padding-right: 0;
        margin-bottom: 44px;
    }
}

@media (max-width: 767px) {
    .faq-one {
        padding: 70px 0 80px;
    }

    .faq-one-title-box {
        margin-bottom: 34px;
    }

    .faq-one-item summary {
        min-height: 66px;
        padding: 18px 58px 18px 20px;
        font-size: 18px;
        line-height: 27px;
    }

    .faq-one-item summary::after {
        right: 18px;
        width: 30px;
        height: 30px;
        font-size: 23px;
        line-height: 28px;
    }

    .faq-one-item p {
        padding: 0 20px 22px;
        font-size: 15px;
        line-height: 27px;
    }
}

@media (max-width: 420px) {
    .faq-one-item summary {
        font-size: 17px;
        line-height: 25px;
    }
}

/* Service details FAQ */
.services-details-faq {
    margin-top: 42px;
}

.services-details-faq-list {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.services-details-faq-item {
    background: var(--elton-light);
    border: 1px solid var(--elton-border-LightGray);
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(18, 18, 18, 0.06);
    overflow: hidden;
}

.services-details-faq-item summary {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 66px;
    padding: 18px 62px 18px 22px;
    color: var(--elton-dark);
    font-family: var(--elton-font-Manrope);
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
    cursor: pointer;
    list-style: none;
}

.services-details-faq-item summary::-webkit-details-marker {
    display: none;
}

.services-details-faq-item summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 20px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--elton-primary);
    color: var(--elton-light);
    font-family: var(--elton-font-Manrope);
    font-size: 23px;
    font-weight: 600;
    line-height: 28px;
    text-align: center;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.services-details-faq-item[open] summary {
    color: var(--elton-primary);
}

.services-details-faq-item[open] summary::after {
    content: "-";
    background: var(--elton-bg-dark);
}

.services-details-faq-item p {
    margin: 0;
    padding: 0 22px 22px;
    color: var(--elton-secondary);
    font-family: var(--elton-font-Inter);
    font-size: 16px;
    line-height: 28px;
}

@media (max-width: 767px) {
    .services-details-faq {
        margin-top: 34px;
    }

    .services-details-faq-list {
        gap: 12px;
        margin-top: 18px;
    }

    .services-details-faq-item summary {
        min-height: 60px;
        padding: 16px 54px 16px 18px;
        font-size: 16px;
        line-height: 25px;
    }

    .services-details-faq-item summary::after {
        right: 16px;
        width: 28px;
        height: 28px;
        font-size: 21px;
        line-height: 26px;
    }

    .services-details-faq-item p {
        padding: 0 18px 20px;
        font-size: 15px;
        line-height: 26px;
    }
}
