/* dc-jilpaq-usp widget (developercode-core). Colours come from the widget controls via Elementor selectors. */
.dc-jilpaq-usp {
    --p: #C8102E;
    --a: #0F6B3E;
    --d: #0A0A0A;
    --bg: #FFF8EE;
}
.dc-jilpaq-usp *, .dc-jilpaq-usp *::before, .dc-jilpaq-usp *::after { box-sizing: border-box; }

.dc-jilpaq-usp .jq-usp {
    position: relative;
    padding: clamp(56px, 9vh, 110px) clamp(20px, 4vw, 56px);
    background: var(--bg); color: var(--d);
    overflow: hidden;
    font-family: 'Inter','Poppins',system-ui,sans-serif;
}

.dc-jilpaq-usp .jq-usp__inner {
    max-width: 1280px; margin: 0 auto; position: relative; z-index: 2;
}

/* Header */
.dc-jilpaq-usp .jq-usp__header {
    max-width: 760px; margin: 0 0 clamp(48px, 6vh, 72px);
    text-align: center; margin-left: auto; margin-right: auto;
}
.dc-jilpaq-usp .jq-usp__eyebrow {
    margin-bottom: 24px;
    justify-content: center;
}
.dc-jilpaq-usp .jq-usp__title {
    font-family: 'Fraunces','Playfair Display',serif;
    font-size: clamp(34px, 4.4vw, 56px);
    font-weight: 700; line-height: 1.05; letter-spacing: -.025em;
    margin: 0 0 18px; color: var(--d);
}
.dc-jilpaq-usp .jq-usp__title em {
    color: var(--p); font-style: italic;
}
.dc-jilpaq-usp .jq-usp__lead {
    font-size: clamp(15px, 1.2vw, 18px); line-height: 1.6;
    color: rgba(10,10,10,.65); margin: 0;
}

/* Flow container — zigzag pad zoals hero-banner.png */
.dc-jilpaq-usp .jq-usp__flow {
    position: relative;
    width: 100%;
    min-height: clamp(620px, 64vw, 720px);
}

/* Dashed connectie SVG achter de kaarten */
.dc-jilpaq-usp .jq-usp__lines {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
}
.dc-jilpaq-usp .jq-usp__lines path {
    fill: none;
    stroke: var(--p);
    stroke-width: 1.5;
    stroke-dasharray: 6 8;
    stroke-linecap: round;
    opacity: .55;
    stroke-dashoffset: 1200;
    animation: jq-usp-draw 2.4s ease-out .3s forwards;
}
.dc-jilpaq-usp .jq-usp__lines circle {
    fill: var(--p);
    opacity: 0;
    animation: jq-usp-dot 0.5s ease-out forwards;
}
.dc-jilpaq-usp .jq-usp__lines circle:nth-of-type(1) { animation-delay: .9s; }
.dc-jilpaq-usp .jq-usp__lines circle:nth-of-type(2) { animation-delay: 1.4s; }
.dc-jilpaq-usp .jq-usp__lines circle:nth-of-type(3) { animation-delay: 1.9s; }
@keyframes jq-usp-draw { to { stroke-dashoffset: 0; } }
@keyframes jq-usp-dot { to { opacity: 1; } }

/* Step kaart */
.dc-jilpaq-usp .jq-usp__step {
    position: absolute;
    width: 260px;
    background: #fff;
    border: 1px solid rgba(10,10,10,.06);
    border-radius: 22px;
    padding: 18px 18px 20px;
    box-shadow:
        0 24px 60px -30px rgba(10,10,10,.25),
        0 6px 16px -6px rgba(10,10,10,.06);
    z-index: 2;
    opacity: 0;
    transform: translateY(24px) rotate(var(--rot, 0deg));
    transition: transform .6s cubic-bezier(.22,1,.36,1), box-shadow .5s ease, opacity .8s ease;
    display: flex; flex-direction: column; gap: 12px;
}
.dc-jilpaq-usp .jq-usp__step.is-in {
    opacity: 1;
    transform: translateY(0) rotate(var(--rot, 0deg));
}
.dc-jilpaq-usp .jq-usp__step:hover {
    transform: translateY(-8px) rotate(0deg);
    box-shadow:
        0 36px 70px -28px color-mix(in srgb, var(--p) 35%, transparent),
        0 8px 18px -6px rgba(10,10,10,.08);
    z-index: 10;
}

/* Posities — zigzag flow */
.dc-jilpaq-usp .jq-usp__step--1 {
    top: 0;       left: 0;
    --rot: -2deg;
    transition-delay: .1s;
}
.dc-jilpaq-usp .jq-usp__step--2 {
    top: 28%;     left: 26%;
    --rot: 1.5deg;
    transition-delay: .25s;
}
.dc-jilpaq-usp .jq-usp__step--3 {
    top: 12%;     right: 26%;
    --rot: -1.5deg;
    transition-delay: .4s;
}
.dc-jilpaq-usp .jq-usp__step--4 {
    top: 42%;     left: 89%;
    --rot: 2deg;
    transition-delay: .55s;
}

