/* ========================================
   Dark FAQ Contact Section
   Scoped under .sv-faq-dark
   Dark identity matching portfolio/showcase
   ======================================== */

/* --- Reset: Override global main.css leaks --- */
.sv-faq-dark h2,
.sv-faq-dark h3,
.sv-faq-dark h4,
.sv-faq-dark h5 {
    font-family: inherit;
    font-weight: 700;
    letter-spacing: 0;
    margin-top: 0;
    margin-bottom: 0;
}

.sv-faq-dark a,
.sv-faq-dark button,
.sv-faq-dark span,
.sv-faq-dark p,
.sv-faq-dark img {
    transition: none;
}

.sv-faq-dark a,
.sv-faq-dark a:hover,
.sv-faq-dark a:focus {
    color: inherit;
    text-decoration: none;
    outline: none;
    box-shadow: none;
}

.sv-faq-dark button,
.sv-faq-dark button:hover,
.sv-faq-dark button:focus {
    outline: none;
    box-shadow: none;
    border: none;
    background: none;
}

.sv-faq-dark button::before,
.sv-faq-dark button::after {
    content: none !important;
    display: none !important;
}

.sv-faq-dark p {
    margin-bottom: 0;
}

.sv-faq-dark img {
    max-width: 100%;
}
/* --- End Reset --- */

/* Remove top border-radius from footer so it connects flush */
footer.tj-footer-section.footer-3 {
    border-radius: 0 !important;
}


/* --- Section --- */
.sv-faq-dark {
    padding: 90px 0 80px;
    background: #000000;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.sv-faq-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 50% 0%, rgba(230, 76, 41, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.sv-faq-dark::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #e64c29 30%, #e64c29 70%, transparent 100%);
    z-index: 5;
}


/* --- Split Layout --- */
.sv-faq-split {
    display: flex;
    gap: 40px;
    align-items: stretch;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}


/* =========================
   Left: Image Panel (45%)
   ========================= */
.sv-faq-image-panel {
    flex: 0 0 45%;
    max-width: 45%;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    min-height: 480px;
}

.sv-faq-image-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sv-faq-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.8));
    pointer-events: none;
    z-index: 1;
}

/* Glass phone CTA */
.sv-faq-phone-card {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 20px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.sv-faq-phone-icon {
    width: 48px;
    height: 48px;
    background: #e64c29;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sv-faq-phone-icon i {
    font-size: 20px;
    color: #fff;
}

.sv-faq-phone-text {
    flex: 1;
}

.sv-faq-phone-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4px;
    display: block;
}

.sv-faq-phone-number {
    font-size: 18px;
    font-weight: 700;
    color: #fff !important;
    display: block;
    transition: color 0.3s ease !important;
}

.sv-faq-phone-card:hover .sv-faq-phone-number {
    color: #e64c29 !important;
}


/* =========================
   Right: Content Panel (55%)
   ========================= */
.sv-faq-content-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Header */
.sv-faq-header {
    margin-bottom: 32px;
}

.sv-faq-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #e64c29;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.sv-faq-subtitle-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}

.sv-faq-title {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
}


/* =========================
   Numbered Timeline
   ========================= */
.sv-faq-timeline {
    position: relative;
    padding-left: 20px;
}

[dir="rtl"] .sv-faq-timeline {
    padding-left: 0;
    padding-right: 20px;
}

