/* ==========================================================================
   CTA Appointment — Floating Images + Custom Icons — 2026
   ========================================================================== */

.dc-cta {
    --cta-bg:          #f6f9f8;
    --cta-surface:     #ffffff;
    --cta-accent:      #3e9c95;
    --cta-accent-dark: #2e7f78;
    --cta-primary:     #001830;
    --cta-text:        #546070;
    --cta-border:      rgba(15, 26, 43, 0.08);
    --cta-radius:      22px;
}

/* ── Section ────────────────────────────────────────────────────────────── */
.dc-cta {
    background: var(--cta-bg);
    padding: 90px 24px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--cta-border);
    border-bottom: 1px solid var(--cta-border);
}

/* ── Ambient glows ──────────────────────────────────────────────────────── */
.dc-cta__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(130px);
    pointer-events: none;
}

.dc-cta__glow--1 {
    width: 480px; height: 480px;
    background: var(--cta-accent);
    opacity: 0.12;
    top: -160px; right: -100px;
}

.dc-cta__glow--2 {
    width: 360px; height: 360px;
    background: var(--cta-accent);
    opacity: 0.06;
    bottom: -120px; left: -60px;
}

/* ── Layout ─────────────────────────────────────────────────────────────── */
.dc-cta__wrap {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* ═══════════════════════════════════════════════════════════════════════════
   BODY — Content Column
   ═══════════════════════════════════════════════════════════════════════════ */
.dc-cta__body {
    display: flex;
    flex-direction: column;
}

/* Tag — uses shared hero-eyebrow from lc-cta.css */
.dc-cta__body .hero-eyebrow {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
}

.dc-cta--visible .hero-eyebrow { opacity: 1; transform: none; }

/* Eyebrow is rendered via the shared DC_Eyebrow helper — no overrides needed. */
.dc-cta .dc-eyebrow { color: #001830; margin-bottom: 14px; }

/* Heading */
.dc-cta__heading {
    color: var(--cta-primary);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    line-height: 1.14;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s ease 0.18s, transform 0.5s ease 0.18s;
}

.dc-cta--visible .dc-cta__heading { opacity: 1; transform: none; }

/* Description */
.dc-cta__desc {
    color: var(--cta-text);
    font-size: clamp(15px, 1.4vw, 17px);
    line-height: 1.7;
    margin: 0 0 30px;
    max-width: 520px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease 0.26s, transform 0.5s ease 0.26s;
}

.dc-cta--visible .dc-cta__desc { opacity: 1; transform: none; }

/* ═══════════════════════════════════════════════════════════════════════════
   USPs — Custom checkmark, no icon picker
   ═══════════════════════════════════════════════════════════════════════════ */
.dc-cta__usps {
    list-style: none;
    margin: 0 0 36px;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
}

.dc-cta__usp {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.dc-cta--visible .dc-cta__usp {
    opacity: 1;
    transform: none;
    transition-delay: calc(0.32s + var(--usp-i, 0) * 0.07s);
}

.dc-cta__usp-check {
    width: 24px; height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: color-mix(in srgb, var(--cta-accent) 18%, transparent);
    flex-shrink: 0;
    transition: background 0.25s ease;
}

.dc-cta__usp-check svg {
    width: 14px; height: 14px;
    color: var(--cta-accent);
    stroke-width: 2.5;
}

.dc-cta__usp:hover .dc-cta__usp-check {
    background: color-mix(in srgb, var(--cta-accent) 30%, transparent);
}

.dc-cta__usp-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--cta-primary);
    line-height: 1.35;
}

/* ═══════════════════════════════════════════════════════════════════════════
   ACTIONS — CTA Button + Quick pills
   ═══════════════════════════════════════════════════════════════════════════ */
.dc-cta__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease 0.5s, transform 0.5s ease 0.5s;
}

.dc-cta--visible .dc-cta__actions { opacity: 1; transform: none; }

