/**
 * Flatsome UX Builder Element: Service CTA Bar
 * Class: service-cta
 * Theme: Flatsome Child - Long Thành Công
 */

.service-cta {
    position: relative;
    width: 100%;
    padding: 26px 0;
    background: linear-gradient(135deg, #024b2b 0%, #056941 50%, #034f2d 100%);
    background-size: cover;
    background-position: center;
    overflow: hidden;
    color: #ffffff;
    box-sizing: border-box;
}

.service-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 180px;
    height: 100%;
    background: radial-gradient(circle at left center, rgba(16, 185, 129, 0.22) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.service-cta::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 180px;
    height: 100%;
    background: radial-gradient(circle at right center, rgba(16, 185, 129, 0.18) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.service-cta__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.04);
    pointer-events: none;
}

.service-cta__container {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

/* Left: Icon & Main Title */
.service-cta__left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
    max-width: 440px;
}

.service-cta__icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
}

.service-cta__icon svg {
    width: 42px;
    height: 42px;
    stroke: #ffffff;
    stroke-width: 1.8;
    fill: none;
    display: block;
}

.service-cta__icon img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    display: block;
}

.service-cta__title {
    font-size: clamp(16px, 1.8vw, 19px);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.35;
    margin: 0;
    letter-spacing: -0.2px;
}

/* Middle: Secondary text */
.service-cta__middle {
    flex-grow: 1;
    max-width: 440px;
}

.service-cta__desc {
    font-size: clamp(13.5px, 1.25vw, 15px);
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.45;
    margin: 0;
    font-weight: 400;
}

/* Right: Button */
.service-cta__action {
    flex-shrink: 0;
}

.service-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 999px;
    background: #ffffff;
    color: var(--ltc-primary, #056941) !important;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
    transition: all 0.25s ease;
    white-space: nowrap;
}

.service-cta__btn:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    color: var(--ltc-primary-dark, #004d2e) !important;
}

.service-cta__btn-icon {
    flex-shrink: 0;
}

.service-cta__btn-arrow {
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.service-cta__btn:hover .service-cta__btn-arrow {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 1024px) {
    .service-cta__container {
        flex-wrap: wrap;
        gap: 20px;
    }
    .service-cta__middle {
        max-width: 100%;
        order: 2;
        width: 100%;
    }
    .service-cta__action {
        order: 3;
    }
}

@media (max-width: 767px) {
    .service-cta {
        padding: 24px 0;
    }
    .service-cta__container {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .service-cta__left,
    .service-cta__middle,
    .service-cta__action {
        width: 100%;
        max-width: 100%;
    }
    .service-cta__btn {
        width: 100%;
        justify-content: center;
    }
}
