/**
 * Condalab FAQ Page Styles
 */

/* ===== PS OVERRIDES ===== */
#module-cdlfaq-faq #wrapper {
    padding-top: 0;
}

#module-cdlfaq-faq #content-wrapper {
    padding: 0;
    max-width: 100%;
}

#module-cdlfaq-faq #wrapper > .container {
    max-width: 100%;
    padding: 0;
}

#module-cdlfaq-faq .page-content {
    padding: 0;
}

#module-cdlfaq-faq #wrapper .breadcrumb {
    display: none;
}

/* ===== HERO ===== */
.cdl-faq-hero {
    position: relative;
    background: #000;
    color: #fff;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 64px 0 80px;
}

.cdl-faq-hero__grid-overlay {
    display: none;
}

.cdl-faq-hero__inner {
    position: relative;
    z-index: 2;
}

.cdl-faq-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
}

.cdl-faq-hero__breadcrumb a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s;
}

.cdl-faq-hero__breadcrumb a:hover {
    color: #fff;
}

.cdl-faq-hero__breadcrumb svg {
    color: rgba(255, 255, 255, 0.3);
}

.cdl-faq-hero__breadcrumb-active {
    color: #EBBE18;
}

.cdl-faq-hero__title {
    font-family: 'Jost', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 16px;
    color: #fff;
}

.cdl-faq-hero__title--yellow {
    color: #EBBE18;
}

.cdl-faq-hero__desc {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.65);
    max-width: 700px;
    line-height: 1.6;
    margin: 0;
}

.cdl-faq-hero__wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    z-index: 3;
    line-height: 0;
}

.cdl-faq-hero__wave img {
    display: block;
    width: 100%;
    height: auto;
}

/* ===== FAQ CONTENT ===== */
.cdl-faq {
    max-width: 900px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}

/* ===== SECTION ===== */
.cdl-faq__section {
    margin-bottom: 56px;
}

.cdl-faq__section-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.cdl-faq__section-icon {
    width: 56px;
    height: 56px;
    background: #EBBE18;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cdl-faq__section-icon svg {
    stroke: #000;
}

.cdl-faq__section-title {
    font-family: 'Jost', 'Inter', sans-serif;
    font-size: 1.85rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 4px;
    line-height: 1.2;
}

.cdl-faq__section-subtitle {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

/* ===== ACCORDION ===== */
.cdl-faq__accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cdl-faq__item {
    background: #fff;
    border: 2px solid #e5e5e5;
    border-radius: 14px;
    padding: 0 24px;
    transition: border-color 0.25s ease;
    overflow: hidden;
}

.cdl-faq__item:hover {
    border-color: #EBBE18;
}

.cdl-faq__item[open] {
    border-color: #EBBE18;
}

.cdl-faq__item[open] .cdl-faq__chevron {
    transform: rotate(180deg);
}

/* ===== QUESTION (summary) ===== */
.cdl-faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0;
    cursor: pointer;
    list-style: none;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #111;
    line-height: 1.4;
    user-select: none;
}

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

.cdl-faq__question::marker {
    display: none;
    content: '';
}

.cdl-faq__chevron {
    flex-shrink: 0;
    color: #999;
    transition: transform 0.3s ease, color 0.2s;
}

.cdl-faq__item:hover .cdl-faq__chevron {
    color: #EBBE18;
}

/* ===== ANSWER ===== */
.cdl-faq__answer {
    padding: 0 0 20px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
}

.cdl-faq__answer p {
    margin: 0;
}

/* ===== CTA ===== */
.cdl-faq__cta {
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    border-radius: 20px;
    padding: 48px 40px;
    text-align: center;
    margin-top: 16px;
}

.cdl-faq__cta-title {
    font-family: 'Jost', 'Inter', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
}

.cdl-faq__cta-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 32px;
}

.cdl-faq__cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cdl-faq__cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.cdl-faq__cta-btn--email {
    background: #EBBE18;
    color: #000;
}

.cdl-faq__cta-btn--email:hover {
    background: #d4a813;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(235, 190, 24, 0.3);
}

.cdl-faq__cta-btn--phone {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cdl-faq__cta-btn--phone:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    transform: translateY(-2px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .cdl-faq-hero {
        padding: 40px 0 60px;
    }

    .cdl-faq-hero__title {
        font-size: 2.2rem;
    }

    .cdl-faq-hero__desc {
        font-size: 1rem;
    }

    .cdl-faq {
        padding: 32px 16px 60px;
    }

    .cdl-faq__section-header {
        flex-direction: column;
        gap: 12px;
    }

    .cdl-faq__section-icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
    }

    .cdl-faq__section-icon svg {
        width: 24px;
        height: 24px;
    }

    .cdl-faq__section-title {
        font-size: 1.5rem;
    }

    .cdl-faq__item {
        padding: 0 16px;
        border-radius: 10px;
    }

    .cdl-faq__question {
        font-size: 0.9rem;
        padding: 16px 0;
    }

    .cdl-faq__answer {
        font-size: 0.88rem;
    }

    .cdl-faq__cta {
        padding: 32px 24px;
        border-radius: 16px;
    }

    .cdl-faq__cta-title {
        font-size: 1.3rem;
    }

    .cdl-faq__cta-actions {
        flex-direction: column;
    }

    .cdl-faq__cta-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===== PRINT ===== */
@media print {
    .cdl-faq-hero {
        background: #000 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .cdl-faq__item {
        border-color: #ccc !important;
    }

    .cdl-faq__item[open] .cdl-faq__answer {
        display: block !important;
    }

    .cdl-faq__cta {
        background: #333 !important;
    }
}
