/* ==========================================================================
   DC CTA Banner — Newsletter-style with buttons + USPs
   ========================================================================== */

.dc-cta-banner {
    --dc-primary: #ef7a17;
    --dc-primary-rgb: 239, 122, 23;
    --dc-secondary: #032038;
    --dc-secondary-rgb: 3, 32, 56;
}

.dc-cta-banner *,
.dc-cta-banner *::before,
.dc-cta-banner *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ==========================================================================
   MAIN CONTAINER
   ========================================================================== */
.dc-cta-banner {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dc-secondary) 0%, #041c2c 100%);
}

/* Layout: boxed */
.dc-cta-banner--boxed {
    border-radius: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Layout: split */
.dc-cta-banner--split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 480px;
}

/* Split layout when form is shown on the right — give form more breathing room */
.dc-cta-banner--split-form {
    grid-template-columns: 0.85fr 1.15fr;
    min-height: 560px;
}

/* ==========================================================================
   DECORATIVE ELEMENTS (veranda themed, matching newsletter)
   ========================================================================== */
.dc-cta-banner__decor {
    position: absolute;
    pointer-events: none;
}

/* Leaf */
.dc-cta-banner__decor--leaf {
    bottom: 5%;
    left: 8%;
    width: 100px;
    height: 100px;
    opacity: 0.12;
    animation: dc-cta-leaf 6s ease-in-out infinite;
}

.dc-cta-banner__decor--leaf svg {
    width: 100%;
    height: 100%;
    fill: var(--dc-primary);
}

@keyframes dc-cta-leaf {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

/* Glass panels */
.dc-cta-banner__decor--glass {
    bottom: 15%;
    right: 52%;
    width: 120px;
    height: 180px;
    opacity: 0.06;
    animation: dc-cta-glass 10s ease-in-out infinite;
}

.dc-cta-banner__decor--glass svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: rgba(255, 255, 255, 0.8);
    stroke-width: 1.5;
}

@keyframes dc-cta-glass {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Beams */
.dc-cta-banner__decor--beams {
    top: 60%;
    left: 2%;
    width: 80px;
    height: 60px;
    opacity: 0.08;
}

.dc-cta-banner__decor--beams svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: var(--dc-primary);
    stroke-width: 2;
}

/* ==========================================================================
   CONTENT
   ========================================================================== */
.dc-cta-banner__content {
    position: relative;
    z-index: 2;
    padding: 72px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Centered for non-split layouts */
.dc-cta-banner--boxed .dc-cta-banner__content,
.dc-cta-banner--full_width .dc-cta-banner__content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    align-items: center;
}

/* ---------- Eyebrow ---------- */
.dc-cta-banner__eyebrow {
    display: inline-block;
    font-family: 'Brush Script MT', 'Brush Script Std', cursive;
    font-size: 30px;
    font-weight: 400;
    color: var(--dc-primary);
    margin-bottom: 16px;
}

/* ---------- Title ---------- */
.dc-cta-banner__title {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 16px;
}

.dc-cta-banner__highlight {
    color: var(--dc-primary);
    position: relative;
    display: inline-block;
}

/* ---------- Subtitle ---------- */
.dc-cta-banner__subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 460px;
}

/* ==========================================================================
   ACTION BUTTONS
   ========================================================================== */
.dc-cta-banner__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.dc-cta-banner--boxed .dc-cta-banner__actions,
.dc-cta-banner--full_width .dc-cta-banner__actions {
    justify-content: center;
}

.dc-cta-banner__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 32px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Primary: orange gradient */
.dc-cta-banner__btn--primary {
    background: linear-gradient(135deg, var(--dc-primary), #ff9a44);
    color: #ffffff;
    box-shadow: 0 8px 30px rgba(var(--dc-primary-rgb), 0.35);
}

.dc-cta-banner__btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(var(--dc-primary-rgb), 0.45);
    color: #ffffff;
}

.dc-cta-banner__btn--primary svg {
    transition: transform 0.2s ease;
}

.dc-cta-banner__btn--primary:hover svg {
    transform: translateX(3px);
}

/* Ghost: transparent with border */
.dc-cta-banner__btn--ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.dc-cta-banner__btn--ghost:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    transform: translateY(-2px);
}

/* ==========================================================================
   USP ITEMS
   ========================================================================== */
.dc-cta-banner__usps {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.dc-cta-banner--boxed .dc-cta-banner__usps,
.dc-cta-banner--full_width .dc-cta-banner__usps {
    justify-content: center;
}

.dc-cta-banner__usp {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
}

.dc-cta-banner__usp-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dc-primary), #ff9a44);
    border-radius: 50%;
    color: #ffffff;
    flex-shrink: 0;
    padding: 4px;
}

.dc-cta-banner__usp-icon svg {
    width: 14px;
    height: 14px;
}

.dc-cta-banner__usp-text {
    font-weight: 600;
}

