/* DC CTA Banner Widget */

.dc-cta-banner * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ========================================
   HIGHLIGHT LAYOUT (image + content split)
======================================== */
.dc-cta-banner .dc-cta--highlight {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.dc-cta-banner .dc-cta--highlight .dc-cta__card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 480px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,0.12);
}

/* Image side */
.dc-cta-banner .dc-cta__image-side {
    position: relative;
    overflow: hidden;
}

.dc-cta-banner .dc-cta__image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.dc-cta-banner .dc-cta__card:hover .dc-cta__image-side img {
    transform: scale(1.06);
}

.dc-cta-banner .dc-cta__image-side::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(var(--dc-primary-rgb), 0.15) 0%, transparent 60%);
    pointer-events: none;
}

/* Diagonal cut overlay */
.dc-cta-banner .dc-cta__image-side::before {
    content: '';
    position: absolute;
    top: 0;
    right: -1px;
    width: 80px;
    height: 100%;
    background: var(--dc-secondary);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    z-index: 2;
}

/* Content side */
.dc-cta-banner .dc-cta__content-side {
    background: var(--dc-secondary);
    padding: 60px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Decorative orbs */
.dc-cta-banner .dc-cta__content-side::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(var(--dc-primary-rgb), 0.08);
    pointer-events: none;
}

.dc-cta-banner .dc-cta__content-side::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(var(--dc-primary-rgb), 0.05);
    pointer-events: none;
}

/* ========================================
   STANDARD LAYOUT
======================================== */
.dc-cta-banner .dc-cta--standard {
    position: relative;
    overflow: hidden;
    padding: 100px 40px;
    text-align: center;
    background: linear-gradient(135deg, var(--dc-secondary) 0%, #2a2a4a 100%);
}

.dc-cta-banner .dc-cta--standard::before,
.dc-cta-banner .dc-cta--standard::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
    pointer-events: none;
    background: var(--dc-primary);
}

.dc-cta-banner .dc-cta--standard::before {
    width: 400px;
    height: 400px;
    top: -150px;
    right: -100px;
}

.dc-cta-banner .dc-cta--standard::after {
    width: 300px;
    height: 300px;
    bottom: -100px;
    left: -80px;
}

/* ========================================
   FULL-WIDTH LAYOUT
======================================== */
.dc-cta-banner .dc-cta--full-width {
    position: relative;
    overflow: hidden;
    padding: 120px 40px;
    text-align: center;
    background: linear-gradient(135deg, var(--dc-secondary) 0%, #2a2a4a 100%);
}

.dc-cta-banner .dc-cta--full-width .dc-cta__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,26,46,0.88) 0%, rgba(26,26,46,0.72) 100%);
}

/* ========================================
   SHARED CONTENT STYLES
======================================== */
.dc-cta-banner .dc-cta__inner {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 0 auto;
}

.dc-cta-banner .dc-cta--highlight .dc-cta__inner {
    max-width: none;
    margin: 0;
}

/* Eyebrow */
.dc-cta-banner .dc-cta__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Lobster', cursive;
    font-size: 20px;
    font-weight: 400;
    color: var(--dc-primary);
    margin-bottom: 20px;
}

.dc-cta-banner .dc-cta__eyebrow::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--dc-primary);
    border-radius: 1px;
}

/* Title */
.dc-cta-banner .dc-cta__title {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 18px;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.dc-cta-banner .dc-cta__title-hl {
    font-family: 'Lobster', cursive;
    color: var(--dc-primary);
    font-weight: 400;
}

/* Subtitle */
.dc-cta-banner .dc-cta__subtitle {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.7);
}

/* USPs */
.dc-cta-banner .dc-cta__usps {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-bottom: 36px;
    list-style: none;
}

.dc-cta-banner .dc-cta--standard .dc-cta__usps,
.dc-cta-banner .dc-cta--full-width .dc-cta__usps {
    justify-content: center;
}

