/* 플로팅 관련 서비스 바 */
.floating-services-bar {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-services-bar.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-services-bar.scroll-down {
    transform: translateY(10px);
}

.floating-services-toggle {
    background: var(--primary-blue);
    color: white;
    border-radius: 50px;
    padding: 12px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(71, 110, 243, 0.3);
    transition: all 0.3s ease;
    min-width: 140px;
    justify-content: center;
}

.floating-services-toggle:hover {
    background: #3b5fd9;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(71, 110, 243, 0.4);
}

.toggle-text {
    font-weight: 600;
    font-size: 14px;
}

.toggle-icon {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.floating-services-bar.expanded .toggle-icon {
    transform: rotate(180deg);
}

.floating-services-content {
    position: absolute;
    right: 0;
    bottom: 60px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid #e2e8f0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 280px;
    backdrop-filter: blur(10px);
}

.floating-services-bar.expanded .floating-services-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.floating-service-item {
    border-bottom: 1px solid #f1f5f9;
}

.floating-service-item:last-child {
    border-bottom: none;
}

.floating-service-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border-radius: 16px;
}

.floating-service-link:hover {
    background: #f8fafc;
    transform: translateX(-2px);
}

.floating-service-icon {
    font-size: 24px;
    background: #f1f5f9;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.floating-service-link:hover .floating-service-icon {
    background: var(--primary-blue);
    transform: scale(1.1);
}

.floating-service-text {
    flex: 1;
}

.floating-service-text h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-800);
    margin: 0 0 4px 0;
}

.floating-service-text span {
    font-size: 12px;
    color: var(--gray-600);
    line-height: 1.4;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .floating-services-bar {
        right: 16px;
        bottom: 16px;
    }
    
    .floating-services-content {
        min-width: 260px;
    }
    
    .floating-services-toggle {
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .floating-services-bar {
        right: 12px;
        bottom: 12px;
    }
    
    .floating-services-content {
        min-width: 240px;
        right: -20px;
    }
    
    .floating-services-toggle {
        min-width: 100px;
        padding: 10px 16px;
    }
    
    .toggle-text {
        font-size: 12px;
    }
    
    .floating-service-link {
        padding: 12px 16px;
    }
    
    .floating-service-icon {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }
    
    .floating-service-text h4 {
        font-size: 13px;
    }
    
    .floating-service-text span {
        font-size: 11px;
    }
}