/* ==========================================================================
   IMAGE SIDE (split layout)
   ========================================================================== */
.dc-cta-banner__image-side {
    position: relative;
    overflow: hidden;
}

.dc-cta-banner__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dc-cta-banner__image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--dc-secondary) 0%, transparent 50%);
}

/* ==========================================================================
   FORM SIDE (split layout with CF7) — spacious modern premium
   ========================================================================== */
.dc-cta-banner__image-side--form {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 20px;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.02) 100%);
    overflow: hidden;
}

/* Decorative soft blobs behind the form card */
.dc-cta-banner__image-side--form::before,
.dc-cta-banner__image-side--form::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(60px);
}

.dc-cta-banner__image-side--form::before {
    top: -80px;
    right: -60px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.35), transparent 70%);
}

.dc-cta-banner__image-side--form::after {
    bottom: -100px;
    left: -80px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2), transparent 70%);
}

.dc-cta-banner__form-box {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 880px;
    padding: 44px 44px 40px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 28px;
    box-shadow:
        0 40px 90px -20px rgba(15, 23, 42, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset,
        0 1px 0 rgba(255, 255, 255, 1) inset;
    color: #0f172a;
    overflow: hidden;
}

/* Soft radial accent inside the card */
.dc-cta-banner__form-box::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1), transparent 60%);
    pointer-events: none;
}

