/* FAQ Section */

.service-faq {
    background-color: var(--color-light-gray);
}

.faq-layout {
    display: flex;
    align-items: flex-start;
    gap: 48px;
}

.faq-content {
    flex: 2;
}

.faq-list-wrapper {
    flex: 3;
}

/* FAQ List */

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* FAQ Item */

.faq-item {
    position: relative;
    background-color: var(--color-light-gray);
    border: 1px solid rgba(46, 46, 46, 0.12);
    transition:
        background-color 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

/* Active FAQ */

.faq-item.active {
    background-color: var(--color-black);
    border-color: var(--color-red);
}

/* FAQ Question */

.faq-question {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 42px;
    align-items: center;
    gap: 24px;
    padding: 24px 28px;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-heading);
}

/* Question Text */

.faq-question-text {
    font-family: var(--font-heading);
    font-size: 19px;
    line-height: 1.4;
    font-weight: var(--weight-bold);
    color: var(--color-black);
    transition: color 0.35s ease;
}

.faq-item.active .faq-question-text {
    color: var(--color-white);
}

/* FAQ Icon */

.faq-icon {
    position: relative;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-white);
    transition:
        background-color 0.35s ease,
        transform 0.35s ease;
}

.faq-icon span:first-child {
    position: absolute;
    width: 14px;
    height: 2px;
    background-color: var(--color-black);
    transition: background-color 0.35s ease;
}

.faq-icon span:last-child {
    position: absolute;
    width: 2px;
    height: 14px;
    background-color: var(--color-black);
    transition:
        transform 0.35s ease,
        background-color 0.35s ease;
}

.faq-item.active .faq-icon {
    background-color: var(--color-red);
}

.faq-item.active .faq-icon span {
    background-color: var(--color-white);
}

.faq-item.active .faq-icon span:last-child {
    transform: rotate(90deg);
}

/* FAQ Answer */

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.45s ease;
}

.faq-answer-inner {
    overflow: hidden;
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer-inner p {
    padding: 0 28px 28px 28px;
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
}

/* FAQ Hover */

.faq-item:not(.active):hover {
    background-color: rgba(233, 233, 233, 0.75);
    border-color: var(--color-red);
    box-shadow: 0 8px 24px rgba(26, 26, 26, 0.08);
}

.faq-item:not(.active):hover .faq-question-text {
    color: var(--color-red);
}

/* Reviews Section */

.global-review.review-slider {
    width: 90%;
    margin: 0 auto;
    padding: 100px 0;
    background: var(--color-white);
    overflow: hidden;
}

.global-review .reviews-inner {
    width: min(1280px, calc(100% - 40px));
    margin: 0 auto;
}

/* Reviews Heading */

.reviews-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-bottom: 55px;
}

.reviews-heading-content {
    max-width: 700px;
}

.reviews-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: var(--weight-bold);
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-red);
}

.reviews-eyebrow::before {
    content: "";
    width: 30px;
    height: 3px;
    background: var(--color-red);
    display: block;
}

.reviews-heading h2 {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: var(--weight-extrabold);
    line-height: 1.05;
    letter-spacing: -1px;
    color: var(--color-black);
}

.reviews-heading h2 span {
    color: var(--color-red);
}

/* Google Badge */

.reviews-google-badge {
    position: relative;
    display: flex;
    align-items: center;
    gap: 13px;
    flex-shrink: 0;
    min-width: 200px;
    padding: 15px 20px;
    background: var(--color-white);
    border: 1px solid var(--color-light-gray);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.reviews-google-badge::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--color-red);
}

.reviews-google-badge img {
    width: 60px;
    height: auto;
    object-fit: contain;
}

.reviews-google-badge div {
    display: flex;
    flex-direction: column;
}

.reviews-google-badge strong {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: var(--weight-bold);
    color: var(--color-black);
}

.reviews-google-badge span {
    margin-top: 3px;
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--color-dark-gray);
}

/* Review Slider */

.reviews-slider {
    position: relative;
    width: 100%;
}

.reviews-viewport {
    width: 100%;
    overflow: hidden;
}

.reviews-container {
    display: flex;
    align-items: stretch;
    margin-left: -12px;
    touch-action: pan-y pinch-zoom;
}

.review-slide {
    position: relative;
    flex: 0 0 33.333333%;
    padding-left: 12px;
    min-width: 0;
    box-sizing: border-box;
}

/* Review Card */