/* Primary CTA — match the shared hero-btn-primary (navy → teal on hover) */
.dc-cta__actions .hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: 999px;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.01em;
    text-decoration: none;
    background: #001830;
    color: #ffffff !important;
    border: 2px solid transparent;
    cursor: pointer;
    box-shadow: 0 14px 30px -10px rgba(0, 24, 48, 0.45);
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.dc-cta__actions .hero-btn .btn-bg,
.dc-cta__actions .hero-btn .btn-shine { display: none; }
.dc-cta__actions .hero-btn .btn-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.dc-cta__actions .hero-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}
.dc-cta__actions .hero-btn:hover {
    background: #3e9c95;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 18px 40px -10px rgba(62, 156, 149, 0.7);
}
.dc-cta__actions .hero-btn:hover svg { transform: translateX(3px); }

/* Quick action pills — same shape + teal family */
.dc-cta__quick {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.dc-cta__pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--cta-primary);
    background: var(--cta-surface);
    border: 1px solid var(--cta-border);
    border-radius: 999px;
    text-decoration: none;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.dc-cta__pill svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.dc-cta__pill--phone:hover,
.dc-cta__pill--wa:hover {
    background: #3e9c95;
    border-color: #3e9c95;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -10px rgba(62, 156, 149, 0.55);
}

/* ═══════════════════════════════════════════════════════════════════════════
   VISUAL — Floating Image Composition
   ═══════════════════════════════════════════════════════════════════════════ */
.dc-cta__visual {
    position: relative;
    min-height: 460px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.dc-cta--visible .dc-cta__visual { opacity: 1; transform: none; }

/* Shared image style */
.dc-cta__img {
    position: absolute;
    overflow: hidden;
    z-index: 1;
}

.dc-cta__img img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}

/* Main image */
.dc-cta__img--main {
    width: 60%;
    aspect-ratio: 4 / 5;
    top: 3%;
    left: 10%;
    z-index: 2;
    border-radius: 22px;
    box-shadow:
        0 10px 24px -10px rgba(0, 24, 48, 0.18),
        0 30px 60px -20px rgba(0, 24, 48, 0.25);
    animation: ctaFloat 6s ease-in-out infinite alternate;
}

@keyframes ctaFloat {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-10px); }
}

/* Float 1 — top-right overlap */
.dc-cta__img--f1 {
    width: 36%;
    aspect-ratio: 3 / 4;
    top: -3%;
    right: -2%;
    z-index: 3;
    border-radius: 16px;
    border: none;
    box-shadow: 0 20px 40px -12px rgba(0, 24, 48, 0.22);
    transform: rotate(3deg);
    animation: ctaFloat1 7s ease-in-out 0.5s infinite alternate;
}

@keyframes ctaFloat1 {
    0%   { transform: rotate(3deg) translateY(0); }
    100% { transform: rotate(3deg) translateY(-8px); }
}

/* Float 2 — bottom-left overlap */
.dc-cta__img--f2 {
    width: 34%;
    aspect-ratio: 1 / 1;
    bottom: 1%;
    left: -4%;
    z-index: 3;
    border-radius: 16px;
    border: none;
    box-shadow: 0 20px 40px -12px rgba(0, 24, 48, 0.22);
    transform: rotate(-2deg);
    animation: ctaFloat2 8s ease-in-out 1s infinite alternate;
}

@keyframes ctaFloat2 {
    0%   { transform: rotate(-2deg) translateY(0); }
    100% { transform: rotate(-2deg) translateY(-7px); }
}

/* ── Trust Badge ────────────────────────────────────────────────────────── */
.dc-cta__trust {
    position: absolute;
    bottom: -15%;
    right: 3%;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: var(--cta-surface);
    border: 1px solid var(--cta-border);
    border-radius: 14px;
    box-shadow: 0 18px 38px -14px rgba(0, 24, 48, 0.22);
    animation: ctaFloat 5s ease-in-out 1.5s infinite alternate;
    opacity: 0;
    transition: opacity 0.5s ease 0.6s;
}

