/* ==========================================
   DC FAQ Widget
   ========================================== */

.dc-faq * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ==========================================
   MAIN CONTAINER
   ========================================== */
.dc-faq .dc-faq__section {
    position: relative;
    padding: 100px 0;
    background: #f9fafb;
    overflow: hidden;
}

.dc-faq .dc-faq__wrapper {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Decorative background pattern */
.dc-faq .dc-faq__bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.03;
    background-image:
        radial-gradient(circle at 25% 25%, var(--dc-primary) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, var(--dc-secondary) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* ==========================================
   HEADER
   ========================================== */
.dc-faq .dc-faq__header {
    text-align: center;
    margin-bottom: 60px;
}

.dc-faq .dc-faq__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Lobster', cursive;
    font-size: 28px;
    font-weight: 400;
    color: var(--dc-primary);
    margin-bottom: 16px;
}

.dc-faq .dc-faq__eyebrow::before {
    content: '';
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--dc-primary));
    border-radius: 2px;
}

.dc-faq .dc-faq__eyebrow::after {
    content: '';
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--dc-primary), transparent);
    border-radius: 2px;
}

.dc-faq .dc-faq__title {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(32px, 4.5vw, 48px);
    font-weight: 800;
    color: var(--dc-secondary);
    line-height: 1.2;
    margin-bottom: 20px;
}

.dc-faq .dc-faq__highlight {
    font-family: 'Lobster', cursive;
    color: var(--dc-primary);
    font-weight: 400;
}

.dc-faq .dc-faq__subtitle {
    font-size: 17px;
    color: #64748b;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================
   CATEGORY FILTER TABS
   ========================================== */
.dc-faq .dc-faq__filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 50px;
}

.dc-faq .dc-faq__filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--dc-secondary);
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.dc-faq .dc-faq__filter-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--dc-primary), #ff9a44);
    opacity: 0;
    transition: opacity 0.35s ease;
    border-radius: 50px;
}

.dc-faq .dc-faq__filter-btn span,
.dc-faq .dc-faq__filter-btn svg {
    position: relative;
    z-index: 1;
}

.dc-faq .dc-faq__filter-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.dc-faq .dc-faq__filter-btn:hover {
    border-color: var(--dc-primary);
    color: var(--dc-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--dc-primary-rgb), 0.15);
}

.dc-faq .dc-faq__filter-btn.is-active {
    border-color: var(--dc-primary);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(var(--dc-primary-rgb), 0.3);
}

.dc-faq .dc-faq__filter-btn.is-active::before {
    opacity: 1;
}

/* ==========================================
   LAYOUT CONTAINER
   ========================================== */
.dc-faq .dc-faq__container {
    display: grid;
    grid-template-columns: 1fr;
}

.dc-faq.dc-faq--with-cta .dc-faq__container {
    grid-template-columns: 1fr 380px;
    gap: 50px;
    align-items: start;
}

.dc-faq.dc-faq--single .dc-faq__container {
    max-width: 900px;
    margin: 0 auto;
}

/* ==========================================
   FAQ LIST
   ========================================== */
.dc-faq .dc-faq__list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ==========================================
   FAQ ITEM - GLASSMORPHISM CARDS
   ========================================== */
.dc-faq .dc-faq__item {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.dc-faq .dc-faq__item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--dc-primary), #ff9a44);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 0 4px 4px 0;
}

.dc-faq .dc-faq__item:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    transform: translateX(4px);
}

.dc-faq .dc-faq__item.is-active {
    box-shadow: 0 20px 60px rgba(var(--dc-primary-rgb), 0.1);
    border-color: rgba(var(--dc-primary-rgb), 0.15);
}

.dc-faq .dc-faq__item.is-active::before {
    opacity: 1;
}

.dc-faq .dc-faq__item.is-hidden {
    display: none;
}

/* Question Header */
.dc-faq .dc-faq__question {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    background: none;
    border: none;
    text-align: left;
}

.dc-faq .dc-faq__question:hover {
    background: rgba(var(--dc-primary-rgb), 0.02);
}

/* Number Badge */
.dc-faq .dc-faq__number {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: var(--dc-primary);
    background: rgba(var(--dc-primary-rgb), 0.08);
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.dc-faq .dc-faq__number::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 16px;
    border: 2px solid transparent;
    background: linear-gradient(135deg, rgba(var(--dc-primary-rgb), 0.3), transparent) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.dc-faq .dc-faq__item.is-active .dc-faq__number {
    background: linear-gradient(135deg, var(--dc-primary), #ff9a44);
    color: #ffffff;
    transform: scale(1.05);
}

.dc-faq .dc-faq__item.is-active .dc-faq__number::after {
    opacity: 1;
}

/* Category Badge */
.dc-faq .dc-faq__cat-badge {
    display: none;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--dc-primary);
    background: rgba(var(--dc-primary-rgb), 0.08);
    border-radius: 20px;
    flex-shrink: 0;
}

/* Question Text */
.dc-faq .dc-faq__question-text {
    flex: 1;
    font-family: 'DM Sans', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--dc-secondary);
    line-height: 1.4;
    transition: color 0.3s ease;
}