.review-card {
    position: relative;
    isolation: isolate;
    height: 390px;
    overflow: hidden;
    padding: 30px;
    background: var(--color-black);
    border: 1px solid var(--color-dark-gray);
    border-radius: 6px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.review-card:hover {
    transform: translateY(-7px);
    border-color: var(--color-red);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.20);
}

/* Review Decoration */

.review-card::after {
    content: "";
    position: absolute;
    right: -5px;
    bottom: -80px;
    width: 80px;
    height: 300px;
    z-index: 1;
    background: linear-gradient(115deg, transparent 0 47%, var(--color-dark-gray) 47% 53%, var(--color-red) 53% 72%, var(--color-black) 72%);
    pointer-events: none;
    transition: transform 0.4s ease;
}

.review-card:hover::after {
    transform: translate(-8px, -8px);
}

.review-card > * {
    position: relative;
    z-index: 3;
}

/* Review Customer */

.review-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 24px;
}

.review-customer {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
}

.review-avatar {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    border-radius: 50%;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-white);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.30);
}

.review-avatar-placeholder {
    background: var(--color-red);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: var(--weight-bold);
    border-color: var(--color-red);
}

/* Customer Info */

.review-customer-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.review-customer-info h3 {
    margin: 0;
    overflow: hidden;
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: var(--weight-bold);
    line-height: 1.2;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--color-white);
}

.review-customer-info span {
    margin-top: 6px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: var(--weight-regular);
    color: var(--color-light-gray);
}

/* Google Icon */

.review-google {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transition: transform 0.3s ease;
}

.review-card:hover .review-google {
    border: 0;
    transform: translateY(-2px);
}

.review-google img {
    width: 25px;
    height: 25px;
    object-fit: contain;
}

/* Review Rating */

.review-card .review-rating {
    position: relative;
    padding-top: 17px;
    margin-bottom: 18px;
}

.review-card .review-rating::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-red);
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 4px;
}

.review-rating > img:not(.review-verified) {
    width: 19px;
    height: 19px;
    object-fit: contain;
    flex: 0 0 19px;
}

.review-rating .review-verified {
    width: 20px;
    height: 20px;
    object-fit: contain;
    margin-left: 7px;
    flex: 0 0 20px;
}

/* Review Content */

.review-content {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 0;
    padding-top: 5px;
}

.review-text {
    margin: 0;
    font-family: var(--font-body);
    font-size: 15.5px;
    font-weight: var(--weight-regular);
    line-height: 1.7;
    color: var(--color-white);
    max-height: 220px;
    overflow-y: auto;
    padding-right: 12px;
    scrollbar-width: thin;
    scrollbar-color:
        var(--color-red)
        var(--color-dark-gray);
}

.review-text::-webkit-scrollbar {
    width: 4px;
}

.review-text::-webkit-scrollbar-track {
    background: var(--color-dark-gray);
}

.review-text::-webkit-scrollbar-thumb {
    background: var(--color-red);
}

.review-text::-webkit-scrollbar-thumb:hover {
    background: var(--color-light-gray);
}

.review-content::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 45px;
    height: 3px;
    background: var(--color-red);
    clip-path: polygon(
        0 0,
        100% 0,
        82% 100%,
        0 100%
    );
}

/* Review Arrows */

.reviews-arrow {
    position: absolute;
    top: 50%;
    z-index: 20;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--color-red);
    border-radius: 4px;
    background: var(--color-red);
    cursor: pointer;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.reviews-arrow:hover {
    background: var(--color-black);
    border-color: var(--color-black);
    transform:
        translateY(-50%)
        scale(1.06);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.20);
}

.reviews-prev {
    left: -24px;
}

.reviews-next {
    right: -24px;
}

.reviews-arrow span {
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--color-white);
    border-right: 2px solid var(--color-white);
    transition: border-color 0.3s ease;
}

.reviews-arrow:hover span {
    border-color: var(--color-white);
}

.reviews-prev span {
    transform: rotate(-135deg);
    margin-left: 4px;
}

.reviews-next span {
    transform: rotate(45deg);
    margin-right: 4px;
}

/* Review Dots */

.reviews-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 26px;
}

.reviews-dot {
    width: 9px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: var(--color-light-gray);
    cursor: pointer;
    transform: skewX(-20deg);
    transition:
        width 0.3s ease,
        background 0.3s ease,
        transform 0.3s ease;
}

