/* ===========================================================================
   DC FAQ — dc-faq
   =========================================================================== */

/* ==========================================
   CSS VARIABLES
========================================== */
.dc-faq {
    --header-primary: #a0c040;
    --header-primary-dark: #a0c040;
    --header-primary-light: #a0c040;
    --header-secondary: #2b2926;
    --header-white: #ffffff;
    --header-gray: #7a726a;
    --header-light-bg: #faf7f4;
    --header-surface-soft: #fdfbf9;
    --header-border: rgba(43, 41, 38, 0.08);
    --header-border-strong: rgba(43, 41, 38, 0.14);
    --header-primary-rgb: 160, 192, 64;

    /* legacy aliases voor bestaande regels */
    --dc-primary: var(--header-primary);
    --dc-primary-rgb: var(--header-primary-rgb);
    --dc-secondary: var(--header-secondary);
    --dc-secondary-rgb: 43, 41, 38;
}

.dc-faq * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ==========================================
   MAIN CONTAINER
========================================== */
.dc-faq {
    position: relative;
    padding: 110px 0;
    background: var(--header-white);
    color: var(--header-secondary);
    overflow: hidden;
    font-family: 'DM Sans','Poppins',system-ui,sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
/* Subtiele architectural lijnen */
.dc-faq::before,
.dc-faq::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--header-primary), transparent);
    opacity: 0.4;
    z-index: 3;
    pointer-events: none;
}
.dc-faq::before { top: 0; }
.dc-faq::after  { bottom: 0; }

.dc-faq__wrapper {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ==========================================
   DECORATIVE ELEMENTS
========================================== */
.dc-faq__decoration {
    position: absolute;
    pointer-events: none;
}

.dc-faq__decoration--1 {
    top: 10%;
    right: -50px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(var(--dc-primary-rgb), 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: dc-float-slow 15s ease-in-out infinite;
}

.dc-faq__decoration--2 {
    bottom: 15%;
    left: -80px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(var(--dc-secondary-rgb), 0.04) 0%, transparent 70%);
    border-radius: 50%;
    animation: dc-float-slow 12s ease-in-out infinite reverse;
}

.dc-faq__decoration--3 {
    top: 40%;
    left: 5%;
    width: 80px;
    height: 80px;
    opacity: 0.15;
}

.dc-faq__decoration--3 svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: var(--dc-primary);
    stroke-width: 1.5;
    animation: dc-rotate-slow 20s linear infinite;
}

@keyframes dc-float-slow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(15px, -15px); }
}

@keyframes dc-rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ==========================================
   HEADER
========================================== */
.dc-faq__header {
    text-align: center;
    margin-bottom: 60px;
    animation: dc-fade-in-up 0.8s ease-out forwards;
    opacity: 0;
}

@keyframes dc-fade-in-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Eyebrow — identiek aan .dc-hero__eyebrow (icon + uppercase title + reveal) */
.dc-faq__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
    position: relative;
    opacity: 0;
    transform: translateY(6px);
    transition:
        opacity .6s cubic-bezier(.22,1,.36,1),
        transform .6s cubic-bezier(.22,1,.36,1);
}
.dc-faq__eyebrow.in {
    opacity: 1;
    transform: translateY(0);
}
.dc-faq__eyebrow-icon {
    position: relative;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--header-primary);
    background: none;
    border: none;
    box-shadow: none;
}
.dc-faq__eyebrow-icon svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    overflow: visible;
}
.dc-faq__eyebrow-icon svg .fp-plank {
    opacity: 0;
    transform: translateY(4px);
    transform-box: fill-box;
    transform-origin: center;
    transition:
        opacity .45s ease,
        transform .5s cubic-bezier(.22,1,.36,1);
}
.dc-faq__eyebrow-icon svg .fp-plank:nth-of-type(1){transition-delay:.28s;}
.dc-faq__eyebrow-icon svg .fp-plank:nth-of-type(2){transition-delay:.34s;}
.dc-faq__eyebrow-icon svg .fp-plank:nth-of-type(3){transition-delay:.40s;}
.dc-faq__eyebrow-icon svg .fp-plank:nth-of-type(4){transition-delay:.46s;}
.dc-faq__eyebrow.in .dc-faq__eyebrow-icon svg .fp-plank {
    opacity: 1;
    transform: translateY(0);
}
.dc-faq__eyebrow-title {
    font-family: 'DM Sans','Poppins',system-ui,sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    line-height: 1;
    color: var(--header-secondary);
    white-space: nowrap;
    display: inline-block;
    font-style: normal;
}
/* Centered eyebrow (FAQ header is text-center) */
.dc-faq__header .dc-faq__eyebrow {
    margin-left: auto;
    margin-right: auto;
}