.dc-faq .dc-faq__item.is-active .dc-faq__question-text {
    color: var(--dc-primary);
}

/* Toggle - morphing plus to minus */
.dc-faq .dc-faq__toggle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.dc-faq .dc-faq__toggle-line {
    position: absolute;
    width: 16px;
    height: 2px;
    background: var(--dc-secondary);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dc-faq .dc-faq__toggle-line--v {
    transform: rotate(90deg);
}

.dc-faq .dc-faq__item.is-active .dc-faq__toggle {
    background: linear-gradient(135deg, var(--dc-primary), #ff9a44);
    transform: rotate(180deg);
}

.dc-faq .dc-faq__item.is-active .dc-faq__toggle-line {
    background: #ffffff;
}

.dc-faq .dc-faq__item.is-active .dc-faq__toggle-line--v {
    transform: rotate(90deg) scaleY(0);
}

/* Answer */
.dc-faq .dc-faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.dc-faq .dc-faq__item.is-active .dc-faq__answer {
    max-height: 600px;
}

.dc-faq .dc-faq__answer-content {
    padding: 0 28px 28px 90px;
    position: relative;
}

.dc-faq .dc-faq__answer-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50px;
    right: 28px;
    height: 1px;
    background: linear-gradient(90deg, rgba(var(--dc-primary-rgb), 0.15), transparent);
}

.dc-faq .dc-faq__answer-text {
    font-size: 16px;
    color: #64748b;
    line-height: 1.8;
    padding-top: 20px;
}

.dc-faq .dc-faq__answer-text p {
    margin-bottom: 12px;
}

.dc-faq .dc-faq__answer-text p:last-child {
    margin-bottom: 0;
}

.dc-faq .dc-faq__answer-text ul,
.dc-faq .dc-faq__answer-text ol {
    margin: 12px 0;
    padding-left: 24px;
}

.dc-faq .dc-faq__answer-text li {
    margin-bottom: 8px;
}

/* ==========================================
   COUNTER
   ========================================== */
.dc-faq .dc-faq__counter {
    text-align: center;
    margin-top: 30px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: #94a3b8;
}

.dc-faq .dc-faq__counter strong {
    color: var(--dc-primary);
    font-weight: 700;
}

/* ==========================================
   CTA SIDEBAR
   ========================================== */
.dc-faq .dc-faq__sidebar {
    position: sticky;
    top: 100px;
}

.dc-faq .dc-faq__cta-box {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

/* Image area */
.dc-faq .dc-faq__cta-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.dc-faq .dc-faq__cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.dc-faq .dc-faq__cta-box:hover .dc-faq__cta-image img {
    transform: scale(1.08);
}

.dc-faq .dc-faq__cta-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, var(--dc-secondary), transparent);
}

/* Floating badge on image */
.dc-faq .dc-faq__cta-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: #ffffff;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    z-index: 3;
}

.dc-faq .dc-faq__cta-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: dc-faq-pulse 2s ease-in-out infinite;
}

@keyframes dc-faq-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

/* Content area */
.dc-faq .dc-faq__cta-content {
    background: var(--dc-secondary);
    padding: 28px 28px 32px;
    position: relative;
}

.dc-faq .dc-faq__cta-eyebrow {
    font-family: 'Lobster', cursive;
    font-size: 22px;
    color: var(--dc-primary);
    margin-bottom: 10px;
}

.dc-faq .dc-faq__cta-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 12px;
}

.dc-faq .dc-faq__cta-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 24px;
}

.dc-faq .dc-faq__cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 24px;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, var(--dc-primary), #ff9a44);
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(var(--dc-primary-rgb), 0.35);
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}

.dc-faq .dc-faq__cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.dc-faq .dc-faq__cta-button:hover::before {
    left: 100%;
}

.dc-faq .dc-faq__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(var(--dc-primary-rgb), 0.45);
}

.dc-faq .dc-faq__cta-button svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.dc-faq .dc-faq__cta-button:hover svg {
    transform: translateX(4px);
}

.dc-faq .dc-faq__cta-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.dc-faq .dc-faq__cta-divider::before,
.dc-faq .dc-faq__cta-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.dc-faq .dc-faq__cta-divider span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.dc-faq .dc-faq__cta-phone {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dc-faq .dc-faq__cta-phone:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(var(--dc-primary-rgb), 0.3);
    transform: translateY(-2px);
}

.dc-faq .dc-faq__cta-phone-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dc-primary), #ff9a44);
    border-radius: 10px;
    color: #ffffff;
    flex-shrink: 0;
    animation: dc-faq-ring 3s ease-in-out infinite;
}

@keyframes dc-faq-ring {
    0%, 100% { transform: rotate(0deg); }
    5% { transform: rotate(15deg); }
    10% { transform: rotate(-10deg); }
    15% { transform: rotate(8deg); }
    20% { transform: rotate(0deg); }
}

.dc-faq .dc-faq__cta-phone-icon svg {
    width: 17px;
    height: 17px;
}

.dc-faq .dc-faq__cta-phone-info {
    text-align: left;
}

.dc-faq .dc-faq__cta-phone-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 2px;
}

