/* FAQ + Team — الصفحة الرئيسية (متناسق مع amartil-airbnb) */

.home-faq-team {
    font-family: var(--ab-font, 'Poppins', sans-serif);
    color: var(--ab-text, #222);
}

.home-faq-team .container {
    max-width: 95%;
    margin: 0 auto;
}

/* ─── FAQ ─── */
.mp-faq {
    padding: 3rem 0 2.5rem;
    background: transparent;
}

.mp-faq-title {
    font-weight: 100;
    color: var(--ab-text, #222);
    margin: 0 0 2rem;
    font-size: 3rem;
    text-align: center;
}

.mp-faq .mp-faq-wrapper {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.25rem;
    align-items: start;
}

.mp-faq .mp-faq-item {
    background: var(--ab-bg, #fff);
    border-radius: var(--ab-radius-lg, 16px);
    box-shadow: var(--ab-shadow-sm);
    border: 1px solid var(--ab-border-light, #ebebeb);
    transition: box-shadow 0.25s, border-color 0.25s;
}

.mp-faq .mp-faq-item:hover {
    box-shadow: var(--ab-shadow-md);
    border-color: rgba(255, 120, 0, 0.2);
}

.mp-faq .mp-faq-question {
    font-size: 2.02rem;
    font-weight: normal;
    padding: 1.1rem 3rem 1.1rem 1.25rem;
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    margin: 0;
    line-height: 1.45;
}

.mp-faq .mp-faq-question::after {
    font-size: 2.02rem;
    font-weight: normal;
    padding: 1.1rem 3rem 1.1rem 1.25rem;
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    margin: 0;
    line-height: 1.45;
}

.mp-faq .mp-faq-question.active::after {
    transform: rotate(45deg);
}

.mp-faq .mp-faq-answercont {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.mp-faq .mp-faq-answer {
    line-height: 1.75;
    padding: 0px 1.25rem 1.25rem;
    font-size: 1.95rem;
    color: #070060;
    font-weight: 500;
}

.mp-faq .mp-faq-answer a {
    color: var(--ab-accent, #ff7800);
    text-decoration: none;
    font-weight: 600;
}

.mp-faq .mp-faq-answer a:hover {
    text-decoration: underline;
}

@media (max-width: 790px) {
    .mp-faq .mp-faq-wrapper {
        grid-template-columns: 1fr;
        width: 100%;
    }
}

/* ─── Team ─── */
.mp-team {
    padding: 0.5rem 0 3rem;
    background: transparent;
    overflow: hidden;
    position: relative;
}

.mp-team-title {
    font-weight: 100;
    color: var(--ab-text, #222);
    margin: 0 0 2rem;
    font-size: 3rem;
    text-align: center;
}

.mp-team-swiper {
    overflow: hidden;
    padding: 0.5rem 0 2.5rem;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.mp-team-swiper::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    background: linear-gradient(
        to right,
        rgba(247, 247, 247, 0.85) 0%,
        rgba(247, 247, 247, 0) 10%,
        rgba(247, 247, 247, 0) 90%,
        rgba(247, 247, 247, 0.85) 100%
    );
}

.mp-team-swiper .swiper-wrapper {
    align-items: stretch;
}

.mp-team-swiper .swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.mp-team-profile {
    position: relative;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0 0.5rem;
}

.mp-team-profile:hover {
    transform: translateY(-6px);
}

.mp-team-avatar-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-shrink: 0;
}

.mp-team-avatar-wrap img,
.mp-team-avatar--placeholder {
    width: 164px;
    height: 164px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--ab-bg, #fff);
    box-shadow: var(--ab-shadow-sm);
    transition: box-shadow 0.3s;
}

.mp-team-avatar--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffb43f 0%, #ff7800 100%);
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.mp-team-profile:hover .mp-team-avatar-wrap img,
.mp-team-profile:hover .mp-team-avatar--placeholder {
    box-shadow: 0 8px 28px rgba(255, 120, 0, 0.22);
}

.mp-team-profile .mp-team-name {
    margin-top: 0.75rem;
    font-size: 1.95rem;
    font-weight: 700;
    color: var(--ab-text, #222);
    text-align: center;
}

.mp-team-profile .mp-team-role {
    font-size: 1.82rem;
    color: var(--ab-text-muted, #717171);
    margin-top: 0.2rem;
    text-align: center;
    line-height: 1.4;
    font-weight: 300;
}

.mp-team-pagination {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

.mp-team-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: var(--ab-text-muted, #717171);
    opacity: 0.45;
    transition: opacity 0.2s, transform 0.2s;
}

.mp-team-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--ab-accent, #ff7800);
    transform: scale(1.2);
}

@media (min-width: 768px) {
    .mp-team-pagination {
        display: none;
    }
}