/* Afbeelding bovenaan kaart */
.dc-jilpaq-usp .jq-usp__img-wrap {
    position: relative;
    width: 100%; aspect-ratio: 4/3;
    border-radius: 14px;
    overflow: hidden;
    background: var(--bg);
}
.dc-jilpaq-usp .jq-usp__img-wrap::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(10,10,10,.18));
    pointer-events: none;
}
.dc-jilpaq-usp .jq-usp__img-wrap img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .8s cubic-bezier(.22,1,.36,1);
}
.dc-jilpaq-usp .jq-usp__step:hover .jq-usp__img-wrap img {
    transform: scale(1.06);
}

/* Stap nummer cirkel — boven de afbeelding, prominent */
.dc-jilpaq-usp .jq-usp__num {
    position: absolute;
    top: -14px; left: -14px;
    width: 52px; height: 52px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--p); color: #fff;
    font-family: 'Fraunces',serif;
    font-size: 17px; font-weight: 700;
    box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--p) 55%, transparent);
    z-index: 3;
    border: 3px solid var(--bg);
}

/* Tag pill onder de foto */
.dc-jilpaq-usp .jq-usp__tag {
    position: absolute;
    bottom: 12px; left: 12px;
    background: rgba(255,255,255,.95);
    color: var(--d);
    padding: 5px 10px;
    border-radius: 100px;
    font-size: 11px; font-weight: 700;
    letter-spacing: .04em;
    box-shadow: 0 4px 12px rgba(10,10,10,.08);
    display: inline-flex; align-items: center; gap: 5px;
}
.dc-jilpaq-usp .jq-usp__tag::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%;
    background: var(--p);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--p) 18%, transparent);
}

.dc-jilpaq-usp .jq-usp__title-s {
    font-family: 'Fraunces','Playfair Display',serif;
    font-size: 18px; font-weight: 700; line-height: 1.25;
    margin: 4px 0 0; color: var(--d);
    letter-spacing: -.01em;
}
.dc-jilpaq-usp .jq-usp__desc {
    font-size: 13px; line-height: 1.55;
    color: rgba(10,10,10,.62); margin: 0;
}

/* Decoratieve floating chips (zoals satellite-iconen in design) */
.dc-jilpaq-usp .jq-usp__chip {
    position: absolute;
    width: 44px; height: 44px;
    background: #fff;
    border: 1px solid rgba(10,10,10,.06);
    border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 24px -10px rgba(10,10,10,.18);
    color: var(--p);
    z-index: 2;
    animation: jq-usp-float 6s ease-in-out infinite;
}
.dc-jilpaq-usp .jq-usp__chip svg { width: 18px; height: 18px; }
.dc-jilpaq-usp .jq-usp__chip--a { top: 42%; left: 18%; animation-delay: 0s; transform: rotate(-8deg); }
.dc-jilpaq-usp .jq-usp__chip--b { top: 6%; left: 44%; animation-delay: 1.5s; transform: rotate(6deg); width: 38px; height: 38px; }
.dc-jilpaq-usp .jq-usp__chip--c { top: 38%; right: 14%; animation-delay: 3s; transform: rotate(10deg); }
.dc-jilpaq-usp .jq-usp__chip--d { top: 78%; left: 50%; animation-delay: 2s; transform: rotate(-5deg); width: 38px; height: 38px; }
@keyframes jq-usp-float {
    0%, 100% { transform: translate(0,0) rotate(var(--cr, 0deg)); }
    50%      { transform: translate(0,-8px) rotate(var(--cr, 0deg)); }
}
.dc-jilpaq-usp .jq-usp__chip--a { --cr: -8deg; }
.dc-jilpaq-usp .jq-usp__chip--b { --cr: 6deg; }
.dc-jilpaq-usp .jq-usp__chip--c { --cr: 10deg; }
.dc-jilpaq-usp .jq-usp__chip--d { --cr: -5deg; }

/* Responsive */
@media (max-width: 1100px) {
    .dc-jilpaq-usp .jq-usp__step { width: 240px; }
    .dc-jilpaq-usp .jq-usp__step--2 { left: 22%; }
    .dc-jilpaq-usp .jq-usp__step--3 { right: 22%; }
}
@media (max-width: 880px) {
    .dc-jilpaq-usp .jq-usp__flow {
        min-height: auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .dc-jilpaq-usp .jq-usp__lines,
    .dc-jilpaq-usp .jq-usp__chip { display: none; }
    .dc-jilpaq-usp .jq-usp__step {
        position: relative;
        top: auto; left: auto; right: auto;
        width: 100%;
        --rot: 0deg;
    }
}
@media (max-width: 520px) {
    .dc-jilpaq-usp .jq-usp__flow {
        grid-template-columns: 1fr;
    }
}
@media (prefers-reduced-motion: reduce) {
    .dc-jilpaq-usp .jq-usp__step,
    .dc-jilpaq-usp .jq-usp__chip,
    .dc-jilpaq-usp .jq-usp__lines path,
    .dc-jilpaq-usp .jq-usp__lines circle {
        animation: none !important;
        transition: none !important;
    }
    .dc-jilpaq-usp .jq-usp__step { opacity: 1; transform: rotate(var(--rot, 0deg)); }
    .dc-jilpaq-usp .jq-usp__lines path { stroke-dashoffset: 0; }
    .dc-jilpaq-usp .jq-usp__lines circle { opacity: 1; }
}