/* Modern floating badge above title */
.dc-cta-banner__form-title::before {
    content: '✦';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-right: 12px;
    font-size: 18px;
    color: #fff;
    background: linear-gradient(135deg, var(--dc-primary, #ff6b35), #ffb347);
    border-radius: 12px;
    box-shadow: 0 8px 20px -6px rgba(255, 107, 53, 0.5);
    vertical-align: middle;
}

.dc-cta-banner__form-title {
    position: relative;
    display: flex;
    align-items: center;
    margin: 0 0 6px;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: var(--dc-secondary, #0f172a);
}

.dc-cta-banner__form-subtitle {
    position: relative;
    margin: 0 0 28px;
    padding-left: 48px;
    font-size: 14px;
    line-height: 1.55;
    color: #64748b;
}

/* ----- Form grid ----- */
.dc-cta-banner__form-box .wpcf7-form {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 16px;
}

.dc-cta-banner__form-box .wpcf7-form > p {
    margin: 0;
}

/* Full-width: adres (3), opmerkingen (8), submit (9) */
.dc-cta-banner__form-box .wpcf7-form > p:nth-of-type(3),
.dc-cta-banner__form-box .wpcf7-form > p:nth-of-type(8),
.dc-cta-banner__form-box .wpcf7-form > p:nth-of-type(9) {
    grid-column: 1 / -1;
}

.dc-cta-banner__form-box .wpcf7-form-control-wrap {
    display: block;
    position: relative;
}

/* ----- Inputs: base ----- */
.dc-cta-banner__form-box .wpcf7-form input[type="text"],
.dc-cta-banner__form-box .wpcf7-form input[type="tel"],
.dc-cta-banner__form-box .wpcf7-form input[type="email"],
.dc-cta-banner__form-box .wpcf7-form textarea {
    display: block;
    width: 100%;
    padding: 16px 16px 16px 48px;
    font-size: 14.5px;
    font-family: inherit;
    color: #0f172a;
    background-color: #f8fafc;
    background-repeat: no-repeat;
    background-position: 16px center;
    background-size: 18px 18px;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.dc-cta-banner__form-box .wpcf7-form input::placeholder,
.dc-cta-banner__form-box .wpcf7-form textarea::placeholder {
    color: #94a3b8;
    font-weight: 500;
}

.dc-cta-banner__form-box .wpcf7-form input:hover,
.dc-cta-banner__form-box .wpcf7-form textarea:hover {
    border-color: #cbd5e1;
    background-color: #f1f5f9;
}

.dc-cta-banner__form-box .wpcf7-form input:focus,
.dc-cta-banner__form-box .wpcf7-form textarea:focus {
    outline: none;
    background-color: #fff;
    border-color: var(--dc-primary, #ff6b35);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.12),
        0 4px 12px -4px rgba(255, 107, 53, 0.2);
    transform: translateY(-1px);
}

/* ----- Per-field SVG icons (inline data URIs) ----- */
.dc-cta-banner__form-box .wpcf7-form input[name="naam"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
}

.dc-cta-banner__form-box .wpcf7-form input[name="bedrijfsnaam"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='20' height='14' rx='2' ry='2'/%3E%3Cpath d='M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16'/%3E%3C/svg%3E");
}

.dc-cta-banner__form-box .wpcf7-form input[name="adres"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}

.dc-cta-banner__form-box .wpcf7-form input[name="telefoonnummer"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}

.dc-cta-banner__form-box .wpcf7-form input[name="email-adres"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E");
}

.dc-cta-banner__form-box .wpcf7-form input[name="kvk-nummer"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Ccircle cx='9' cy='11' r='2'/%3E%3Cpath d='M14 10h4M14 14h4M5 17v-1a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E");
}

.dc-cta-banner__form-box .wpcf7-form input[name="btw-nummer"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='4' y1='9' x2='20' y2='9'/%3E%3Cline x1='4' y1='15' x2='20' y2='15'/%3E%3Cline x1='10' y1='3' x2='8' y2='21'/%3E%3Cline x1='16' y1='3' x2='14' y2='21'/%3E%3C/svg%3E");
}

/* Textarea: icon anchored top-left */
.dc-cta-banner__form-box .wpcf7-form textarea[name="opmerkingen"] {
    min-height: 110px;
    padding-top: 18px;
    background-position: 16px 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E");
    resize: vertical;
}

/* ----- Submit button: premium gradient pill ----- */
.dc-cta-banner__form-box .wpcf7-form input[type="submit"] {
    width: 100%;
    margin-top: 10px;
    padding: 18px 56px 18px 28px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fff;
    background-color: var(--dc-primary, #ff6b35);
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E"),
        linear-gradient(135deg, var(--dc-primary, #ff6b35) 0%, #ff8a4c 50%, #ffb347 100%);
    background-repeat: no-repeat, no-repeat;
    background-position: calc(100% - 24px) center, center;
    background-size: 20px 20px, auto;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    box-shadow:
        0 10px 24px -8px rgba(255, 107, 53, 0.55),
        0 1px 0 rgba(255, 255, 255, 0.25) inset;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.3s ease,
        filter 0.25s ease;
}

.dc-cta-banner__form-box .wpcf7-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow:
        0 18px 32px -10px rgba(255, 107, 53, 0.65),
        0 1px 0 rgba(255, 255, 255, 0.3) inset;
    filter: brightness(1.07);
}

.dc-cta-banner__form-box .wpcf7-form input[type="submit"]:active {
    transform: translateY(0);
}

.dc-cta-banner__form-box .wpcf7-not-valid-tip {
    margin-top: 3px;
    font-size: 11px;
    color: #dc2626;
}

.dc-cta-banner__form-box .wpcf7-response-output {
    grid-column: 1 / -1;
    margin: 8px 0 0 !important;
    padding: 9px 12px !important;
    font-size: 12px;
    border-radius: 9px !important;
}

.dc-cta-banner__form-box .wpcf7-spinner {
    margin: 0 0 0 8px;
}

@media (max-width: 640px) {
    .dc-cta-banner__image-side--form {
        padding: 32px 20px;
    }
    .dc-cta-banner__form-box {
        padding: 28px 24px 26px;
        border-radius: 22px;
    }
    .dc-cta-banner__form-title {
        font-size: 22px;
    }
    .dc-cta-banner__form-title::before {
        width: 32px;
        height: 32px;
        font-size: 16px;
        margin-right: 10px;
    }
    .dc-cta-banner__form-subtitle {
        padding-left: 42px;
        font-size: 13px;
        margin-bottom: 20px;
    }
    .dc-cta-banner__form-box .wpcf7-form {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .dc-cta-banner__form-box .wpcf7-form input[type="text"],
    .dc-cta-banner__form-box .wpcf7-form input[type="tel"],
    .dc-cta-banner__form-box .wpcf7-form input[type="email"],
    .dc-cta-banner__form-box .wpcf7-form textarea {
        padding: 14px 14px 14px 44px;
        font-size: 14px;
    }
    .dc-cta-banner__form-box .wpcf7-form input[type="submit"] {
        padding: 16px 50px 16px 24px;
        font-size: 14px;
    }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .dc-cta-banner--split,
    .dc-cta-banner--split-form {
        grid-template-columns: 1fr;
    }

    .dc-cta-banner__image-side {
        min-height: 300px;
        order: -1;
    }

    .dc-cta-banner__image-side--form {
        order: 0;
        min-height: 0;
        padding: 40px 24px;
    }

    .dc-cta-banner__image-overlay {
        background: linear-gradient(0deg, var(--dc-secondary) 0%, transparent 50%);
    }
}

@media (max-width: 768px) {
    .dc-cta-banner__content {
        padding: 48px 24px;
    }

    .dc-cta-banner__actions {
        flex-direction: column;
        width: 100%;
    }

    .dc-cta-banner__btn {
        width: 100%;
        justify-content: center;
    }

    .dc-cta-banner__usps {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px 16px;
    }

    .dc-cta-banner__usp {
        font-size: 12px;
        gap: 6px;
    }

    .dc-cta-banner__usp-icon {
        width: 20px;
        height: 20px;
        min-width: 20px;
        padding: 3px;
    }

    .dc-cta-banner__usp-icon svg {
        width: 12px;
        height: 12px;
    }

    .dc-cta-banner__decor--leaf,
    .dc-cta-banner__decor--glass,
    .dc-cta-banner__decor--beams {
        display: none;
    }
}