.dc-faq__title {
    font-family: 'DM Sans', 'Poppins', system-ui, sans-serif;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--header-secondary);
    line-height: 1.2;
    margin-bottom: 20px;
}

.dc-faq__highlight {
    color: var(--dc-primary);
    position: relative;
    display: inline-block;
}

.dc-faq__highlight::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 12px;
    background: linear-gradient(90deg, rgba(var(--dc-primary-rgb), 0.2), rgba(var(--dc-primary-rgb), 0.1));
    border-radius: 6px;
    z-index: -1;
    transform: skewX(-5deg);
}

.dc-faq__subtitle {
    font-family: 'DM Sans', 'Poppins', system-ui, sans-serif;
    font-size: 16px;
    color: var(--header-gray);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================
   LAYOUT CONTAINER
========================================== */
.dc-faq__container {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 50px;
    align-items: start;
}

/* ==========================================
   FAQ LIST
========================================== */
.dc-faq__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ==========================================
   FAQ ITEM
========================================== */
.dc-faq__item {
    background: var(--header-white);
    border-radius: 14px;
    box-shadow: 0 12px 32px -20px rgba(43,41,38,0.18);
    border: 1px solid var(--header-border);
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    opacity: 0;
    animation: dc-fade-in-up 0.6s ease-out forwards;
}

.dc-faq__item:nth-child(1) { animation-delay: 0.1s; }
.dc-faq__item:nth-child(2) { animation-delay: 0.15s; }
.dc-faq__item:nth-child(3) { animation-delay: 0.2s; }
.dc-faq__item:nth-child(4) { animation-delay: 0.25s; }
.dc-faq__item:nth-child(5) { animation-delay: 0.3s; }
.dc-faq__item:nth-child(6) { animation-delay: 0.35s; }

.dc-faq__item:hover {
    box-shadow: 0 15px 40px rgba(var(--dc-primary-rgb), 0.1);
    border-color: rgba(var(--dc-primary-rgb), 0.15);
}

.dc-faq__item.is-active {
    border-color: rgba(var(--dc-primary-rgb), 0.3);
    box-shadow: 0 20px 50px rgba(var(--dc-primary-rgb), 0.12);
}

/* Question Header */
.dc-faq__question {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    background: none;
    border: none;
    text-align: left;
}

.dc-faq__question:hover {
    background: rgba(var(--dc-primary-rgb), 0.02);
}

/* Number */
.dc-faq__number {
    font-family: 'DM Sans','Poppins',system-ui,sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: var(--header-primary);
    background: rgba(var(--header-primary-rgb), 0.12);
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.dc-faq__item.is-active .dc-faq__number {
    background: var(--header-primary);
    color: #ffffff;
}

/* Icon */
.dc-faq__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--header-primary-rgb), 0.12);
    color: var(--header-primary);
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dc-faq__icon svg {
    width: 24px;
    height: 24px;
}

.dc-faq__item.is-active .dc-faq__icon {
    background: var(--header-primary);
    color: #ffffff;
    transform: scale(1.05);
}

/* Question Text */
.dc-faq__question-text {
    flex: 1;
    font-family: 'DM Sans','Poppins',system-ui,sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--header-secondary);
    line-height: 1.4;
    transition: color 0.3s ease;
}

.dc-faq__item.is-active .dc-faq__question-text {
    color: var(--dc-primary);
}