.dc-faq .dc-faq__cta-phone-number {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1100px) {
    .dc-faq .dc-faq__container,
    .dc-faq.dc-faq--with-cta .dc-faq__container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .dc-faq .dc-faq__sidebar {
        position: relative;
        top: auto;
        max-width: 480px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .dc-faq .dc-faq__section {
        padding: 60px 0;
    }

    .dc-faq .dc-faq__wrapper {
        padding: 0 20px;
    }

    .dc-faq .dc-faq__eyebrow {
        font-size: 22px;
    }

    .dc-faq .dc-faq__eyebrow::before,
    .dc-faq .dc-faq__eyebrow::after {
        width: 25px;
    }

    .dc-faq .dc-faq__header {
        margin-bottom: 35px;
    }

    .dc-faq .dc-faq__subtitle {
        font-size: 15px;
    }

    .dc-faq .dc-faq__filters {
        gap: 8px;
        margin-bottom: 30px;
    }

    .dc-faq .dc-faq__filter-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .dc-faq .dc-faq__filter-btn svg {
        display: none;
    }

    .dc-faq .dc-faq__question {
        padding: 18px 16px;
        gap: 12px;
    }

    .dc-faq .dc-faq__number {
        width: 36px;
        height: 36px;
        font-size: 12px;
        border-radius: 10px;
    }

    .dc-faq .dc-faq__question-text {
        font-size: 15px;
    }

    .dc-faq .dc-faq__toggle {
        width: 36px;
        height: 36px;
    }

    .dc-faq .dc-faq__toggle-line {
        width: 14px;
    }

    .dc-faq .dc-faq__answer-content {
        padding: 0 16px 20px 64px;
    }

    .dc-faq .dc-faq__answer-content::before {
        left: 36px;
        right: 16px;
    }

    .dc-faq .dc-faq__answer-text {
        font-size: 14px;
    }

    .dc-faq .dc-faq__item:hover {
        transform: none;
    }

    .dc-faq .dc-faq__cta-box {
        border-radius: 20px;
    }

    .dc-faq .dc-faq__cta-image {
        height: 180px;
    }

    .dc-faq .dc-faq__cta-content {
        padding: 24px 22px 28px;
    }

    .dc-faq .dc-faq__sidebar {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .dc-faq .dc-faq__section {
        padding: 40px 0;
    }

    .dc-faq .dc-faq__wrapper {
        padding: 0 16px;
    }

    .dc-faq .dc-faq__eyebrow {
        font-size: 20px;
    }

    .dc-faq .dc-faq__eyebrow::before,
    .dc-faq .dc-faq__eyebrow::after {
        width: 20px;
    }

    .dc-faq .dc-faq__header {
        margin-bottom: 25px;
    }

    .dc-faq .dc-faq__subtitle {
        font-size: 14px;
    }

    .dc-faq .dc-faq__filters {
        gap: 6px;
        margin-bottom: 20px;
    }

    .dc-faq .dc-faq__filter-btn {
        padding: 7px 12px;
        font-size: 12px;
    }

    .dc-faq .dc-faq__question {
        padding: 14px 12px;
        gap: 10px;
    }

    .dc-faq .dc-faq__number {
        width: 32px;
        height: 32px;
        font-size: 11px;
        border-radius: 8px;
    }

    .dc-faq .dc-faq__question-text {
        font-size: 14px;
    }

    .dc-faq .dc-faq__toggle {
        width: 32px;
        height: 32px;
    }

    .dc-faq .dc-faq__toggle-line {
        width: 12px;
    }

    .dc-faq .dc-faq__answer-content {
        padding: 0 12px 16px 12px;
    }

    .dc-faq .dc-faq__answer-content::before {
        left: 12px;
        right: 12px;
    }

    .dc-faq .dc-faq__answer-text {
        font-size: 13px;
        line-height: 1.7;
    }

    .dc-faq .dc-faq__item {
        border-radius: 14px;
    }

    .dc-faq .dc-faq__list {
        gap: 10px;
    }

    .dc-faq .dc-faq__cta-box {
        border-radius: 16px;
    }

    .dc-faq .dc-faq__cta-image {
        height: 150px;
    }

    .dc-faq .dc-faq__cta-content {
        padding: 20px 16px 24px;
    }

    .dc-faq .dc-faq__cta-eyebrow {
        font-size: 18px;
    }

    .dc-faq .dc-faq__cta-title {
        font-size: 17px;
    }

    .dc-faq .dc-faq__cta-desc {
        font-size: 13px;
    }

    .dc-faq .dc-faq__cta-button {
        padding: 12px 20px;
        font-size: 14px;
        border-radius: 12px;
    }

    .dc-faq .dc-faq__cta-phone {
        padding: 10px 12px;
        gap: 10px;
        border-radius: 12px;
    }

    .dc-faq .dc-faq__cta-phone-icon {
        width: 34px;
        height: 34px;
        border-radius: 8px;
    }

    .dc-faq .dc-faq__cta-phone-number {
        font-size: 14px;
    }

    .dc-faq .dc-faq__counter {
        font-size: 13px;
        margin-top: 20px;
    }
}