.dc-cta--visible .dc-cta__trust { opacity: 1; }

.dc-cta__trust-star {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: rgba(240, 179, 80, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dc-cta__trust-star svg {
    width: 18px; height: 18px;
    color: #f0b350;
}

.dc-cta__trust-body {
    display: flex;
    align-items: baseline;
    gap: 5px;
    font-size: 13px;
    color: var(--cta-text);
    white-space: nowrap;
}

.dc-cta__trust-body strong {
    font-size: 17px;
    font-weight: 700;
    color: var(--cta-primary);
    letter-spacing: -0.01em;
}

.dc-cta__trust-sep {
    opacity: 0.4;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FLOATING CTA CARD — Bottom Right
   ═══════════════════════════════════════════════════════════════════════════ */
.dc-cta__float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 990;
    width: 280px;
    background: var(--cta-surface);
    border: 1px solid var(--cta-border);
    border-radius: 18px;
    padding: 16px;
    box-shadow:
        0 18px 40px -14px rgba(0, 24, 48, 0.35),
        0 0 0 1px rgba(15, 26, 43, 0.04);
    transform: translateY(120%) scale(0.95);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    pointer-events: none;
}

.dc-cta__float--visible {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

/* Minimized state */
.dc-cta__float--minimized {
    width: auto;
    padding: 0;
    border-radius: 14px;
}

.dc-cta__float--minimized .dc-cta__float-body {
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    overflow: hidden;
    pointer-events: none;
}

.dc-cta__float--minimized .dc-cta__float-toggle {
    border-radius: 14px;
    padding: 12px 16px;
}

/* Toggle button */
.dc-cta__float-toggle {
    position: absolute;
    top: 0;
    right: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 26, 43, 0.05);
    border: none;
    border-radius: 0 18px 0 12px;
    cursor: pointer;
    color: var(--cta-text);
    transition: background 0.2s, color 0.2s;
    z-index: 2;
}

.dc-cta__float-toggle:hover {
    background: rgba(62, 156, 149, 0.12);
    color: var(--cta-accent-dark);
}

/* Icon visibility */
.dc-cta__float-icon--max { display: none; }
.dc-cta__float--minimized .dc-cta__float-icon--min { display: none; }
.dc-cta__float--minimized .dc-cta__float-icon--max { display: block; }

.dc-cta__float--minimized .dc-cta__float-toggle {
    position: static;
    width: 100%;
    border-radius: 14px;
}

/* Card body */
.dc-cta__float-body {
    max-height: 300px;
    opacity: 1;
    padding-top: 0;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, padding-top 0.35s ease;
}

/* Duur text */
.dc-cta__float-text {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--cta-text);
}

.dc-cta__float-text svg {
    color: var(--cta-accent);
    flex-shrink: 0;
}

/* Actions */
.dc-cta__float-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dc-cta__float-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    background: var(--cta-accent);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 10px 22px -10px rgba(62, 156, 149, 0.55);
    transition: background-color 0.25s, transform 0.2s, box-shadow 0.25s;
}

.dc-cta__float-btn:hover {
    background: var(--cta-primary);
    transform: translateY(-1px);
    color: #ffffff;
    box-shadow: 0 14px 28px -10px rgba(0, 24, 48, 0.45);
}

.dc-cta__float-icons {
    display: flex;
    gap: 8px;
}

.dc-cta__float-ico {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    border-radius: 10px;
    background: rgba(62, 156, 149, 0.08);
    border: 1px solid rgba(62, 156, 149, 0.2);
    text-decoration: none;
    transition: background 0.2s, box-shadow 0.2s, border-color 0.2s, color 0.2s;
}

.dc-cta__float-ico svg {
    width: 18px; height: 18px;
    color: var(--cta-accent-dark);
}