/* Toggle Icon */
.dc-faq__toggle {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--header-light-bg);
    color: var(--header-secondary);
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dc-faq__toggle svg {
    width: 20px;
    height: 20px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dc-faq__item.is-active .dc-faq__toggle {
    background: var(--header-primary);
    color: #ffffff;
}

.dc-faq__item.is-active .dc-faq__toggle svg {
    transform: rotate(45deg);
}

/* Answer */
.dc-faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.dc-faq__item.is-active .dc-faq__answer {
    max-height: 500px;
}

.dc-faq__answer-content {
    padding: 0 28px 28px;
    padding-left: 96px;
}

.dc-faq__answer-text {
    font-size: 16px;
    color: #64748b;
    line-height: 1.8;
}

.dc-faq__answer-text p {
    margin-bottom: 12px;
}

.dc-faq__answer-text p:last-child {
    margin-bottom: 0;
}

.dc-faq__answer-text ul,
.dc-faq__answer-text ol {
    margin: 12px 0;
    padding-left: 24px;
}

.dc-faq__answer-text li {
    margin-bottom: 8px;
}

/* ==========================================
   CTA SIDEBAR
========================================== */
.dc-faq__sidebar {
    position: sticky;
    top: 100px;
    animation: dc-fade-in-right 0.8s ease-out 0.3s forwards;
    opacity: 0;
}

@keyframes dc-fade-in-right {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

.dc-faq__cta-box {
    background: linear-gradient(135deg, var(--dc-secondary) 0%, #041c2c 100%);
    border-radius: 28px;
    padding: 40px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.dc-faq__cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(var(--dc-primary-rgb), 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.dc-faq__cta-box::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -30%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(var(--dc-primary-rgb), 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.dc-faq__cta-content {
    position: relative;
    z-index: 2;
}

.dc-faq__cta-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--header-primary);
    border-radius: 20px;
    color: #ffffff;
    box-shadow: 0 15px 40px rgba(var(--dc-primary-rgb), 0.4);
}

.dc-faq__cta-icon svg {
    width: 32px;
    height: 32px;
}

.dc-faq__cta-eyebrow {
    font-family: 'Brush Script MT', 'Brush Script Std', cursive;
    font-size: 26px;
    color: var(--dc-primary);
    margin-bottom: 12px;
}

.dc-faq__cta-title {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 16px;
}

.dc-faq__cta-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 28px;
}

.dc-faq__cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 28px;
    font-size: 15px;
    font-weight: 600;
    color: var(--dc-secondary);
    background: #ffffff;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
}

.dc-faq__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    background: var(--dc-primary);
    color: #ffffff;
}

.dc-faq__cta-button svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.dc-faq__cta-button:hover svg {
    transform: translateX(4px);
}

.dc-faq__cta-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.dc-faq__cta-divider::before,
.dc-faq__cta-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
}

.dc-faq__cta-divider span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dc-faq__cta-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dc-faq__cta-phone:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(var(--dc-primary-rgb), 0.3);
}

.dc-faq__cta-phone-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--header-primary);
    border-radius: 10px;
    color: #ffffff;
}

.dc-faq__cta-phone-icon svg {
    width: 18px;
    height: 18px;
}

.dc-faq__cta-phone-info {
    text-align: left;
}

.dc-faq__cta-phone-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 2px;
}

.dc-faq__cta-phone-number {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

/* ==========================================
   RESPONSIVE
========================================== */
@media (max-width: 1100px) {
    .dc-faq__container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .dc-faq__sidebar {
        position: relative;
        top: auto;
        max-width: 450px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .dc-faq {
        padding: 70px 0;
    }

    .dc-faq__wrapper {
        padding: 0 20px;
    }

    .dc-faq__eyebrow {
        font-size: 26px;
    }

    .dc-faq__header {
        margin-bottom: 40px;
    }

    .dc-faq__question {
        padding: 20px;
        gap: 14px;
    }

    .dc-faq__icon {
        width: 40px;
        height: 40px;
    }

    .dc-faq__icon svg {
        width: 18px;
        height: 18px;
    }

    .dc-faq__question-text {
        font-size: 15px;
    }

    .dc-faq__toggle {
        width: 36px;
        height: 36px;
    }

    .dc-faq__answer-content {
        padding: 0 20px 20px;
        padding-left: 74px;
    }

    .dc-faq__cta-box {
        padding: 32px 24px;
    }

    .dc-faq__cta-icon {
        width: 60px;
        height: 60px;
    }

    .dc-faq__cta-icon svg {
        width: 28px;
        height: 28px;
    }

    .dc-faq__decoration--3 {
        display: none;
    }
}