.reviews-dot:hover {
    background: var(--color-dark-gray);
    transform:
        skewX(-20deg)
        scaleY(1.15);
}

.reviews-dot.is-active {
    width: 30px;
    height: 7px;
    background: var(--color-red);
    transform: skewX(-20deg);
}

/* Tablet */

@media (max-width: 1080px) {

    .faq-layout {
        flex-direction: column;
        gap: 40px;
    }

    .faq-content,
    .faq-list-wrapper {
        width: 100%;
    }

    .global-review.review-slider {
        padding: 80px 0;
    }

    .reviews-heading {
        margin-bottom: 40px;
    }

    .review-slide {
        flex: 0 0 50%;
    }

    .reviews-prev {
        left: -15px;
    }

    .reviews-next {
        right: -15px;
    }
}

/* Mobile */

@media (max-width: 768px) {

    .faq-question {
        grid-template-columns: 1fr 36px;
        gap: 14px;
        padding: 20px;
    }

    .faq-question-text {
        font-size: 17px;
    }

    .faq-icon {
        width: 34px;
        height: 34px;
    }

    .faq-answer-inner p {
        padding: 0 20px 24px 20px;
        font-size: 16px;
    }

    .global-review.review-slider {
        width: 90%;
        padding: 60px 0;
    }

    .global-review .reviews-inner {
        width: calc(100% - 30px);
    }

    .reviews-heading {
        flex-direction: column;
        gap: 25px;
        margin-bottom: 30px;
        align-items: flex-start;
    }

    .reviews-heading h2 {
        font-size: 34px;
        letter-spacing: -0.5px;
    }

    .reviews-google-badge {
        width: 100%;
        box-sizing: border-box;
    }

    .reviews-google-badge img {
        width: 48px;
        height: auto;
    }

    .reviews-container {
        margin-left: -8px;
    }

    .review-slide {
        flex: 0 0 100%;
        padding-left: 8px;
    }

    .review-card {
        height: 380px;
        padding: 27px 23px;
        border-radius: 5px;
    }

    .review-top {
        margin-bottom: 22px;
    }

    .review-avatar {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
    }

    .review-customer-info h3 {
        font-size: 16px;
    }

    .review-customer-info span {
        font-size: 11px;
    }

    .review-google {
        width: 36px;
        height: 36px;
    }

    .review-google img {
        width: 22px;
        height: 22px;
    }

    .review-card .review-rating {
        margin-bottom: 18px;
    }

    .review-text {
        font-size: 15px;
        line-height: 1.65;
        max-height: 220px;
    }

    .review-card::before {
        top: 6px;
        right: 13px;
        font-size: 58px;
    }

    .review-card::after {
        width: 110px;
        height: 110px;
        right: -5px;
        bottom: -5px;
    }

    .reviews-arrow {
        display: none;
    }

    .reviews-dots {
        margin-top: 22px;
        gap: 7px;
    }

    .reviews-dot {
        width: 8px;
        height: 7px;
    }

    .reviews-dot.is-active {
        width: 27px;
        height: 7px;
    }
}

/* Small Mobile */

@media (max-width: 600px) {

    .faq-question {
        grid-template-columns: 1fr 32px;
        gap: 10px;
        padding: 18px 16px;
    }

    .faq-question-text {
        font-size: 15px;
    }

    .faq-icon {
        width: 30px;
        height: 30px;
    }

    .faq-answer-inner p {
        padding: 0 16px 20px 16px;
        font-size: 15px;
    }

    .global-review .reviews-inner {
        width: calc(100% - 24px);
    }

    .review-card {
        height: 380px;
        padding: 24px 20px;
    }

    .review-avatar {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }

    .review-customer-info h3 {
        font-size: 16px;
    }

    .review-customer-info span {
        font-size: 10px;
    }

    .review-google {
        width: 34px;
        height: 34px;
    }

    .review-google img {
        width: 20px;
        height: 20px;
    }

    .review-text {
        font-size: 14.5px;
        line-height: 1.65;
    }

    .review-card::before {
        font-size: 52px;
        right: 11px;
    }

    .review-card::after {
        width: 90px;
        height: 90px;
    }

    .reviews-prev {
        left: -7px;
    }

    .reviews-next {
        right: -7px;
    }
}

/* Reduced Motion */

@media (prefers-reduced-motion: reduce) {

    .review-card,
    .review-card::before,
    .review-card::after,
    .review-google,
    .reviews-arrow,
    .reviews-dot {
        transition: none;
    }
}