.dc-cta__float-ico--phone:hover,
.dc-cta__float-ico--wa:hover {
    background: var(--cta-accent);
    border-color: var(--cta-accent);
    box-shadow: 0 8px 18px -8px rgba(62, 156, 149, 0.55);
}
.dc-cta__float-ico--phone:hover svg,
.dc-cta__float-ico--wa:hover svg {
    color: #ffffff;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .dc-cta__wrap {
        grid-template-columns: 1fr;
        gap: 48px;
        max-width: 620px;
    }

    .dc-cta__visual { order: -1; min-height: 380px; }

    .dc-cta__body {
        align-items: flex-start;
        text-align: left;
    }

    .dc-cta__usps {
        max-width: 480px;
    }

    .dc-cta__actions { justify-content: flex-start; }
    .dc-cta__quick { justify-content: flex-start; }
}

@media (max-width: 768px) {
    .dc-cta { padding: 56px 16px; }

    .dc-cta__glow--1 { width: 280px; height: 280px; }
    .dc-cta__glow--2 { width: 220px; height: 220px; }

    .dc-cta__visual { min-height: 320px; }
    .dc-cta__img--main { border-radius: 18px; }
    .dc-cta__img--f1, .dc-cta__img--f2 { border-radius: 14px; }

    .dc-cta__usps {
        grid-template-columns: 1fr;
        max-width: 280px;
    }

    .dc-cta__actions { flex-direction: column; align-items: flex-start; gap: 12px; }
    .dc-cta__actions .hero-btn { width: auto; justify-content: flex-start; }
    .dc-cta__quick { width: auto; flex-wrap: wrap; }
    .dc-cta__pill { flex: 0 0 auto; justify-content: flex-start; }

    .dc-cta__trust {
        padding: 10px 14px;
        gap: 8px;
    }

    .dc-cta__trust-body strong { font-size: 15px; }
    .dc-cta__trust-body { font-size: 11px; }
}

@media (max-width: 480px) {
    .dc-cta { padding: 40px 14px; }

    .dc-cta__float {
        right: 12px;
        bottom: 12px;
        width: 260px;
        padding: 14px;
    }

    .dc-cta__heading { font-size: 26px; }
    .dc-cta__visual { min-height: 270px; }
    .dc-cta__img--main { width: 72%; left: 14%; }
    .dc-cta__img--f1 { width: 32%; right: 2%; }
    .dc-cta__img--f2 { width: 30%; left: 0; }
    .dc-cta__usp-text { font-size: 13px; }
    .dc-cta__trust { right: 2%; bottom: -8%; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    .dc-cta__body .hero-eyebrow,
    .dc-cta__heading,
    .dc-cta__desc,
    .dc-cta__usp,
    .dc-cta__actions,
    .dc-cta__visual,
    .dc-cta__trust {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .dc-cta__img--main,
    .dc-cta__img--f1,
    .dc-cta__img--f2,
    .dc-cta__trust {
        animation: none !important;
    }

    .dc-cta__img--f1 { transform: rotate(3deg) !important; }
    .dc-cta__img--f2 { transform: rotate(-2deg) !important; }

    .dc-cta__float { transition: none !important; }

    .dc-cta__pill:hover {
        box-shadow: none !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   ELEMENTOR EDITOR
   ═══════════════════════════════════════════════════════════════════════════ */
.elementor-editor-active .dc-cta__body .hero-eyebrow,
.elementor-editor-active .dc-cta__heading,
.elementor-editor-active .dc-cta__desc,
.elementor-editor-active .dc-cta__usp,
.elementor-editor-active .dc-cta__actions,
.elementor-editor-active .dc-cta__visual,
.elementor-editor-active .dc-cta__trust {
    opacity: 1 !important;
    transform: none !important;
}

.elementor-editor-active .dc-cta__img--f1 { transform: rotate(3deg) !important; }
.elementor-editor-active .dc-cta__img--f2 { transform: rotate(-2deg) !important; }

.elementor-editor-active .dc-cta__float {
    display: none !important;
}
