.qing-custom-service {
    position: relative;
    width: 100%;
    padding: 96px 0;
    background: #f8fafc;
    overflow: hidden;
}

.qing-custom-service__decor {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 0;
    display: block;
    width: 33.333%;
    height: 100%;
    background: #fff;
    transform: skewX(-12deg) translateX(80px);
}

.qing-custom-service__container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
}

.qing-custom-service__grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center;
    gap: 96px;
}

.qing-custom-service__visual {
    position: relative;
    width: 100%;
}

.qing-custom-service__image-card {
    position: relative;
    height: 600px;
    min-height: 260px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.qing-custom-service__image-tint {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(17, 24, 39, 0.2);
    pointer-events: none;
    transition: background 0.7s ease;
}

.qing-custom-service__image-card:hover .qing-custom-service__image-tint {
    background: transparent;
}

.qing-custom-service__image {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    display: block;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    min-height: 100%;
    object-fit: cover !important;
    object-position: center center;
    transition: transform 1s ease;
}

.qing-custom-service__image-card:hover .qing-custom-service__image {
    transform: scale(1.1);
}

.qing-custom-service__image-gradient {
    --qing-custom-gradient-start: rgba(0, 0, 0, 0.8);
    --qing-custom-gradient-middle: rgba(0, 0, 0, 0.2);
    position: absolute;
    inset: 0;
    z-index: 3;
    background: linear-gradient(to top, var(--qing-custom-gradient-start), var(--qing-custom-gradient-middle), transparent);
}

.qing-custom-service__image-content {
    position: absolute;
    left: 40px;
    right: 40px;
    bottom: 40px;
    z-index: 4;
}

.qing-custom-service__image-title {
    margin: 0 0 8px;
    color: #fff;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.25;
}

.qing-custom-service__image-description {
    color: #d1d5db;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.04em;
    line-height: 1.6;
}

.qing-custom-service__badge {
    position: absolute;
    top: 50%;
    right: -48px;
    z-index: 8;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    transform: translateY(-50%);
    animation: qingCustomBadgeBounce 6s infinite;
}

.qing-custom-service__badge-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border: 1px solid #f3f4f6;
    border-radius: 999px;
    background: #f9fafb;
}

.qing-custom-service__badge-icon {
    color: #2563eb;
    font-size: 24px;
}

.qing-custom-service__badge-label {
    margin-bottom: 4px;
    color: #9ca3af;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.3;
    text-transform: uppercase;
}

.qing-custom-service__badge-title {
    color: #111827;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.qing-custom-service__heading {
    margin-bottom: 48px;
}

.qing-custom-service__eyebrow {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #2563eb;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.4;
    text-transform: uppercase;
}

.qing-custom-service__eyebrow::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 1px;
    margin-right: 16px;
    background: #2563eb;
}

.qing-custom-service__title {
    margin: 0 0 24px;
    color: #111827;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 700;
    line-height: 1.12;
}

.qing-custom-service__description {
    max-width: 576px;
    color: #4b5563;
    font-size: 18px;
    line-height: 1.75;
}

.qing-custom-service__items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.qing-custom-service__item {
    position: relative;
    display: flex;
    gap: 24px;
    overflow: hidden;
    padding: 24px;
    border: 1px solid transparent;
    transition: background 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
}

.qing-custom-service__item:hover {
    border-color: #f3f4f6;
    background: #fff;
    box-shadow: 0 20px 32px rgba(15, 23, 42, 0.1);
}

.qing-custom-service__item-accent {
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: #2563eb;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.5s ease;
}

.qing-custom-service__item:hover .qing-custom-service__item-accent {
    transform: scaleY(1);
}

.qing-custom-service__item-number-wrap {
    flex: 0 0 auto;
    padding-top: 4px;
}

.qing-custom-service__item-number {
    color: #e5e7eb;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    transition: color 0.5s ease;
}

.qing-custom-service__item:hover .qing-custom-service__item-number {
    color: #2563eb;
}

.qing-custom-service__item-title {
    margin: 0 0 8px;
    color: #111827;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.qing-custom-service__item-description {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.7;
}

@keyframes qingCustomBadgeBounce {
    0%, 100% {
        transform: translateY(-50%);
    }
    50% {
        transform: translateY(calc(-50% - 12px));
    }
}

@media (max-width: 1024px) {
    .qing-custom-service__decor {
        display: none;
    }

    .qing-custom-service__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .qing-custom-service {
        padding: 64px 0;
    }

    .qing-custom-service__container {
        padding: 0 20px;
    }

    .qing-custom-service__badge {
        display: none;
    }

    .qing-custom-service__image-card {
        height: 420px;
    }

    .qing-custom-service__item {
        gap: 18px;
        padding: 20px;
    }
}