/* Vertical orange line */
.sv-faq-timeline::before {
    content: '';
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 19px;
    width: 2px;
    background: linear-gradient(to bottom, #e64c29, rgba(230, 76, 41, 0.15));
    z-index: 0;
}

[dir="rtl"] .sv-faq-timeline::before {
    left: auto;
    right: 19px;
}

/* Timeline item */
.sv-faq-timeline-item {
    display: flex;
    gap: 18px;
    padding-bottom: 16px;
    position: relative;
}

.sv-faq-timeline-item:last-child {
    padding-bottom: 0;
}

/* Numbered marker circle */
.sv-faq-timeline-marker {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    border: 2px solid rgba(230, 76, 41, 0.4);
    background: #000;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease !important;
}

.sv-faq-timeline-item.active .sv-faq-timeline-marker {
    background: #e64c29;
    border-color: #e64c29;
    color: #fff;
    box-shadow: 0 0 14px rgba(230, 76, 41, 0.45);
}

.sv-faq-timeline-item:hover:not(.active) .sv-faq-timeline-marker {
    border-color: #e64c29;
    color: #e64c29;
}

/* Content area (question + answer) */
.sv-faq-timeline-content {
    flex: 1;
    min-width: 0;
    padding-top: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 16px;
}

.sv-faq-timeline-item:last-child .sv-faq-timeline-content {
    border-bottom: none;
    padding-bottom: 0;
}

/* Question button */
.sv-faq-timeline-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    padding: 0;
}

[dir="rtl"] .sv-faq-timeline-btn {
    text-align: right;
}

.sv-faq-timeline-question {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.45;
    flex: 1;
    transition: color 0.3s ease !important;
}

.sv-faq-timeline-item.active .sv-faq-timeline-question {
    color: #fff;
}

.sv-faq-timeline-item:hover .sv-faq-timeline-question {
    color: #fff;
}

/* Arrow indicator */
.sv-faq-timeline-arrow {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.3);
    font-size: 14px;
    transition: transform 0.35s ease, color 0.35s ease !important;
}

.sv-faq-timeline-item.active .sv-faq-timeline-arrow {
    transform: rotate(90deg);
    color: #e64c29;
}

/* Answer body */
.sv-faq-timeline-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.sv-faq-timeline-answer {
    padding: 12px 0 4px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
}


/* --- Empty State --- */
.sv-faq-empty {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 16px;
}


/* ========================================
   Responsive
   ======================================== */

@media (max-width: 1199px) {
    .sv-faq-split {
        gap: 30px;
        padding: 0 30px;
    }

    .sv-faq-title {
        font-size: 30px;
    }

    .sv-faq-image-panel {
        min-height: 420px;
    }
}

@media (max-width: 991px) {
    .sv-faq-dark {
        padding: 70px 0 60px;
    }

    .sv-faq-split {
        flex-direction: column;
        padding: 0 24px;
    }

    .sv-faq-image-panel {
        flex: none;
        max-width: 100%;
        min-height: 320px;
    }

    .sv-faq-title {
        font-size: 28px;
    }

    .sv-faq-header {
        margin-bottom: 24px;
    }
}

@media (max-width: 767px) {
    .sv-faq-dark {
        padding: 50px 0 45px;
    }

    .sv-faq-split {
        gap: 24px;
        padding: 0 16px;
    }

    .sv-faq-image-panel {
        min-height: 260px;
    }

    .sv-faq-title {
        font-size: 24px;
    }

    .sv-faq-phone-card {
        padding: 16px;
        gap: 12px;
    }

    .sv-faq-phone-icon {
        width: 40px;
        height: 40px;
    }

    .sv-faq-phone-icon i {
        font-size: 16px;
    }

    .sv-faq-phone-number {
        font-size: 16px;
    }

    .sv-faq-timeline {
        padding-left: 14px;
    }

    [dir="rtl"] .sv-faq-timeline {
        padding-left: 0;
        padding-right: 14px;
    }

    .sv-faq-timeline::before {
        left: 13px;
    }

    [dir="rtl"] .sv-faq-timeline::before {
        left: auto;
        right: 13px;
    }

    .sv-faq-timeline-marker {
        width: 34px;
        height: 34px;
        min-width: 34px;
        font-size: 12px;
    }

    .sv-faq-timeline-item {
        gap: 14px;
    }

    .sv-faq-timeline-question {
        font-size: 15px;
    }

    .sv-faq-timeline-answer {
        font-size: 14px;
        padding: 10px 0 2px;
    }
}