.dc-cta-banner .dc-cta__usp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
}

.dc-cta-banner .dc-cta__usp-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(var(--dc-primary-rgb), 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dc-cta-banner .dc-cta__usp-icon svg {
    width: 12px;
    height: 12px;
    color: var(--dc-primary);
}

/* Buttons */
.dc-cta-banner .dc-cta__buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.dc-cta-banner .dc-cta--standard .dc-cta__buttons,
.dc-cta-banner .dc-cta--full-width .dc-cta__buttons {
    justify-content: center;
}

.dc-cta-banner .dc-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
    text-decoration: none;
    border-radius: 14px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.dc-cta-banner .dc-cta__btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dc-cta-banner .dc-cta__btn:hover svg {
    transform: translateX(5px);
}

/* Primary button */
.dc-cta-banner .dc-cta__btn--primary {
    background: linear-gradient(135deg, var(--dc-primary) 0%, #e07a0e 50%, var(--dc-primary) 100%);
    background-size: 200% 100%;
    color: #ffffff;
    box-shadow: 0 8px 28px rgba(var(--dc-primary-rgb), 0.35), inset 0 1px 0 rgba(255,255,255,0.2);
}

.dc-cta-banner .dc-cta__btn--primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.dc-cta-banner .dc-cta__btn--primary:hover {
    background-position: 100% 0;
    transform: translateY(-3px);
    box-shadow: 0 16px 44px rgba(var(--dc-primary-rgb), 0.45), inset 0 1px 0 rgba(255,255,255,0.25);
}

.dc-cta-banner .dc-cta__btn--primary:hover::before {
    left: 120%;
}

/* Secondary button */
.dc-cta-banner .dc-cta__btn--secondary {
    background: rgba(255,255,255,0.06);
    color: #ffffff;
    border: 2px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.dc-cta-banner .dc-cta__btn--secondary:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1024px) {
    .dc-cta-banner .dc-cta--highlight .dc-cta__card {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .dc-cta-banner .dc-cta__image-side {
        height: 280px;
    }

    .dc-cta-banner .dc-cta__image-side::before {
        display: none;
    }

    .dc-cta-banner .dc-cta__content-side {
        padding: 48px 40px;
    }

    .dc-cta-banner .dc-cta--highlight {
        padding: 0 24px;
    }

    .dc-cta-banner .dc-cta__buttons {
        flex-direction: column;
    }

    .dc-cta-banner .dc-cta__btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .dc-cta-banner .dc-cta--standard,
    .dc-cta-banner .dc-cta--full-width {
        padding: 64px 24px;
    }

    .dc-cta-banner .dc-cta--highlight .dc-cta__card {
        border-radius: 24px;
    }

    .dc-cta-banner .dc-cta__image-side {
        height: 220px;
    }

    .dc-cta-banner .dc-cta__content-side {
        padding: 36px 28px;
    }

    .dc-cta-banner .dc-cta__usps {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .dc-cta-banner .dc-cta--standard,
    .dc-cta-banner .dc-cta--full-width {
        padding: 48px 16px;
    }

    .dc-cta-banner .dc-cta--highlight {
        padding: 0 16px;
    }

    .dc-cta-banner .dc-cta__content-side {
        padding: 28px 20px;
    }

    .dc-cta-banner .dc-cta__title {
        font-size: clamp(22px, 6vw, 32px);
    }

    .dc-cta-banner .dc-cta__subtitle {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .dc-cta-banner .dc-cta__btn {
        padding: 14px 28px;
        font-size: 14px;
    }

    .dc-cta-banner .dc-cta__content-side::before,
    .dc-cta-banner .dc-cta__content-side::after {
        display: none;
    }

    .dc-cta-banner .dc-cta--standard::before,
    .dc-cta-banner .dc-cta--standard::after {
        display: none;
    }

    .dc-cta-banner .dc-cta__image-side {
        height: 180px;
    }
}
