/**
 * Yakup Stucadoors — sticky footer CTA. Compacte pil rechtsonder in beeld,
 * pas zichtbaar voorbij de hero en komt omhoog met een transform.
 */

.yk-sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    padding: 0 clamp(8px, 2vw, 24px) calc(12px + env(safe-area-inset-bottom));
    pointer-events: none;
    visibility: hidden;
    transform: translateY(calc(100% + 24px));
    transition: transform 420ms var(--dc-ease-default), visibility 0s linear 420ms;
}

.yk-sticky-cta.is-visible {
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s;
}

.yk-sticky-cta__inner {
    width: fit-content;
    max-width: min(100%, 620px);
    margin-left: auto;
    padding: 6px 6px 6px 8px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 18px 50px rgba(24, 29, 35, 0.18), 0 2px 6px rgba(24, 29, 35, 0.08);
    pointer-events: auto;
}

.yk-sticky-cta__bar {
    display: flex;
    align-items: center;
    gap: 10px;
}

.yk-sticky-cta__toggle {
    display: grid;
    place-items: center;
    flex: none;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--dc-bg-alt);
    color: var(--dc-title);
    cursor: pointer;
}

.yk-sticky-cta__toggle .yk-icon {
    transform: rotate(180deg);
    transition: transform var(--dc-duration-normal) ease-out;
}

.yk-sticky-cta__toggle[aria-expanded="true"] .yk-icon {
    transform: none;
}

.yk-sticky-cta__logo {
    flex: none;
}

.yk-sticky-cta .yk-sticky-cta__logo-img {
    width: auto;
    height: 26px;
}

.yk-sticky-cta__line {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 500;
    color: var(--dc-title);
}

.yk-sticky-cta__actions {
    display: flex;
    gap: 6px;
    flex: none;
}

.yk-sticky-cta__actions .yk-btn {
    min-height: 40px;
    padding: 8px 16px;
    font-size: 14px;
}

.yk-sticky-cta__more {
    display: none;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 10px 6px 4px 46px;
}

.yk-sticky-cta[data-state="expanded"] .yk-sticky-cta__more {
    display: grid;
    animation: yk-sticky-more 260ms var(--dc-ease-default) both;
}

@keyframes yk-sticky-more {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

.yk-sticky-cta__usps {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
    color: var(--dc-title);
}

.yk-sticky-cta__usps li {
    display: inline-flex;
    gap: 6px;
    align-items: center;
}

.yk-sticky-cta__usps .yk-icon {
    color: var(--dc-primary-dark);
}

.yk-sticky-cta__contact {
    display: grid;
    gap: 2px;
    font-size: 13px;
}

.yk-sticky-cta__contact a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 28px;
    color: var(--dc-title);
    font-weight: 600;
    text-decoration: none;
}

@media (max-width: 1023px) {
    .yk-sticky-cta__line {
        display: none;
    }
}

@media (max-width: 767px) {
    .yk-sticky-cta__logo {
        display: none;
    }

    .yk-sticky-cta__inner {
        border-radius: 16px;
        padding: 6px;
    }

    .yk-sticky-cta__actions .yk-btn {
        padding-inline: 14px;
    }

    .yk-sticky-cta__phone {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
    }

    .yk-sticky-cta__call {
        width: 40px;
        padding: 0 !important;
    }

    .yk-sticky-cta__more {
        grid-template-columns: minmax(0, 1fr);
        padding: 12px 6px 4px;
    }
}
